Phillip Barta
868de62ae7
feat(core): use common fileutils in @nrwl/cli and create-nx-plugin ( #5940 )
2021-06-14 11:08:05 +02:00
Leosvel Pérez Espinosa
8354c54b18
fix(core): nx run should not use defaultConfiguration when configuration is passed ( #5796 )
...
ISSUES CLOSED : #5793
2021-05-26 11:35:52 +01:00
Leosvel Pérez Espinosa
678818a58b
feat(angular): upgrade Angular to v12.0.0-rc.3 ( #5630 )
...
* feat(angular): upgrade Angular to v12.0.0-rc.3
* feat(angular): target Nx v12.4.0-beta.0 for Angular v12.0.0-rc.0 upgrade
* fix(angular): use defaultConfiguration if no other configuration is passed
* cleanup(angular): sync migration folder name to target version
* fix(repo): creating custom schema flattener for docs
* chore(repo): amend yarn.lock
* feat(angular): update angular storybook to use webpack 5
* fix(angular): add legacy peer deps for angular+jest
* fix(angular): move migrations to 12.3.0-rc.0
Co-authored-by: Zack DeRose <zack.derose@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-05-12 12:20:12 -04:00
Jason Jean
c7ce8d2b28
fix(core): consistently process args with yargs-parser instead of minimist ( #5488 )
2021-04-30 19:08:59 -04:00
vsavkin
85ceb3c790
fix(core): propagate sigterm and other signals correctly
2021-04-26 20:50:30 -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
Phillip Barta
c0ce1ce65e
cleanup(core): normalized usage of fs-extra and updated fs-extra to 9.1.0 ( #5199 )
...
* cleanup(core): normalized usage of fs-extra and updated fs-extra
* cleanup(misc): use fs over fs-extra when possible
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-04-22 12:52:52 -04:00
Stuart Taylor
9180e9094c
fix(core): allow building of workspaces when hosted at / ( #5252 )
...
Building a project in the node:14-alpine docker image requires the workspace to be copied in
to directory other than /.
The proposed change allows workspaces to be hosted at / and not force the developer to create a directory inside a docker image just to build the project.
Co-authored-by: Stuart Taylor <stuart@chargifi.com>
2021-04-13 15:34:45 -04:00
vsavkin
1a918d7e6b
feat(misc): add a convenince command to connect to nx cloud
2021-04-04 20:14:57 -04:00
vsavkin
2eadc30f21
cleanup(misc): speed up requiring devkit
2021-04-04 11:11:16 -04:00
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
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos
2021-03-23 13:03:17 -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
Victor Savkin
d8fafcd00f
cleanup(misc): clarify ng update warning message
2021-01-27 15:20:11 -05:00
Victor Savkin
a25e081a84
feat(core): remove angular devkit deps
2021-01-25 12:52:30 -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
0875d19ad3
fix(misc): minor fixes for nx 10->nx11 migration
2020-12-12 12:18:09 -05:00
Victor Savkin
08680b6024
feat(core): show a warning about using ng update insteda of nx migrate
2020-12-09 14:38:31 -05:00
victor savkin
8afc5c5bce
feat(core): make older builders support new config formats
2020-12-01 15:46:00 -05:00
Jason Jean
b9791a3108
feat(core): upgrade to angular and angular devkit 11 ( #4095 )
2020-11-30 14:07:27 -05:00
Victor Savkin
afdef2069c
feat(core): always use nx cli to invoke generators and execute tasks
2020-11-20 09:57:32 -05:00
Victor Savkin
06e13dae2f
cleanup(core): use the use generator instead of schematic
2020-11-19 20:07:13 -05:00
Victor Savkin
a55e7cae52
feat(angular): change the way we decoreate angular cli to remove warnigs
2020-11-18 21:12:31 -05:00
Victor Savkin
4a17b7339f
feat(core): use the new schematics api for workspace schematics
2020-11-17 19:31:08 -05:00
Victor Savkin
68a4a7eb8c
feat(core): add nx devkit builders
2020-11-17 19:31:08 -05:00
Tasos Bekos
760811308e
fix(core): use cwd for locating workspace root
...
Closes #3484
Closes #3909
2020-10-31 21:04:25 -04:00
Tasos Bekos
71c8e9c493
cleanup(repo): avoid referencing node_modules
2020-09-14 13:14:11 -04:00
Victor Savkin
326bff6f1a
fix(core): update the version of yargs to fix npm audit
2020-09-04 10:15:07 -04:00
Victor Savkin
e90fbdae6f
feat(core): indicate that a nested process was invoked by nx
2020-09-01 23:32:14 -04:00
Victor Savkin
34df63df46
fix(core): dont override sigint
2020-08-19 13:26:21 -04:00
Jason Jean
aa09d70b6a
fix(misc): fix exit code for running nx outside of a workspace
2020-08-05 22:52:11 -04:00
Jo Hanna Pearce
2a5c1988ee
fix(angular): show a nicer error when running nx in an angular workspace
2020-07-31 13:50:39 +01:00
Jason Jean
e2f123dc56
fix(core): override --prod with --configuration
2020-07-29 17:10:03 -04:00
Victor Savkin
a5ee1db0d3
feat(core): add perf logging
2020-07-17 10:43:42 -04:00
Victor Savkin
e5f8ac28d7
fix(core): set NX_CLI_SET when running any command
2020-06-09 13:39:55 -04:00
Victor Savkin
e71ceba4ce
feat(repo): run e2e tests using nx
2020-06-07 23:31:38 -04:00
Victor Savkin
260f73a338
feat(angular): add a script to warn when ng is used instead of nx
2020-06-04 21:05:01 -04:00
Victor Savkin
d0cbc35efa
feat(repo): build nx with nx
2020-06-03 16:25:25 -04:00
Victor Savkin
b8a71420ef
fix(core): handle edge cases when a task process is killed
2020-05-29 23:32:17 -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
0b7535ae92
feat(core): improve outputs when using --parallel and --with-deps
2020-03-18 18:14:50 -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
04a9c5edbb
feat(core): minor cache improvements to improve dev ergonomics
2020-02-04 15:02:19 -05:00