This is a collection of various npm scripts used throughout our frontend codebase in
They usually do some sort of pre- or post-processing on frontend code files, the scripts' behavior is described below.
yarn install --frozen-lockfile
Updates the copyright header in JS/TS(X) and SCSS files if needed according to our internal copyright specification. If there is no copyright on line 1, it automatically adds the default one. Watch out: this applies also to files which contain copyrights on other lines! Usage (if this package is installed):
$ gdc-fix-copyright [FILE1] [FILE2] ...
Copyright © GoodData Corporation 2019, All rights reserved
No license granted. Unauthorized copying, modification, distribution, or use of this file is strictly prohibited.