migrate to nx 17 (#3502)

* migrate to nx 17

* lock file
This commit is contained in:
Denys Vuika
2023-10-31 19:45:49 +00:00
committed by GitHub
parent b23bd3e25b
commit 968febffb0
5 changed files with 692 additions and 853 deletions

55
nx.json
View File

@@ -1,27 +1,11 @@
{
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": [
"build",
"test",
"lint"
],
"cacheDirectory": "nxcache"
}
}
},
"defaultBase": "develop",
"affected": {
"defaultBase": "develop"
},
"namedInputs": {
"sharedGlobals": [],
"default": [
"{projectRoot}/**/*",
"sharedGlobals"
],
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"production": [
"default",
"!{projectRoot}/tsconfig.spec.json",
@@ -32,41 +16,28 @@
},
"targetDefaults": {
"build": {
"dependsOn": [
"^build"
],
"inputs": [
"production",
"^production"
]
"dependsOn": ["^build"],
"inputs": ["production", "^production"],
"cache": true
},
"test": {
"inputs": [
"default",
"^production",
"{workspaceRoot}/karma.conf.js"
]
"inputs": ["default", "^production", "{workspaceRoot}/karma.conf.js"],
"cache": true
},
"lint": {
"executor": "@angular-eslint/builder:lint",
"outputs": [
"{options.outputFile}"
],
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"{projectRoot}/**/*.ts",
"{projectRoot}/**/*.html"
],
"lintFilePatterns": ["{projectRoot}/**/*.ts", "{projectRoot}/**/*.html"],
"cache": true,
"cacheLocation": ".eslintcache",
"ignorePath": ".eslintignore"
}
},
"cache": true
},
"e2e": {
"inputs": [
"default",
"^production"
]
"inputs": ["default", "^production"]
}
}
},
"cacheDirectory": "nxcache"
}