update to nx 16

This commit is contained in:
zizifn
2023-05-12 22:42:22 +08:00
committed by zizifn
parent 258fd97b6e
commit 0e0935a9a8
21 changed files with 5575 additions and 12526 deletions

View File

@@ -5,7 +5,7 @@
"projectType": "application",
"targets": {
"build": {
"executor": "@nrwl/vite:build",
"executor": "@nx/vite:build",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
@@ -21,7 +21,7 @@
}
},
"serve": {
"executor": "@nrwl/vite:dev-server",
"executor": "@nx/vite:dev-server",
"defaultConfiguration": "development",
"options": {
"buildTarget": "cf-page:build"
@@ -45,14 +45,14 @@
"dependsOn": ["^build"]
},
"test": {
"executor": "@nrwl/vite:test",
"executor": "@nx/vite:test",
"outputs": ["{projectRoot}/coverage"],
"options": {
"passWithNoTests": true
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/cf-page/**/*.{ts,tsx,js,jsx}"]