Files
trezor-suite/nx.json
Daniel Suchý a446583d58 chore(ci): Nx for github validations (#6095)
* chore(ci): Nx for github validations

* chore: tune config

* chore: eslint scripts faster and unified settings

* chore: check formatting using nx

* chore: read-only NX token
2022-08-25 18:51:12 +02:00

44 lines
1.2 KiB
JSON

{
"extends": "nx/presets/npm.json",
"tasksRunnerOptions": {
"default": {
"runner": "@nrwl/nx-cloud",
"options": {
"cacheableOperations": [
"lint",
"test:unit",
"type-check",
"lint:js",
"lint:styles",
"build:lib"
],
"accessToken": "NmE2NmFlYTUtN2JhZi00ZmQ3LWEyYzMtYWRkNzc3MTg0YmUyfHJlYWQ=",
"parallel": 5
}
}
},
"targetDefaults": {
"build:lib": {
"dependsOn": ["^build:lib"],
"outputs": ["./lib"]
},
"type-check": {
"dependsOn": ["^build:lib"],
"outputs": []
},
"test:unit": {
"dependsOn": ["^build:lib"],
"outputs": []
},
"lint:js": {
"inputs": ["{projectRoot}/**/*.js", "{projectRoot}/**/*.ts", "{projectRoot}/**/*.tsx"]
},
"lint:styles": {
"inputs": ["{projectRoot}/**/*.tsx"]
}
},
"affected": {
"defaultBase": "origin/develop"
}
}