4169 Commits

Author SHA1 Message Date
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
Victor Savkin
2d934093b0 chore(repo): update the version of @nrwl/nx-cloud to latest 2021-10-01 10:33:00 -04:00
Miroslav Jonaš
3c022e5cc7
chore(repo): use OS specific nx cache folder (#7188) 2021-10-01 11:59:02 +00:00
Gaurav Mukherjee
2b5f1aad39
fix(core): handle empty root path in angular.json (#7036)
ref https://github.com/nrwl/nx/issues/7008

Co-authored-by: gmfun <gaurav@ves.io>
2021-09-30 16:58:29 -04:00
samdanae
0fc9e9d51b
fix(node): Prevent extra kebab-case files being generated with --pascalCaseFiles option (#7087)
* fix(node): prevent extra kebab-case files being generated when pascal case option is on

* fix(node): remove unused variable

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>

* fix(node): bundle new expectations into the existing test cases

Co-authored-by: Samdanae Imran <samdanae.imranuzzaman@serko.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-09-30 16:55:21 -04:00
Minijus L
da658e10a7
fix(testing): update Jest to 27.2.x (#7101) 2021-09-30 16:46:45 -04:00
Victor Savkin
b3bfc07756 chore(repo): remove some combinations from e2e matrix 2021-09-30 16:25:54 -04:00
Vivek
23d10a9dfc
fix(repo): fix yarn command in PR instructions (#6943) 2021-09-30 11:11:11 -04:00
khalilou88
b34c88a4f8
chore(core): nx plugin submission @jnxplus/nx-boot-maven (#7173) 2021-09-30 11:07:20 -04:00
Miroslav Jonaš
33ad692a0e
fix(nxdev): fix wrong page generation for deamon start and stop (#7180) 2021-09-30 11:17:12 +00:00
Miroslav Jonaš
97e6df55b0
chore(linter): optimize e2e tests (#7171) 2021-09-30 10:58:04 +02:00
Brandon
d920f03149
fix(angular): bump jasmine-marbles to 0.8.4 release (#7162) 2021-09-29 09:29:17 -05:00
Miroslav Jonaš
49a7c2952a
chore(repo): exclude projects running on multiple OSs (#7168) 2021-09-29 15:24:42 +02:00
Miroslav Jonaš
5b61bf198a
chore(repo): disable android workflows until needed (#7164) 2021-09-28 20:32:46 +00:00
Miroslav Jonaš
d4d2af1670
chore(repo): enable windows tests for the nightly (#7163) 2021-09-28 16:47:27 +00:00
AgentEnder
3a9910e311 fix(devkit): normalizePath should not be dependant on host OS
Currently, we split on path.sep in normalizePath. This results in differing results based on if the host file system is unix or windows. I
would expect that normalizePath(...) should return the same result wether or not it was executed in windows.
2021-09-28 11:37:03 -04:00
Miroslav Jonaš
8424c69320
fix(linter): improve error message on no matching dependency restriction (#7143) 2021-09-27 12:45:20 +00:00