125 Commits

Author SHA1 Message Date
Colum Ferry
38345dae3a
fix(angular): remote failing to serve should fail host serve (#10181) 2022-05-09 09:36:36 +01:00
Colum Ferry
77cc38a624
fix(angular): use fork in file-server for http-server (#10161) 2022-05-05 16:08:04 +01:00
Colum Ferry
1d3becac90
fix(angular): kill ports correctly (#10142) 2022-05-04 20:08:34 +01:00
Colum Ferry
b78d353c7a
fix(angular): cleanup ports on exit of mf server (#10060) 2022-04-29 13:49:53 +01:00
Colum Ferry
991efef5e5
feat(angular): serve static for remotes (#9911) 2022-04-20 21:49:26 +00:00
Colum Ferry
388eb4026d
feat(angular): align config file naming for module federation (#9889) 2022-04-19 22:15:01 +00:00
Colum Ferry
4b846e8dc9
feat(angular): add module-federation-dev-server builder (#9843) 2022-04-14 15:39:15 -04:00
Leosvel Pérez Espinosa
6d52820d28
docs(angular): remove incremental builds preset from the webpack-browser executor (#9578) 2022-03-29 09:58:52 +01:00
Benjamin Cabanes
6dae32cc3a
docs(nxdev): support packages schemas metadata & discoverability (#9383) 2022-03-24 12:00:06 -04:00
Victor Savkin
d4b5c30eba
cleanup(core): remove the indirection left after inlining ta… (#9469) 2022-03-23 22:18:17 -04:00
Colum Ferry
de5528dd04
docs(angular): improve webpack-server executor (#9477) 2022-03-23 12:18:26 +00:00
Colum Ferry
1bfc02f4f9
docs(angular): improve webpack-browser docs (#9461) 2022-03-22 18:42:25 +00:00
Colum Ferry
933cd5957f
fix(angular): browser builder should call correct function (#9457) 2022-03-22 14:24:38 +00:00
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