Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b2edf84

Browse files
committedFeb 15, 2023
chore: nx migrate latest
1 parent 08df232 commit b2edf84

File tree

5 files changed

+1383
-630
lines changed

5 files changed

+1383
-630
lines changed
 

‎migrations.json

Lines changed: 191 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,191 @@
1+
{
2+
"migrations": [
3+
{
4+
"version": "15.7.0-beta.0",
5+
"description": "Split global configuration files into individual project.json files. This migration has been added automatically to the beginning of your migration set to retroactively make them work with the new version of Nx.",
6+
"cli": "nx",
7+
"implementation": "./src/migrations/update-15-7-0/split-configuration-into-project-json-files",
8+
"package": "@nrwl/workspace",
9+
"name": "15-7-0-split-configuration-into-project-json-files"
10+
},
11+
{
12+
"cli": "nx",
13+
"version": "15.0.0-beta.1",
14+
"description": "Replace implicitDependencies with namedInputs + target inputs",
15+
"implementation": "./src/migrations/update-15-0-0/migrate-to-inputs",
16+
"package": "nx",
17+
"name": "15.0.0-migrate-to-inputs"
18+
},
19+
{
20+
"cli": "nx",
21+
"version": "15.0.0-beta.1",
22+
"description": "Prefix outputs with {workspaceRoot}/{projectRoot} if needed",
23+
"implementation": "./src/migrations/update-15-0-0/prefix-outputs",
24+
"package": "nx",
25+
"name": "15.0.0-prefix-outputs"
26+
},
27+
{
28+
"cli": "nx",
29+
"version": "15.0.12-beta.1",
30+
"description": "Set project names in project.json files",
31+
"implementation": "./src/migrations/update-15-1-0/set-project-names",
32+
"package": "nx",
33+
"name": "15.1.0-set-project-names"
34+
},
35+
{
36+
"cli": "nx",
37+
"version": "15.0.0-beta.0",
38+
"description": "Stop hashing eslint config files for build targets and dependent tasks",
39+
"factory": "./src/migrations/update-15-0-0/add-eslint-inputs",
40+
"package": "@nrwl/linter",
41+
"name": "add-eslint-inputs"
42+
},
43+
{
44+
"cli": "nx",
45+
"version": "15.0.0-beta.0",
46+
"description": "Rename @nrwl/angular:webpack-server executor to @nrwl/angular:webpack-dev-server",
47+
"factory": "./src/migrations/update-14-8-0/rename-webpack-server",
48+
"package": "@nrwl/angular",
49+
"name": "rename-webpack-server-executor"
50+
},
51+
{
52+
"cli": "nx",
53+
"version": "15.0.0-beta.0",
54+
"description": "Update the usages of @nrwl/angular/testing to import jasmine-marbles symbols from jasmine-marbles itself.",
55+
"factory": "./src/migrations/update-15-0-0/switch-to-jasmine-marbles",
56+
"package": "@nrwl/angular",
57+
"name": "switch-to-jasmine-marbles"
58+
},
59+
{
60+
"cli": "nx",
61+
"version": "15.0.0-beta.1",
62+
"description": "Stop hashing karma spec files and config files for build targets and dependent tasks",
63+
"factory": "./src/migrations/update-15-0-0/add-karma-inputs",
64+
"package": "@nrwl/angular",
65+
"name": "add-karma-inputs"
66+
},
67+
{
68+
"cli": "nx",
69+
"version": "15.2.0-beta.0",
70+
"requires": {
71+
"@angular/core": ">=15.0.0"
72+
},
73+
"description": "Update the @angular/cli package version to ~15.0.0.",
74+
"factory": "./src/migrations/update-15-2-0/update-angular-cli",
75+
"package": "@nrwl/angular",
76+
"name": "update-angular-cli-version-15-0-0"
77+
},
78+
{
79+
"cli": "nx",
80+
"version": "15.2.0-beta.0",
81+
"requires": {
82+
"@angular/core": ">=15.0.0"
83+
},
84+
"description": "Remove browserlist config as it's handled by build-angular",
85+
"factory": "./src/migrations/update-15-2-0/remove-browserlist-config",
86+
"package": "@nrwl/angular",
87+
"name": "remove-browserlist-config"
88+
},
89+
{
90+
"cli": "nx",
91+
"version": "15.2.0-beta.0",
92+
"requires": {
93+
"@angular/core": ">=15.0.0"
94+
},
95+
"description": "Update typescript target to ES2022",
96+
"factory": "./src/migrations/update-15-2-0/update-typescript-target",
97+
"package": "@nrwl/angular",
98+
"name": "update-typescript-target"
99+
},
100+
{
101+
"cli": "nx",
102+
"version": "15.2.0-beta.0",
103+
"requires": {
104+
"@angular/core": ">=15.0.0"
105+
},
106+
"description": "Remove bundleDependencies from server targets",
107+
"factory": "./src/migrations/update-15-2-0/update-workspace-config",
108+
"package": "@nrwl/angular",
109+
"name": "update-workspace-config"
110+
},
111+
{
112+
"cli": "ng",
113+
"version": "15.2.0-beta.0",
114+
"requires": {
115+
"@angular/core": ">=15.0.0"
116+
},
117+
"description": "Remove exported `@angular/platform-server` `renderModule` method. The `renderModule` method is now exported by the Angular CLI.",
118+
"factory": "./src/migrations/update-15-2-0/remove-platform-server-exports",
119+
"package": "@nrwl/angular",
120+
"name": "update-platform-server-exports"
121+
},
122+
{
123+
"cli": "ng",
124+
"version": "15.2.0-beta.0",
125+
"requires": {
126+
"@angular/core": ">=15.0.0"
127+
},
128+
"description": "Remove no longer needed require calls in Karma builder main file.",
129+
"factory": "./src/migrations/update-15-2-0/update-karma-main-file",
130+
"package": "@nrwl/angular",
131+
"name": "update-karma-main-file"
132+
},
133+
{
134+
"cli": "nx",
135+
"version": "15.5.0-beta.0",
136+
"requires": {
137+
"@angular/core": ">=15.1.0"
138+
},
139+
"description": "Update the @angular/cli package version to ~15.1.0.",
140+
"factory": "./src/migrations/update-15-5-0/update-angular-cli",
141+
"package": "@nrwl/angular",
142+
"name": "update-angular-cli-version-15-1-0"
143+
},
144+
{
145+
"cli": "nx",
146+
"version": "15.7.0-beta.1",
147+
"description": "Install the required angular-devkit packages as we do not directly depend on them anymore",
148+
"factory": "./src/migrations/update-15-7-0/install-required-packages",
149+
"package": "@nrwl/angular",
150+
"name": "install-required-packages"
151+
},
152+
{
153+
"version": "15.0.0-beta.0",
154+
"cli": "nx",
155+
"description": "Stop hashing jest spec files and config files for build targets and dependent tasks",
156+
"factory": "./src/migrations/update-15-0-0/add-jest-inputs",
157+
"package": "@nrwl/jest",
158+
"name": "add-jest-inputs"
159+
},
160+
{
161+
"version": "14.8.0-beta.0",
162+
"description": "Migrates from @nrwl/workspace:run-commands to nx:run-commands",
163+
"cli": "nx",
164+
"implementation": "./src/migrations/update-14-8-0/change-run-commands-executor",
165+
"package": "@nrwl/workspace",
166+
"name": "14-8-0-change-run-commands-executor"
167+
},
168+
{
169+
"version": "15.7.0-beta.0",
170+
"description": "Split global configuration files (e.g., workspace.json) into individual project.json files.",
171+
"cli": "nx",
172+
"implementation": "./src/migrations/update-15-7-0/split-configuration-into-project-json-files",
173+
"package": "@nrwl/workspace",
174+
"name": "15-7-0-split-configuration-into-project-json-files"
175+
},
176+
{
177+
"version": "15.0.0",
178+
"description": "Since Angular v15, the `RouterLink` contains the logic of the `RouterLinkWithHref` directive. This migration replaces all `RouterLinkWithHref` references with `RouterLink`.",
179+
"factory": "./migrations/router-link-with-href/bundle",
180+
"package": "@angular/core",
181+
"name": "migration-v15-router-link-with-href"
182+
},
183+
{
184+
"version": "15.0.0",
185+
"description": "In Angular version 15, the deprecated `relativeLinkResolution` config parameter of the Router is removed. This migration removes all `relativeLinkResolution` fields from the Router config objects.",
186+
"factory": "./migrations/relative-link-resolution/bundle",
187+
"package": "@angular/core",
188+
"name": "migration-v15-relative-link-resolution"
189+
}
190+
]
191+
}

