chore(repo): config cleanups and improvements (TS, Nx...) (#11096)

* chore(repo): config cleanups and improvements (TS, Nx...)

* fix connect e2e

* chore: add eslin cache file to nx cache

* chore: add stylelint cache file to nx

* chore: add ts-node config for to base.tsconfig.json
This commit is contained in:
Daniel Suchý
2024-02-09 13:11:35 +01:00
committed by GitHub
parent 1dba0d282a
commit acf9a7f19c
146 changed files with 427 additions and 247 deletions

13
nx.json
View File

@@ -15,24 +15,24 @@
"dependsOn": ["^build:lib"],
"inputs": [
"^prod",
"{workspaceRoot}/tsconfig.json",
"{workspaceRoot}/tsconfig.base.json",
"{workspaceRoot}/tsconfig.lib.json"
],
"outputs": ["{projectRoot}/lib", "{projectRoot}/build"],
"cache": true
},
"type-check": {
"dependsOn": ["^build:lib", "^type-check"],
"dependsOn": ["^build:lib", "^type-check", "build:lib"],
"inputs": [
"^prod",
"{workspaceRoot}/tsconfig.json",
"{workspaceRoot}/tsconfig.base.json",
"{workspaceRoot}/tsconfig.lib.json"
],
"outputs": ["{projectRoot}/libDev"],
"cache": true
},
"test:unit": {
"dependsOn": ["^build:lib"],
"dependsOn": ["^build:lib", "build:lib"],
"inputs": [
"^prod",
"{workspaceRoot}/jest.config.base.js",
@@ -42,13 +42,12 @@
},
"lint:js": {
"inputs": ["default", "{workspaceRoot}/.eslintrc.js"],
"outputs": ["{projectRoot}/.eslintcache"],
"cache": true
},
"lint:styles": {
"inputs": ["default"],
"cache": true
},
"lint": {
"outputs": ["{projectRoot}/.stylelintcache"],
"cache": true
}
},