mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-02-20 00:33:07 +01:00
* 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
44 lines
1.2 KiB
JSON
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"
|
|
}
|
|
}
|