130 Commits

Author SHA1 Message Date
Leosvel Pérez Espinosa
5c94d6222f
fix(angular): add missing skipImport option to the component generator (#10167) 2022-05-06 08:57:20 +01:00
Victor Savkin
53460849a2 feat(core): introduce an explicit variable for deciding on how output is printed 2022-05-05 17:22:22 -04:00
Juri Strumpflohner
e8be46986d
docs(nxdev): adjust syntax highlighting lang for javascript & typescript (#10152) 2022-05-05 09:33:00 -04:00
Daniele Tortora
664df0e849
feat(js): add --includeBabelRc flag for @nrwl/js:library generator (#8793, #8600) (#10055)
* fix(js): fix(js): adding missing babelrc for tsc compiled libraries

ISSUES CLOSED: #8600, #8793

ISSUES CLOSED: #8600, #8793

* feat(js): adds the --skipBabelConfig flag to prevent .babelrc file generation

ISSUES CLOSED: #8600, #8793
ISSUES CLOSED: #8600, #8793

* feat(js): adds the --includeBabelRc flag to the library generator

adds the --includeBabelRc flag to the library generator, and a mechanism to automatically detect the
nrwl/web plugin, which requires auto-generation of the babelrc even when not explicitly set by the
user

ISSUES CLOSED: #8600, #8793
2022-05-04 10:58:34 -05:00
Victor Savkin
821fc07723 chore(repo): format fixes 2022-05-03 14:35:18 -04:00
Victor Savkin
16c61b7001 chore(repo): update the warning on when to remove npx cache 2022-05-03 14:35:18 -04:00
Daniel Grant
a68120a35b
fix(js): .swcrc path should be customizable (#10118)
Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2022-05-03 13:41:52 -04:00
Miroslav Jonaš
899e0caac8
feat(core): switch cnw ci option to be single-select (#10007)
* feat(core): switch cnw ci option to be single-select

* chore(repo): enforce cache renewal

* chore(repo): revert cache renewal

* fix(core): fix tests

* fix(core): fix enquirer limitation with falsy values
2022-05-02 16:01:34 +02:00
Leosvel Pérez Espinosa
b381e383c4
fix(angular): add missing alias for the component generator (#10038) 2022-04-28 12:19:14 +01:00
Craigory Coppola
99fcb7873e
feat(nx-plugin): add --includeHasher option to generate hasher boilerplate (#9891)
Co-authored-by: James Henry <james@henry.sc>
2022-04-27 12:44:48 -04:00
Emily Xiong
6e72dc6c12
feat(react-native): add upgrade-native generator to upgrade native code (#9925) 2022-04-26 14:31:59 -04:00
James Henry
13807d3a81
chore(core): remove deprecated with-deps, NxJsonProjectConfiguration + operators (#9947) 2022-04-26 10:55:24 -04:00
Caleb Ukle
88971468db
fix(testing): pass --js flag to jest generators (#9965) 2022-04-22 22:43:59 -04:00
Caleb Ukle
fca85ca482
fix(testing): add missing --js support for jest generators (#9959)
* fix(testing): add ts-node as devDep

* fix(testing): add missing --js option for jest generators
2022-04-22 14:49:40 -04:00
Jonathan Cammisuli
c1c5f0b57d
feat(misc): add application x-type for host and remote generators (#9954) 2022-04-22 14:42:25 +00:00
Miroslav Jonaš
d27563ba1e
fix(core): improve generated workflows (#9921) 2022-04-21 12:55:02 +02:00
Miroslav Jonaš
ec0f4b4173
fix(core): handle failed CI workflows in CNW CLI (#9915) 2022-04-20 20:46:13 -04:00
Colum Ferry
991efef5e5
feat(angular): serve static for remotes (#9911) 2022-04-20 21:49:26 +00:00
Miroslav Jonaš
5fe8d84396
feat(core): add CI generation to create-nx-workspace (#9611) 2022-04-20 14:51:15 -04:00
Jack Hsu
e32932d267
feat(react): add ability to serve remote apps in dev or static mode (#9893) 2022-04-20 12:27:49 -04: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
Emily Xiong
a0045b3b8e
bugfix(detox): fix typo option for test to be reuse (#9874) 2022-04-19 10:42:52 -04:00
Miroslav Jonas
31b647343e fix(core): make CNW preset property open for custom presets 2022-04-19 13:20:13 +02:00
Colum Ferry
4b846e8dc9
feat(angular): add module-federation-dev-server builder (#9843) 2022-04-14 15:39:15 -04:00
Colum Ferry
e1f64a3896
feat(angular): remove mfe-host alias in favour of host (#9834) 2022-04-14 12:42:02 +01:00
Colum Ferry
73d8967a2b
feat(angular): remove mfe-remote alias in favour of remote (#9832) 2022-04-14 11:11:46 +01:00
Jason Jean
bfbe8fcb21
fix(core): remove @nrwl/workspace when adding nx to monorepo (#9813) 2022-04-13 14:40:24 -04:00
James Henry
46e7b4d49c
chore(core): improve help output for generators and executors (#9800) 2022-04-12 14:05:55 -04:00
Katerina Skroumpelou
ad0002586b
feat(storybook): removing support for Storybook 5 (#9380) 2022-04-12 16:58:20 +03:00
Colum Ferry
9396db03c3
docs(angular): hide mfe options from the app generator (#9798) 2022-04-12 11:39:24 +00:00
Craigory Coppola
e4e5c3b63b
chore(repo): relocate types from migrate.ts (#9790) 2022-04-11 13:33:54 -04:00
Chau Tran
3e94d4cb3a
fix(js): add init generator placeholder (#9777) 2022-04-11 08:47:08 -05:00
Colum Ferry
5b105b1a0e
fix(angular): add application schema options to mfe-remote (#9752) 2022-04-08 15:32:00 +00:00
Colum Ferry
409f000cbe
fix(angular): add application schema options to mfe-host (#9751) 2022-04-08 14:47:50 +00:00
Leosvel Pérez Espinosa
96db3c51c4
docs(misc): render values correctly (#9712) 2022-04-08 09:45:51 -04:00
Miroslav Jonaš
7c7e415fff
docs(core): remove obsolete nx cloud default value from docs (#9747) 2022-04-08 12:40:31 +01:00
Leosvel Pérez Espinosa
a64bba9980
feat(linter): add cacheStrategy, rulesdir and resolvePluginsRelativeTo flags to eslint executor (#9709) 2022-04-07 15:49:44 +01:00
Miroslav Jonaš
1755094bf7
docs(core): cleanup nx commands help after yargs update (#9694) 2022-04-05 23:05:06 +02:00
Katerina Skroumpelou
9579aec307
feat(storybook): add projectBuildConfig as an option in generator (#9655)
Co-authored-by: Colum Ferry <cferry09@gmail.com>
2022-04-05 16:16:25 +00:00
Colum Ferry
e42069b5ec
fix(angular): add --module option to component generator (#9684) 2022-04-05 15:37:08 +01: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
William Neely
af37fe9125
docs(devkit): name is returned unmodified (#9418)
the docs for the names function say that the name is modified to hyphenated case but it's actually returned unmodified
2022-04-04 14:40:41 +00:00
Katerina Skroumpelou
96e0a6e86f
docs(core): add missing periods to storybook schemas (#9635) 2022-03-31 12:22:50 -04: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
Miroslav Jonaš
15d8222200
feat(nxdev): add types to CLI docs (#9607) 2022-03-31 10:15:49 +02:00
Colum Ferry
e22bdd01c2
feat(angular): expose storybook component story generator (#9606) 2022-03-30 14:16:26 -04:00
Jason Jean
1bc2298b19
fix(testing): remove default testTimeout value which overrides the jest config (#9616) 2022-03-30 15:47:02 +00:00
Miroslav Jonaš
1d64428a53
docs(core): remove dangling backtick from name description (#9612) 2022-03-30 14:16:46 +00:00