193 Commits

Author SHA1 Message Date
Isaac Mann
1291ace12f feat(devkit): adds projectName to the executor TargetContext
The projectName is needed so that executors can look up more information about
the specific project
they're being run against.
2021-01-05 11:13:21 -05:00
Victor Savkin
0c0a29da71 feat(core): better compat layer for angular devkit 2021-01-04 21:37:55 -05:00
Victor Savkin
1cb152eee7 feat(core): set path property based on cwd when running generators 2020-12-29 20:10:15 -05:00
Victor Savkin
9923ce93d5 feat(core): support strict schemas with no additional properties
Fixes: 4255
2020-12-24 18:38:54 -05:00
Victor Savkin
f19333e805 fix(core): migration host only handled workspace.json when removing jest's tsconfig 2020-12-22 12:33:14 -05:00
Victor Savkin
baa4475b80 fix(misc): migration sets tsConfigs property for jest executor 2020-12-22 11:32:22 -05:00
Victor Savkin
f271f19d15 fix(core): ignore cwd when resoling the new generator 2020-12-20 12:27:59 -05:00
Victor Savkin
463be216db fix(core): add a default provider setting project name 2020-12-18 11:11:36 -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
c09bbe9a0e fix(core): issue with formatting in migrations 2020-12-17 10:11:50 -05:00
Victor Savkin
4278cfd337 fix(misc): make angular migration work in non-trivial workspaces 2020-12-16 15:07:47 -05:00
Victor Savkin
3fe666a57e fix(core): resolve aliases before reading defaults 2020-12-15 22:08:43 -05:00
Jason Jean
36282e1354 fix(core): support local builders and generators 2020-12-15 20:58:40 -05:00
Victor Savkin
2651ff98f3 fix(core): fix coerceTypesInOptions for schemas with oneOf 2020-12-14 21:36:20 -05:00
Jason Jean
e4734bb879
fix(core): filter generators that don't have a version for migrations (#4267) 2020-12-11 18:27:46 -05:00
Jason Jean
0ac14822ce fix(core): fix generators on windows 2020-12-10 15:45:15 -05:00
Victor Savkin
0c8ca53c16 fix(core): fix nx 11 migration leaving empty schematics folder 2020-12-09 20:31:31 -05:00
Victor Savkin
eb0df1c151 fix(misc): d.ts files are missing 2020-12-09 15:56:36 -05:00
Victor Savkin
5ba84a13cd fix(core): add a workaround to handle a bug in node 12 2020-12-08 11:11:22 -05:00
Victor Savkin
8224a1029e feat(core): switch default config to v2 2020-12-06 13:29:40 -05:00
Jason Jean
f168af12d5 feat(angular): add migrations for angular 11 2020-12-05 13:40:47 -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
victor savkin
baa8c23d0f feat(misc): make all generators public 2020-12-02 10:51:43 -05:00
victor savkin
8afc5c5bce feat(core): make older builders support new config formats 2020-12-01 15:46:00 -05:00
Tasos Bekos
c6cb176218 cleanup(core): remove duplicate code about package manager 2020-12-01 12:43:23 +02:00
Jason Jean
b9791a3108
feat(core): upgrade to angular and angular devkit 11 (#4095) 2020-11-30 14:07:27 -05:00
Tasos Bekos
98ed4b1dc7 cleanup(core): combine ng-new and tao-new schematic 2020-11-27 20:56:26 +02:00
Tasos Bekos
724b9b1f03 fix(core): migrate will tolerate backslashes in package names
When migrate command is invoked in Windows, there is a chance that
package names will contain backslashes due to an unexpected conversion.
Since package names can only contain only URL-friendly characters, ie
no backslashes, we try to fix it, by converting them back to forward slashes.
2020-11-27 12:56:35 -05:00
victor savkin
48bcaf099d feat(core): update the migrate command to support @nrwl/devkit generators 2020-11-26 21:38:56 -05:00
victor savkin
234ca36385 cleanup(misc): clean up devkit 2020-11-26 10:19:13 -05:00
Victor Savkin
2824794a92 feat(core): clean up the language to use word executor 2020-11-24 09:49:52 -05:00
Victor Savkin
06e13dae2f cleanup(core): use the use generator instead of schematic 2020-11-19 20:07:13 -05:00
Victor Savkin
96c3b2effc cleanup(core): update the error message when migration fails 2020-11-18 10:29:54 -05:00
Victor Savkin
e8aec6fd69 fix(core): migration should fetch packages using cwd instead of prefix 2020-11-18 10:00:39 -05:00
Victor Savkin
4511ec65fb feat(web): add file-server builder 2020-11-17 19:31:08 -05:00
Victor Savkin
a3550ce57b feat(core): simplify generation api not to use a higher-order function 2020-11-17 19:31:08 -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
428edb0c32 feat(core): implement basic support for 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
Victor Savkin
de9ac7860e Revert "fix(core): remove nx-cloud from the list of core deps used by migrate"
This reverts commit e15fbaf4828e4c256569ac93d6c1d234e352579a.
2020-11-09 13:06:03 -05:00
Victor Savkin
e15fbaf482 fix(core): remove nx-cloud from the list of core deps used by migrate 2020-11-09 11:57:11 -05:00
Tasos Bekos
131aa1badd
fix(core): use preferred installer on migrate (#3764)
ISSUES CLOSED: #2695
2020-10-23 17:09:44 -04:00
Jason Jean
a7f2670d49
fix(core): add @nrwl/cli to the list of migrated dependencies (#3927) 2020-10-23 15:28:26 -04:00
Jason Jean
f0bb232935 fix(core): migrate to latest version of @nrwl/nx-cloud 2020-09-29 12:05:04 -04:00
Tasos Bekos
6c7b3060b2 cleanup(core): avoid referencing node_modules 2020-09-21 12:37:15 -04:00
Tasos Bekos
07ba927ed7 cleanup(core): avoid referencing node_modules on workspace creation 2020-09-15 21:53:29 -04:00
Devin Shoemaker
34a66f332a feat(core): add nx-cloud to list of default packages to be migrated
`nx-cloud` is currently not migrated with the nx migrate latest command. Including this in the list of default packages will result in more expected behavior with less maintenance for the end-user.
2020-09-09 14:02:14 -04:00
Tasos Bekos
8938256f55 fix(core): don't alter trailing newlines from package.json during migration
ISSUES CLOSED: #3628
2020-09-01 13:08:30 -04:00