Vivek More 🧐
212fb00548
cleanup(misc): use more es6 features
...
- Single char alternation (e.g. a|b|c|d) in a RegExp can be simplified to use a character class ([abcd]) instead.
This usually also provides slightly better matching performance.
- Character escapes that are replaceable with the unescaped character without a change in meaning. Inside the square brackets of a character class, many escapes are unnecessary that would be necessary outside of a character class. For example the regex [\.] is identical to [.]
- If several qualified expressions occur after the qualifier having been checked for nullable, they can be replaced with optional chaining
2021-03-24 20:11:32 -04: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
9abdb78a4a
feat(repo): run E2E tests on Windows (cmd)
2021-01-06 15:47:18 -05:00
Victor Savkin
86b5c5c518
fix(core): support invoking nx from a subdirectory
...
Closes #4298
2020-12-17 21:25:30 -05:00
Victor Savkin
1c22f7fa71
fix(core): throw when invalid config is provided for initiating project
2020-12-15 22:08:43 -05:00
victor savkin
8afc5c5bce
feat(core): make older builders support new config formats
2020-12-01 15:46:00 -05:00
Victor Savkin
68a4a7eb8c
feat(core): add nx devkit builders
2020-11-17 19:31:08 -05:00
Victor Savkin
326bff6f1a
fix(core): update the version of yargs to fix npm audit
2020-09-04 10:15:07 -04:00
Jason Jean
e2f123dc56
fix(core): override --prod with --configuration
2020-07-29 17:10:03 -04:00
Victor Savkin
d0cbc35efa
feat(repo): build nx with nx
2020-06-03 16:25:25 -04:00
Victor Savkin
690be207be
fix(misc): several misc fixes
2020-05-28 15:02:06 -04:00
Jason Jean
e06822da7e
chore(repo): update prettier to v2 ( #2934 )
...
this is just for the repo, and not the workspace
Co-authored-by: Rares Matei <matei.rar@gmail.com>
2020-04-29 01:09:37 -04:00
Victor Savkin
ed85bc57c3
fix(core): run-one runner doesn't handle --help
2020-03-26 10:12:36 -04:00
Victor Savkin
dae258928c
fix(core): provide better error messages when the target is incorrect
2020-03-10 10:07:30 -04:00
Victor Savkin
b780a1b585
feat(core): switch to use tasks-runner-v2 by default
2020-03-09 12:01:20 -04:00
Victor Savkin
ff6b434548
feat(core): add ability to run targets against project's deps
2020-02-28 16:42:38 -05:00
Victor Savkin
90879eb469
feat(core): add ability to skip cache
2020-02-25 16:38:43 -05:00
Victor Savkin
c3fdf2e702
feat(core): running one task uses the same tasks runner as run-many
2020-01-09 12:07:41 -05:00