Skip to content

Commit 3d94eeb

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

File tree

41 files changed

+1890
-482
lines changed

Some content is hidden

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

41 files changed

+1890
-482
lines changed

apps/demo-angular/project.json

+14-31
Original file line numberDiff line numberDiff line change
@@ -12,33 +12,8 @@
1212
"production": true,
1313
"uglify": true,
1414
"release": true,
15-
"forDevice": true
16-
},
17-
"dependsOn": [
18-
{
19-
"target": "build.all",
20-
"dependencies": true
21-
}
22-
]
23-
},
24-
"ios": {
25-
"executor": "@nativescript/nx:build",
26-
"options": {
27-
"platform": "ios",
28-
"noHmr": true
29-
},
30-
"dependsOn": [
31-
{
32-
"target": "build.all",
33-
"dependencies": true
34-
}
35-
]
36-
},
37-
"android": {
38-
"executor": "@nativescript/nx:build",
39-
"options": {
40-
"platform": "android",
41-
"noHmr": true
15+
"forDevice": true,
16+
"tsConfig": "apps/demo-angular/tsconfig.json"
4217
},
4318
"dependsOn": [
4419
{
@@ -48,13 +23,21 @@
4823
]
4924
},
5025
"clean": {
51-
"executor": "@nativescript/nx:build",
52-
"options": {
53-
"clean": true
54-
}
26+
"executor": "@nativescript/nx:clean",
27+
"options": {}
5528
},
5629
"lint": {
5730
"executor": "@nx/eslint:lint"
31+
},
32+
"debug": {
33+
"executor": "@nativescript/nx:debug",
34+
"options": {
35+
"noHmr": true,
36+
"uglify": false,
37+
"release": false,
38+
"forDevice": false,
39+
"prepare": false
40+
}
5841
}
5942
}
6043
}

apps/demo/project.json

+14-31
Original file line numberDiff line numberDiff line change
@@ -12,33 +12,8 @@
1212
"production": true,
1313
"uglify": true,
1414
"release": true,
15-
"forDevice": true
16-
},
17-
"dependsOn": [
18-
{
19-
"target": "build.all",
20-
"dependencies": true
21-
}
22-
]
23-
},
24-
"ios": {
25-
"executor": "@nativescript/nx:build",
26-
"options": {
27-
"platform": "ios",
28-
"noHmr": true
29-
},
30-
"dependsOn": [
31-
{
32-
"target": "build.all",
33-
"dependencies": true
34-
}
35-
]
36-
},
37-
"android": {
38-
"executor": "@nativescript/nx:build",
39-
"options": {
40-
"platform": "android",
41-
"noHmr": true
15+
"forDevice": true,
16+
"tsConfig": "apps/demo/tsconfig.json"
4217
},
4318
"dependsOn": [
4419
{
@@ -48,13 +23,21 @@
4823
]
4924
},
5025
"clean": {
51-
"executor": "@nativescript/nx:build",
52-
"options": {
53-
"clean": true
54-
}
26+
"executor": "@nativescript/nx:clean",
27+
"options": {}
5528
},
5629
"lint": {
5730
"executor": "@nx/eslint:lint"
31+
},
32+
"debug": {
33+
"executor": "@nativescript/nx:debug",
34+
"options": {
35+
"noHmr": true,
36+
"uglify": false,
37+
"release": false,
38+
"forDevice": false,
39+
"prepare": false
40+
}
5841
}
5942
}
6043
}

nx.json

+17-1
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,21 @@
3838
"useDaemonProcess": false,
3939
"parallel": 1,
4040
"useInferencePlugins": false,
41-
"defaultBase": "master"
41+
"defaultBase": "master",
42+
"release": {
43+
"releaseTagPattern": "{version}-{projectName}",
44+
"projects": ["packages/*"],
45+
"projectsRelationship": "independent",
46+
"changelog": {
47+
"workspaceChangelog": false,
48+
"projectChangelogs": {
49+
"renderOptions": {
50+
"authors": true,
51+
"commitReferences": true,
52+
"versionTitleDate": true
53+
}
54+
}
55+
}
56+
},
57+
"useLegacyCache": true
4258
}

package.json

+20-17
Original file line numberDiff line numberDiff line change
@@ -16,44 +16,47 @@
1616
},
1717
"private": true,
1818
"devDependencies": {
19-
"@angular-devkit/build-angular": "^18.0.0",
20-
"@angular/animations": "^18.0.0",
21-
"@angular/common": "^18.0.0",
22-
"@angular/compiler": "^18.0.0",
23-
"@angular/compiler-cli": "^18.0.0",
24-
"@angular/core": "^18.0.0",
25-
"@angular/forms": "^18.0.0",
26-
"@angular/platform-browser": "^18.0.0",
27-
"@angular/platform-browser-dynamic": "^18.0.0",
28-
"@angular/router": "^18.0.0",
19+
"@angular-devkit/build-angular": "^19.0.0",
20+
"@angular/animations": "^19.0.0",
21+
"@angular/common": "^19.0.0",
22+
"@angular/compiler": "^19.0.0",
23+
"@angular/compiler-cli": "^19.0.0",
24+
"@angular/core": "^19.0.0",
25+
"@angular/forms": "^19.0.0",
26+
"@angular/platform-browser": "^19.0.0",
27+
"@angular/platform-browser-dynamic": "^19.0.0",
28+
"@angular/router": "^19.0.0",
2929
"@nativescript-community/perms": "^2.3.1",
30-
"@nativescript/angular": "^18.0.0",
30+
"@nativescript/angular": "^19.0.0",
3131
"@nativescript/core": "~8.8.0",
32-
"@nativescript/plugin-tools": "5.4.1",
32+
"@nativescript/plugin-tools": "5.5.1",
3333
"@nativescript/tailwind": "^2.1.0",
3434
"@nativescript/types": "~8.8.0",
3535
"@nativescript/webpack": "~5.0.22",
36-
"@ngtools/webpack": "^18.0.0",
36+
"@ngtools/webpack": "^19.0.0",
3737
"@types/mkdirp": "^1.0.1",
3838
"@types/sprintf-js": "^1.1.0",
39+
"@typescript-eslint/eslint-plugin": "^8.13.0",
40+
"@typescript-eslint/parser": "^8.13.0",
3941
"email-validator": "^2.0.4",
4042
"husky": "~9.0.0",
4143
"mkdirp": "^1.0.4",
4244
"nativescript-vue": "~2.9.0",
4345
"nativescript-vue-template-compiler": "~2.9.0",
44-
"ng-packagr": "^18.0.0",
46+
"ng-packagr": "^19.0.0",
4547
"rxjs": "~7.8.0",
4648
"shorthash": "0.0.2",
4749
"simple-plist": "^1.1.0",
4850
"sprintf-js": "^1.1.1",
4951
"tailwindcss": "~3.4.6",
50-
"typescript": "~5.5.0",
52+
"typescript": "~5.6.0",
5153
"vue": "~2.6.12",
52-
"zone.js": "~0.14.0"
54+
"zone.js": "~0.15.0"
5355
},
5456
"lint-staged": {
5557
"**/*.{js,ts,scss,json,html}": [
5658
"npx prettier --write"
5759
]
58-
}
60+
},
61+
"dependencies": {}
5962
}

0 commit comments

Comments
 (0)