6116 Commits

Author SHA1 Message Date
Chau Tran
93a39ac104
fix(node): update node migrations to use forEachExecutorOptions (#9471)
Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
2022-03-25 11:32:59 -04:00
Isaac Mann
753277ad50
docs(nxdev): customize webpack guide (#8857)
* docs(nxdev): customize webpack guide

* docs(core): add webpack-merge

* docs(core): webpack config example

Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2022-03-25 11:27:16 -04:00
Benjamin Cabanes
39fb1c39db
docs(core): angular package has better schema descriptions (#9502) 2022-03-25 14:37:43 +00:00
Colum Ferry
8bae893d4c
feat(angular): use a mfe.config.js for mfe (#9495) 2022-03-25 09:31:12 +00:00
Victor Savkin
85721e42f0
fix(core): handle large property names when running --help 2022-03-24 17:23:53 -04:00
Benjamin Cabanes
3a87887b06
docs(core): js package description update (#9506) 2022-03-24 21:22:32 +00:00
Benjamin Cabanes
4351e99808
docs(core): detox package description improvements (#9508) 2022-03-24 21:15:00 +00:00
Victor Savkin
74317bebea
chore(repo): fix flaky tests 2022-03-24 17:10:33 -04:00
Victor Savkin
2071c2e5da
fix(repo): fix builds 2022-03-24 16:37:00 -04:00
Benjamin Cabanes
80dd63e81e
docs(core): cypress package has better schema descriptions (#9503) 2022-03-24 16:24:26 -04:00
Victor Savkin
b1bd7d4b49
fix(repo): align the version of @nrwl/workspace and @nrwl/next 2022-03-24 15:33:07 -04:00
Benjamin Cabanes
f4b6a83364
docs(core): detox package has better schema descriptions (#9504) 2022-03-24 15:19:17 -04:00
Victor Savkin
fe846882aa
chore(repo): update repo to 13.10 (#9497) 2022-03-24 12:21:07 -04:00
Benjamin Cabanes
6dae32cc3a
docs(nxdev): support packages schemas metadata & discoverability (#9383) 2022-03-24 12:00:06 -04:00
Colum Ferry
6ca434055e
fix(angular): target correct nx version for 13.3.0 (#9468) 2022-03-24 11:37:53 -04:00
Miroslav Jonaš
57df570149
fix(core): add missing CNW flags in help report (#9479) 2022-03-24 12:32:38 +01:00
Colum Ferry
6b6f19206c
fix(angular): renable v1 lib test (#9494) 2022-03-24 11:25:44 +00:00
Colum Ferry
53799efed2
fix(angular): failing tests related to mfe (#9491) 2022-03-24 10:55:06 +00:00
Colum Ferry
bf58aabb88
feat(angular): add generator to migrate old mfe config (#9366) 2022-03-24 09:28:01 +00:00
Colum Ferry
592c3d3541
feat(angular): use withModuleFederation for mfe (#9454) 2022-03-24 09:27:51 +00:00
Victor Savkin
d4b5c30eba
cleanup(core): remove the indirection left after inlining ta… (#9469) 2022-03-23 22:18:17 -04:00
Craigory Coppola
22a99144be
fix(js): pin fast-glob to 3.2.7 due to regression in 3.2.8 (#9484) 2022-03-23 16:36:30 -04:00
Craigory Coppola
2f85238f86
fix(js): improve inconsistencies with assets in tsc and swc from previous implementation (#9470) 2022-03-23 10:16:19 -04:00
Miroslav Jonaš
c7e621f6f6
fix(core): fix missing versions from nx report (#9450) 2022-03-23 10:07:31 -04:00
Emily Xiong
95704f1357
feat(react-native): add interactive schema option (#9373) 2022-03-23 09:58:43 -04:00
Emily Xiong
dad4a259b5
chore(react-native): add examples to react native and detox schema (#9434) 2022-03-23 09:58:28 -04:00
Juri Strumpflohner
8bf9b1f845
docs(misc): add links to guides and videos (#9476) 2022-03-23 09:35:35 -04:00
Colum Ferry
de5528dd04
docs(angular): improve webpack-server executor (#9477) 2022-03-23 12:18:26 +00:00
Miroslav Jonaš
41914d2961
fix(web): ensure file server works on windows (#9449) 2022-03-22 22:39:42 +01:00
Chau Tran
44763532f7
fix(js): add swc/helpers to js packages on converting to swc (#9467)
* fix(js): add swc/helpers to js packages on converting to swc

* chore(js): update convert to swc unit test

* chore(js): format

Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
2022-03-22 15:10:04 -05:00
Nicholas Cunningham
cdbea9106b
fix(react): fix conflicting NODE_ENV values between an application and webpack Plugins (DefinePlugin) (#9460)
ISSUES CLOSED: #7924

Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-03-22 15:02:43 -04:00
Colum Ferry
1bfc02f4f9
docs(angular): improve webpack-browser docs (#9461) 2022-03-22 18:42:25 +00:00
Benjamin Cabanes
1723e8e6b3
docs(nxdev): remove unused versions & flavors feature (#9462) 2022-03-22 17:44:35 +00:00
Colum Ferry
933cd5957f
fix(angular): browser builder should call correct function (#9457) 2022-03-22 14:24:38 +00:00
Colum Ferry
0331b381bc
feat(angular): add exposed methods for dynamic federation (#9437) 2022-03-22 12:25:39 +00:00
Colum Ferry
f88018a5cb
fix(angular): remote port incrementer when no targets (#9452) 2022-03-22 12:03:50 +00:00
Chau Tran
cb1fc0235a
fix(js): mimic the behavior of tsc compilation for runTypeCheck (#9240)
* fix(js): mimic the behavior of tsc compilation for runTypeCheck

ISSUES CLOSED: #9203

* chore(js): add check for type defs files in e2e

Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
2022-03-21 16:33:34 -05:00
Craigory Coppola
9261105630
fix(js): return success false if tsc compilation fails (#9438) 2022-03-21 16:39:40 -04:00
Giora Guttsait
7fb441b233
fix(nx-plugin): use importPath as package.json name when passed (#9430) 2022-03-21 14:46:55 +00:00
Leosvel Pérez Espinosa
71ba52a232
chore(misc): update add-nx packages metadata (#9427) 2022-03-21 10:16:21 -04:00
Giora Guttsait
63e1dee09f
fix(nx-plugin): remove broken reference to e2e tsconfig (#9409) 2022-03-21 13:33:07 +00:00
Leosvel Pérez Espinosa
3d573b3606
cleanup(angular): cleanup some leftover from moving the ng-add generator (#9423) 2022-03-21 11:27:01 +00:00
Colum Ferry
47697c61c1
feat(angular): automatically set next remote port (#9422) 2022-03-21 11:18:34 +00:00
Miroslav Jonaš
99d871a467
fix(angular): change mfe schema port type to number (#9420) 2022-03-21 12:04:25 +01:00
Leosvel Pérez Espinosa
e427de68dc
fix(angular): update library package.json only with direct dependencies (#9315) 2022-03-21 09:24:13 +00:00
Craigory Coppola
ccfc527b20
fix(core): projects inferrred in apps directory should be inferred as an application (#9379)
* fix(core): projects inferrred in apps directory should be inferred as an application

* chore(repo): add jest setup back for `nx`
2022-03-18 19:14:04 -04:00
Enoyao
bf836f4313
cleanup(core): use full variable name in git-hasher.ts (#9143) 2022-03-18 22:32:02 +00:00
Craigory Coppola
6284eb6f24
fix(core): ngcli-adapter should work on windows without workspace.json present (#9163) 2022-03-18 22:24:34 +00:00
Leosvel Pérez Espinosa
88a7ad7654
cleanup(angular): move the angular cli migration generator from @nrwl/workspace to @nrwl/angular (#9244)
* cleanup(angular): move the angular cli migration generator from @nrwl/workspace to @nrwl/angular

* cleanup(angular): support merged packages (cli, tao, nx)

* cleanup(angular): update make-angular-cli-faster to support packages consolidation
2022-03-18 17:18:10 -04:00
hellivan
3824eebc23
fix(node): npm modules are not resolved correctly (#9284)
The current implementation of the node executor resolves all npm
modules that are referenced by the application from the root
node_modules folder. This behavior leads to runtime errors if any of
the project dependencies requires a different version of a package
than the project itself.

For example, if we have a project that depends on `express` in version
`4.17.3` (which on the other hand depends on `path-to-regexp` version
`0.1.7`) as well as on `path-to-regexp` in version `6.2.0`. In such
case `express` will throw a runtime error since it would load
`path-to-regexp` version `6.2.0` which is not API compatible.

For this reason, this commit changes the behavior of the node-executor
so that it completely ignores npm dependencies when calculating
resolve mappings.
2022-03-18 16:40:37 -04:00