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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 692 additions and 853 deletions

2
.gitignore vendored
View File

@ -59,3 +59,5 @@ Thumbs.db
/test-results/
/playwright-report/
/playwright/.cache/
.nx/cache

View File

@ -2,3 +2,5 @@ node_modules
src/assets/i18n
/angular.json
docs/**/*.md
/.nx/cache

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

1477
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -79,9 +79,9 @@
"@angular/compiler-cli": "14.1.3",
"@angular/language-service": "14.1.3",
"@cspell/eslint-plugin": "^7.3.6",
"@nx/angular": "16.10.0",
"@nx/eslint-plugin": "16.10.0",
"@nx/workspace": "16.10.0",
"@nx/angular": "17.0.2",
"@nx/eslint-plugin": "17.0.2",
"@nx/workspace": "17.0.2",
"@playwright/test": "^1.37.1",
"@schematics/angular": "14.1.2",
"@types/event-emitter": "^0.3.3",
@ -117,7 +117,7 @@
"lint-staged": "^14.0.1",
"ng-packagr": "^14.2.2",
"node-stream-zip": "^1.14.0",
"nx": "16.10.0",
"nx": "17.0.2",
"prettier": "2.8.8",
"protractor": "~7.0.0",
"protractor-retry-angular-cli": "^2.0.3",
@ -132,3 +132,4 @@
"webdriver-manager": "12.1.8"
}
}