Skip to content

Commit 0dbfd10

Browse files
committed
chore: update workspace
1 parent e027a8d commit 0dbfd10

File tree

14 files changed

+2698
-3090
lines changed

14 files changed

+2698
-3090
lines changed

apps/demo-angular/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"@valor/nativescript-in-app-review": "file:../../dist/packages/nativescript-in-app-review"
1111
},
1212
"devDependencies": {
13-
"@nativescript/android": "~8.3.0",
14-
"@nativescript/ios": "~8.3.0"
13+
"@nativescript/android": "~8.4.0",
14+
"@nativescript/ios": "~8.4.0"
1515
}
1616
}

apps/demo-angular/project.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"name": "demo-angular",
23
"$schema": "../../node_modules/nx/schemas/project-schema.json",
34
"sourceRoot": "apps/demo-angular/src",
45
"projectType": "application",

apps/demo/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@valor/nativescript-in-app-review": "file:../../packages/nativescript-in-app-review"
1313
},
1414
"devDependencies": {
15-
"@nativescript/android": "~8.3.0",
16-
"@nativescript/ios": "~8.3.0"
15+
"@nativescript/android": "~8.4.0",
16+
"@nativescript/ios": "~8.4.0"
1717
}
1818
}

apps/demo/project.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"name": "demo",
23
"$schema": "../../node_modules/nx/schemas/project-schema.json",
34
"sourceRoot": "apps/demo/src",
45
"projectType": "application",

nx.json

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +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-
"nx.json": "*"
15-
},
166
"workspaceLayout": {
177
"appsDir": "apps",
188
"libsDir": "packages"
@@ -28,5 +18,21 @@
2818
}
2919
}
3020
},
31-
"$schema": "./node_modules/nx/schemas/nx-schema.json"
21+
"$schema": "./node_modules/nx/schemas/nx-schema.json",
22+
"namedInputs": {
23+
"default": ["{projectRoot}/**/*", "sharedGlobals"],
24+
"sharedGlobals": ["{workspaceRoot}/workspace.json", "{workspaceRoot}/tsconfig.base.json", "{workspaceRoot}/tslint.json", "{workspaceRoot}/nx.json"],
25+
"production": ["default", "!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)", "!{projectRoot}/tsconfig.spec.json", "!{projectRoot}/jest.config.[jt]s", "!{projectRoot}/.eslintrc.json"]
26+
},
27+
"targetDefaults": {
28+
"build": {
29+
"inputs": ["production", "^production"]
30+
},
31+
"test": {
32+
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"]
33+
},
34+
"lint": {
35+
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"]
36+
}
37+
}
3238
}

