112 Commits

Author SHA1 Message Date
Colum Ferry
08c6b02e50
fix(angular): set tsconfig path correctly (#9386) 2022-03-18 11:43:24 +00:00
Colum Ferry
2d0871932c
feat(angular): add withModuleFederation helper (#9289)
* feat(angular): withModuleFederation helper
2022-03-16 09:47:03 +00:00
Leosvel Pérez Espinosa
a82edb1bc4
feat(angular): add buildLibsFromSource option to @nrwl/angular:webpack-browser executor (#9334) 2022-03-15 15:33:56 +00:00
Victor Savkin
6f038e7a4a feat(core): reorganize packges to consolidate all cli-related code in nx 2022-03-14 16:42:51 -04:00
Colum Ferry
bef8fb3629
feat(angular): add opinionated mfe webpack helpers (#9233)
* feat(angular): add mfe helpers for sharing workspace libraries

* feat(angular): add share packages helper

* chore(angular): add webpack dep
2022-03-10 19:35:18 +00:00
Leosvel Pérez Espinosa
39f4c47fd0
fix(angular): update schemas with missing changes from previous versions (#8836) 2022-02-04 11:07:57 +00:00
Nadav Sinai
6135eb2832
feat(angular): pass additional args to devServer custom configuration function (#8695) 2022-01-26 09:05:16 +00:00
Nadav Sinai
56aed61b49 feat(angular): pass webpack-browser builder options & target to customWebpack configuration function
for use with loaders that need deployUrl or other custom logic that is based on build configuration
2022-01-20 12:46:33 -05:00
Colum Ferry
7be0793c6a
fix(angular): watch on webpack browser builder (#8204) 2021-12-17 11:41:18 +00:00
Leosvel Pérez Espinosa
d689416aa1
fix(angular): support custom webpack config to use typescript (#7970) 2021-12-02 11:47:44 +00:00
James Henry
98ffe8574b feat(linter): support eslint v8 (#7800)
* feat(core): support eslint v8

* fix(core): align version of eslint across all packages
2021-11-19 14:55:33 -05:00
Jason Jean
a6085a9e97
fix(angular): handle projects with no targets in angular 13 migration (#7719) 2021-11-12 14:19:53 -05:00
Colum Ferry
8d6ac4f694
chore(angular): support angular 13 (#7161)
* chore(angular): support angular 13

Support Angular 13

chore(angular): support ng 13 next 11

chore(angular): upgrade tslib dep

chore(angular): update package and ng-packagr-lite executors to align with ng-packagr v13

chore(angular): update test snapshots with ts version

fix(angular): buildable lib tsconfig transform test

* chore(angular): sync ng-packagr changes to the package and ng-packagr-lite executors

* chore(angular): add migrations

* chore(angular): rxjs7

* feat(angular): check rxjs version to install

* feat(angular): update jest resolver to resolve esm

* chore(angular): fix version

* chore(angular): support jest-preset-angular

* fix(angular): tests

* fix(angular): fix e2e tests and add .angular to gitignore

* fix(angular): fix jest transformers ignore pattern

* fix(angular): fix node test

* fix(angular): fix workspace test

* fix(angular): import marble utils from jasmine-marbles instead of @nrwl/angular/testing

* feat(angular): update ngrx to 13.0.0-beta.;0

* fix(angular): temporarily skip test with pnpm

* fix(angular): bump jest-preset-angular to fix jest performance issues

* fix(angular): webpack-browser and server schema changes

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-11-08 12:01:55 -05:00
Miroslav Jonaš
b23f2d8b80
feat(core): extract project graph external nodes (#7340) 2021-10-15 10:08:12 -04:00
Colum Ferry
654cfbf147
fix(angular): incremental builds with mfes #6923 (#7260) 2021-10-06 15:37:22 +01:00
Artur Androsovych
2db6f89d04
feat(angular): allow exporting function and promise within the custom Webpack config (#7129) 2021-09-24 18:19:14 -04:00
Artur Androsovych
8d0b421545
feat(angular): allow exporting function and promise within the custom Webpack config (#7029) 2021-09-24 11:10:32 -04:00
Miroslav Jonaš
3aca62af68
cleanup(repo): remove unused ext from file data and fix ext regex matcher (#6550) 2021-08-04 09:45:07 -04:00
Colum Ferry
db489d3418
fix(angular): webpack-server needs to work when there is no defaultConfiguration set (#6588) 2021-08-03 16:18:59 -04:00
James Henry
4e8aa4ba68
chore(core): refactor executors to always read from cached project graph (#6446) 2021-07-29 15:50:29 -04:00
Colum Ferry
ec414e5840
feat(angular): add executor to allow custom webpack config with serve (#6359)
Add a builder to allow the user to pass a custom webpack config with serve. It should fetch the
custom webpack config from the build target.
2021-07-15 11:09:59 +01:00
James Henry
87e6d9dc77 chore(core): refactor createProjectGraph to be async, deprecate sync usage 2021-07-14 14:58:16 -04:00
Leosvel Pérez Espinosa
ec389cfca2
docs(angular): refresh executors docs (#6194) 2021-07-01 10:07:43 +01:00
Leosvel Pérez Espinosa
0bcb50373a
cleanup(angular): deprecate and clean up angular schematics utilities (#6099) 2021-06-23 10:08:50 +01:00
Leosvel Pérez Espinosa
95ac98406e
cleanup(angular): migrate delegate-build executor to nrwl devkit (#5758) 2021-05-24 13:55:49 +01:00
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