Skip to content

Commit

Permalink
chore: nx migrate latest
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanWalker committed Feb 14, 2025
1 parent 230179b commit c44e9cb
Show file tree
Hide file tree
Showing 9 changed files with 2,542 additions and 3,203 deletions.
44 changes: 18 additions & 26 deletions apps/nativescript-starter-angular/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +4,34 @@
"sourceRoot": "apps/nativescript-starter-angular/src",
"projectType": "application",
"targets": {
"ios": {
"build": {
"executor": "@nativescript/nx:build",
"options": {
"platform": "ios"
"noHmr": true,
"production": true,
"uglify": true,
"release": true,
"forDevice": true
},
"configurations": {
"build": {
"copyTo": "./dist/build.ipa"
},
"prod": {
"combineWithConfig": "build:prod"
}
}
"configurations": {}
},
"android": {
"executor": "@nativescript/nx:build",
"debug": {
"executor": "@nativescript/nx:debug",
"options": {
"platform": "android"
"noHmr": true,
"uglify": false,
"release": false,
"forDevice": false,
"prepare": false
},
"configurations": {
"build": {
"copyTo": "./dist/build.apk"
},
"prod": {
"combineWithConfig": "build:prod"
}
}
"configurations": {}
},
"clean": {
"executor": "@nativescript/nx:build",
"options": {
"clean": true
}
"executor": "@nativescript/nx:clean",
"options": {}
},
"lint": {
"executor": "@nx/eslint:lint"
}
}
}
}
45 changes: 23 additions & 22 deletions apps/nativescript-starter-javascript/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +4,43 @@
"sourceRoot": "apps/nativescript-starter-javascript/src",
"projectType": "application",
"targets": {
"ios": {
"build": {
"executor": "@nativescript/nx:build",
"options": {
"platform": "ios"
"noHmr": true,
"production": true,
"uglify": true,
"release": true,
"forDevice": true
},
"configurations": {
"build": {
"copyTo": "./dist/build.ipa"
},
"prod": {
"combineWithConfig": "build:prod"
"fileReplacements": [
{
"replace": "./src/environments/environment.ts",
"with": "./src/environments/environment.prod.ts"
}
]
}
}
},
"android": {
"executor": "@nativescript/nx:build",
"debug": {
"executor": "@nativescript/nx:debug",
"options": {
"platform": "android"
"noHmr": true,
"uglify": false,
"release": false,
"forDevice": false,
"prepare": false
},
"configurations": {
"build": {
"copyTo": "./dist/build.apk"
},
"prod": {
"combineWithConfig": "build:prod"
}
}
"configurations": {}
},
"clean": {
"executor": "@nativescript/nx:build",
"options": {
"clean": true
}
"executor": "@nativescript/nx:clean",
"options": {}
},
"lint": {
"executor": "@nx/eslint:lint"
}
}
}
}
45 changes: 23 additions & 22 deletions apps/nativescript-starter-react/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +4,43 @@
"sourceRoot": "apps/nativescript-starter-react/src",
"projectType": "application",
"targets": {
"ios": {
"build": {
"executor": "@nativescript/nx:build",
"options": {
"platform": "ios"
"noHmr": true,
"production": true,
"uglify": true,
"release": true,
"forDevice": true
},
"configurations": {
"build": {
"copyTo": "./dist/build.ipa"
},
"prod": {
"combineWithConfig": "build:prod"
"fileReplacements": [
{
"replace": "./src/environments/environment.ts",
"with": "./src/environments/environment.prod.ts"
}
]
}
}
},
"android": {
"executor": "@nativescript/nx:build",
"debug": {
"executor": "@nativescript/nx:debug",
"options": {
"platform": "android"
"noHmr": true,
"uglify": false,
"release": false,
"forDevice": false,
"prepare": false
},
"configurations": {
"build": {
"copyTo": "./dist/build.apk"
},
"prod": {
"combineWithConfig": "build:prod"
}
}
"configurations": {}
},
"clean": {
"executor": "@nativescript/nx:build",
"options": {
"clean": true
}
"executor": "@nativescript/nx:clean",
"options": {}
},
"lint": {
"executor": "@nx/eslint:lint"
}
}
}
}
45 changes: 23 additions & 22 deletions apps/nativescript-starter-solid/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +4,43 @@
"sourceRoot": "apps/nativescript-starter-solid/src",
"projectType": "application",
"targets": {
"ios": {
"build": {
"executor": "@nativescript/nx:build",
"options": {
"platform": "ios"
"noHmr": true,
"production": true,
"uglify": true,
"release": true,
"forDevice": true
},
"configurations": {
"build": {
"copyTo": "./dist/build.ipa"
},
"prod": {
"combineWithConfig": "build:prod"
"fileReplacements": [
{
"replace": "./src/environments/environment.ts",
"with": "./src/environments/environment.prod.ts"
}
]
}
}
},
"android": {
"executor": "@nativescript/nx:build",
"debug": {
"executor": "@nativescript/nx:debug",
"options": {
"platform": "android"
"noHmr": true,
"uglify": false,
"release": false,
"forDevice": false,
"prepare": false
},
"configurations": {
"build": {
"copyTo": "./dist/build.apk"
},
"prod": {
"combineWithConfig": "build:prod"
}
}
"configurations": {}
},
"clean": {
"executor": "@nativescript/nx:build",
"options": {
"clean": true
}
"executor": "@nativescript/nx:clean",
"options": {}
},
"lint": {
"executor": "@nx/eslint:lint"
}
}
}
}
45 changes: 23 additions & 22 deletions apps/nativescript-starter-svelte/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +4,43 @@
"sourceRoot": "apps/nativescript-starter-svelte/src",
"projectType": "application",
"targets": {
"ios": {
"build": {
"executor": "@nativescript/nx:build",
"options": {
"platform": "ios"
"noHmr": true,
"production": true,
"uglify": true,
"release": true,
"forDevice": true
},
"configurations": {
"build": {
"copyTo": "./dist/build.ipa"
},
"prod": {
"combineWithConfig": "build:prod"
"fileReplacements": [
{
"replace": "./src/environments/environment.ts",
"with": "./src/environments/environment.prod.ts"
}
]
}
}
},
"android": {
"executor": "@nativescript/nx:build",
"debug": {
"executor": "@nativescript/nx:debug",
"options": {
"platform": "android"
"noHmr": true,
"uglify": false,
"release": false,
"forDevice": false,
"prepare": false
},
"configurations": {
"build": {
"copyTo": "./dist/build.apk"
},
"prod": {
"combineWithConfig": "build:prod"
}
}
"configurations": {}
},
"clean": {
"executor": "@nativescript/nx:build",
"options": {
"clean": true
}
"executor": "@nativescript/nx:clean",
"options": {}
},
"lint": {
"executor": "@nx/eslint:lint"
}
}
}
}
45 changes: 23 additions & 22 deletions apps/nativescript-starter-typescript/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +4,43 @@
"sourceRoot": "apps/nativescript-starter-typescript/src",
"projectType": "application",
"targets": {
"ios": {
"build": {
"executor": "@nativescript/nx:build",
"options": {
"platform": "ios"
"noHmr": true,
"production": true,
"uglify": true,
"release": true,
"forDevice": true
},
"configurations": {
"build": {
"copyTo": "./dist/build.ipa"
},
"prod": {
"combineWithConfig": "build:prod"
"fileReplacements": [
{
"replace": "./src/environments/environment.ts",
"with": "./src/environments/environment.prod.ts"
}
]
}
}
},
"android": {
"executor": "@nativescript/nx:build",
"debug": {
"executor": "@nativescript/nx:debug",
"options": {
"platform": "android"
"noHmr": true,
"uglify": false,
"release": false,
"forDevice": false,
"prepare": false
},
"configurations": {
"build": {
"copyTo": "./dist/build.apk"
},
"prod": {
"combineWithConfig": "build:prod"
}
}
"configurations": {}
},
"clean": {
"executor": "@nativescript/nx:build",
"options": {
"clean": true
}
"executor": "@nativescript/nx:clean",
"options": {}
},
"lint": {
"executor": "@nx/eslint:lint"
}
}
}
}
Loading

0 comments on commit c44e9cb

Please sign in to comment.