mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: nx migrate latest (#9709)
This commit is contained in:
@@ -7,4 +7,7 @@ export default {
|
||||
android: {
|
||||
v8Flags: '--expose_gc',
|
||||
},
|
||||
cli: {
|
||||
packageManager: 'npm',
|
||||
},
|
||||
} as NativeScriptConfig;
|
||||
|
||||
42
apps/automated/project.json
Normal file
42
apps/automated/project.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"root": "apps/automated/",
|
||||
"sourceRoot": "apps/automated/app",
|
||||
"projectType": "application",
|
||||
"prefix": "nativescript",
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "@nativescript/nx:build",
|
||||
"options": {
|
||||
"noHmr": true,
|
||||
"production": true,
|
||||
"uglify": true,
|
||||
"release": true,
|
||||
"forDevice": true
|
||||
}
|
||||
},
|
||||
"ios": {
|
||||
"executor": "@nativescript/nx:build",
|
||||
"options": {
|
||||
"platform": "ios"
|
||||
}
|
||||
},
|
||||
"android": {
|
||||
"executor": "@nativescript/nx:build",
|
||||
"options": {
|
||||
"platform": "android"
|
||||
}
|
||||
},
|
||||
"clean": {
|
||||
"executor": "@nativescript/nx:build",
|
||||
"options": {
|
||||
"clean": true
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"executor": "@nrwl/linter:eslint",
|
||||
"options": {
|
||||
"lintFilePatterns": ["apps/automated/**/*.ts", "apps/automated/src/**/*.html"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"diagnostics": false,
|
||||
"paths": {
|
||||
"~/*": ["src/*"],
|
||||
"tns-core-modules/*": ["@nativescript/core/*"]
|
||||
}
|
||||
}
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"diagnostics": false,
|
||||
"paths": {
|
||||
"~/*": ["src/*"],
|
||||
"tns-core-modules/*": ["@nativescript/core/*"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,4 +8,7 @@ export default {
|
||||
v8Flags: '--expose_gc',
|
||||
suppressCallJSMethodExceptions: false,
|
||||
},
|
||||
cli: {
|
||||
packageManager: 'npm',
|
||||
},
|
||||
} as NativeScriptConfig;
|
||||
|
||||
42
apps/toolbox/project.json
Normal file
42
apps/toolbox/project.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"root": "apps/toolbox/",
|
||||
"sourceRoot": "apps/toolbox/src",
|
||||
"projectType": "application",
|
||||
"prefix": "nativescript",
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "@nativescript/nx:build",
|
||||
"options": {
|
||||
"noHmr": true,
|
||||
"production": true,
|
||||
"uglify": true,
|
||||
"release": true,
|
||||
"forDevice": true
|
||||
}
|
||||
},
|
||||
"ios": {
|
||||
"executor": "@nativescript/nx:build",
|
||||
"options": {
|
||||
"platform": "ios"
|
||||
}
|
||||
},
|
||||
"android": {
|
||||
"executor": "@nativescript/nx:build",
|
||||
"options": {
|
||||
"platform": "android"
|
||||
}
|
||||
},
|
||||
"clean": {
|
||||
"executor": "@nativescript/nx:build",
|
||||
"options": {
|
||||
"clean": true
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"executor": "@nrwl/linter:eslint",
|
||||
"options": {
|
||||
"lintFilePatterns": ["apps/toolbox/**/*.ts", "apps/toolbox/src/**/*.html"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"diagnostics": false,
|
||||
"paths": {
|
||||
"~/*": ["src/*"]
|
||||
}
|
||||
}
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"diagnostics": false,
|
||||
"paths": {
|
||||
"~/*": ["src/*"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,4 +7,7 @@ export default {
|
||||
android: {
|
||||
v8Flags: '--expose_gc',
|
||||
},
|
||||
cli: {
|
||||
packageManager: 'npm',
|
||||
},
|
||||
} as NativeScriptConfig;
|
||||
|
||||
42
apps/ui/project.json
Normal file
42
apps/ui/project.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"root": "apps/ui/",
|
||||
"sourceRoot": "apps/ui/src",
|
||||
"projectType": "application",
|
||||
"prefix": "nativescript",
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "@nativescript/nx:build",
|
||||
"options": {
|
||||
"noHmr": true,
|
||||
"production": true,
|
||||
"uglify": true,
|
||||
"release": true,
|
||||
"forDevice": true
|
||||
}
|
||||
},
|
||||
"ios": {
|
||||
"executor": "@nativescript/nx:build",
|
||||
"options": {
|
||||
"platform": "ios"
|
||||
}
|
||||
},
|
||||
"android": {
|
||||
"executor": "@nativescript/nx:build",
|
||||
"options": {
|
||||
"platform": "android"
|
||||
}
|
||||
},
|
||||
"clean": {
|
||||
"executor": "@nativescript/nx:build",
|
||||
"options": {
|
||||
"clean": true
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"executor": "@nrwl/linter:eslint",
|
||||
"options": {
|
||||
"lintFilePatterns": ["apps/ui/**/*.ts", "apps/ui/src/**/*.html"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"diagnostics": false,
|
||||
"paths": {
|
||||
|
||||
Reference in New Issue
Block a user