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
Amman Vedi
eb04324547
fix(core): change ng to nx ( #8843 )
...
The command ng is incorrect it should be nx
2022-02-04 11:09:11 -05:00
Victor Savkin
fb056891ec
fix(core): do not start daemon process when running a docker container
2022-02-01 13:54:11 -05:00
Victor Savkin
5e3f1d47bf
chore(repo): update repo to 13.7.1
2022-01-28 21:20:27 -05:00
Victor Savkin
a7b1065be4
fix(core): fix the issue introduced by 45c9ee09
2022-01-28 20:56:07 -05:00
Victor Savkin
4e5b48d64a
fix(core): warn when daemon fails to start
2022-01-28 20:42:29 -05:00
Marc Abramowitz
f17821732b
fix(misc): don't disable chalk when FORCE_COLOR is set ( #8226 )
...
* Don't disable chalk when FORCE_COLOR is set
My lint output in Jenkins wasn't colored, which is pretty normal because
a lot of apps when running in Jenkins don't think they have a
color-capable terminal to write to, but I expected that setting the
`FORCE_COLOR` environment variable would work to override this, but I
was surprised to find that it didn't help. Looking at the Nx code, I see
that chalk is turned off whenever `CI` is true, which seems like it
should be refined a bit.
* chore(core): fix code
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2022-01-28 20:11:02 -05:00
Jason Jean
1f6c17031e
fix(core): fix git support detection ( #8764 )
2022-01-29 00:38:29 +00:00
Juri Strumpflohner
8576330baa
fix(core): cacheDirectory resolution ( #8760 )
2022-01-28 18:38:27 -05:00
Jason Jean
3cdc681326
fix(core): check if taskRunnerOptions exists ( #8762 )
2022-01-28 23:11:37 +00:00
Victor Savkin
51b90435b3
fix(core): fix cache for directory outputs ( #8756 )
...
Only use parent directory for outputs if output is a file. Closes #8504 .
This bug has been caused by 16e9f58f76 .
Co-authored-by: skrtheboss <denisfrenademetz97@gmail.com>
2022-01-28 16:30:14 -05:00
Phillip Barta
f94d3dad2a
fix(core): use fs/promises instead of promisifying with the util module ( #8530 )
...
* fix(core): use fs/promises instead of promisifying with the util module
* chore(core): use path exists instead of existsSync
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2022-01-28 15:53:08 -05:00
Jason Jean
e759abdc95
fix(misc): fix npm-package generator on windows ( #8751 )
2022-01-28 14:41:54 -05:00
Daniel Payet
b86feb1048
fix(dep-graph): set the number of workers with environment variables
...
In a docker container, the result of os.cpus() can be wrong (https://github.com/nodejs/node/issues/28762 ).
2022-01-28 14:31:47 -05:00