137 Commits

Author SHA1 Message Date
Leosvel Pérez Espinosa
3117107725
cleanup(angular): migrate package and ng-packagr-lite executors to nrwl devkit (#5737) 2021-05-21 16:50:45 +01:00
Leosvel Pérez Espinosa
c71137f34c
fix(angular): make path optional for customWebpackConfig in webpack browser executor (#5728) 2021-05-20 15:01:39 +00:00
Leosvel Pérez Espinosa
d0afa3dd89
feat(angular): add executor which allows to delegate the build to another target (#5715) 2021-05-20 12:29:46 +01:00
Colum Ferry
0872f01738
feat(angular): allow custom webpack config support for webpack-browse… (#5609)
* 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
2021-05-18 16:05:17 +01:00
Colum Ferry
fa01e90156
Revert "feat(angular): add support for a target Builder (#4903)" (#5684)
* Revert "feat(angular): add support for a target Builder (#4903)"

This reverts commit a78fe65d81600e2f1b522722b6ce6374b8c652d3.

* chore(angular): disable failing test
2021-05-18 14:14:43 +01:00
Leosvel Pérez Espinosa
678818a58b
feat(angular): upgrade Angular to v12.0.0-rc.3 (#5630)
* 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>
2021-05-12 12:20:12 -04:00
Jordan Hall
a78fe65d81
feat(angular): add support for a target Builder (#4903)
Ability to support incremental builds when using target builders

ISSUES CLOSED: #4896
2021-05-11 14:32:56 +01:00
Leosvel Pérez Espinosa
939da0a1c3
fix(angular): support dynamic imports in buildable libs (#5560) 2021-05-05 20:17:08 +01:00
Tasos Bekos
156e3c2c40 chore(repo): use jest-circus runner 2021-04-26 15:16:09 -04:00
Leosvel Pérez Espinosa
ad5628557c fix(angular): prevent running ngcc with incremental builds 2021-04-05 13:25:31 -04:00
vsavkin
b78584325e Revert "fix(angular): prevent running ngcc with incremental builds (#5107)"
This reverts commit 6ad7c6037cc389ac64a540ac7a96c69d25e6adad.
2021-04-03 21:19:01 -04:00
Leosvel Pérez Espinosa
6ad7c6037c
fix(angular): prevent running ngcc with incremental builds (#5107) 2021-04-01 18:33:45 +02:00
Manfred Steyer
9d2290fea9 feat(angular): add buildTarget to webpack-browser builder
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.
2021-03-31 21:11:47 -04:00
Tasos Bekos
14b1df2173
cleanup(misc): deprecate showCircularDependencies option (#5135) 2021-03-26 15:12:21 -04:00
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos 2021-03-23 13:03:17 -04:00
Santosh Yadav
372b7939c6
feat(angular): support font inling optimization for builds (#4971) 2021-03-09 16:19:54 -05:00
Matt Hodgson
5ee28743bc
fix(angular): honor buildableProjectDepsInPackageJsonType in angula… (#4760)
Fixes the angular:package builder to honor the `buildableProjectDepsInPackageJsonType` setting. It was previously ignored.
2021-02-19 20:52:20 +01:00
katerina
1edafe8c4f fix(core): fixed some wrong paths for utils/utilities
ISSUES CLOSED: #4736
2021-02-10 09:41:05 -05:00
Jason Jean
2ee7629fe9
fix(angular): fix anguar lib build (#4578)
* fix(angular): fix anguar lib build

* fix(repo): fix e2e tests
2021-01-22 12:26:33 -05:00
Victor Savkin
d6a26c7aa6 Revert "fix(angular): Honor buildableProjectDepsInPackageJsonType in package builder"
This reverts commit b4100648bb085ad704e8ab85284a463490e3a1c5.
2021-01-15 16:12:40 -05:00
Victor Savkin
a565717728 fix(repo): fix formatting 2021-01-15 12:22:09 -05:00
Matt Hodgson
b4100648bb fix(angular): Honor buildableProjectDepsInPackageJsonType in package builder
Fixes the angular:package builder to honor the `buildableProjectDepsInPackageJsonType` setting. It was previously ignored.
2021-01-15 08:45:41 -05:00
Victor Savkin
e768ad4862 fix(misc): update the schema version for when creating executors 2020-12-22 11:32:22 -05:00
Juri
e33f035dc4 fix(angular): check whether deps have been built when using incremental build 2020-12-04 14:11:07 -05:00
Jason Jean
b9791a3108
feat(core): upgrade to angular and angular devkit 11 (#4095) 2020-11-30 14:07:27 -05:00
Juri
1fcea9718b feat(angular): browser builder with incremental build support 2020-11-12 20:49:38 -05:00
Juri Strumpflohner
0892fa2b32
feat(angular): improve incremental build speed (#3854) 2020-10-30 10:23:34 -04:00
Brian
3f436fc6d0
feat(core): add flag to set dependant libs in either peerDependencies or dependencies (#3078)
* 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>
2020-09-30 10:36:35 -04:00
Victor Savkin
d0cbc35efa feat(repo): build nx with nx 2020-06-03 16:25:25 -04:00
Victor Savkin
2a3116f2e6 feat(misc): add an option not to update package.json files when building libs 2020-06-03 12:55:37 -04:00
Jonathan Cammisuli
4095d21d20
feat(core): add npm dependencies to package.json for publishable libs (#2879) 2020-05-08 13:54:00 -04:00
Jason Jean
e06822da7e
chore(repo): update prettier to v2 (#2934)
this is just for the repo, and not the workspace

Co-authored-by: Rares Matei <matei.rar@gmail.com>
2020-04-29 01:09:37 -04:00
Victor Savkin
2c42431130 feat(core): rewrite path mappings when buildings apps 2020-03-19 21:41:03 -04:00
Victor Savkin
33e12754fe cleanup(core): improve the handling of edge cases determining task's outputs 2020-02-25 15:32:15 -05:00
Victor Savkin
49168c10e3
feat(react): rework react buildable libraries to read deps from dist (#2513) 2020-02-20 11:00:13 -05:00
Juri
c27b33a6ec fix(angular): check for devDeps & peerDeps when writing package version for dep libs
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
2020-02-04 15:23:22 -05:00
Juri Strumpflohner
f951a1bc9b feat(angular): library builder to handle buildable libraries with deps (#2307)
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.
2020-01-24 10:19:24 -05:00