Skip to content

Commit c44e9cb

Browse files
committed
chore: nx migrate latest
1 parent 230179b commit c44e9cb

File tree

9 files changed

+2542
-3203
lines changed

9 files changed

+2542
-3203
lines changed

apps/nativescript-starter-angular/project.json

Lines changed: 18 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,42 +4,34 @@
44
"sourceRoot": "apps/nativescript-starter-angular/src",
55
"projectType": "application",
66
"targets": {
7-
"ios": {
7+
"build": {
88
"executor": "@nativescript/nx:build",
99
"options": {
10-
"platform": "ios"
10+
"noHmr": true,
11+
"production": true,
12+
"uglify": true,
13+
"release": true,
14+
"forDevice": true
1115
},
12-
"configurations": {
13-
"build": {
14-
"copyTo": "./dist/build.ipa"
15-
},
16-
"prod": {
17-
"combineWithConfig": "build:prod"
18-
}
19-
}
16+
"configurations": {}
2017
},
21-
"android": {
22-
"executor": "@nativescript/nx:build",
18+
"debug": {
19+
"executor": "@nativescript/nx:debug",
2320
"options": {
24-
"platform": "android"
21+
"noHmr": true,
22+
"uglify": false,
23+
"release": false,
24+
"forDevice": false,
25+
"prepare": false
2526
},
26-
"configurations": {
27-
"build": {
28-
"copyTo": "./dist/build.apk"
29-
},
30-
"prod": {
31-
"combineWithConfig": "build:prod"
32-
}
33-
}
27+
"configurations": {}
3428
},
3529
"clean": {
36-
"executor": "@nativescript/nx:build",
37-
"options": {
38-
"clean": true
39-
}
30+
"executor": "@nativescript/nx:clean",
31+
"options": {}
4032
},
4133
"lint": {
4234
"executor": "@nx/eslint:lint"
4335
}
4436
}
45-
}
37+
}

apps/nativescript-starter-javascript/project.json

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,42 +4,43 @@
44
"sourceRoot": "apps/nativescript-starter-javascript/src",
55
"projectType": "application",
66
"targets": {
7-
"ios": {
7+
"build": {
88
"executor": "@nativescript/nx:build",
99
"options": {
10-
"platform": "ios"
10+
"noHmr": true,
11+
"production": true,
12+
"uglify": true,
13+
"release": true,
14+
"forDevice": true
1115
},
1216
"configurations": {
13-
"build": {
14-
"copyTo": "./dist/build.ipa"
15-
},
1617
"prod": {
17-
"combineWithConfig": "build:prod"
18+
"fileReplacements": [
19+
{
20+
"replace": "./src/environments/environment.ts",
21+
"with": "./src/environments/environment.prod.ts"
22+
}
23+
]
1824
}
1925
}
2026
},
21-
"android": {
22-
"executor": "@nativescript/nx:build",
27+
"debug": {
28+
"executor": "@nativescript/nx:debug",
2329
"options": {
24-
"platform": "android"
30+
"noHmr": true,
31+
"uglify": false,
32+
"release": false,
33+
"forDevice": false,
34+
"prepare": false
2535
},
26-
"configurations": {
27-
"build": {
28-
"copyTo": "./dist/build.apk"
29-
},
30-
"prod": {
31-
"combineWithConfig": "build:prod"
32-
}
33-
}
36+
"configurations": {}
3437
},
3538
"clean": {
36-
"executor": "@nativescript/nx:build",
37-
"options": {
38-
"clean": true
39-
}
39+
"executor": "@nativescript/nx:clean",
40+
"options": {}
4041
},
4142
"lint": {
4243
"executor": "@nx/eslint:lint"
4344
}
4445
}
45-
}
46+
}

apps/nativescript-starter-react/project.json

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,42 +4,43 @@
44
"sourceRoot": "apps/nativescript-starter-react/src",
55
"projectType": "application",
66
"targets": {
7-
"ios": {
7+
"build": {
88
"executor": "@nativescript/nx:build",
99
"options": {
10-
"platform": "ios"
10+
"noHmr": true,
11+
"production": true,
12+
"uglify": true,
13+
"release": true,
14+
"forDevice": true
1115
},
1216
"configurations": {
13-
"build": {
14-
"copyTo": "./dist/build.ipa"
15-
},
1617
"prod": {
17-
"combineWithConfig": "build:prod"
18+
"fileReplacements": [
19+
{
20+
"replace": "./src/environments/environment.ts",
21+
"with": "./src/environments/environment.prod.ts"
22+
}
23+
]
1824
}
1925
}
2026
},
21-
"android": {
22-
"executor": "@nativescript/nx:build",
27+
"debug": {
28+
"executor": "@nativescript/nx:debug",
2329
"options": {
24-
"platform": "android"
30+
"noHmr": true,
31+
"uglify": false,
32+
"release": false,
33+
"forDevice": false,
34+
"prepare": false
2535
},
26-
"configurations": {
27-
"build": {
28-
"copyTo": "./dist/build.apk"
29-
},
30-
"prod": {
31-
"combineWithConfig": "build:prod"
32-
}
33-
}
36+
"configurations": {}
3437
},
3538
"clean": {
36-
"executor": "@nativescript/nx:build",
37-
"options": {
38-
"clean": true
39-
}
39+
"executor": "@nativescript/nx:clean",
40+
"options": {}
4041
},
4142
"lint": {
4243
"executor": "@nx/eslint:lint"
4344
}
4445
}
45-
}
46+
}

