Skip to content

Commit

Permalink
migrate to nx 17 (#3502)
Browse files Browse the repository at this point in the history
* migrate to nx 17

* lock file
  • Loading branch information
DenysVuika authored Oct 31, 2023
1 parent b23bd3e commit 968febf
Show file tree
Hide file tree
Showing 5 changed files with 692 additions and 853 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,5 @@ Thumbs.db
/test-results/
/playwright-report/
/playwright/.cache/

.nx/cache
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ node_modules
src/assets/i18n
/angular.json
docs/**/*.md

/.nx/cache
55 changes: 13 additions & 42 deletions nx.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
}
Loading

0 comments on commit 968febf

Please sign in to comment.