1406 Commits

Author SHA1 Message Date
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
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
Victor Savkin
0875d19ad3 fix(misc): minor fixes for nx 10->nx11 migration 2020-12-12 12:18:09 -05:00
Younes Jaaidi
112e000445
cleanup(misc): remove debug remains (#4257) 2020-12-11 16:18:13 -05:00
Jason Jean
dae806a51d
fix(core): fix migrations for adding tao and cli (#4249) 2020-12-10 17:34:25 -05:00
Jason Jean
0ac14822ce fix(core): fix generators on windows 2020-12-10 15:45:15 -05:00
Jason Jean
dad5a94fda fix(core): fix preset unit tests issues 2020-12-10 09:05:29 -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
aa5969e946 fix(misc): reexport devkit helpers from @nrwl/workspace to minimize breaking changes in plugins 2020-12-09 15:26:59 -05:00
Victor Savkin
b791ce3a0d fix(misc): update migration to work with older versions of tao 2020-12-09 15:20:23 -05:00
Victor Savkin
6b6c251846 feat(core): update the update npm script to invoke nx migrate 2020-12-09 15:17:30 -05:00
Victor Savkin
b405b07361 fix(misc): fix workspace generators written using angular devkit 2020-12-09 10:31:51 -05:00
Victor Savkin
0a49487aa5 docs(devkit): add guides on devkit 2020-12-09 08:43:57 -05:00
Tasos Bekos
c62e556373
fix(core): outputs migration should handle no architect projects (#4217)
Previously, if a project didn't contain an `architect` property it would fail.
2020-12-07 17:37:16 -05:00
Tasos Bekos
056f4eb20e fix(core): handle commit object argument when creating workspace 2020-12-06 13:39:19 -05:00
Victor Savkin
8224a1029e feat(core): switch default config to v2 2020-12-06 13:29:40 -05:00
Jason Jean
f168af12d5 feat(angular): add migrations for angular 11 2020-12-05 13:40:47 -05:00
Tasos Bekos
aa33625321 chore(repo): add @nrwl/devkit in report 2020-12-04 09:56:26 -05:00
victor savkin
a24fb961d8 feat(core): format workspace.json based on version field 2020-12-03 20:20:04 -05:00
victor savkin
b984461561 fix(misc): fix migrations 2020-12-02 14:08:10 -05:00
victor savkin
93ebc835dc docs(misc): clean up api docs 2020-12-02 10:51:43 -05:00
victor savkin
baa8c23d0f feat(misc): make all generators public 2020-12-02 10:51:43 -05:00
Tasos Bekos
6c1335ac83 feat(core): interpolated outputs & cache coverage folder 2020-12-01 13:49:43 -05:00
Tasos Bekos
1c3b215a9f cleanup(repo): enable missing dependencies check 2020-12-01 14:25:13 +02: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
Adam L Barrett
889b648886
Emotion upgrade for React and Next plugins (#4088)
* chore(react): update emotion to new versions and new package names on react plugin

* chore(nextjs): update emotion to latest version and the new package names

* feat(misc): have react and next plugin migrations update emotion imports

 * add renamePackageImports and renameNpmPackage rules to workspace utils
 * update migrations to update emotion imports to the new name and version
2020-11-27 13:32:42 -06:00
Tasos Bekos
98ed4b1dc7 cleanup(core): combine ng-new and tao-new schematic 2020-11-27 20:56:26 +02: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
Tasos Bekos
7383af3fb3 fix(core): store packageManager preference in angular.json 2020-11-25 14:31:20 -05:00