chore: nx migrate latest (#9709)

This commit is contained in:
Nathan Walker
2021-12-21 18:24:24 -08:00
committed by GitHub
parent a88cacab89
commit 9c6c84b107
29 changed files with 485 additions and 463 deletions

View File

@@ -7,4 +7,7 @@ export default {
android: {
v8Flags: '--expose_gc',
},
cli: {
packageManager: 'npm',
},
} as NativeScriptConfig;

View 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"]
}
}
}
}

View File

@@ -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/*"]
}
}
}

View File

@@ -8,4 +8,7 @@ export default {
v8Flags: '--expose_gc',
suppressCallJSMethodExceptions: false,
},
cli: {
packageManager: 'npm',
},
} as NativeScriptConfig;

42
apps/toolbox/project.json Normal file
View 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"]
}
}
}
}

View File

@@ -1,9 +1,9 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"diagnostics": false,
"paths": {
"~/*": ["src/*"]
}
}
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"diagnostics": false,
"paths": {
"~/*": ["src/*"]
}
}
}

View File

@@ -7,4 +7,7 @@ export default {
android: {
v8Flags: '--expose_gc',
},
cli: {
packageManager: 'npm',
},
} as NativeScriptConfig;

42
apps/ui/project.json Normal file
View 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"]
}
}
}
}

View File

@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"diagnostics": false,
"paths": {