1592 Commits

Author SHA1 Message Date
Jason Jean
8b0f9d25e7
chore(core): update yargs to 17.4.0 (#9511) 2022-03-28 11:28:14 -04:00
Benjamin Cabanes
ad5c6c3cbe
docs(core): add description to workspace package (#9527) 2022-03-25 19:31:34 +00:00
Victor Savkin
4d10cec58b
fix(core): fix a perf regression in the lint executor 2022-03-25 12:52:09 -04:00
Victor Savkin
fe846882aa
chore(repo): update repo to 13.10 (#9497) 2022-03-24 12:21:07 -04:00
Benjamin Cabanes
6dae32cc3a
docs(nxdev): support packages schemas metadata & discoverability (#9383) 2022-03-24 12:00:06 -04:00
Victor Savkin
d4b5c30eba
cleanup(core): remove the indirection left after inlining ta… (#9469) 2022-03-23 22:18:17 -04:00
Miroslav Jonaš
c7e621f6f6
fix(core): fix missing versions from nx report (#9450) 2022-03-23 10:07:31 -04:00
Benjamin Cabanes
1723e8e6b3
docs(nxdev): remove unused versions & flavors feature (#9462) 2022-03-22 17:44:35 +00:00
Craigory Coppola
9261105630
fix(js): return success false if tsc compilation fails (#9438) 2022-03-21 16:39:40 -04:00
Leosvel Pérez Espinosa
e427de68dc
fix(angular): update library package.json only with direct dependencies (#9315) 2022-03-21 09:24:13 +00:00
Craigory Coppola
ccfc527b20
fix(core): projects inferrred in apps directory should be inferred as an application (#9379)
* fix(core): projects inferrred in apps directory should be inferred as an application

* chore(repo): add jest setup back for `nx`
2022-03-18 19:14:04 -04:00
Enoyao
bf836f4313
cleanup(core): use full variable name in git-hasher.ts (#9143) 2022-03-18 22:32:02 +00:00
Leosvel Pérez Espinosa
88a7ad7654
cleanup(angular): move the angular cli migration generator from @nrwl/workspace to @nrwl/angular (#9244)
* cleanup(angular): move the angular cli migration generator from @nrwl/workspace to @nrwl/angular

* cleanup(angular): support merged packages (cli, tao, nx)

* cleanup(angular): update make-angular-cli-faster to support packages consolidation
2022-03-18 17:18:10 -04:00
Miroslav Jonaš
f50f0bc845
chore(core): split hasher filter types for node and workspace project (#9293)
* chore(core): split hasher filter types for node and workspace project

* fix(core): change leftover hash filter to node hash filter
2022-03-18 16:26:37 -04:00
Sorin Davidoi
75f9ece440
fix(core): don't allow arbitrary code execution when manipulating cache (#9329)
The Node documentation for `exec` states:

> Never pass unsanitized user input to this function. Any input containing shell metacharacters may be used to trigger arbitrary command execution.

The `folder` variable comes directly from the `NX_CACHE_DIRECTORY` environment variable (or from `nx.json`). Careful crafting of this variable can result in NX executing arbitrary commands.

This patch fixes this by using `execFile`, which does not spawn a shell.
2022-03-18 16:19:12 -04:00
Craigory Coppola
05f72c96ea
fix(core): targets referred to by targetDependencies should be optional by default (#9344) 2022-03-18 15:30:48 -04:00
Colum Ferry
a8ede441eb
feat(angular): support angular v13.3.0 (#9311) 2022-03-18 14:59:04 +00:00
Jason Jean
731e57098e chore(core): fix snapshots 2022-03-16 17:26:16 -04:00
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