mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-02-20 00:33:07 +01:00
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:
13
nx.json
13
nx.json
@@ -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
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user