3985 Commits

Author SHA1 Message Date
Jack Hsu
a8bcd27933
fix(react): apply postcss config from apps to their lib dependencies (#7265)
Fixes #7040
2021-10-08 14:10:25 -04:00
Victor Savkin
4b9c00ef39 feat(core): use worker threads to construct a project graph
This reverts commit caac6ee2e9c576c44a33b4f71c59abbd5ba187d7.
2021-10-08 13:45:10 -04:00
Jason Jean
5c92670678 chore(nxdev): update latest version documentation to v12.10.0 2021-10-08 13:44:13 -04:00
Jason Jean
dfee0b1293 Release 12.10.0 2021-10-08 13:17:35 -04:00
Jason Jean
4c4826667e
fix(core): fix defaulting object properties to empty {} (#7288) 2021-10-08 13:15:37 -04:00
Benjamin Cabanes
5ae45b63dd
docs(core): add categories typed comment for nxdevk (#7286) 2021-10-08 12:09:53 -04:00
Victor Savkin
de680d3ace chore(core): extract daemon client into a separate file 2021-10-07 13:12:52 -04:00
Jason Jean
caac6ee2e9 Revert "feat(core): use worker threads to construct a project graph"
This reverts commit d9175d1ac6e7fbca1229b23a6f72b520a3644322.
2021-10-07 11:25:55 -04:00
Victor Savkin
d9175d1ac6 feat(core): use worker threads to construct a project graph 2021-10-07 11:23:44 -04:00
Colum Ferry
4d7114f634
docs(angular): better information of what the plugin is (#7262) 2021-10-07 10:21:42 +00:00
Jason Jean
db555b682b
chore(repo): update nx to 12.10.0-beta.5 (#7270) 2021-10-07 02:31:19 +00:00
James Henry
79048fdb5c
chore(core): implement file watching in the daemon (#7232) 2021-10-06 21:42:01 -04:00
Leosvel Pérez Espinosa
c21835d40a
fix(devkit): move files to a directory using normalized paths to handle windows correctly (#7264) 2021-10-06 17:42:36 +01:00
Jason Jean
3881d002fe
chore(repo): add logging to failing build during e2e tests (#7261) 2021-10-06 14:47:29 +00:00
Colum Ferry
654cfbf147
fix(angular): incremental builds with mfes #6923 (#7260) 2021-10-06 15:37:22 +01:00
Colum Ferry
2f2ede5ca5
cleanup(angular): add unit and e2e tests for extra reassurance (#6626)
* cleanup(angular): add unit and e2e tests for extra reassurance

After tests didn't fail but issues were introduced, add some extra tests to help catch breaking
changes

* chore(angular): increase timeout for e2e tests

* fix(angular): mfe not installing webpack correctly

Co-authored-by: Miroslav Jonaš <meeroslav@users.noreply.github.com>
2021-10-06 14:15:39 +01:00
Jack Hsu
0d3601e8cb
fix(react): use default module resolution (#7254)
Fixes #6662
2021-10-05 15:00:07 -04:00
Miroslav Jonaš
a01a5c9d34
chore(repo): split e2e-workspace to two applications (#7240) 2021-10-05 18:59:03 +02:00
Jack Hsu
508ff79296
fix(react-native): use jest-jasmine2 runner (#7249)
- Using jest-circus results in timing issues
2021-10-05 11:33:16 -04:00
Jack Hsu
6caba471f8
fix(react-native): fix svg-mock path in generated jest config (#7248) 2021-10-05 10:43:47 -04:00
Jack Hsu
711e80e01f
chore(react): update e2e tests to be less flaky in CI (#7247)
- the output formatting isn't consistent in CI so check file existence
  instead
2021-10-05 13:28:00 +00:00
Miroslav Jonaš
d973010949
chore(repo): make local registry package publishing async (#7200) 2021-10-05 09:05:35 +00:00
Jason Jean
a490c5be8f
chore(repo): update nx to 12.10.0-beta.3 (#7236) 2021-10-04 23:48:40 +00:00
Victor Savkin
b79072a5ae feat(core): parallelize cache restoration 2021-10-04 16:55:41 -04:00
Jack Hsu
7bef953fe6
fix(nextjs): generate nextjs app with correct pages dir for no-html-link-for-pages rule (#7230) 2021-10-04 15:50:55 -04:00
Miroslav Jonaš
898f56c50c
chore(repo): fix ci yarn caching (#7227) 2021-10-04 19:42:04 +00:00
Emily Xiong
0492ff00ce
feat(react-native): add support for svg and upgrade react-native to 0.66.0 (#7231)
* feat(react-native): add support for svg

* feat(react-native): upgrade to 0.66
2021-10-04 14:59:22 -04:00
Dan Roujinsky
268fc20305
fix(web): add postcss loader in sass, less and stylus module files (#7141) 2021-10-04 14:52:01 -04:00
Sushruth Shastry
11cc599463
fix(web): remove obsolete options for terser in webpack 5 mode (#6956)
* fix(web): remove chunkFilter option in webpack 5 mode

Fixes #6953

* fix(web): correct fix for the issue
2021-10-04 14:51:15 -04:00
Xie Jay
2bcc552fa0
fix(web): remove default value of baseHref (#6994)
close #5079
2021-10-04 14:50:26 -04:00
Jack Hsu
9c2a8b155c
feat(react): buildable React libraries now generate smaller ESM packages (#7199) 2021-10-04 14:39:20 -04:00
Santosh Yadav
364a276bc0
fix(core): fix vulnerabilities (#7222) 2021-10-04 16:05:55 +00:00
Philip Fulcher
1d8a8878dc
feat(misc): add --open option for dep-graph command (#7209) 2021-10-04 11:45:00 -04:00
James Henry
0d84a61b72
fix(core): changes to the daemon in order to support windows (#7211) 2021-10-04 11:42:45 -04:00
Juri Strumpflohner
83a6ffb47a
fix(nxdev): verify whether srcFolder passed to generateFiles exists (#7219) 2021-10-04 11:30:02 -04:00
Miroslav Jonaš
2898ccd8e2
chore(core): fix broken e2e test (#7226) 2021-10-04 14:45:29 +00:00
Miroslav Jonaš
4181375628
chore(repo): remove verbose logging from report (#7215) 2021-10-04 07:49:11 +00:00
Benjamin Cabanes
5f2df2ac50
docs(nxdev): update flavor selector behaviour (#7116) 2021-10-02 11:51:03 -04:00
Jason Jean
6df11a2a18
fix(core): apply NX_variables on top of env variables (#7205) 2021-10-01 20:18:56 -05:00
Jason Jean
a57ca80a19
fix(core): fix error when tsconfig.base.json is invalid json (#7204) 2021-10-01 20:05:30 -04:00
Craigory Coppola
ec633e3dfb
feat(core): obey git's init.defaultBranch when initializing nx.json (#7192) 2021-10-01 22:19:43 +00:00
Miroslav Jonaš
2bc103d599
fix(linter): linter should distinguish between ignored and projects with invalid configuration (#7096)
* fix(linter): linter should not break if project is ignored

* fix(linter): improve error message on ignored project and add tests

* fix(linter): fallback to eslint error handling to track ignored files

* fix(linter): pass original eslint error message through

* fix(linter): revert to the modified original solution
2021-10-01 21:40:31 +00:00
Jason Jean
04f8426fa8
fix(angular): remove relative calculation for config paths in wrapped angular devkit schematics (#7201) 2021-10-01 21:13:41 +00:00
Minijus L
259ac84c63
fix(angular): update jest-preset-angular to 10.0.1 (#7139) 2021-10-01 16:47:52 -04:00
Alex Herbig
8addb45fd0
fix(angular): stop modifying tags that match app name (#7137)
ISSUES CLOSED: #7097
2021-10-01 14:57:26 -04:00
Miroslav Jonaš
6217899e24
chore(react): migrate testing library to v11.2.6 (#7190) 2021-10-01 18:19:09 +00:00
Jason Jean
f559980d33
cleanup(core): remove checking results.json in e2e tests (#7194) 2021-10-01 14:17:34 -04:00
Jack Hsu
2cd26c47d3
fix(nextjs): fix buildable nextjs libs (#7197) 2021-10-01 14:16:03 -04:00
Minijus L
ae7361c0aa
fix(core): gracefully handle errors when writing the latest output hash cache files (#6959)
* fix(core): wrap writing cache hash into try/catch

Instead of failing the task run process it will allow the process to continue.

Fixes of #6957

* fix(core): ignore errors writing latest output hash cache files

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2021-10-01 17:02:38 +01:00
Kirils L
61bcab3a83
feat(nextjs): expose environment variables prefixed with NX_ (#7193) 2021-10-01 15:49:02 +00:00