Jason Jean
7066e8b821
feat(core): migrate preset to devkit
2021-01-22 20:13:33 -05:00
Jason Jean
3c9bc4ab91
fix(core): refactor reading schema to return impl factories
2021-01-19 19:56: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
Tasos Bekos
ee0d346c4a
fix(core): don't allow pnpm to install with frozen lockfile on CI
...
In our tool, package manager installation is usually called after "manual" update of `package.json`. In such cases, using a frozen lockfile is not desired. This commit disables PNPM's default behavior of using `--frozen-lockfile` flag when running on CI.
Closes #4495
2021-01-17 09:35:50 -05:00
Victor Savkin
1961bc97fb
feat(core): support executors returning async iterators
2021-01-17 09:34:13 -05:00
Tasos Bekos
c92f4ba96b
feat(repo): support dynamic package manager for e2e tests
2021-01-16 17:54:54 +02:00
Jason Jean
7482944eea
feat(testing): move jest builder to devkit
2021-01-14 08:54:38 -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
Victor Savkin
764f580e99
fix(core): workaround node 12 resolve issue in migration host
2021-01-12 20:41:37 -05:00
Victor Savkin
683d6f4e19
fix(core): use tmp folder for migrate instead of npx
2021-01-12 20:37:40 -05:00
Victor Savkin
d54189166f
fix(core): update the list command for pnpm
2021-01-12 13:00:29 -05:00
Victor Savkin
1167e65bf8
feat(core): improve ergonomics of the migrate command
2021-01-12 11:58:29 -05:00
Victor Savkin
8a88fc8c71
feat(core): support schema properties without type
2021-01-11 14:12:30 -05:00
Ali Yusuf
872ebd89c4
fix(core): fix(core): validate options for oneOf rule with factorized type
...
ISSUES CLOSED : #4484
2021-01-11 09:20:24 -05:00
Jason Jean
4bc9bbda22
feat(testing): move jest to nrwl devkit ( #4454 )
2021-01-08 15:07:27 -05:00
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