* fix(web): prevent inherited target in tsconfig from being removed
ISSUE 4115 (https://github.com/nrwl/nx/issues/4115): when a library tsconfig.json inherited a script
target, this was removed when building the library with "nx build [some lib]".
ISSUES CLOSED: #4115
* cleanup(web): format code in package.impl.ts
ISSUE 4115 (https://github.com/nrwl/nx/issues/4115): when a library tsconfig.json inherited a
script
target, this was removed when building the library with "nx build [some lib]".
ISSUES CLOSED:
#4115
* feat(web): environment variables interpolated to index.html
* feat(web): Support for %PUBLIC_URL% as option in index.html
* chore(web): adding test case for NX_ option not present
* fix(web): supporting deployUrl - not publicUrl
* fix(web): e2e test added for index.html interpolation
* fix(web): rm unused publicUrl instance
* fix(web): rm more unused publicUrl instances
* fix(web): fixing e2e test
* fix(web): fixing e2e test
* fix(web): fixing e2e test expected formatting
* fix(web): fixing whitespace issue in tests
* fix(web): using regex in interpolation
* feat(angular): upgrade Angular to v12.0.0-rc.3
* feat(angular): target Nx v12.4.0-beta.0 for Angular v12.0.0-rc.0 upgrade
* fix(angular): use defaultConfiguration if no other configuration is passed
* cleanup(angular): sync migration folder name to target version
* fix(repo): creating custom schema flattener for docs
* chore(repo): amend yarn.lock
* feat(angular): update angular storybook to use webpack 5
* fix(angular): add legacy peer deps for angular+jest
* fix(angular): move migrations to 12.3.0-rc.0
Co-authored-by: Zack DeRose <zack.derose@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
* cleanup(core): normalized usage of fs-extra and updated fs-extra
* cleanup(misc): use fs over fs-extra when possible
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
- Single char alternation (e.g. a|b|c|d) in a RegExp can be simplified to use a character class ([abcd]) instead.
This usually also provides slightly better matching performance.
- Character escapes that are replaceable with the unescaped character without a change in meaning. Inside the square brackets of a character class, many escapes are unnecessary that would be necessary outside of a character class. For example the regex [\.] is identical to [.]
- If several qualified expressions occur after the qualifier having been checked for nullable, they can be replaced with optional chaining