‎nx.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,14 @@
2828
},
2929
"test": {
3030
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"]
31+
},
32+
"lint": {
33+
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"]
3134
}
3235
},
3336
"namedInputs": {
3437
"default": ["{projectRoot}/**/*", "sharedGlobals"],
3538
"sharedGlobals": ["{workspaceRoot}/workspace.json", "{workspaceRoot}/tsconfig.base.json", "{workspaceRoot}/tslint.json", "{workspaceRoot}/nx.json"],
36-
"production": ["default", "!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)", "!{projectRoot}/tsconfig.spec.json", "!{projectRoot}/jest.config.[jt]s"]
39+
"production": ["default", "!{projectRoot}/.eslintrc.json", "!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)", "!{projectRoot}/tsconfig.spec.json", "!{projectRoot}/jest.config.[jt]s"]
3740
}
3841
}

‎package.json

Lines changed: 31 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -35,66 +35,70 @@
3535
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
3636
},
3737
"dependencies": {
38-
"@angular/animations": "15.0.1",
39-
"@angular/common": "15.0.1",
40-
"@angular/compiler": "15.0.1",
41-
"@angular/core": "15.0.1",
42-
"@angular/forms": "15.0.1",
43-
"@angular/platform-browser": "15.0.1",
44-
"@angular/platform-browser-dynamic": "15.0.1",
45-
"@angular/router": "15.0.1",
38+
"@angular/animations": "15.1.5",
39+
"@angular/common": "15.1.5",
40+
"@angular/compiler": "15.1.5",
41+
"@angular/core": "15.1.5",
42+
"@angular/forms": "15.1.5",
43+
"@angular/platform-browser": "15.1.5",
44+
"@angular/platform-browser-dynamic": "15.1.5",
45+
"@angular/router": "15.1.5",
4646
"@nativescript/core": "~8.4.0",
4747
"@nativescript/theme": "~3.0.2",
4848
"@ngx-translate/core": "~14.0.0",
49-
"@nrwl/nx-cloud": "15.0.2",
49+
"@nrwl/nx-cloud": "15.0.3",
5050
"nativescript-ngx-fonticon": "~7.0.0",
5151
"rxjs": "^7.5.6",
5252
"zone.js": "~0.12.0"
5353
},
5454
"devDependencies": {
55-
"@angular-devkit/build-angular": "~15.0.0",
56-
"@angular-eslint/eslint-plugin": "~15.0.0",
57-
"@angular-eslint/eslint-plugin-template": "~15.0.0",
58-
"@angular-eslint/template-parser": "~15.0.0",
59-
"@angular/compiler-cli": "~15.0.0",
55+
"@angular-devkit/build-angular": "15.1.6",
56+
"@angular-devkit/core": "~15.1.0",
57+
"@angular-devkit/schematics": "~15.1.0",
58+
"@angular-eslint/eslint-plugin": "15.0.0",
59+
"@angular-eslint/eslint-plugin-template": "15.0.0",
60+
"@angular-eslint/template-parser": "15.0.0",
61+
"@angular/compiler-cli": "15.1.5",
6062
"@jsdevtools/coverage-istanbul-loader": "3.0.5",
6163
"@nativescript/types": "~8.4.0",
6264
"@nativescript/unit-test-runner": "^3.0.4",
6365
"@nativescript/webpack": "~5.0.12",
64-
"@nrwl/angular": "15.4.2",
65-
"@nrwl/cli": "15.4.2",
66-
"@nrwl/eslint-plugin-nx": "15.4.2",
67-
"@nrwl/jest": "15.4.2",
68-
"@nrwl/js": "15.4.2",
69-
"@nrwl/linter": "15.4.2",
70-
"@nrwl/node": "15.4.2",
71-
"@nrwl/workspace": "15.4.2",
66+
"@nrwl/angular": "15.7.1",
67+
"@nrwl/cli": "15.7.1",
68+
"@nrwl/eslint-plugin-nx": "15.7.1",
69+
"@nrwl/jest": "15.7.1",
70+
"@nrwl/js": "15.7.1",
71+
"@nrwl/linter": "15.7.1",
72+
"@nrwl/node": "15.7.1",
73+
"@nrwl/workspace": "15.7.1",
7274
"@nstudio/angular": "15.0.2",
7375
"@nstudio/nativescript": "15.0.2",
7476
"@nstudio/nativescript-angular": "15.0.2",
7577
"@nstudio/xplat": "15.0.2",
78+
"@schematics/angular": "~15.1.0",
7679
"@types/jasmine": "4.3.0",
7780
"@types/jest": "28.1.8",
7881
"@types/node": "^18.7.13",
7982
"@types/sinon": "^10.0.13",
80-
"@typescript-eslint/eslint-plugin": "^5.36.1",
81-
"@typescript-eslint/parser": "^5.36.1",
83+
"@typescript-eslint/eslint-plugin": "5.52.0",
84+
"@typescript-eslint/parser": "5.52.0",
8285
"conventional-changelog-cli": "^2.2.2",
8386
"dotenv": "16.0.1",
8487
"eslint": "8.22.0",
8588
"eslint-config-prettier": "8.5.0",
8689
"fs-extra": "^10.1.0",
8790
"husky": "~8.0.1",
8891
"jest": "28.1.3",
92+
"jest-environment-jsdom": "~28.1.1",
8993
"karma": "6.4.1",
9094
"karma-coverage": "2.2.0",
9195
"karma-jasmine": "5.1.0",
9296
"karma-mocha-reporter": "^2.2.5",
9397
"karma-nativescript-launcher": "0.4.0",
9498
"karma-sinon": "^1.0.5",
9599
"lint-staged": "^13.0.3",
96-
"ng-packagr": "15.0.1",
97-
"nx": "15.4.2",
100+
"ng-packagr": "15.1.2",
101+
"nx": "15.7.1",
98102
"nyc": "15.1.0",
99103
"postcss": "^8.4.16",
100104
"postcss-import": "14.1.0",
@@ -106,7 +110,7 @@
106110
"ts-jest": "28.0.8",
107111
"ts-node": "10.9.1",
108112
"tslib": "^2.4.0",
109-
"typescript": "~4.8.0"
113+
"typescript": "~4.9.0"
110114
},
111115
"xplat": {
112116
"prefix": "nativescript",

‎workspace.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

‎yarn.lock

Lines changed: 1157 additions & 593 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.