32 Commits

Author SHA1 Message Date
Jason Jean
d13bcfe123
fix(misc): error if run-commands is used without command or commands (#13669) 2022-12-06 15:15:11 -05:00
Craigory Coppola
8ab7f85ca1
fix(core): swap default method for output capture (#12535) 2022-10-12 22:06:32 +00:00
Jason Jean
90604d8506
feat(core): add migration and deprecation warning for @nrwl/workspace:run-commands (#12199) 2022-09-23 18:06:34 -04:00
Jason Jean
00ef4c7283
fix(misc): make __unparsed__ not required and add smart provider in adapter (#11262) 2022-07-22 14:53:17 -04:00
Victor Savkin
5c49345c34 feat(core): provide a way to handle get unparsed args in the executor 2022-06-10 14:04:08 -04:00
Victor Savkin
e6738abc9f feat(misc): move run-commands executor to nx 2022-05-03 14:35:18 -04:00
Benjamin Cabanes
6dae32cc3a
docs(nxdev): support packages schemas metadata & discoverability (#9383) 2022-03-24 12:00:06 -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
Benjamin Cabanes
280044181e
chore(core): cleanup run-command log (#9095) 2022-02-23 09:47:03 -05:00
Benjamin Cabanes
0f497b697b
feat(core): improve run-command parallel logs (#9006) 2022-02-17 10:04:52 -08:00
Victor Savkin
5af5bd7871
chore(repo): fix broken test 2022-01-20 12:32:57 -05:00
Luís Miguel Cabral
bc2d9c0cc6 fix(core): Leave passthrough parameters untouched
Previously when the passing through complex parameters nx would alter
the original parameters in the following  scenarios:
- When passing through parameters, dot notation parameters would be
parsed and no longer would be passthrough the the following process
correctly ( --cucumberOpts.timeout=10000" would instead be passed as
"--cucumberOpts=[Object]")
- strings with spaces (delimited by quotes) would be rendered as
multiple words instead ('--tags="not @exclude"' would be passed as
'--tags=not @exclude' where '@exclude' no longer is part of the tags
param)

This would that when running nx  cli to run a command the final command
would not get the correct parameters
2022-01-20 11:33:35 -05:00
Victor Savkin
85fe340173 fix(core): inherit stdio instead of resetting it to 0,1,2 2022-01-10 15:45:49 -05:00
Himadu2000
e5b9d80abc
feat(react): updating @reduxjs/toolkit to 1.6.1 (#6939)
Updated @reduxjs/toolkit from 1.5.0 to 1.6.1
2021-09-16 14:05:32 +00:00
Benjamin Cabanes
efe780cfc9
chore(core): format fix (#7018) 2021-09-15 16:29:18 -04:00
Victor Savkin
e77f675118 fix(repo): fix a broken unit test 2021-09-15 15:21:06 -04:00
Linbudu
ebee6388cf
feat(workspace): Enable run-commands preferLocal option by default (#6807) 2021-09-15 13:08:39 -04:00
Phillip Barta
1b5498f367
feat(core): updated dotenv and switched to import 'dotenv/config' (#5615) 2021-07-29 17:49:23 -04:00
Leosvel Pérez Espinosa
873e2970ae
fix(misc): allow run-commands to accept readyWhen for a single command (#6496) 2021-07-23 18:30:20 +01:00
Leosvel Pérez Espinosa
0af1780b81
fix(core): improve run-commands dx for ready-when (#6448) 2021-07-22 09:17:22 +01:00
James Henry
91cfe5d927 chore(core): run-commands executor schema supports descriptions alongside commands 2021-07-21 20:38:12 -04:00
Jason Jean
4f7191e154 chore(repo): update nx to 12.5.0-beta.5 2021-06-25 17:08:37 -04:00
Miroslav Jonaš
8249519fea
fix(core): add description to commands schema help (#5634) 2021-05-12 20:56:58 -04:00
vsavkin
85ceb3c790 fix(core): propagate sigterm and other signals correctly 2021-04-26 20:50:30 -04:00
Tasos Bekos
156e3c2c40 chore(repo): use jest-circus runner 2021-04-26 15:16:09 -04:00
vsavkin
aef1b1783c feat(repo): switch to using dependsOn for the relationship between build and build-base 2021-04-23 10:11:31 -04:00
vsavkin
b5efa6bfee feat(core): hash only relevant parts of global config files 2021-04-06 20:20:47 -04:00
Leosvel Pérez Espinosa
3cac30caf9
fix(core): normalize run-commands and run-script cwd handling (#5119) 2021-03-26 11:28:42 -04:00
Tasos Bekos
2932738c66 fix(core): run-commands doesn't camelcase option parameters 2021-03-06 13:07:57 +02:00
Victor Savkin
429fb22260 feat(core): default to running npm scripts when no targets are defined 2021-01-28 18:52:16 -05:00
Tasos Bekos
bf599d14cd fix(core): handle multiple & hyphen command arguments through --args
Closes #2846
2021-01-27 15:03:17 -05:00
Jason Jean
687786fcba feat(core): migrate run-commands to devkit 2021-01-13 08:52:34 -05:00