177 Commits

Author SHA1 Message Date
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
Phillip Barta
86387de99a
cleanup(core): refactored @nrwl/tao to improve code quality (#5412)
cleanup(core): clean up "fs" usage in @nrwl/tao
2021-04-21 12:47:42 -04:00
Jason Jean
7c7db36160
feat(core): allow defining target dependencies across all projects (#5406) 2021-04-21 12:16:24 -04:00
Jason Jean
7358420068
feat(core): allow defining target deps (#5376)
feat(core): add an ability for targets to depend on other targets
2021-04-19 20:32:46 -04:00
Phillip Barta
6bd6e1485f
feat(core): added package manager union type (#5378)
cleanup(misc): add package manager union type
2021-04-19 15:24:02 -04:00
Jason Jean
a608748388
feat(core): add plugins for project-graph analysis wip (#5255) 2021-04-07 16:21:52 -04:00
Tasos Bekos
9cb23ddbbd feat(core): replace inquirer dependency with enquirer 2021-04-06 10:31:30 -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
vsavkin
ba1357d3d3 cleanup(core): remove unused code 2021-03-30 21:02:07 -04:00
vsavkin
6024859990 chore(repo): clean up language 2021-03-29 12:26:01 -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
Jason Jean
9acf8cbbf0
fix(angular): fix angular move merge conflict (#5094) 2021-03-23 17:22:41 +00:00
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos 2021-03-23 13:03:17 -04:00
Jason Jean
1918e62625 Revert "fix(angular): fix angular move merge conflict (#5088)"
This reverts commit e6ec5f914232f81e5393d4d528b35d77f7528582.
2021-03-23 11:51:30 -04:00
Jason Jean
e6ec5f9142
fix(angular): fix angular move merge conflict (#5088) 2021-03-22 21:40:57 +00:00
Jason Jean
dafdfded95
fix(core): fix prompts for enums (#5036) 2021-03-17 14:29:35 -04:00
Jason Jean
d44b5c8dc2
fix(core): fix typo in error for improper targets (#4995) 2021-03-10 15:54:57 -05:00
Jason Jean
61fda0c66e
fix(core): throw an error when running default projects with improper targets (#4994) 2021-03-10 20:17:28 +00:00
Jason Jean
0b7e057a0c
fix(core): use proper command for removing a dependency via yarn (#4980) 2021-03-09 23:31:36 +00:00
Vivek More
49ba90b81a cleanup(misc): use shorthand 2021-03-08 10:13:06 -05:00
Jason Jean
70a892cb93
fix(devkit): support partially defining generators in schematics and generators (#4951) 2021-03-05 16:01:02 -05:00
Tasos Bekos
d2bac514ac
fix(core): fix creating workspace on Windows for npm@7 (#4926) 2021-03-01 15:08:42 -05:00
Jason Jean
befd9dcf43
fix(devkit): migrate devkit to the latest version during migrate (#4898) 2021-02-25 17:29:27 +00:00
Jason Jean
54b6461c6c
feat(react): migrate gatsby builders to devkit (#4864) 2021-02-23 17:42:13 -05:00
vsavkin
3157293752 fix(core): support unit testing of nx generators invoking wrapped schematics 2021-02-23 12:08:25 -05:00
Jason Jean
95848ca917
fix(core): throw an error if user tries generating/executing from a package which does not support it (#4835) 2021-02-19 11:50:28 -05:00
Jason Jean
5eb4518733
fix(core): add debug to logger when wrapping angular devkit schematics (#4830) 2021-02-18 13:48:57 -05:00
Victor Savkin
5f222245ed
fix(misc): fix the react-express preset (#4827) 2021-02-18 15:53:35 +00:00
Jason Jean
33acb41afb
cleanup(react): cleanup generators for react and next (#4769) 2021-02-12 15:29:31 -05:00
vsavkin
2464e2c7b8 cleanup(core): add a warning about using --defaults 2021-02-11 21:33:15 -05:00
Jonathan Cammisuli
d9aef75bd5
chore(react): move react schematics to generators (#4745)
* chore(react): move react schematics to generators

* chore(react): update lib generators

* chore(react): update redux generators

* chore(react): move react story book generators

* chore(react): add old implementation for update babel in next

* chore(react): rename tsconfig json template files to include __tmpl__

* chore(react): update deps

* chore(react): fix component template file

* chore(react): remove angular-devkit deps

* chore(react): remove angular-devkit deps
2021-02-10 21:30:55 -05:00
Jason Jean
d51bbe04f9 feat(storybook): migrate storybook schematics to devkit 2021-02-10 09:35:54 -05:00
Victor Savkin
3ebed2aba2
fix(core): wrapAngularDevkitSchematic should respect dry run (#4748) 2021-02-09 19:33:33 +00:00
Jason Jean
34781a11c2
feat(react): migrate @nrwl/web:dev-server to devkit (#4682) 2021-02-03 16:33:51 -05:00
Jason Jean
a941961bd4
fix(core): fix @angular-devkit/architect not being found (#4683) 2021-02-03 11:00:45 -05:00
Juri
b2d39060cc fix(core): value coercion for schemas with oneOf string enums 2021-02-03 09:04:05 -05:00
Jason Jean
06f84b3326
feat(react): migrate @nrwl/web schematics to devkit (#4666) 2021-02-02 18:56:35 -05:00
Jason Jean
7037254911
fix(core): fix move on windows (#4667) 2021-02-02 00:15:15 +00:00
Jason Jean
6bd0c2deac
feat(react): migrate @nrwl/web:build to devkit (#4646) 2021-02-01 17:06:41 +00:00
Victor Savkin
a97c242649 docs(core): update the nx devkit guide 2021-01-30 10:30:50 -05:00
Victor Savkin
429fb22260 feat(core): default to running npm scripts when no targets are defined 2021-01-28 18:52:16 -05:00
Jason Jean
b36c4b5cc1
fix(linter): add @nrwl/linter as a devDependency and error on improper enum schema (#4634) 2021-01-28 16:30:10 -05:00
Victor Savkin
f075b987c2 feat(core): add support for number and multiselect prompts
Closes #4593
2021-01-28 10:41:02 -05:00
Victor Savkin
2604711f5f fix(core): add --legacy-peer-deps to npm installs to handle npm 7 related issues 2021-01-27 21:32:55 -05:00
Jason Jean
ec758b4276
feat(linter): remove tslint from empty workspace and fix tslint support (#4622) 2021-01-27 18:38:07 -05:00
Jason Jean
e003d528e1
fix(core): properly set smart defaults on windows (#4616) 2021-01-26 16:38:20 -05:00
Jason Jean
0933bcafd8
feat(core): clean up remaining usages of angular devkit (#4610) 2021-01-25 17:21:42 -05:00
Victor Savkin
3fb9552ecb fix(core): only do type casting for string values when parsing command line args
Closes #4584
2021-01-22 21:37:57 -05:00
Jason Jean
7066e8b821 feat(core): migrate preset to devkit 2021-01-22 20:13:33 -05:00