apps/nativescript-starter-solid/project.json

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,42 +4,43 @@
44
"sourceRoot": "apps/nativescript-starter-solid/src",
55
"projectType": "application",
66
"targets": {
7-
"ios": {
7+
"build": {
88
"executor": "@nativescript/nx:build",
99
"options": {
10-
"platform": "ios"
10+
"noHmr": true,
11+
"production": true,
12+
"uglify": true,
13+
"release": true,
14+
"forDevice": true
1115
},
1216
"configurations": {
13-
"build": {
14-
"copyTo": "./dist/build.ipa"
15-
},
1617
"prod": {
17-
"combineWithConfig": "build:prod"
18+
"fileReplacements": [
19+
{
20+
"replace": "./src/environments/environment.ts",
21+
"with": "./src/environments/environment.prod.ts"
22+
}
23+
]
1824
}
1925
}
2026
},
21-
"android": {
22-
"executor": "@nativescript/nx:build",
27+
"debug": {
28+
"executor": "@nativescript/nx:debug",
2329
"options": {
24-
"platform": "android"
30+
"noHmr": true,
31+
"uglify": false,
32+
"release": false,
33+
"forDevice": false,
34+
"prepare": false
2535
},
26-
"configurations": {
27-
"build": {
28-
"copyTo": "./dist/build.apk"
29-
},
30-
"prod": {
31-
"combineWithConfig": "build:prod"
32-
}
33-
}
36+
"configurations": {}
3437
},
3538
"clean": {
36-
"executor": "@nativescript/nx:build",
37-
"options": {
38-
"clean": true
39-
}
39+
"executor": "@nativescript/nx:clean",
40+
"options": {}
4041
},
4142
"lint": {
4243
"executor": "@nx/eslint:lint"
4344
}
4445
}
45-
}
46+
}

apps/nativescript-starter-svelte/project.json

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,42 +4,43 @@
44
"sourceRoot": "apps/nativescript-starter-svelte/src",
55
"projectType": "application",
66
"targets": {
7-
"ios": {
7+
"build": {
88
"executor": "@nativescript/nx:build",
99
"options": {
10-
"platform": "ios"
10+
"noHmr": true,
11+
"production": true,
12+
"uglify": true,
13+
"release": true,
14+
"forDevice": true
1115
},
1216
"configurations": {
13-
"build": {
14-
"copyTo": "./dist/build.ipa"
15-
},
1617
"prod": {
17-
"combineWithConfig": "build:prod"
18+
"fileReplacements": [
19+
{
20+
"replace": "./src/environments/environment.ts",
21+
"with": "./src/environments/environment.prod.ts"
22+
}
23+
]
1824
}
1925
}
2026
},
21-
"android": {
22-
"executor": "@nativescript/nx:build",
27+
"debug": {
28+
"executor": "@nativescript/nx:debug",
2329
"options": {
24-
"platform": "android"
30+
"noHmr": true,
31+
"uglify": false,
32+
"release": false,
33+
"forDevice": false,
34+
"prepare": false
2535
},
26-
"configurations": {
27-
"build": {
28-
"copyTo": "./dist/build.apk"
29-
},
30-
"prod": {
31-
"combineWithConfig": "build:prod"
32-
}
33-
}
36+
"configurations": {}
3437
},
3538
"clean": {
36-
"executor": "@nativescript/nx:build",
37-
"options": {
38-
"clean": true
39-
}
39+
"executor": "@nativescript/nx:clean",
40+
"options": {}
4041
},
4142
"lint": {
4243
"executor": "@nx/eslint:lint"
4344
}
4445
}
45-
}
46+
}

apps/nativescript-starter-typescript/project.json

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,42 +4,43 @@
44
"sourceRoot": "apps/nativescript-starter-typescript/src",
55
"projectType": "application",
66
"targets": {
7-
"ios": {
7+
"build": {
88
"executor": "@nativescript/nx:build",
99
"options": {
10-
"platform": "ios"
10+
"noHmr": true,
11+
"production": true,
12+
"uglify": true,
13+
"release": true,
14+
"forDevice": true
1115
},
1216
"configurations": {
13-
"build": {
14-
"copyTo": "./dist/build.ipa"
15-
},
1617
"prod": {
17-
"combineWithConfig": "build:prod"
18+
"fileReplacements": [
19+
{
20+
"replace": "./src/environments/environment.ts",
21+
"with": "./src/environments/environment.prod.ts"
22+
}
23+
]
1824
}
1925
}
2026
},
21-
"android": {
22-
"executor": "@nativescript/nx:build",
27+
"debug": {
28+
"executor": "@nativescript/nx:debug",
2329
"options": {
24-
"platform": "android"
30+
"noHmr": true,
31+
"uglify": false,
32+
"release": false,
33+
"forDevice": false,
34+
"prepare": false
2535
},
26-
"configurations": {
27-
"build": {
28-
"copyTo": "./dist/build.apk"
29-
},
30-
"prod": {
31-
"combineWithConfig": "build:prod"
32-
}
33-
}
36+
"configurations": {}
3437
},
3538
"clean": {
36-
"executor": "@nativescript/nx:build",
37-
"options": {
38-
"clean": true
39-
}
39+
"executor": "@nativescript/nx:clean",
40+
"options": {}
4041
},
4142
"lint": {
4243
"executor": "@nx/eslint:lint"
4344
}
4445
}
45-
}
46+
}

0 commit comments

Comments
 (0)