1347 Commits

Author SHA1 Message Date
Jack Hsu
7913f31cff
fix(react): use normalized app name in host/remote generators (#9909) 2022-04-21 02:54:39 +00:00
Colum Ferry
991efef5e5
feat(angular): serve static for remotes (#9911) 2022-04-20 21:49:26 +00:00
James Henry
2e907af1e3
feat(core): add --create-commits option to nx migrate (#9845) 2022-04-20 10:22:54 -04:00
Jack Hsu
586501aa35
chore(react): update MFE language to module federation (#9888) 2022-04-19 20:48:49 +00:00
Leosvel Pérez Espinosa
cfaedc8181
feat(angular): support migrating angular cli workspaces with library projects (#9885) 2022-04-19 16:18:26 +01:00
Colum Ferry
bab92c9e80
cleanup(angular): add mf case to cover sharing libs (#9884) 2022-04-19 15:09:57 +01:00
Colum Ferry
40403fa58b
chore(angular): turn off tailwind e2e tests for now (#9833) 2022-04-14 09:48:47 +01:00
James Henry
46e7b4d49c
chore(core): improve help output for generators and executors (#9800) 2022-04-12 14:05:55 -04:00
Jack Hsu
d4682be058
feat(react): update @types/react and other packages (#9767) 2022-04-12 11:29:01 -04:00
Leosvel Pérez Espinosa
d860a91a50
feat(angular): allow migrating angular cli workspaces using the @angular-eslint/builder:lint builder (#9750) 2022-04-11 16:30:49 +01:00
Caleb Ukle
b3d59bdcc5
docs(core): Add example of using global scripts for jest and nx libraries (#9483)
* docs(testing): add example on how to use ts path aliases within jest global setup/teardown

Jest global setup/teardown scripts run before path aliaes are mapped, so the path resigstration must
happen in the userland global scripts that are set to run
initially the thought of doing this within
the jest executor was thought, but this will provide an inconsistent way to running tests if the
tests are run via an editor plugin or calling `jest` directly; therefore, it's deferred to register
the paths within userland files that are needing the paths to be registered in order to allow for
proper handling (cleanup) and not to overcall unneeded features when global scripts are not in use
for those not using the feature.

ISSUES CLOSED: #8709

* cleanup(testing): test the usage of jest global scripts to ensure no regressions

streamline e2e jest project testing and update global tests to test global functions are working as
intended
2022-04-11 13:51:29 +00:00
Giora Guttsait
32b49b6f7c
feat(core): respect packageGroup in nx migrate (#9667)
* cleanup(core): refactor migrate.ts

* feat(core): respect packageGroup in nx migrate

ISSUES CLOSED: #4575

* fix build

* chore(repo): trigger CI

* chore(core): fix review comments, without packageGroup extension

* chore(core): revert `withTempNpmDirectory` changes

* chore(repo): trigger ci

* chore(core): fix unit tests

* chore(core): remove view and pack from pmc

* chore(repo): kick off CI

* chore(core): add tests for recursive packageGroup

* chore(core): add another test for cyclic packageGroup

* chore(repo): kickoff CI

Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2022-04-08 15:57:24 -04:00
Victor Savkin
48769dc4bb
cleanup(core): remove NX_INVOKED_BY_RUNNER (#9693) 2022-04-05 16:58:13 -04:00
Miroslav Jonaš
926b52ab9c
chore(repo): update pnpm version (#9682) 2022-04-05 20:51:29 +02:00
Jack Hsu
70985b1052
feat(react): update MFE config and routes when adding remote to host (#9687) 2022-04-05 13:50:43 -04:00
Nicholas Cunningham
12f0f195d2
feat(react): add support for MFEs (#9413)
* feat(react): Add MFE  Generator for Host and Remote Apps
Host generator will be able use the mfe-remote generator when remotes are passed into the CLI for the mfe-host command

* docs(react): React Documentation Update

Co-authored-by: Nicholas Cunningham <nico@Nicholass-MacBook-Pro.local>
Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-04-04 15:44:18 -04:00
Emily Xiong
1358fbf263
feat(storybook): upgrade @storybook/react-native version to ^6.0.1-beta.5 (#9657)
- also move the toggle-storybook.tsx to src/storbyook folder rather than .storybook
2022-04-04 11:36:36 +03:00
Leosvel Pérez Espinosa
557b241859
feat(angular): support migrating angular cli workspaces with multiple projects when keeping the angular cli layout (#9649) 2022-04-01 15:49:16 +01:00
Leosvel Pérez Espinosa
18776f6764
feat(angular): update ng-add generator so the migration result is more aligned with new nx workspaces (#9630) 2022-03-31 16:30:06 +01:00
Victor Savkin
428106f6be
cleanup(core): create more meaningful file structure in nx package (#9621) 2022-03-31 09:07:22 -04:00
Jack Hsu
b02beb551b
feat(react): update to react 18 (#9613) 2022-03-30 17:48:37 +00:00
Miroslav Jonaš
9e06020575
feat(core): toggle additional prompts in CNW with a flag (#9546)
* feat(core): toggle additional prompts in CNW with a flag

* feat(repo): handle cli params with yargs

* feat(core): add docs generation

* chore(repo): add colors

* fix(core): migrate to yargs 17.x

* fix(core): update markup generation
2022-03-29 14:00:07 -04:00
Leosvel Pérez Espinosa
d33a34105f
cleanup(angular): fix ng-add e2e tests to correctly pass args based on the package manager (#9580) 2022-03-29 12:05:54 +01:00
Victor Savkin
16378258cd
chore(repo): minor changes to improve local e2e experience 2022-03-26 12:54:34 -04:00
Leosvel Pérez Espinosa
63f2c02323
cleanup(angular): fix migration from angular cli e2e tests (#9518) 2022-03-25 17:39:50 +00:00
Victor Savkin
52b47659df
feat(repo): run e2e tests outside of the repo (#9496) 2022-03-24 10:02:19 -04:00
Victor Savkin
d4b5c30eba
cleanup(core): remove the indirection left after inlining ta… (#9469) 2022-03-23 22:18:17 -04:00
Miroslav Jonaš
92293938eb
chore(repo): trim package manager name for cross os e2e stability (#9446) 2022-03-22 10:47:37 +01: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
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
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
Craigory Coppola
b3914bda90
chore(misc): update add-nx ci (#9398) 2022-03-18 15:22:09 -04:00
Craigory Coppola
75ad30ca18
feat(core): ability to run local nx plugins w/o build step (#9116)
* feat(core): ability to run local nx plugins generators and executors

* feat(core): support for project inference and graph extension local plugins

* chore(core): cleanup after package relocation

* chore(core): changes for review
2022-03-18 14:10:06 +00:00
Colum Ferry
08c6b02e50
fix(angular): set tsconfig path correctly (#9386) 2022-03-18 11:43:24 +00:00
Craigory Coppola
19e9b462ec
chore(repo): move add-nx into main nx repo (#9382)
* chore(repo): move add-nx into main nx repo

* fix(misc): fix publishing of add nx projects

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2022-03-17 18:38:06 -04:00
Emily Xiong
3627c3a38c
feat(react-native): upgrade metro-resolver to 0.69.1 (#9381) 2022-03-17 13:46:01 -04:00
Emily Xiong
17fe648d5f
chore(angular): disable failing storybook test (#9367) 2022-03-16 15:56:21 -04:00
Giora Guttsait
f44165d993
feat(js): infer tslib as a dependency when using importHelpers (#9350) 2022-03-16 12:47:39 -04: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
Victor Savkin
4e9375f5f4 chore(repo): update the version of nx 2022-03-11 10:40:40 -05:00
Leosvel Pérez Espinosa
acc29e9593
fix(misc): support workspaces using a root tsconfig.json instead of tsconfig.base.json (#9195)
* fix(misc): support workspaces using a root tsconfig.json instead of tsconfig.base.json

* cleanup(angular): address pr feedback
2022-03-09 11:30:26 -05:00
Juri Strumpflohner
45bf0e5a25
feat(linter): automatic fixes for noRelativeOrAbsoluteImportsAcrossLibraries and noSelfCircularDependencies (#8901)
Co-authored-by: Miroslav Jonas <missing.manual@gmail.com>
2022-03-09 08:14:33 +00:00
Chau Tran
229f71ef17
feat(nest): use nrwl/js to generate library (#9164)
* chore(js): rename GeneratorSchema to LibraryGeneratorSchema

* fix(js): add publishable to library generator schema

* feat(nest): use nrwl/js for library generator

* fix(js): update documentation about publishable

* chore(nest): fix depcheck for nrwl/js

* chore(nest): update test snapshot

* chore(nest): update nestjs/swagger version in node e2e

* chore(js): rename loadTsPlugins function

* fix(nest): default standaloneConfig for library generator to true

* feat(nest): rename tsPlugins to transformers and add tsPlugins to aliases

* chore(nest): fix e2e test on generate a new nest library

Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
2022-03-03 15:47:06 -05:00
Leosvel Pérez Espinosa
615955afec
feat(angular): support migrating angular cli workspaces using cypress for e2e tests (#9105) 2022-02-28 11:03:09 +00:00
Jack Hsu
95f5a085fa
feat(node): consolidate js and node plugins (#9086)
* chore(node): update docs after consolidating js and node plugins

* feat(node): consolidate js and node plugins
2022-02-23 16:59:03 -05:00
Miroslav Jonaš
ba74e9ce42
chore(repo): disable detox on nightly (#9092) 2022-02-23 12:11:17 +00:00
Colum Ferry
4643da2699
chore(storybook): turn on disabled e2es (#8999)
* chore(storybook): turn on disabled e2es

* fix(storybook): build error for template in helper

* chore(storybook): run e2es on macos
2022-02-23 13:54:23 +02:00
Leosvel Pérez Espinosa
176fdc71c2
chore(angular): make ng-add e2e tests more deterministic when checking the defaultBase (#9090) 2022-02-23 10:12:19 +00:00
Miroslav Jonaš
0a62f1f963
chore(repo): use npx on e2e ng calls to fix windows failures (#9078) 2022-02-22 13:34:47 +00:00