Skip to content

Commit 9e14486

Browse files
committed
chore: workspace configuration updates
1 parent 848e8af commit 9e14486

File tree

2 files changed

+19
-18
lines changed

2 files changed

+19
-18
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"config": "nx g @nativescript/plugin-tools:config",
1212
"publish-packages": "nx g @nativescript/plugin-tools:publish",
1313
"sync-packages-with-demos": "nx g @nativescript/plugin-tools:sync-packages-with-demos",
14-
"remove-package": "nx g @nativescript/plugin-tools:remove-package"
14+
"remove-package": "nx g @nativescript/plugin-tools:remove-package",
15+
"add-demo": "nx g @nativescript/plugin-tools:add-demo"
1516
},
1617
"private": true,
1718
"devDependencies": {
@@ -26,7 +27,7 @@
2627
"@angular/router": "^12.0.0",
2728
"@nativescript/angular": "^12.0.0",
2829
"@nativescript/core": "^8.0.0",
29-
"@nativescript/plugin-tools": "2.0.0",
30+
"@nativescript/plugin-tools": "2.0.4",
3031
"@nativescript/types": "^8.0.0",
3132
"@nativescript/webpack": "beta",
3233
"@ngtools/webpack": "^12.0.0",

workspace.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"version": 1,
2+
"version": 2,
33
"projects": {
44
"demo": {
55
"root": "apps/demo/",
66
"sourceRoot": "apps/demo/src",
77
"projectType": "application",
88
"prefix": "demo",
9-
"architect": {
9+
"targets": {
1010
"build": {
11-
"builder": "@nativescript/nx:build",
11+
"executor": "@nativescript/nx:build",
1212
"options": {
1313
"noHmr": true,
1414
"production": true,
@@ -18,19 +18,19 @@
1818
}
1919
},
2020
"ios": {
21-
"builder": "@nativescript/nx:build",
21+
"executor": "@nativescript/nx:build",
2222
"options": {
2323
"platform": "ios"
2424
}
2525
},
2626
"android": {
27-
"builder": "@nativescript/nx:build",
27+
"executor": "@nativescript/nx:build",
2828
"options": {
2929
"platform": "android"
3030
}
3131
},
3232
"clean": {
33-
"builder": "@nativescript/nx:build",
33+
"executor": "@nativescript/nx:build",
3434
"options": {
3535
"clean": true
3636
}
@@ -42,9 +42,9 @@
4242
"sourceRoot": "apps/demo-angular/src",
4343
"projectType": "application",
4444
"prefix": "demo",
45-
"architect": {
45+
"targets": {
4646
"build": {
47-
"builder": "@nativescript/nx:build",
47+
"executor": "@nativescript/nx:build",
4848
"options": {
4949
"noHmr": true,
5050
"production": true,
@@ -54,19 +54,19 @@
5454
}
5555
},
5656
"ios": {
57-
"builder": "@nativescript/nx:build",
57+
"executor": "@nativescript/nx:build",
5858
"options": {
5959
"platform": "ios"
6060
}
6161
},
6262
"android": {
63-
"builder": "@nativescript/nx:build",
63+
"executor": "@nativescript/nx:build",
6464
"options": {
6565
"platform": "android"
6666
}
6767
},
6868
"clean": {
69-
"builder": "@nativescript/nx:build",
69+
"executor": "@nativescript/nx:build",
7070
"options": {
7171
"clean": true
7272
}
@@ -76,19 +76,18 @@
7676
"all": {
7777
"root": "packages/",
7878
"projectType": "library",
79-
"architect": {
79+
"targets": {
8080
"build": {
81-
"builder": "@nrwl/workspace:run-commands",
8281
"outputs": [
8382
"dist/packages"
8483
],
8584
"options": {
8685
"commands": [],
8786
"parallel": false
88-
}
87+
},
88+
"executor": "@nrwl/workspace:run-commands"
8989
},
9090
"focus": {
91-
"builder": "@nrwl/workspace:run-commands",
9291
"outputs": [
9392
"dist/packages"
9493
],
@@ -97,7 +96,8 @@
9796
"nx g @nativescript/plugin-tools:focus-packages"
9897
],
9998
"parallel": false
100-
}
99+
},
100+
"executor": "@nrwl/workspace:run-commands"
101101
}
102102
}
103103
}

0 commit comments

Comments
 (0)