284 Commits

Author SHA1 Message Date
Tasos Bekos
9abdb78a4a feat(repo): run E2E tests on Windows (cmd) 2021-01-06 15:47:18 -05:00
Victor Savkin
f907e83dd1 fix(core): print actual config name when using scope host 2021-01-05 12:02:44 -05:00
Merzough Badry Münker
f4098354b6 fix(core): coerce the property key properties for the schema object
Check if the property key `properties` for the parsed schema object exists and is type of `object`. If the property key does not exists initialize the property with an empty object. Added to the methods `readExecutor` and `readGenerator` of the class `Workspaces`
2021-01-05 11:19:09 -05:00
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
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