6116 Commits

Author SHA1 Message Date
Colum Ferry
77cc38a624
fix(angular): use fork in file-server for http-server (#10161) 2022-05-05 16:08:04 +01:00
Leosvel Pérez Espinosa
67e233d8d7
fix(react): remove collected dependency from module federation shared config when not found in package.json (#10157) 2022-05-05 10:43:37 -04: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
0a1e82210d
fix(angular): expand extends property when reading nx.json in the angular cli adapter (#10165) 2022-05-05 15:05:16 +01:00
Juri Strumpflohner
e8be46986d
docs(nxdev): adjust syntax highlighting lang for javascript & typescript (#10152) 2022-05-05 09:33:00 -04:00
Lucas Vieira
6d4f971722
fix(js): add missing projectType property to @nrwl/js:library generator (#10159) 2022-05-05 09:18:13 -04: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
Jason Jean
8b810879d2
fix(core): add tao to package group (#10148) 2022-05-04 22:43:40 +00:00
Daniel Harvey
8e4a38e764
fix(core): skip dependencies already added (avoid circular dependencies) (#9744)
* fix(core): Skip dependencies already added (avoid circular)

The project utility method `collectDependentProjectNodesNames()`
produces a stack overflow (e.g. producing project dependencies for
`tailwind.config.js` when circular dependencies exist.

Fix by adding loop detection for "already add" dependencies.

* cleanup(core): Correct formating

* chore(core): add test for circular dependencies in getSourceDirOfDependentProjects

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2022-05-04 22:16:17 +00:00
Jay Bell
4a91966cb4
feat(core): expose hash file function in hasher (#10146) 2022-05-04 17:52:35 -04:00
Craigory Coppola
27d7eebbcd
fix(core): update run-migrations log message (#10137) 2022-05-04 17:48:29 -04:00
Jason Jean
ac8ebed1c8
fix(core): add dependency from workspace to devkit (#10147) 2022-05-04 21:27:31 +00:00
Colum Ferry
1d3becac90
fix(angular): kill ports correctly (#10142) 2022-05-04 20:08:34 +01: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
Jason Jean
e4cccfc14d
chore(repo): update nx to 14.1.1 (#10132) 2022-05-04 15:27:43 +00:00
Jack Hsu
14b3419c19
fix(nextjs): update custom server setup so hostname and port are always provided (#10103) 2022-05-04 14:31:05 +00:00
Jason Jean
95412cfa17
fix(misc): fix incorrect nx imports (#10131) 2022-05-04 14:24:31 +00:00
Ben Ezard
9fc0a18cae
feat(core): mark implementation packages as affected if their corresponding type declaration package is updated (#10083) 2022-05-03 18:21:14 -04:00
Craigory Coppola
7d9397f2f1
fix(nx-plugin): e2e project paths should be normalized (#10123) 2022-05-03 21:26:48 +00: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
Victor Savkin
470a240f71 feat(misc): add syntax sugar for dependsOn 2022-05-03 14:35:18 -04:00
Victor Savkin
942e89a19d feat(misc): add noop executor for cases when we need to define a target hat does nothing 2022-05-03 14:35:18 -04:00
Victor Savkin
e6738abc9f feat(misc): move run-commands executor to nx 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
Leosvel Pérez Espinosa
0e21fa0368
fix(angular): normalize project name and don't default to npmScope as prefix when it's not a valid html selector (#10116) 2022-05-03 16:16:30 +01:00
Craigory Coppola
62d0535acd
fix(nx-plugin): create-nx-plugin should generate valid import path (#10107) 2022-05-03 10:42:23 -04:00
Leosvel Pérez Espinosa
cfe21b2eb8
fix(core): normalize paths in ng cli adapter when finding matching files (#10113) 2022-05-03 09:44:07 -04:00
Miroslav Jonaš
1fb99fe541
chore(core): fix CI prompt message formatting (#10112) 2022-05-03 10:19:11 +00:00
Jack Hsu
e07ef9f216
fix(nextjs): fix support for custom distDir (#10106) 2022-05-02 20:50:44 +00:00
Jack Hsu
2ad824a316
feat(nextjs): update styled-jsx to match the version supported by next.js (#10101) 2022-05-02 20:16:54 +00:00
Victor Savkin
085554b682
cleanup(misc): remove incorrect comments 2022-05-02 11:46:26 -04:00
Jack Hsu
0f2edf2f8f
feat(react): update react packages (#10093) 2022-05-02 10:29:38 -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
Victor Savkin
cb8bf523ff
chore(repo): update cloud to 1403 (#10070) 2022-04-30 13:21:55 -04:00
Denis Frenademetz
a395e486e8
fix(core): emit success false in compileTypeScriptFiles if typescript diagnostic contains errors (#10068) 2022-04-30 00:50:37 -05:00
Jason Jean
925499803c
fix(devkit): update ejs (#10072) 2022-04-29 19:35:45 +00:00
Alois
0bd08cccba
fix(devkit): don't replace begining undescore when creating file (#9870)
Underscore is a character usually used for sorting purposes and is absolutely legit. There is no
reason to replace it.

ISSUES CLOSED: #8875
2022-04-29 14:17:14 -04:00
Katerina Skroumpelou
bef82408b4
fix(core): refine move and remove generators for projects with a target name (#10063)
Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
2022-04-29 16:15:08 +00:00
Jason Jean
8f5a8265d5
fix(core): move removing roots migration to 14.0.6 (#10066) 2022-04-29 15:54:22 +00:00
Jason Jean
d5877a9557
fix(core): fix migrating workspaces without any task runners configured (#10065) 2022-04-29 15:35:48 +00:00
Colum Ferry
0e5f4d5938
fix(angular): don't share angular mfe package (#10059) 2022-04-29 14:49:04 +01:00
Colum Ferry
b78d353c7a
fix(angular): cleanup ports on exit of mf server (#10060) 2022-04-29 13:49:53 +01:00
Katerina Skroumpelou
a74ed0ecfc
fix(storybook): include all react exports for story generation (#10030) 2022-04-29 08:20:56 -04:00
Jason Jean
3abff91800
chore(repo): update nx to 14.0.5 (#10053)
* chore(repo): update nx to 14.0.5

* chore(core): have separate unit tests for logger on CI vs non CI
2022-04-29 02:06:12 +00:00
Byron
be1d1578e5
fix(angular): fix stylus import (#9950) 2022-04-28 16:20:38 -04:00
Jason Jean
5e23c07077
fix(core): automatically add root to the project.json projects (#9977)
* fix(core): automatically add root to the project.json projects

* chore(core): move project-configuration generator utils to nx package

* fix(core): add migrations to remove root
2022-04-28 13:24:35 -04:00
Craigory Coppola
c3d30a4fc7
fix(nx-plugin): executors that spread async generators should work locally (#9956) 2022-04-28 12:06:48 -04:00
Giora Guttsait
2ff9ad7344
cleanup(core): provide better cleanup api for createTempNpmDirectory (#9866) 2022-04-28 14:53:11 +00:00
Craigory Coppola
3ffa7f8299
fix(nx-plugin): allow async project graph processors (#10026) 2022-04-28 10:31:07 -04:00