1524 Commits

Author SHA1 Message Date
Jonathan Cammisuli
1c4f23c80c
fix(node): use host.delete to delete files for the nest library schematic (#4476)
* fix(node): use `host.delete` to delete files for the nest library schematic

* fix(nest): update unit test

* chore(core): use host.delete
2021-01-22 15:59:49 -05:00
Jason Jean
d18c0b0914
fix(misc): fix removing the last project in the jest config (#4576) 2021-01-22 13:31:25 -05:00
Victor Savkin
0364a4e8eb cleanup(core): update error message when failing to read nx deps 2021-01-22 12:40:41 -05:00
minijus
d55d6f88e5 fix(core): wrap cache read to try/catch
Instead of failure in cache read return `false` allowing the process to proceed as if cache was not found.

Part of #4470
2021-01-21 10:51:37 -05:00
Jason Jean
aeec4bd4d9
feat(core): migrate move to devkit (#4558) 2021-01-19 16:45:44 -05:00
umuur
c1fd7d07f3 fix(core): readme typo 2021-01-19 08:40:38 -05:00
Victor Savkin
a1c4d94ea6 fix(core): support setting parallel in nx.json
Closes #4542
2021-01-17 20:00:56 -05:00
Victor Savkin
1961bc97fb feat(core): support executors returning async iterators 2021-01-17 09:34:13 -05:00
Tasos Bekos
96625c77fb fix(repo): fix dependenies/discrepancies causing e2e tests with PNPM to fail 2021-01-16 17:54:54 +02:00
Victor Savkin
0a20e131c8 feat(misc): clarify plugin installation instructions 2021-01-15 12:24:34 -05:00
Mehrad Rafigh
bce2c56754
fix(core): update jest config correctly when using move schematic (#4501)
ISSUES CLOSED: #4500
2021-01-15 10:01:55 -05:00
Jason Jean
716bb44254
feat(core): migrate library to devkit (#4512)
* migrate lint

* feat(core): migrate library to devkit
2021-01-13 16:57:19 -05:00
Jason Jean
611128d648
fix(repo): fix failing unit tests in workspace (#4519) 2021-01-13 13:01:27 -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
683d6f4e19 fix(core): use tmp folder for migrate instead of npx 2021-01-12 20:37:40 -05:00
Victor Savkin
1167e65bf8 feat(core): improve ergonomics of the migrate command 2021-01-12 11:58:29 -05:00
Victor Savkin
ac87c5954e fix(repo): temp disable running e2e tests on windows 2021-01-11 13:51:40 -05:00
Victor Savkin
04f2abd65c fix(repo): fix unit tests not working on node 15 2021-01-11 13:39:25 -05:00
Jason Jean
82f801b0db
fix(core): run-commands should fail when a command in serial fails (#4477) 2021-01-11 12:19:41 -05:00
Victor Savkin
19c5f53ebf Revert "fix(core): prioritize local projects over npm when sharing names"
This reverts commit f10ba2f42e218e2e79470ac3928c40b589460f83.
2021-01-11 12:07:54 -05:00
Jason Jean
f10ba2f42e fix(core): prioritize local projects over npm when sharing names 2021-01-11 11:46:29 -05:00
Mehrad Rafigh
fd93b84bac fix(core): delete project from root jest config when running remove command
ISSUES CLOSED: #4192
2021-01-11 09:57:33 -05:00
mehrad-rafigh
eb0a472366 fix(core): update eslintrc when project is moved
ISSUES CLOSED: #2951
2021-01-11 09:48:40 -05:00
mehrad-rafigh
fb3af908f0 feat(core): update prettier to v2.2.1 2021-01-09 10:16:02 -05:00
Sebastian Duque Gutierrez
d70d58fec3
Install @types/react-redux as devDependency for redux schematic (#4243)
* fix(react): add typings as devDep for react-redux schematic

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

ISSUES CLOSED: 4225

* feat(core): add move npm package workspace utility

Provide the moveNpmPackage workspace utilite to move one/multiple package(s) between dependencies or
devDependencies

ISSUES CLOSED: 4242

* feat(react): add 11.0.0 migration to move react-redux types to devDeps

Provide the moveNpmPackage workspace utilite to move one/multiple package(s) between dependencies
or
devDependencies
ISSUES CLOSED: 4242

* cleanup(core): rename moveNpmPackages param name to match type

Provide the moveNpmPackage workspace utilite to move one/multiple package(s) between
dependencies
or
devDependencies
ISSUES CLOSED: 4242
2021-01-08 14:53:00 -05:00
mehrad-rafigh
b8b08bd08a chore(repo): update axios to 0.21.1
ISSUES CLOSED: #4439
2021-01-07 20:44:20 -05:00
jaybell
9a38a66c0a feat(core): feat(core): add other strict flags that are not included in strict 2021-01-06 17:11:27 -05:00
jaybell
32f8f8cf3b feat(core): add strict as an option to workspace, nest and node lib schematics 2021-01-06 17:11:27 -05:00
Tasos Bekos
9abdb78a4a feat(repo): run E2E tests on Windows (cmd) 2021-01-06 15:47:18 -05:00
Mehrad Rafigh
cf7f1c89da fix(core): update project in root jest config when running move command
ISSUES CLOSED: #4226
2021-01-05 12:13:10 -05:00
Webber Wang
4ce13608b4 feat(storybook): update storybook config paths for workspace move
ISSUES CLOSED: #3707
2021-01-05 12:10:20 -05:00
Ashley Hunter
9dad06270e fix(core): fixing issue with updating imports when moving a project 2021-01-05 12:08:50 -05:00
Yannick Galatol
744ea227dc feat(core): add task hash to print-affected result 2021-01-05 12:05:09 -05:00
Yannick Galatol
2d3d7218a2 feat(core): provide the task hash as env var 2021-01-05 12:05:09 -05:00
James Henry
cbb1972a91 fix(core): respect js option when setting eslint patterns 2021-01-05 11:01:49 -05:00
katerina
8cfda00009 feat(core): export a function returning a normalized workspace config
Storybook expects the format of workspace.json to match angular.json. This is not the case.
Storybook now will read the workspace.json file using the new function. This will allow us to manage
the new formats.

ISSUES CLOSED: #4305
2021-01-05 10:58:40 -05:00
Victor Savkin
0c0a29da71 feat(core): better compat layer for angular devkit 2021-01-04 21:37:55 -05:00
Victor Savkin
8e787c2977 fix(misc): temporary restore the old version of the run commands executor 2020-12-29 12:59:22 -05:00
Sascha Rose
8400d753f1 docs(core): Fix the URL to the specification
This is just a fix to display a working URL in case you use:
`nx affected:apps --all`.
2020-12-23 09:09:58 -05:00
Max Sagan - Yieldbroker
cd8efa47ac feat(misc): allow comments in JSON files 2020-12-22 10:39:06 -05:00
Victor Savkin
ce877bb8ad fix(core): store nx results and nx deps in the configured cache directory 2020-12-19 20:50:53 -05:00
Jason Jean
9d22f746e1
fix(angular): rename tsconfig.json during ng add (#4349) 2020-12-18 17:37:13 -05:00
Victor Savkin
f0cf91d0b6 fix(misc): only prompt for nx-cloud when using the default runner
Closes #4295
2020-12-17 21:25:30 -05:00
Victor Savkin
fba9b15895 fix(core): linter defaults are not used by presets 2020-12-16 21:02:22 -05:00
Victor Savkin
dfb7363199 fix(misc): update versions of tslint and ts-node to work with npm 7 2020-12-16 10:42:59 -05:00
Ívar Örn Pétursson
7911a607c2 fix(core): fix missing import in 'schema.d.ts' 2020-12-16 09:16:38 -05:00
Victor Savkin
3fe666a57e fix(core): resolve aliases before reading defaults 2020-12-15 22:08:43 -05:00
Victor Savkin
1c22f7fa71 fix(core): throw when invalid config is provided for initiating project 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