* feat(angular): allow custom webpack config support for webpack-browser builds
Allow building with a custom webpack config when using webpack-browser builds
* cleanup(angular): have buildApp function determine what builder to use
have buildApp function determine what builder to use keeping run function cleaner
* chore(misc): add IGNORE_MATCHES to CI dep discrepancy check
Add option to ignore packages in the discrepancy check for CI
* cleanup(angular): throw schematic error when webpack config path incorrect
Throw a helpful error when the user supplies an incorrect custom webpack config file path
* Revert "feat(angular): add support for a target Builder (#4903)"
This reverts commit a78fe65d81600e2f1b522722b6ce6374b8c652d3.
* chore(angular): disable failing test
* 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>
Before, the webpack-browser builder always directly scheduled @angular-devkit/build-angular:browser. Now, one can configure an
optional buildTarget that is scheduled instead. If this option is not used, the former behavior -- directly scheduling
@angular-devkit/build-angular:browser -- takes place.
* feat(core): add flag to set dependant libs in either peerDependencies or dependencies
* fix(core): mark new property as optional
* feat(core): add migration for new option
* Update migrations.json
Co-authored-by: Jonathan Cammisuli <jon@cammisuli.ca>
when determining the package version of dependent libraries, make sure that there's no devDeps or
peerDep already set. In such case don't touch the package.json
This builder makes sure using buildable libraries depending on
other buildable libraries works as expected, without limiting the
current dx with auto-reload when using libraries within apps.