166 Commits

Author SHA1 Message Date
Wenchen Li
ba657da7c5
fix(webpack): regression from #10432 to allow // prefix in remote (#12302) 2022-09-29 16:16:50 +01:00
Colum Ferry
6d9ec39c75
feat(angular): create routes file pattern (#11930)
add host remote correctly

library routes

fix tests
2022-09-28 15:54:53 +01:00
Colum Ferry
3dc72f0257
fix(angular): switch to using jasmine-marbles for certain symbols (#11896) 2022-09-28 15:54:40 +01:00
Colum Ferry
d782a694f4
feat(core): support ts 4.8 (#11845) 2022-09-12 13:47:31 +01:00
Leosvel Pérez Espinosa
41af7c7400
feat(angular): share by default some relevant angular packages when using withModuleFederation (#11849) 2022-09-09 10:34:09 +01:00
Colum Ferry
aaeeaedceb
feat(angular): migrate versions to 14.2.0 (#11530)
* feat(angular): migrate versions to 14.2.0-next.0

* feat(angular): support 14.2.0-rc.0
2022-08-29 10:39:40 +01:00
Caleb Ukle
657b2bff5a
feat(testing): support jest 28 (#10857)
* feat(testing): support jest 28

WIP jest migration

* fix(testing): jest-environment-jsdom must be explicitly added now

* fix(testing): add rxjs to the transform lsit

* fix(testing): jest ts-jest updates and resolver issues

* feat(testing): remove test runner for react native jest

* feat(testing): add preprocessor for react native jest

* fix(testing): update query to handle tsx file syntax, remove rxjs transform

* chore(repo): remove file from accident commit

* chore(testing): update migration to target 14.6 for RN jest preprocessor

* fix(testing): call passed in packageFilter if preset

* docs(testing): add resolver env var to troubleshooting guide

* chore(repo): prep resolver for jest 28 migration

* fix(testing): update deps to handle esbuild-wasm service error

* fix(testing): switch to testEnvironmentOptions for cjs loading vs resolver list

* fix(testing): force babel-jest preset in transformer for project transforms

* chore(testing): address PR feedback

* fix(testing): address pr feedback, remove react-native transform

* chore(testing): update createTreeWithEmptyWorkspace calls

* chore(testing): address pr feedback

* feat(testing): add migration script for react native to rename .babelrc to babel.config.json

* chore(testing): nx format after rebase

* chore(testing): fix display name for @nrwl/js

Co-authored-by: Emily Xiong <xiongemi@gmail.com>
2022-08-18 18:40:31 -04:00
Colum Ferry
1a5a09b790
chore(angular): add standalone router helper (#11632) 2022-08-18 14:12:06 +01:00
Waldbillig Thomas
99a3563c8f
feat(angular): export test runners from package (#11613)
Co-authored-by: Colum Ferry <cferry09@gmail.com>
Co-authored-by: Waldbillig-Thomas <waldbillig.thomas@gmail.com>
2022-08-18 09:58:16 +00:00
Colum Ferry
47e38d1cd2
fix(angular): use rxjs 7.5.0 for Angular 14.1 (#11586) 2022-08-16 14:41:51 -04:00
Colum Ferry
f930117ed6
fix(angular): add check before attempting to collect secondary entrypoints #11437 (#11496)
* fix(angular): add check before attempting to collect secondary entry points

* fix(angular): ensure only the tsconfig aliases for the lib are used

* chore(angular): turn off canary releases to prevent overlap

* Revert "chore(angular): turn off canary releases to prevent overlap"

This reverts commit dd0ba238d8bb591b669ccc90752db83d58c09f6d.
2022-08-15 13:11:24 +01:00
Jack Hsu
5267f4555d
feat(misc): update shared ts-node and ts-loader packages (#11429) 2022-08-05 16:47:33 +00:00
Craigory Coppola
2dc51d75fb
fix(angular): hide warnings when reading workspace due to extra properties (#11143)
* fix(angular): hide warnings when reading workspace due to extra properties

* fix(angular): bump angular to 14.1.1
2022-08-04 17:58:40 -04:00
Leosvel Pérez Espinosa
7db3aac463
fix(angular): update module federation logic to correctly identify workspace libs secondary entry points (#11286) 2022-07-26 10:54:33 +01:00
Leosvel Pérez Espinosa
712e6dda88
cleanup(angular): move all inline version numbers to versions.ts (#11258) 2022-07-22 17:02:13 +01:00
Leosvel Pérez Espinosa
d372be0043
feat(angular): deprecate generating e2e tests with protractor (#11254) 2022-07-22 16:07:03 +01:00
Leosvel Pérez Espinosa
46ad8c3d63
feat(angular): support angular v14.1.0 (#11155) 2022-07-22 16:01:24 +01:00
Leosvel Pérez Espinosa
01f7376169
cleanup(misc): consolidate tslib version in generated projects (#11185) 2022-07-19 12:59:37 -04:00
Leosvel Pérez Espinosa
b7a1cd30fc
fix(angular): add @angular/localize to list of default packages to be eagerly loaded in mf apps (#11189) 2022-07-18 18:02:11 +01:00
Leosvel Pérez Espinosa
23d94a82d0
fix(misc): handle external nodes correctly in module federation additional shared config (#11018) 2022-07-05 14:21:19 +01:00
Colum Ferry
37072bc5d6
feat(angular): replace mfe references with mf (#10957) 2022-07-01 13:48:38 +00:00
Leosvel Pérez Espinosa
08899b15d7
feat(angular): support @angular-eslint/* v14.0.0 (#10820) 2022-06-24 18:27:51 +01:00
Craigory Coppola
5b90514008
feat(core): move workspace configuration computation to daemon (#10860) 2022-06-24 09:45:51 -04:00
Leosvel Pérez Espinosa
db16d8ae3b
feat(angular): support ngrx v14.0.0 (#10818) 2022-06-21 10:53:06 +01:00
Leosvel Pérez Espinosa
e507d7b4cf
cleanup(angular): remove remaining angular cli helpers and set version target for existing deprecations helpers (#10791) 2022-06-17 18:00:42 +01:00
Colum Ferry
67a27774ac
fix(angular): support secondary entry points #10329 (#10615) 2022-06-09 09:16:57 +00:00
Colum Ferry
339b12977e
fix(angular): apply default eager packages correctly #10496 (#10596) 2022-06-06 16:12:50 +01:00
Craigory Coppola
7f7bc1a095
fix(core): require.resolve(m/package.json) is not guarunteed to work for modern module format (#10497)
* fix(core): require.resolve(m/package.json) is not guarunteed to work for modern module format

* chore(repo): update usage of new readModulePackageJson function
2022-06-03 20:54:15 +00:00
Leosvel Pérez Espinosa
eea2470619
feat(angular): support angular v14.0.0 (#10559) 2022-06-03 10:23:09 -04:00
Leosvel Pérez Espinosa
914f0ce707
feat(misc): update typescript to 4.7 (#10560) 2022-06-02 13:29:11 -04:00
Leosvel Pérez Espinosa
26edb49302
feat(angular): support angular v14.0.0-rc.3 (#10543) 2022-06-01 16:26:09 +00:00
Victor Savkin
e491c6f738 feat(core): make nx.json optional 2022-05-31 15:35:28 -04:00
Leosvel Pérez Espinosa
62afcb79b0
feat(angular): support angular v14.0.0-rc.2 (#8883) 2022-05-30 16:09:00 -04:00
Colum Ferry
a299469925
feat(angular): support alternate remote entry filenames #10206 (#10432) 2022-05-24 12:16:33 +01:00
Jason Jean
04985be149
chore(repo): switch publishing to use lerna (#10293) 2022-05-20 00:35:47 +00:00
yinshuxun
f25e94a5dc
fix(angular): fix angular mfe when use NormalModuleReplacementPlugin with path alias ends with /* (#10355) 2022-05-18 09:20:25 +01:00
Leosvel Pérez Espinosa
25035927d6
fix(angular): handle packages with no exported package.json when collecting secondary entry points for mf builds (#10216) 2022-05-09 15:43:54 +01:00
Colum Ferry
b51327111f
fix(angular): eagerly load default packages (#10207) 2022-05-09 11:28:00 +01:00
Leosvel Pérez Espinosa
b8c175f5e0
feat(angular): add support for passing additional shared dependencies in the module federation config (#10156) 2022-05-05 15:08:55 +01:00
Leosvel Pérez Espinosa
e212cb9fe1
fix(angular): fix collecting secondary entry points for module federation builds (#10129) 2022-05-05 09:14:56 +01:00
Colum Ferry
0e5f4d5938
fix(angular): don't share angular mfe package (#10059) 2022-04-29 14:49:04 +01:00
Leosvel Pérez Espinosa
4711d598ec
cleanup(angular): simplify collecting mfe application dependencies (#10023) 2022-04-27 15:39:09 +01:00
Jay Bell
4d17b3275e
fix(angular): shared transitive npm deps from host and remote applica… (#9997) 2022-04-26 17:29:15 +01:00
Colum Ferry
cc389704b5
fix(angular): share secondary entry points (#9896) 2022-04-20 20:31:22 +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
5fb6fc78bc
fix(angular): path normalize was in correct on windows #9861 (#9881) 2022-04-19 12:47:29 +01:00
Victor Savkin
428106f6be
cleanup(core): create more meaningful file structure in nx package (#9621) 2022-03-31 09:07:22 -04:00
Miroslav Jonaš
3b21f4dfea
fix(core): switch from appRootPath to workspaceRoot (#9600) 2022-03-30 09:15:20 -04:00
Colum Ferry
8bae893d4c
feat(angular): use a mfe.config.js for mfe (#9495) 2022-03-25 09:31:12 +00:00
Colum Ferry
53799efed2
fix(angular): failing tests related to mfe (#9491) 2022-03-24 10:55:06 +00:00