Victor Savkin
a97c242649
docs(core): update the nx devkit guide
2021-01-30 10:30:50 -05:00
Victor Savkin
669f21513b
fix(core): add missing deps to support running old migrations
2021-01-29 10:31:52 -05:00
Victor Savkin
429fb22260
feat(core): default to running npm scripts when no targets are defined
2021-01-28 18:52:16 -05:00
Jason Jean
b36c4b5cc1
fix(linter): add @nrwl/linter as a devDependency and error on improper enum schema ( #4634 )
2021-01-28 16:30:10 -05:00
Victor Savkin
f075b987c2
feat(core): add support for number and multiselect prompts
...
Closes #4593
2021-01-28 10:41:02 -05:00
Victor Savkin
2604711f5f
fix(core): add --legacy-peer-deps to npm installs to handle npm 7 related issues
2021-01-27 21:32:55 -05:00
Jason Jean
ec758b4276
feat(linter): remove tslint from empty workspace and fix tslint support ( #4622 )
2021-01-27 18:38:07 -05:00
Jason Jean
e003d528e1
fix(core): properly set smart defaults on windows ( #4616 )
2021-01-26 16:38:20 -05:00
Jason Jean
0933bcafd8
feat(core): clean up remaining usages of angular devkit ( #4610 )
2021-01-25 17:21:42 -05:00
Victor Savkin
a25e081a84
feat(core): remove angular devkit deps
2021-01-25 12:52:30 -05:00
Victor Savkin
3fb9552ecb
fix(core): only do type casting for string values when parsing command line args
...
Closes #4584
2021-01-22 21:37:57 -05:00
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