mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-02-20 00:33:07 +01:00
62 lines
2.0 KiB
JSON
62 lines
2.0 KiB
JSON
{
|
|
"extends": "nx/presets/npm.json",
|
|
"namedInputs": {
|
|
"sharedGlobals": [
|
|
"{workspaceRoot}/nx.json",
|
|
"{workspaceRoot}/.yarnrc.yml",
|
|
"{workspaceRoot}/patches/*.patch",
|
|
"{workspaceRoot}/package.json",
|
|
"{workspaceRoot}/.github/workflows/*.yml"
|
|
],
|
|
"default": ["{projectRoot}/**/*", "sharedGlobals"],
|
|
"prod": ["default", "!{projectRoot}/**/*.test.{ts,tsx}"]
|
|
},
|
|
"targetDefaults": {
|
|
"build:lib": {
|
|
"dependsOn": ["^build:lib"],
|
|
"inputs": [
|
|
"^prod",
|
|
"{workspaceRoot}/tsconfig.base.json",
|
|
"{workspaceRoot}/tsconfig.lib.json"
|
|
],
|
|
"outputs": ["{projectRoot}/lib", "{projectRoot}/build"],
|
|
"cache": true
|
|
},
|
|
"type-check": {
|
|
"dependsOn": ["^build:lib", "^type-check", "build:lib"],
|
|
"inputs": [
|
|
"^prod",
|
|
"{workspaceRoot}/tsconfig.base.json",
|
|
"{workspaceRoot}/tsconfig.lib.json"
|
|
],
|
|
"outputs": ["{projectRoot}/libDev"],
|
|
"cache": true
|
|
},
|
|
"test:unit": {
|
|
"dependsOn": [],
|
|
"inputs": [
|
|
"^prod",
|
|
"{workspaceRoot}/jest.config.base.js",
|
|
"{workspaceRoot}/jest.config.native.js"
|
|
],
|
|
"cache": true
|
|
},
|
|
"lint:js": {
|
|
"inputs": ["default", "{workspaceRoot}/.eslintrc.js"],
|
|
"outputs": ["{projectRoot}/.eslintcache"],
|
|
"cache": true
|
|
},
|
|
"lint:styles": {
|
|
"inputs": ["default"],
|
|
"outputs": ["{projectRoot}/.stylelintcache"],
|
|
"cache": true
|
|
}
|
|
},
|
|
"affected": {
|
|
"defaultBase": "origin/develop"
|
|
},
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
"nxCloudAccessToken": "NmE2NmFlYTUtN2JhZi00ZmQ3LWEyYzMtYWRkNzc3MTg0YmUyfHJlYWQ=",
|
|
"parallel": 3
|
|
}
|