1524 Commits

Author SHA1 Message Date
Jason Jean
74980db347
fix(core): undo removal of @nrwl/cli and add warning when it is imported (#9370) 2022-03-16 17:24:36 -04:00
Benjamin Cabanes
5245202628
docs(nxdev): update workspace example with nx cmd (#9360) 2022-03-16 15:22:10 -04:00
Giora Guttsait
f44165d993
feat(js): infer tslib as a dependency when using importHelpers (#9350) 2022-03-16 12:47:39 -04:00
Miroslav Jonaš
3c17e80bde
fix(linter): check for both nrwl/nx and eslint for terminal runs (#9340) 2022-03-16 08:42:29 +00:00
Victor Savkin
419131838f
fix(misc): handle tsx files correctly when excluding specs 2022-03-15 13:52:56 -04:00
Victor Savkin
7b4ee52833
fix(core): fix a typo in a migration 2022-03-14 21:13:54 -04:00
Victor Savkin
48a5d19b68
feat(core): add a migration to replace nrwl/cli and nrwl/tao with nx 2022-03-14 20:45:51 -04:00
Enoyao
03e9015d69
chore(core): combine identical conditional expressions (#9136) 2022-03-14 17:09:59 -04:00
Craigory Coppola
db938799a3
fix(misc): report should include nx-plugin (#9312) 2022-03-14 17:09:27 -04:00
Victor Savkin
6f038e7a4a feat(core): reorganize packges to consolidate all cli-related code in nx 2022-03-14 16:42:51 -04:00
Jack Hsu
cd81a2061e
fix(react): update package.json only with shallow dependencies (#9297) 2022-03-11 14:43:34 -05:00
Miroslav Jonaš
ca38be735d
chore(core): add type for hasher filter to avoid typos (#9287) 2022-03-11 14:54:21 +01:00
Miroslav Jonaš
5db394ecd8
fix(linter): use import to check for secondary entrypoint in angular (#9285) 2022-03-11 14:52:43 +01:00
Victor Savkin
a32d46c5a3 feat(core): provide an experimental hashing mode for jest and cyrpess 2022-03-10 21:16:58 -05:00
Jason Jean
94687e993c
chore(repo): ensure license file exists for all published packages (#9274) 2022-03-10 18:33:06 -05:00
Jason Jean
23494a09cb
chore(core): fix workspace integrity unit test (#9273) 2022-03-10 18:32:58 -05:00
Enoyao
5d447c559a
cleanup(core): remove unused variable in run-one (#9135) 2022-03-10 12:34:10 -05:00
Leosvel Pérez Espinosa
081ff42955
fix(angular): handle newProjectRoot correctly when generating apps and libs (#9255) 2022-03-10 13:09:04 +00:00
Jason Jean
88204a0f23
feat(core): prep project graph during postinstall (#9204) 2022-03-09 11:30:57 -05:00
Leosvel Pérez Espinosa
acc29e9593
fix(misc): support workspaces using a root tsconfig.json instead of tsconfig.base.json (#9195)
* fix(misc): support workspaces using a root tsconfig.json instead of tsconfig.base.json

* cleanup(angular): address pr feedback
2022-03-09 11:30:26 -05:00
James Henry
16c689189d
fix(core): show static terminal output when NX_VERBOSE_LOGGING is enabled (#9248) 2022-03-09 09:17:08 -05:00
Juri Strumpflohner
45bf0e5a25
feat(linter): automatic fixes for noRelativeOrAbsoluteImportsAcrossLibraries and noSelfCircularDependencies (#8901)
Co-authored-by: Miroslav Jonas <missing.manual@gmail.com>
2022-03-09 08:14:33 +00:00
James Henry
a3242c4dcc
chore(core): improve consistency of output colors across terminal themes (#9231) 2022-03-08 15:11:32 -05:00
Leosvel Pérez Espinosa
5ada5adda2
fix(core): fix daemon server path on client (#9235) 2022-03-08 16:34:21 +00:00
Jay Tavares
0a17a619d0
feat(linter): add notDependOnLibsWithTags constraint option to enforce-module-boundaries rule (#8633)
Co-authored-by: Miroslav Jonas <missing.manual@gmail.com>
2022-03-08 11:55:03 +01:00
Craigory Coppola
de7aa8ed3d
fix(core): cwd during dep-graph shouldn't vary based on daemon (#9223) 2022-03-08 13:28:42 +04:00
Jason Jean
5964379bc9
feat(core): use package manager workspace globs to find projects (#9131) 2022-03-02 16:03:21 -05:00
Miloš Lajtman
ea334284aa
fix(misc): format:check not checking all affected files (#9152) 2022-03-02 10:57:08 -05:00
Craigory Coppola
efedd2eff7 fix(core): batch calls to git hash-object to avoid E2BIG error 2022-03-01 11:45:24 -05:00
James Henry
471f7be539
fix(core): improve output color consistency across terminal themes (#9133) 2022-02-28 15:18:48 -05:00
Leosvel Pérez Espinosa
cef4bbd4cf
fix(angular): align root karma config when migrating from angular cli to match the one for new workspaces (#9144) 2022-02-28 15:15:09 +00:00
Leosvel Pérez Espinosa
615955afec
feat(angular): support migrating angular cli workspaces using cypress for e2e tests (#9105) 2022-02-28 11:03:09 +00:00
Enoyao
40f0f3d870
chore(core): use optional chaining for reading js plugin config (#8951) 2022-02-25 17:41:35 -05:00
Benjamin Cabanes
280044181e
chore(core): cleanup run-command log (#9095) 2022-02-23 09:47:03 -05:00
Leosvel Pérez Espinosa
ebaf8f646c
fix(angular): improve angular cli migration when using --preserve-angular-cli-layout (#9064) 2022-02-21 17:43:51 +00:00
Leosvel Pérez Espinosa
33c9ca98ae
fix(angular): change --preserveAngularCLILayout to --preserve-angular-cli-layout (#9051) 2022-02-21 12:00:34 +00:00
Leosvel Pérez Espinosa
dfcc853b50
fix(angular): set the right defaultBase when migrating an angular cli workspace (#9050) 2022-02-21 05:59:48 -05:00
Benjamin Cabanes
0f497b697b
feat(core): improve run-command parallel logs (#9006) 2022-02-17 10:04:52 -08:00
Philip Fulcher
31d51c36fd
feat(dep-graph): add experimental collapse edges option (#9004) 2022-02-16 14:12:13 -07:00
Miroslav Jonaš
0017f6a521
chore(linter): cleanup the utils (#8996) 2022-02-16 14:38:41 +01:00
Miroslav Jonaš
aefe782a9f
fix(linter): enforce fresh graph if rule not run by nx command (#8976) 2022-02-16 13:44:00 +01:00
Miroslav Jonaš
b251234af9
feat(core): use stricter types for project graph node references (#8813) 2022-02-16 11:45:04 +01:00
Chau Tran
7da9fbbe88
fix(js): migrate swc executor off of rxjs (#8728)
* fix(js): clean up swc

* fix(js): clean up swc

* fix(js): add incremental to TypeCheckOptions

* fix(js): use async iterator with tsc executor. remove rxjs deps

* chore(js): remove unnecessary test and commented out code

* fix(js): add else statement for readability

* fix(js): ensure error() and done() always set error and done fields

* chore(js): clean up create async iterable tests

* fix(js): ensure pushQueue is resolved first if there are still items to be resolved before done

Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
2022-02-15 14:16:30 -06:00
Victor Savkin
d5280f0b75
fix(core): show all task logs when using --verbose with run-many 2022-02-15 10:42:09 -05:00
Denis Frenademetz
619a7e825e
fix(core): wait for tasks to be scheduled before checking for work (#8840)
Ensure task are scheduled before checking if there is some work to do,
else it can occur that tasks are scheduled, but no check for work is triggered
until the next task completes.

Closes #8888.
2022-02-11 15:23:34 -05:00
Juri
48117ac13f feat(js): add @nrwl/js to the core plugin list 2022-02-11 20:42:24 +01:00
John Woodruff
9a0db6a61e
fix(angular): newProjectRoot key is removed on Angular CLI conversion (#8865)
When converting an Angular CLI project to an NX Workspace, the newProjectRoot key needs to be removed
from the angular.json to ensure generators function properly.

Closes #8851
2022-02-08 09:24:48 +00:00
Victor Savkin
e008caf9f9
feat(misc): change cloud prompt default 2022-02-07 20:09:40 -05:00
Victor Savkin
0b86b141e0
fix(core): node-based file hasher should use absolute paths 2022-02-07 13:18:17 -05:00
“JamesHenry”
04135e8d4d chore(core): dynamic run-one output renderer 2022-02-07 10:24:16 -05:00