5625 Commits

Author SHA1 Message Date
Pascal Küsgen
0de895d35e
fix(angular): return error when name is missing from package.json (#10356)
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2022-05-18 10:46:03 +01:00
James Henry
a89c360f46
chore(core): refactor explicit-project-dependencies unit tests (#10317) 2022-05-18 13:02:59 +04:00
yinshuxun
f25e94a5dc
fix(angular): fix angular mfe when use NormalModuleReplacementPlugin with path alias ends with /* (#10355) 2022-05-18 09:20:25 +01:00
Jack Hsu
70f1a6b781
feat(web): add support for Node ESM when used to package SSR-ready library (#10349) 2022-05-18 01:11:18 +00:00
Chau Tran
7b9b0cd21b
fix(node): add workaround for handling sub processes in node:node executor (#10292)
In Nx 15, we plan to clean up runExecutor and implement proper process handling in runExecutor
upstream. This is a workaround that fix some racing-condition in node:node exexecutor downstream

ISSUES CLOSED: #9305
2022-05-17 16:13:58 -04:00
Victor Savkin
4400942001
Release 14.1.7 2022-05-17 14:51:03 -04:00
Victor Savkin
6351413b98 fix(core): preserve dash casing when passing args to executors 2022-05-17 14:48:53 -04:00
Leosvel Pérez Espinosa
4db6c2db08
docs(misc): fix links not handled correctly by redirect rules (#10350) 2022-05-17 14:06:45 -04:00
Miroslav Jonas
8a88b989fa chore(repo): increase timeout for jest e2e tests 2022-05-17 13:45:03 -04:00
Miroslav Jonaš
0c8eade82e
fix(repo): fix add-to-monorepo test (#10333) 2022-05-17 08:36:57 +00:00
Victor Savkin
7f5137da84
fix(core): default project is not set correctly 2022-05-16 21:01:30 -04:00
Miroslav Jonaš
34e74b4c93
chore(repo): use @latest to enforce correct version on e2e (#10332) 2022-05-16 22:11:46 +00:00
Miroslav Jonaš
6024c3d93a
chore(repo): patch devkit peer deps limit for e2e tests (#10331) 2022-05-16 21:09:44 +00:00
Miroslav Jonaš
fe8a8d9bea
chore(repo): switch nightly pnpm to use v7 (#10330) 2022-05-16 15:08:12 -06:00
Victor Savkin
8198b7805f fix(core): use absolute paths when resolving package.json files 2022-05-16 12:51:16 -04:00
Benjamin Cabanes
454782f2d1
chore(dep-graph): update devkit assets path (#10324) 2022-05-16 15:34:15 +00:00
Nathan Bierema
7b7fc89dd1
fix(core): call pnpm run without -- for pnpm v7 (#10305)
Starting in pnpm v7 all command line arguments after the script name are passed to a script's arguments when using `pnpm run <script>`, including `--`. This can cause problems when there are no command line arguments, because it will pass `--` without anything following, which some scripts can't handle. In order to preserve the old functionality, we check if the pnpm version is less than 7.0.0. If it is, we include `--` before the args, otherwise we don't.

Closes #10111
2022-05-16 14:36:08 +00:00
Benjamin Cabanes
c7ec631060
docs(nxdev): remove nx-devkit generated redirect rules & fix url (#10318) 2022-05-16 14:34:53 +00:00
Chau Tran
17c40229a7
fix(js): format .lib.swcrc file with nx format (#10254) 2022-05-16 10:19:49 -04:00
Leosvel Pérez Espinosa
7c2f9452fa docs(core): remove invalid cli commands 2022-05-16 10:06:12 -04:00
Victor Savkin
7240846b7b
Release 14.1.6 2022-05-16 09:46:53 -04:00
Leosvel Pérez Espinosa
43d5e621b7
fix(angular): add types to tsconfig.editor.json correctly (#10316) 2022-05-16 13:09:24 +01:00
Miroslav Jonaš
1b8a050a66
docs(nxdev): fix outdated gitlab docs (#10315) 2022-05-16 06:21:13 -04:00
Miroslav Jonaš
86df361082
docs(nxdev): fix image version for gitlab (#10311) 2022-05-16 09:17:42 +00:00
James Henry
a41476926b
chore(repo): remove unintentionally committed file (#10309) 2022-05-16 09:06:54 +00:00
Oliver Schlegel
b1cc187c20
feat(angular): expose builder functions (#10252) 2022-05-16 09:41:53 +01:00
Victor Savkin
e6f73a8073 fix(misc): misc fixes 2022-05-15 10:48:16 -04:00
Benjamin Cabanes
c0d159140d
docs(nxdev): update nx-plugin redirect rule (#10288) 2022-05-13 20:16:11 +00:00
Benjamin Cabanes
46b0501b3a
docs(nxdev): add nx conf lite youtube links (#10283) 2022-05-13 14:46:34 -04:00
Jelilat Anofiu
38809f177d
docs(nxdev): fix typo on react nx tutorial (#10279)
Fixes #10278
2022-05-13 11:05:39 -04:00
Juri Strumpflohner
c6c7b64d36
docs(nxdev): add Lerna button on homepage that links to the guide (#10281) 2022-05-13 11:01:36 -04:00
Juri
ee1b625307 docs(core): update migration guides for Lerna and other monorepos 2022-05-13 09:17:19 -04:00
Benjamin Cabanes
f35f6d550d
docs(nxdev): fix typo on devkit reference (#10277) 2022-05-13 03:00:04 +00:00
Chau Tran
692418d2b7
fix(js): move swc/helpers to dependencies instead of devDependencies (#10275)
ISSUES CLOSED: #10270
2022-05-12 19:24:40 +00:00
Benjamin Cabanes
10040388e3
docs(nxdev): update packages documentation (#10273) 2022-05-12 18:31:10 +00:00
Jonathan Wagner
c35b13dd26
fix(react): migrations should not crash when adding development configuration (#10261) 2022-05-12 14:30:33 -04:00
Benjamin Cabanes
d46e49cd61
docs(nxdev): generate menu api (#10272) 2022-05-12 18:12:04 +00:00
AgentEnder
a2d9d5664e fix(angular): when generating --preset angular and --cli nx use angular readme at root 2022-05-12 11:18:05 -04:00
Benjamin Cabanes
e2150e6e67
docs(nxdev): change header plugins link to community (#10267) 2022-05-12 15:00:03 +00:00
Benjamin Cabanes
17a11b6a83
docs(nxdev): update nx plugin doc links (#10266) 2022-05-12 10:56:41 -04:00
Jason Jean
5251bd73ac Release 14.1.5 2022-05-11 17:46:19 -04:00
Jason Jean
81ebd7f286
chore(core): fix test for package.json root removal (#10253) 2022-05-11 21:33:46 +00:00
Jason Jean
9cdcf1720a
fix(core): only migrate projects with project.json (#10251) 2022-05-11 16:57:33 -04:00
Caleb Ukle
ecf88a6995
fix(testing): update v14 migration and migrate jest.config.ts to use export default (#10035)
* fix(testing): jest.preset.ts => jest.preset.js

* fix(testing): update to export default

* fix(testing): migration for moving to export default

* fix(testing): add eslint ignore comments for jest config properties

fixes: #10021

* fix(testing): update tsconfig.spec.json for next apps with project parserOptions

fixes: #9982

* fix(testing): prevent renaming root jest preset

fixes: #9973

* fix(testing): update snapshots for export default

* fix(testing): bump migration version to run

* fix(testing): make sure default jest tests pass for various projects

* fix(js): generate correct jest config for --compiler=swc --js
2022-05-11 18:04:29 +00:00
Jason Jean
4dbd6559cf
fix(linter): fix default lint file (#10250) 2022-05-11 16:45:21 +00:00
James Henry
ef050d914f
chore(repo): reenable react-native e2e tests (#10248) 2022-05-11 16:00:38 +00:00
Jay Bell
93c7ea5f31
cleanup(js): use import instead of require in jest config (#10239)
if we are going to use typescript we might as well use typescript and use import instead of require
for build in modules that support it
2022-05-11 11:18:32 -04:00
Nicoss54
5c995a797f
docs(nxdev): update run-script documentation (#10195) 2022-05-11 11:08:12 -04:00
Alois
e5bde2fe46
fix(linter): Generator creating .eslintrc.json at the root path even when .eslintrc.js already exist (#10080)
* feat(devkit): feat(devkit): don't replace begining undescore when creating file

Underscore is a character usually used for sorting purposes and is absolutely legit. There is no
reason to replace it.

ISSUES CLOSED: #8875

* fix(linter): generator creating .eslintrc.json at the root path even when .eslintrc.js
2022-05-11 11:07:10 -04:00
Patrick McDonald
1aed5acfaa
docs(nxdev): fix sentence (#10196)
I *think* this is what you were trying to say.
2022-05-11 11:06:04 -04:00