259 Commits

Author SHA1 Message Date
vsavkin
2eadc30f21 cleanup(misc): speed up requiring devkit 2021-04-04 11:11:16 -04:00
Jason Jean
b5594b7674
fix(devkit): fix reading partial workspace layout (#5204) 2021-04-01 17:51:51 -04:00
Tobias M
42b3a145ec
fix(devkit): safely reference engineHost paths (#5121)
When engineHost paths are undefined then drop back to the tree root path

Closes #5120
2021-03-31 18:38:38 -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
6d7b9d5902 Revert "fix(devkit): omit identical file updates from actions preventing unnecessary installs (#5055)"
This reverts commit 754ccf2983ff3c02728f5253d4e1c075b6db7ae7.
2021-03-23 15:07:38 -04:00
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos 2021-03-23 13:03:17 -04: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
James Henry
00dec221e2
feat(linter): convert-tslint-to-eslint generators (#4943)
* feat(linter): convert-tslint-to-eslint generators

* fix(core): remove generators in collection for ng and nest

* fix(core): update tao to support mixed generators and schematics

* fix(core): update tao to support mixed generators and schematics

* fix(core): address some PR feedback

* fix(core): fix snapshots after syncing up with master

* feat(core): store user preference for removeTSLintIfNoMoreTSLintTargets

* fix(linter): unit tests

* feat(core): apply root tslint.json conversion to root .eslintrc.json
2021-03-19 13:41:13 -04:00
Jason Jean
754ccf2983
fix(devkit): omit identical file updates from actions preventing unnecessary installs (#5055) 2021-03-18 12:44:27 -04:00
vsavkin
7457b16811 cleanup(misc): misc docs update and small cleanups 2021-03-11 15:45:54 -05:00
Jason Jean
4df3b66152
feat(node): migrate @nrwl/node schematics to devkit (#4958) 2021-03-11 19:18:22 +00:00
Jason Jean
fc9caccffb
chore(repo): update nx to 11.5.0-beta.0 (#4957) 2021-03-05 19:57:26 -05:00
Jack Hsu
6dcd5a6519
fix(devkit): generateFiles function handles image files properly (#4912) 2021-02-26 19:29:31 +00:00
vsavkin
3157293752 fix(core): support unit testing of nx generators invoking wrapped schematics 2021-02-23 12:08:25 -05:00
Jason Jean
f206925abf
fix(devkit): properly emit failures when converting nx executor (#4866) 2021-02-23 11:38:27 -05:00
Jason Jean
0fc729c5ad
fix(devkit): support .template extensions for generating files (#4842) 2021-02-19 18:05:24 -05:00
beeman
4522a90cd3
fix(devkit): generateFiles should rename paths recursively (#4784) 2021-02-18 18:11:14 -05:00
Jason Jean
33acb41afb
cleanup(react): cleanup generators for react and next (#4769) 2021-02-12 15:29:31 -05:00
Jack Hsu
e71cef0ba9
feat(nextjs): convert Next.js schematics to generators (#4756) 2021-02-11 05:39:49 +00: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
Tasos Bekos
57c6bacfb4
fix(core): fix install packages task on Windows (#4752)
Changing to forward slashes was causing failures on Windows if execting from volume other than C:/.

Closes #4727
2021-02-10 11:09:33 -05:00
Jason Jean
d51bbe04f9 feat(storybook): migrate storybook schematics to devkit 2021-02-10 09:35:54 -05:00
Jason Jean
82ee3227af fix(core): fix workspace creation not working on windows 2021-02-04 01:31:47 +02:00
Jason Jean
34781a11c2
feat(react): migrate @nrwl/web:dev-server to devkit (#4682) 2021-02-03 16:33:51 -05:00
Jason Jean
a500088d36 fix(core): do not modify existing files during workspace creation 2021-02-02 14:01:06 -05:00
Jason Jean
6bd0c2deac
feat(react): migrate @nrwl/web:build to devkit (#4646) 2021-02-01 17:06:41 +00:00
Jason Jean
1eda4dca18
fix(repo): fix tests (#4617) 2021-01-27 12:12:22 -05:00
Jason Jean
504298162f
fix(core): fix issues with devkit/workspace on windows (#4615) 2021-01-26 15:31:46 -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
a25e081a84 feat(core): remove angular devkit deps 2021-01-25 12:52:30 -05:00
Jason Jean
7066e8b821 feat(core): migrate preset to devkit 2021-01-22 20:13:33 -05:00
Jason Jean
aeec4bd4d9
feat(core): migrate move to devkit (#4558) 2021-01-19 16:45:44 -05:00
Victor Savkin
c40ce8a539 feat(testing): update cypress use nx devkit 2021-01-18 21:46:17 -05:00
Victor Savkin
1961bc97fb feat(core): support executors returning async iterators 2021-01-17 09:34:13 -05:00
Jason Jean
7482944eea feat(testing): move jest builder to devkit 2021-01-14 08:54:38 -05:00
Jason Jean
716bb44254
feat(core): migrate library to devkit (#4512)
* migrate lint

* feat(core): migrate library to devkit
2021-01-13 16:57:19 -05:00
Jason Jean
687786fcba feat(core): migrate run-commands to devkit 2021-01-13 08:52:34 -05:00
Jason Jean
09c78c4750 feat(core): migrate create-nx-workspace to devkit 2021-01-13 08:51:50 -05:00
Jason Jean
4bc9bbda22
feat(testing): move jest to nrwl devkit (#4454) 2021-01-08 15:07:27 -05:00
Sebastiandg7
f3cf0bb14e feat(devkit): export logger from @nrwl/devkit
ISSUES CLOSED: #4397
2021-01-05 11:11:28 -05:00
Victor Savkin
0c0a29da71 feat(core): better compat layer for angular devkit 2021-01-04 21:37:55 -05:00
Max Sagan - Yieldbroker
cd8efa47ac feat(misc): allow comments in JSON files 2020-12-22 10:39:06 -05:00
Jason Jean
36282e1354 fix(core): support local builders and generators 2020-12-15 20:58:40 -05:00
Jason Jean
6992311ff6 fix(core): fix offset from root for windows 2020-12-07 20:03:50 -05:00
Victor Savkin
8224a1029e feat(core): switch default config to v2 2020-12-06 13:29:40 -05:00
victor savkin
a24fb961d8 feat(core): format workspace.json based on version field 2020-12-03 20:20:04 -05:00
victor savkin
58889470fd feat(devkit): add updateProjectConfiguration and readProjectConfiguration helpers 2020-12-03 10:54:58 -05:00
victor savkin
ae397d2d10 cleanup(core): remove all deps on angular-devkit from tao 2020-12-02 19:59:16 -05:00
Tasos Bekos
1c3b215a9f cleanup(repo): enable missing dependencies check 2020-12-01 14:25:13 +02:00