Victor Savkin
fe846882aa
chore(repo): update repo to 13.10 ( #9497 )
2022-03-24 12:21:07 -04:00
Victor Savkin
d4b5c30eba
cleanup(core): remove the indirection left after inlining ta… ( #9469 )
2022-03-23 22:18:17 -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
Enoyao
03e9015d69
chore(core): combine identical conditional expressions ( #9136 )
2022-03-14 17:09:59 -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
Victor Savkin
a32d46c5a3
feat(core): provide an experimental hashing mode for jest and cyrpess
2022-03-10 21:16:58 -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
James Henry
a3242c4dcc
chore(core): improve consistency of output colors across terminal themes ( #9231 )
2022-03-08 15:11:32 -05:00
James Henry
471f7be539
fix(core): improve output color consistency across terminal themes ( #9133 )
2022-02-28 15:18:48 -05:00
Miroslav Jonaš
b251234af9
feat(core): use stricter types for project graph node references ( #8813 )
2022-02-16 11:45:04 +01: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
“JamesHenry”
04135e8d4d
chore(core): dynamic run-one output renderer
2022-02-07 10:24:16 -05: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
bf70569636
fix(core): deprecate, fix error, and print warning when using --only-failed ( #8748 )
2022-01-28 13:28:16 -05:00
Victor Savkin
acffba7fa9
fix(core): normalize command to avoid nx run nx run ( #8678 )
2022-01-24 19:18:14 +00:00
Victor Savkin
27dc36fac6
feat(core): improve detection whether we are running in CI
2022-01-24 10:35:30 -05:00
Victor Savkin
67e242fea9
feat(core): align the dynamic and static outputs ( #8625 )
2022-01-21 14:58:53 -05:00
Victor Savkin
f57d4c291e
fix(core): throw errors when collected terminal output cannot be found ( #8623 )
2022-01-20 16:20:32 -05:00
Phillip Barta
dbb7c602ff
cleanup(repo): format with prettier 2.5.1
2022-01-20 12:26:45 -05:00
Victor Savkin
56e7407ebe
feat(core): enable dynamic output by default
2022-01-20 09:45:24 -05:00
James Henry
b173b449b7
chore(core): remove indent on static command, dynamic updates ( #8611 )
2022-01-20 09:42:27 -05:00
Victor Savkin
7c236a24e9
fix(core): move life cycle file out life-cycles to fix deep imports
2022-01-19 15:40:36 -05:00
James Henry
faef0d8c85
chore(core): task runner dynamic output life cycle ( #8590 )
2022-01-19 14:52:10 -05:00
Victor Savkin
ccda8cf816
fix(core): use the default configuration in dep tasks
2022-01-18 20:06:07 -05:00
Jason Jean
eabeebcb2d
fix(core): create new env variable for performance profile and add documentation ( #8479 )
2022-01-12 19:55:20 -05:00
Victor Savkin
fd3673df7a
feat(core): separate local and remote cache statuses
2022-01-12 13:18:57 -05:00
Victor Savkin
75cc52fd48
fix(core): change default folder for daemon assets to cache dir
2022-01-10 16:54:12 -05:00
Victor Savkin
16e9f58f76
feat(core): optimise cache restoration and storing
2022-01-10 11:40:10 -05:00
Victor Savkin
75e6b12535
cleanup(core): remove a level of indirection in neo terminal output
2022-01-06 21:48:32 -05:00
“JamesHenry”
d225319ede
chore(core): neo run-many output life cycle
2022-01-06 20:00:22 -05:00
Victor Savkin
20f731990c
docs(misc): rework the top section of docs
2022-01-04 14:11:31 -05:00
Jason Jean
552be0dd14
feat(core): introduce chrome profiling ( #8215 )
2021-12-21 15:00:41 -05:00
Craigory Coppola
814061dbff
feat(core): support for extending project inference capabilities ( #8210 )
2021-12-20 11:18:31 -05:00
Victor Savkin
65dfe7d092
feat(core): skip-nx-cache should apply to all nx subprocesses
2021-12-16 21:12:26 -05:00
Victor Savkin
7f025c48a9
Revert "chore(core): add foundations of ink powered life-cycle ( #8028 )"
...
This reverts commit 406a94f237609142ff1563d85afa681cc21b254e.
2021-12-16 14:39:24 -05:00
Kyle Cannon
46cd008028
fix(core): add default export for tasksRunnerV2 ( #8088 )
...
Fixes #8085
2021-12-10 10:04:06 -05:00
Leosvel Pérez Espinosa
0ce96a47f1
fix(core): forward args to target dependencies with the same executor as the target that is being run ( #8104 )
2021-12-10 10:01:06 -05:00
Leosvel Pérez Espinosa
d808bc206b
fix(core): forward args to target dependencies with the same target name as the target that is being run ( #8034 )
2021-12-09 09:46:00 +00:00
James Henry
406a94f237
chore(core): add foundations of ink powered life-cycle ( #8028 )
2021-12-08 19:09:51 +00:00
Craigory Coppola
fce3d9be35
feat(core): merge package json scripts with targets list when building dependency graph ( #7979 )
...
* feat(core): merge package json scripts with targets list when building dependency graph
* chore(repo): add tsconfig path handling to generate CLI docs
2021-12-07 18:02:19 -05:00
Victor Savkin
ce25ef4708
fix(core): write a terminal output file when using the pipe capture method
2021-12-07 11:34:50 -05:00
Victor Savkin
3f7a74f1be
cleanup(core): throw a meaningful error when versions are misaligned
2021-11-19 15:50:16 -05:00
Jason Jean
b222c47202
Revert "fix(core): prevent overwriting already added tasks when adding target dependencies tasks" ( #7815 )
...
This reverts commit babcbf613e70cdc895d425ad8f3ef6f0b1159fb4.
2021-11-19 20:30:18 +00:00
James Henry
98ffe8574b
feat(linter): support eslint v8 ( #7800 )
...
* feat(core): support eslint v8
* fix(core): align version of eslint across all packages
2021-11-19 14:55:33 -05:00
Victor Savkin
1ddb6120a2
chore(repo): update the version of nx cloud
2021-11-19 09:25:12 -05:00
Victor Savkin
9eb4df9aeb
fix(core): small fixes for issue discovered during migration
2021-11-17 16:32:22 -05:00
Leosvel Pérez Espinosa
babcbf613e
fix(core): prevent overwriting already added tasks when adding target dependencies tasks
2021-11-16 20:08:17 -05:00