227 Commits

Author SHA1 Message Date
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
Max Sagan - Yieldbroker
cd8efa47ac feat(misc): allow comments in JSON files 2020-12-22 10:39:06 -05:00
Victor Savkin
a10c258202 fix(core): add alias for primitive type "number" 2020-12-21 10:44:37 -05:00
Victor Savkin
f271f19d15 fix(core): ignore cwd when resoling the new generator 2020-12-20 12:27:59 -05:00
Victor Savkin
47cd7d8edb fix(core): remove positional args after converting them into named args 2020-12-18 14:27:31 -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
Jason Jean
da7e44f717 fix(core): restore resolving generators and executors from __dirname 2020-12-16 04:09:43 -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
b0c4ac2f82 fix(core): resolve generators and executors with # 2020-12-14 19:43:36 -05:00
Sebastiandg7
30c33d3233 feat(misc): display skip-nx-cache option in help output
Tell the user that --skip-nx-cache option can be used with the execution of targets. The option will be displayed in both 'nx --help' and 'nx [project][:target][:configuration] --help' commands.

ISSUES CLOSED: 3338
2020-12-14 14:05:32 -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
Tasos Bekos
438d26b828 cleanup(repo): add missing dependencies
Also, it will now correctly fail on CI if any dependencies are missing.
2020-12-05 13:41:26 -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
d42bd2d8c4 cleanup(core): remove unused project-level generator config 2020-12-02 19:59:28 -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
95c903d906 fix(core): remove positional params after converting them to named 2020-12-01 20:52:27 -05:00
victor savkin
3ec22dfc48 fix(core): fix boolean prompts 2020-12-01 16:24:45 -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
Jonathan Cammisuli
15213119b7
feat(nx-plugin): use @nrwl/devkit 2020-11-25 14:34:03 -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
Tasos Bekos
8676c1a68b fix(core): default to NPM package manager
* Simplify the determination & detection of the desired package manager.
* Add the `package-manager` option on plugin creation.
* Nx Cloud installation uses the appropriate package manager.
2020-11-11 10:02:47 -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