362 Commits

Author SHA1 Message Date
Victor Savkin
67e78dc051
feat(core): add support for custom hashers 2021-05-11 11:17:57 -04:00
Emily Xiong
72ce35264f
fix(core): change legacy_peer_deps to npm env variable (#5541) 2021-05-04 16:02: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
Minijus L
357ecd09a4
fix(testing): update ts-jest to version 26.5.5 (#5405)
Update `jest.config.js` ts-jest section with lower-cased 'tsconfig' property as 'tsConfig' is to be deprecated in version 27.
2021-04-26 08:56:52 -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
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
Phillip Barta
edf0734657 chore(repo): updated dependency 'strip-json-comments' 2021-04-16 08:44:21 -04:00
Phillip Barta
2dbb6ec341
cleanup(repo): updated dependency 'tmp' (#5340) 2021-04-14 23:57:57 -04:00
Jason Jean
a608748388
feat(core): add plugins for project-graph analysis wip (#5255) 2021-04-07 16:21:52 -04:00
vsavkin
38c111ba06 chore(repo): update to nx 12 2021-04-07 12:31:23 -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
Juri Strumpflohner
2ac10d9952
fix(storybook): changes in Storybook server options path in v6.2 (#5072)
ISSUES CLOSED: #4747
2021-03-22 14:28:17 +02: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
fc9caccffb
chore(repo): update nx to 11.5.0-beta.0 (#4957) 2021-03-05 19:57:26 -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
bcdd0a7261 cleanup(core): remove unused npm deps 2021-02-01 10:46:18 -05:00