Skip to content

Commit 40ed1d0

Browse files
committed
chore: nx migrate latest
1 parent f57d70a commit 40ed1d0

File tree

5 files changed

+44
-43
lines changed

5 files changed

+44
-43
lines changed

apps/nativescript-demo-ng/project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"name": "nativescript-demo-ng",
23
"$schema": "../../node_modules/nx/schemas/project-schema.json",
34
"sourceRoot": "apps/nativescript-demo-ng/src",
45
"projectType": "application",
@@ -71,7 +72,7 @@
7172
},
7273
"test": {
7374
"executor": "@nativescript/nx:test",
74-
"outputs": ["coverage/apps/nativescript-demo-ng"],
75+
"outputs": ["{workspaceRoot}/coverage/apps/nativescript-demo-ng"],
7576
"options": {
7677
"coverage": false
7778
},

nx.json

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,6 @@
33
"affected": {
44
"defaultBase": "master"
55
},
6-
"implicitDependencies": {
7-
"workspace.json": "*",
8-
"package.json": {
9-
"dependencies": "*",
10-
"devDependencies": "*"
11-
},
12-
"tsconfig.base.json": "*",
13-
"tslint.json": "*",
14-
".eslintrc.json": "*",
15-
"nx.json": "*"
16-
},
176
"tasksRunnerOptions": {
187
"default": {
198
"runner": "nx/tasks-runners/default",
@@ -33,7 +22,16 @@
3322
"$schema": "./node_modules/nx/schemas/nx-schema.json",
3423
"targetDefaults": {
3524
"build": {
36-
"dependsOn": ["^build"]
25+
"dependsOn": ["^build"],
26+
"inputs": ["production", "^production"]
27+
},
28+
"test": {
29+
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"]
3730
}
31+
},
32+
"namedInputs": {
33+
"default": ["{projectRoot}/**/*", "sharedGlobals"],
34+
"sharedGlobals": ["{workspaceRoot}/workspace.json", "{workspaceRoot}/tsconfig.base.json", "{workspaceRoot}/tslint.json", "{workspaceRoot}/nx.json"],
35+
"production": ["default", "!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)", "!{projectRoot}/tsconfig.spec.json", "!{projectRoot}/jest.config.[jt]s"]
3836
}
3937
}

package.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -35,43 +35,43 @@
3535
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
3636
},
3737
"dependencies": {
38-
"@angular/animations": "14.2.3",
39-
"@angular/common": "14.2.3",
40-
"@angular/compiler": "14.2.3",
41-
"@angular/core": "14.2.3",
42-
"@angular/forms": "14.2.3",
43-
"@angular/platform-browser": "14.2.3",
44-
"@angular/platform-browser-dynamic": "14.2.3",
45-
"@angular/router": "14.2.3",
38+
"@angular/animations": "14.2.10",
39+
"@angular/common": "14.2.10",
40+
"@angular/compiler": "14.2.10",
41+
"@angular/core": "14.2.10",
42+
"@angular/forms": "14.2.10",
43+
"@angular/platform-browser": "14.2.10",
44+
"@angular/platform-browser-dynamic": "14.2.10",
45+
"@angular/router": "14.2.10",
4646
"@nativescript/core": "~8.3.4",
4747
"@nativescript/theme": "~3.0.2",
4848
"@ngx-translate/core": "~14.0.0",
4949
"nativescript-ngx-fonticon": "~7.0.0",
5050
"rxjs": "^7.5.6",
51-
"zone.js": "~0.11.8"
51+
"zone.js": "~0.12.0"
5252
},
5353
"devDependencies": {
54-
"@angular-devkit/build-angular": "14.2.3",
55-
"@angular-eslint/eslint-plugin": "14.0.3",
56-
"@angular-eslint/eslint-plugin-template": "14.0.3",
57-
"@angular-eslint/template-parser": "14.0.3",
58-
"@angular/compiler-cli": "14.2.3",
54+
"@angular-devkit/build-angular": "14.2.9",
55+
"@angular-eslint/eslint-plugin": "14.0.4",
56+
"@angular-eslint/eslint-plugin-template": "14.0.4",
57+
"@angular-eslint/template-parser": "14.0.4",
58+
"@angular/compiler-cli": "14.2.10",
5959
"@jsdevtools/coverage-istanbul-loader": "3.0.5",
6060
"@nativescript/types": "~8.3.1",
6161
"@nativescript/unit-test-runner": "^3.0.4",
6262
"@nativescript/webpack": "~5.0.8",
63-
"@ngtools/webpack": "14.2.3",
64-
"@nrwl/angular": "14.7.11",
65-
"@nrwl/cli": "14.7.11",
66-
"@nrwl/eslint-plugin-nx": "14.7.11",
67-
"@nrwl/jest": "14.7.11",
68-
"@nrwl/js": "14.7.11",
69-
"@nrwl/node": "14.7.11",
70-
"@nrwl/workspace": "14.7.11",
71-
"@nstudio/angular": "14.3.0",
72-
"@nstudio/nativescript": "14.3.0",
73-
"@nstudio/nativescript-angular": "14.3.0",
74-
"@nstudio/xplat": "14.3.0",
63+
"@ngtools/webpack": "14.2.9",
64+
"@nrwl/angular": "15.0.13",
65+
"@nrwl/cli": "15.0.13",
66+
"@nrwl/eslint-plugin-nx": "15.0.13",
67+
"@nrwl/jest": "15.0.13",
68+
"@nrwl/js": "15.0.13",
69+
"@nrwl/node": "15.0.13",
70+
"@nrwl/workspace": "15.0.13",
71+
"@nstudio/angular": "15.0.2",
72+
"@nstudio/nativescript": "15.0.2",
73+
"@nstudio/nativescript-angular": "15.0.2",
74+
"@nstudio/xplat": "15.0.2",
7575
"@types/jasmine": "4.3.0",
7676
"@types/jest": "28.1.8",
7777
"@types/node": "^18.7.13",
@@ -92,8 +92,8 @@
9292
"karma-nativescript-launcher": "0.4.0",
9393
"karma-sinon": "^1.0.5",
9494
"lint-staged": "^13.0.3",
95-
"ng-packagr": "14.2.1",
96-
"nx": "14.7.11",
95+
"ng-packagr": "14.2.2",
96+
"nx": "15.0.13",
9797
"nyc": "15.1.0",
9898
"postcss": "^8.4.16",
9999
"postcss-import": "14.1.0",

packages/angular/project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"name": "angular",
23
"$schema": "../../node_modules/nx/schemas/project-schema.json",
34
"sourceRoot": "packages/angular/src",
45
"projectType": "library",
@@ -23,7 +24,7 @@
2324
"jestConfig": "packages/angular/jest.config.ts",
2425
"passWithNoTests": true
2526
},
26-
"outputs": ["coverage/packages/angular"]
27+
"outputs": ["{workspaceRoot}/coverage/packages/angular"]
2728
}
2829
},
2930
"tags": []

packages/zone-js/project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"name": "zone-js",
23
"$schema": "../../node_modules/nx/schemas/project-schema.json",
34
"sourceRoot": "packages/zone-js/src",
45
"projectType": "library",
@@ -21,7 +22,7 @@
2122
},
2223
"test": {
2324
"executor": "@nrwl/jest:jest",
24-
"outputs": ["coverage/packages/zone-js"],
25+
"outputs": ["{workspaceRoot}/coverage/packages/zone-js"],
2526
"options": {
2627
"jestConfig": "packages/zone-js/jest.config.ts",
2728
"passWithNoTests": true

0 commit comments

Comments
 (0)