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/webpack:webpack",
"executor": "@nx/webpack:webpack",
"outputs": ["{options.outputPath}"],
"options": {
"target": "node",
@@ -34,7 +34,7 @@
}
},
"serve": {
"executor": "@nrwl/js:node",
"executor": "@nx/js:node",
"options": {
"buildTarget": "node-vless:build"
},
@@ -45,14 +45,14 @@
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/node-vless/**/*.ts"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/node-vless/jest.config.ts",

View File

@@ -1,4 +1,4 @@
const { composePlugins, withNx } = require('@nrwl/webpack');
const { composePlugins, withNx } = require('@nx/webpack');
// Nx plugins for webpack.
module.exports = composePlugins(withNx(), (config) => {