Phillip Barta
a2c2d94050
feat(core): first step to common JSON behavior and common fileutils ( #5859 )
2021-06-09 12:45:16 +02:00
Colum Ferry
fd27615514
chore(angular): ast utils for angular with nx devkit ( #5927 )
2021-06-09 10:35:09 +01:00
Phillip Barta
6c6e8b36b7
feat(devkit): refactoring for stricter types and better performance
2021-05-27 13:37:29 -04:00
Leosvel Pérez Espinosa
d0afa3dd89
feat(angular): add executor which allows to delegate the build to another target ( #5715 )
2021-05-20 12:29:46 +01:00
vsavkin
f82344d63a
chore(repo): refine the tag line
2021-05-18 20:55:40 -04:00
vsavkin
af23cc5d7d
feat(misc): change the nx tag line
2021-05-18 16:07:22 -04:00
Miroslav Jonaš
ff3cc38b0c
feat(linter): optimize lint performance. resolves #5210 ( #5576 )
...
* feat(linter): optimize containsFile function
related to #5210
* feat(linter): optimize find project function
related to #5210
* feat(core): cleanup target project locator
* fix(core): fix false positive match on resolvedModule
* chore(core): mark old code for removal
* feat(linter): move npm check before expensive typescript resolution
* feat(linter): improve performance of extension removal
* feat(linter): improve I/O operations
* feat(linter): read ts config only once in project locator
* feat(linter): remove double path normalization from rule
normalization is already part of getSourceFilePath function
* feat(linter): run find source only once
* feat(linter): defer source file path calculation will after whitelist check
* feat(linter): map project graph node files to hash map
* fix(linter): map projectGraph only once per runtime
* feat(linter): introduce mapped project graph type
2021-05-18 16:41:12 +02:00
Phillip Barta
52e3083a19
feat(core): added encoding param in Tree.read() ( #5668 )
...
feat(core): added encoding param in Tree.read()
2021-05-17 21:03:04 -04:00
puku0x
568cf8cf73
feat(devkit): pretty json on generating a project
2021-05-04 15:25:30 -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
Juri Strumpflohner
90b83dab7b
feat(devkit): improve logging of ejs errors ( #5422 )
...
ISSUES CLOSED : #5318
2021-04-21 23:09:40 +00: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
vsavkin
ba84a17b6d
cleanup(misc): require ejs lazily to speed up load time
2021-04-16 09:25:04 -04:00
Phillip Barta
edf0734657
chore(repo): updated dependency 'strip-json-comments'
2021-04-16 08:44:21 -04:00
Juri
0f08149021
fix(devkit): devkitTreeFromAngularDevkitTree exists function should also work on dirs
...
ISSUES CLOSED : #5318
2021-04-14 08:35:22 -04:00
Jason Jean
a01ea8ce25
docs(devkit): initial project graph plugin guide ( #5281 )
2021-04-08 12:38:49 -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
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