Skip to content

Commit 3efb853

Browse files
committed
chore: nx migrate @nativescript/plugin-tools
1 parent f95e2ae commit 3efb853

45 files changed

Lines changed: 197 additions & 154 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/demo-angular/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@nativescript/zip": "file:../../dist/packages/zip"
4141
},
4242
"devDependencies": {
43-
"@nativescript/android": "~8.3.0",
44-
"@nativescript/ios": "~8.3.0"
43+
"@nativescript/android": "~8.4.0",
44+
"@nativescript/ios": "~8.4.0"
4545
}
4646
}

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@
4444
},
4545
"devDependencies": {
4646
"@nativescript/android": "~8.4.0",
47-
"@nativescript/ios": "~8.3.0"
47+
"@nativescript/ios": "~8.4.0"
4848
}
4949
}

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: 14 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,18 @@
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}/.eslintrc.json"]
26+
},
27+
"targetDefaults": {
28+
"build": {
29+
"inputs": ["production", "^production"]
30+
},
31+
"lint": {
32+
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"]
33+
}
34+
}
3235
}

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,37 +16,37 @@
1616
},
1717
"private": true,
1818
"devDependencies": {
19-
"@angular/animations": "^14.2.0",
20-
"@angular/common": "^14.2.0",
21-
"@angular/compiler": "^14.2.0",
22-
"@angular/compiler-cli": "^14.2.0",
23-
"@angular/core": "^14.2.0",
24-
"@angular/forms": "^14.2.0",
25-
"@angular/platform-browser": "^14.2.0",
26-
"@angular/platform-browser-dynamic": "^14.2.0",
27-
"@angular/router": "^14.2.0",
28-
"@nativescript/angular": "^14.2.0",
29-
"@nativescript/core": "~8.3.0",
30-
"@nativescript/plugin-tools": "4.1.0",
31-
"@nativescript/types": "~8.3.0",
19+
"@angular/animations": "^15.0.0",
20+
"@angular/common": "^15.0.0",
21+
"@angular/compiler": "^15.0.0",
22+
"@angular/compiler-cli": "^15.0.0",
23+
"@angular/core": "^15.0.0",
24+
"@angular/forms": "^15.0.0",
25+
"@angular/platform-browser": "^15.0.0",
26+
"@angular/platform-browser-dynamic": "^15.0.0",
27+
"@angular/router": "^15.0.0",
28+
"@nativescript/angular": "^15.0.0",
29+
"@nativescript/core": "~8.4.0",
30+
"@nativescript/plugin-tools": "5.0.3",
31+
"@nativescript/types": "~8.4.0",
3232
"@nativescript/webpack": "~5.0.5",
33-
"@ngtools/webpack": "^14.2.0",
33+
"@ngtools/webpack": "^15.0.0",
3434
"@types/mkdirp": "^1.0.1",
3535
"@types/sprintf-js": "^1.1.0",
3636
"husky": "^8.0.0",
3737
"mkdirp": "^1.0.4",
3838
"nativescript-permissions": "1.3.11",
3939
"nativescript-vue": "~2.9.0",
4040
"nativescript-vue-template-compiler": "~2.9.0",
41-
"ng-packagr": "^14.2.0",
41+
"ng-packagr": "^15.0.0",
4242
"rxjs": "~7.5.0",
4343
"shorthash": "0.0.2",
4444
"simple-plist": "^1.1.0",
4545
"sprintf-js": "^1.1.1",
46-
"typescript": "~4.7.3",
46+
"typescript": "~4.8.0",
4747
"vue": "~2.6.12",
4848
"zone.js": "~0.11.1",
49-
"@angular-devkit/build-angular": "^14.2.0"
49+
"@angular-devkit/build-angular": "^15.0.0"
5050
},
5151
"lint-staged": {
5252
"**/*.{js,ts,scss,json,html}": [

packages/animated-circle/project.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"name": "animated-circle",
23
"$schema": "../../node_modules/nx/schemas/project-schema.json",
34
"sourceRoot": "packages/animated-circle",
45
"projectType": "library",
@@ -30,12 +31,12 @@
3031
]
3132
},
3233
"build.all": {
33-
"outputs": ["dist/packages/animated-circle"],
34+
"outputs": ["{workspaceRoot}/dist/packages/animated-circle"],
3435
"options": {
3536
"commands": ["node tools/scripts/build-finish.ts animated-circle"],
3637
"parallel": false
3738
},
38-
"executor": "@nrwl/workspace:run-commands",
39+
"executor": "nx:run-commands",
3940
"dependsOn": [
4041
{
4142
"target": "build.all",
@@ -52,7 +53,7 @@
5253
"commands": ["nx g @nativescript/plugin-tools:focus-packages animated-circle"],
5354
"parallel": false
5455
},
55-
"executor": "@nrwl/workspace:run-commands"
56+
"executor": "nx:run-commands"
5657
},
5758
"lint": {
5859
"executor": "@nrwl/linter:eslint",

packages/appavailability/project.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"name": "appavailability",
23
"$schema": "../../node_modules/nx/schemas/project-schema.json",
34
"sourceRoot": "packages/appavailability",
45
"projectType": "library",
@@ -30,12 +31,12 @@
3031
]
3132
},
3233
"build.all": {
33-
"outputs": ["dist/packages/appavailability"],
34+
"outputs": ["{workspaceRoot}/dist/packages/appavailability"],
3435
"options": {
3536
"commands": ["node tools/scripts/build-finish.ts appavailability"],
3637
"parallel": false
3738
},
38-
"executor": "@nrwl/workspace:run-commands",
39+
"executor": "nx:run-commands",
3940
"dependsOn": [
4041
{
4142
"target": "build.all",
@@ -52,7 +53,7 @@
5253
"commands": ["nx g @nativescript/plugin-tools:focus-packages appavailability"],
5354
"parallel": false
5455
},
55-
"executor": "@nrwl/workspace:run-commands"
56+
"executor": "nx:run-commands"
5657
},
5758
"lint": {
5859
"executor": "@nrwl/linter:eslint",

packages/apple-sign-in/project.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"name": "apple-sign-in",
23
"$schema": "../../node_modules/nx/schemas/project-schema.json",
34
"projectType": "library",
45
"sourceRoot": "packages/apple-sign-in",
@@ -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 apple-sign-in"],
3536
"parallel": false
3637
},
37-
"outputs": ["dist/packages/apple-sign-in"],
38+
"outputs": ["{workspaceRoot}/dist/packages/apple-sign-in"],
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 apple-sign-in"],
5354
"parallel": false

packages/auto-fit-text/project.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"name": "auto-fit-text",
23
"$schema": "../../node_modules/nx/schemas/project-schema.json",
34
"sourceRoot": "packages/auto-fit-text",
45
"projectType": "library",
@@ -30,12 +31,12 @@
3031
]
3132
},
3233
"build.all": {
33-
"outputs": ["dist/packages/auto-fit-text"],
34+
"outputs": ["{workspaceRoot}/dist/packages/auto-fit-text"],
3435
"options": {
3536
"commands": ["node tools/scripts/build-finish.ts auto-fit-text"],
3637
"parallel": false
3738
},
38-
"executor": "@nrwl/workspace:run-commands",
39+
"executor": "nx:run-commands",
3940
"dependsOn": [
4041
{
4142
"target": "build.all",
@@ -52,7 +53,7 @@
5253
"commands": ["nx g @nativescript/plugin-tools:focus-packages auto-fit-text"],
5354
"parallel": false
5455
},
55-
"executor": "@nrwl/workspace:run-commands"
56+
"executor": "nx:run-commands"
5657
},
5758
"lint": {
5859
"executor": "@nrwl/linter:eslint",

0 commit comments

Comments
 (0)