package.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -16,30 +16,30 @@
1616
},
1717
"private": true,
1818
"devDependencies": {
19-
"@angular-devkit/build-angular": "^14.2.0",
20-
"@angular-eslint/eslint-plugin": "^14.0.0",
21-
"@angular-eslint/eslint-plugin-template": "^14.0.0",
22-
"@angular-eslint/template-parser": "^14.0.0",
23-
"@angular/animations": "^14.2.0",
24-
"@angular/cli": "^14.2.0",
25-
"@angular/common": "^14.2.0",
26-
"@angular/compiler": "^14.2.0",
27-
"@angular/compiler-cli": "^14.2.0",
28-
"@angular/core": "^14.2.0",
29-
"@angular/forms": "^14.2.0",
30-
"@angular/language-service": "^14.2.0",
31-
"@angular/platform-browser": "^14.2.0",
32-
"@angular/platform-browser-dynamic": "^14.2.0",
33-
"@angular/router": "^14.2.0",
34-
"@nativescript/angular": "^14.2.0",
35-
"@nativescript/core": "~8.3.0",
36-
"@nativescript/plugin-tools": "4.1.1",
37-
"@nativescript/types": "~8.3.0",
38-
"@nativescript/webpack": "~5.0.5",
39-
"@ngrx/effects": "^14.0.0",
40-
"@ngrx/store": "^14.0.0",
41-
"@ngrx/store-devtools": "^14.0.0",
42-
"@ngtools/webpack": "^14.2.0",
19+
"@angular-devkit/build-angular": "^15.0.0",
20+
"@angular-eslint/eslint-plugin": "^15.1.0",
21+
"@angular-eslint/eslint-plugin-template": "^15.1.0",
22+
"@angular-eslint/template-parser": "^15.1.0",
23+
"@angular/animations": "^15.0.0",
24+
"@angular/cli": "^15.0.0",
25+
"@angular/common": "^15.0.0",
26+
"@angular/compiler": "^15.0.0",
27+
"@angular/compiler-cli": "^15.0.0",
28+
"@angular/core": "^15.0.0",
29+
"@angular/forms": "^15.0.0",
30+
"@angular/language-service": "^15.0.0",
31+
"@angular/platform-browser": "^15.0.0",
32+
"@angular/platform-browser-dynamic": "^15.0.0",
33+
"@angular/router": "^15.0.0",
34+
"@nativescript/angular": "^15.0.0",
35+
"@nativescript/core": "~8.4.0",
36+
"@nativescript/plugin-tools": "5.0.2",
37+
"@nativescript/types": "~8.4.0",
38+
"@nativescript/webpack": "~5.0.12",
39+
"@ngrx/effects": "^15.1.0",
40+
"@ngrx/store": "^15.1.0",
41+
"@ngrx/store-devtools": "^15.1.0",
42+
"@ngtools/webpack": "^15.0.0",
4343
"@types/jest": "27.0.2",
4444
"@types/jsan": "^3.1.2",
4545
"@types/socketcluster-client": "^13.0.0",
@@ -51,15 +51,15 @@
5151
"nativescript-permissions": "1.3.11",
5252
"nativescript-vue": "~2.9.0",
5353
"nativescript-vue-template-compiler": "~2.9.0",
54-
"ng-packagr": "^14.2.0",
54+
"ng-packagr": "^15.0.0",
5555
"postcss": "^8.4.5",
5656
"postcss-import": "^14.0.2",
5757
"postcss-preset-env": "^6.7.0",
5858
"postcss-url": "^10.1.1",
5959
"rxjs": "~7.5.0",
6060
"socketcluster-client": "^14.3.2",
6161
"ts-node": "10.9.1",
62-
"typescript": "~4.7.3",
62+
"typescript": "~4.8.0",
6363
"zone.js": "~0.11.5"
6464
},
6565
"lint-staged": {

packages/nativescript-barcodescanner/project.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"name": "nativescript-barcodescanner",
23
"$schema": "../../node_modules/nx/schemas/project-schema.json",
34
"projectType": "library",
45
"sourceRoot": "packages/nativescript-barcodescanner",
@@ -34,8 +35,8 @@
3435
}
3536
},
3637
"build.all": {
37-
"executor": "@nrwl/workspace:run-commands",
38-
"outputs": ["dist/packages/nativescript-barcodescanner"],
38+
"executor": "nx:run-commands",
39+
"outputs": ["{workspaceRoot}/dist/packages/nativescript-barcodescanner"],
3940
"options": {
4041
"commands": ["node tools/scripts/build-finish.ts nativescript-barcodescanner"],
4142
"parallel": false
@@ -56,16 +57,16 @@
5657
]
5758
},
5859
"build.native": {
59-
"executor": "@nrwl/workspace:run-commands",
60-
"outputs": ["packages/nativescript-barcodescanner/platforms/ios"],
60+
"executor": "nx:run-commands",
61+
"outputs": ["{projectRoot}/platforms/ios"],
6162
"options": {
6263
"commands": ["./build.sh"],
6364
"parallel": false,
6465
"cwd": "packages/nativescript-barcodescanner/native-src/ios"
6566
}
6667
},
6768
"focus": {
68-
"executor": "@nrwl/workspace:run-commands",
69+
"executor": "nx:run-commands",
6970
"options": {
7071
"commands": ["nx g @nativescript/plugin-tools:focus-packages nativescript-barcodescanner"],
7172
"parallel": false

packages/nativescript-feedback/project.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"name": "nativescript-feedback",
23
"$schema": "../../node_modules/nx/schemas/project-schema.json",
34
"projectType": "library",
45
"sourceRoot": "packages/nativescript-feedback",
@@ -29,12 +30,12 @@
2930
}
3031
},
3132
"build.all": {
32-
"executor": "@nrwl/workspace:run-commands",
33+
"executor": "nx:run-commands",
3334
"options": {
3435
"commands": ["node tools/scripts/build-finish.ts nativescript-feedback"],
3536
"parallel": false
3637
},
37-
"outputs": ["dist/packages/nativescript-feedback"],
38+
"outputs": ["{workspaceRoot}/dist/packages/nativescript-feedback"],
3839
"dependsOn": [
3940
{
4041
"target": "build.all",
@@ -47,7 +48,7 @@
4748
]
4849
},
4950
"focus": {
50-
"executor": "@nrwl/workspace:run-commands",
51+
"executor": "nx:run-commands",
5152
"options": {
5253
"commands": ["nx g @nativescript/plugin-tools:focus-packages nativescript-feedback"],
5354
"parallel": false

packages/nativescript-in-app-review/project.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"name": "nativescript-in-app-review",
23
"$schema": "../../node_modules/nx/schemas/project-schema.json",
34
"projectType": "library",
45
"sourceRoot": "packages/nativescript-in-app-review",
@@ -29,12 +30,12 @@
2930
}
3031
},
3132
"build.all": {
32-
"executor": "@nrwl/workspace:run-commands",
33+
"executor": "nx:run-commands",
3334
"options": {
3435
"commands": ["node tools/scripts/build-finish.ts nativescript-in-app-review"],
3536
"parallel": false
3637
},
37-
"outputs": ["dist/packages/nativescript-in-app-review"],
38+
"outputs": ["{workspaceRoot}/dist/packages/nativescript-in-app-review"],
3839
"dependsOn": [
3940
{
4041
"target": "build.all",
@@ -47,7 +48,7 @@
4748
]
4849
},
4950
"focus": {
50-
"executor": "@nrwl/workspace:run-commands",
51+
"executor": "nx:run-commands",
5152
"options": {
5253
"commands": ["nx g @nativescript/plugin-tools:focus-packages nativescript-in-app-review"],
5354
"parallel": false

packages/nativescript-ngrx-devtools/project.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
2+
"name": "nativescript-ngrx-devtools",
23
"$schema": "../../node_modules/nx/schemas/project-schema.json",
34
"projectType": "library",
45
"sourceRoot": "packages/nativescript-ngrx-devtools/src",
56
"prefix": "valor",
67
"targets": {
78
"build.all": {
89
"executor": "@nrwl/angular:package",
9-
"outputs": ["dist/packages/nativescript-ngrx-devtools"],
10+
"outputs": ["{workspaceRoot}/dist/packages/nativescript-ngrx-devtools"],
1011
"options": {
1112
"project": "packages/nativescript-ngrx-devtools/ng-package.json"
1213
},
@@ -28,7 +29,7 @@
2829
},
2930
"test": {
3031
"executor": "@nrwl/jest:jest",
31-
"outputs": ["coverage/packages/nativescript-ngrx-devtools"],
32+
"outputs": ["{workspaceRoot}/coverage/packages/nativescript-ngrx-devtools"],
3233
"options": {
3334
"jestConfig": "packages/nativescript-ngrx-devtools/jest.config.ts",
3435
"passWithNoTests": true

0 commit comments

Comments
 (0)