Upgrade to Nx 17 (#2545)

* Upgrade to Nx 17

* Update changelog
This commit is contained in:
Rahul RK
2023-10-26 23:05:56 +05:30
committed by GitHub
parent f5ad1d2d24
commit f3c2fb853d
6 changed files with 2713 additions and 2545 deletions

36
nx.json
View File

@ -2,23 +2,6 @@
"affected": {
"defaultBase": "origin/main"
},
"npmScope": "ghostfolio",
"tasksRunnerOptions": {
"default": {
"runner": "nx-cloud",
"options": {
"accessToken": "Mjg0ZGQ2YjAtNGI4NS00NmYwLThhOWEtMWZmNmQzODM4YzU4fHJlYWQ=",
"cacheableOperations": [
"build",
"lint",
"test",
"e2e",
"build-storybook"
],
"parallel": 1
}
}
},
"defaultProject": "api",
"generators": {
"@nx/angular:application": {
@ -37,13 +20,16 @@
"targetDefaults": {
"build": {
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
"inputs": ["production", "^production"],
"cache": true
},
"e2e": {
"inputs": ["default", "^production"]
"inputs": ["default", "^production"],
"cache": true
},
"test": {
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"]
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
"cache": true
},
"build-storybook": {
"inputs": [
@ -52,7 +38,11 @@
"{workspaceRoot}/.storybook/**/*",
"{projectRoot}/.storybook/**/*",
"{projectRoot}/tsconfig.storybook.json"
]
],
"cache": true
},
"lint": {
"cache": true
}
},
"namedInputs": {
@ -72,5 +62,7 @@
"!{projectRoot}/tsconfig.storybook.json",
"!{projectRoot}/src/test-setup.[jt]s"
]
}
},
"nxCloudAccessToken": "Mjg0ZGQ2YjAtNGI4NS00NmYwLThhOWEtMWZmNmQzODM4YzU4fHJlYWQ=",
"parallel": 1
}