mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-02-19 16:22:25 +01:00
64 lines
2.0 KiB
JSON
64 lines
2.0 KiB
JSON
{
|
|
"extends": "nx/presets/npm.json",
|
|
"namedInputs": {
|
|
"sharedGlobals": [
|
|
"{workspaceRoot}/.yarnrc.yml",
|
|
"{workspaceRoot}/patches/*.patch",
|
|
"{workspaceRoot}/package.json"
|
|
],
|
|
"default": ["{projectRoot}/**/*", "sharedGlobals"]
|
|
},
|
|
"tui": {
|
|
"autoExit": true
|
|
},
|
|
"targetDefaults": {
|
|
"build:lib": {
|
|
"dependsOn": [],
|
|
"inputs": [
|
|
"default",
|
|
"{workspaceRoot}/tsconfig.base.json",
|
|
"{workspaceRoot}/tsconfig.lib.json"
|
|
],
|
|
"outputs": ["{projectRoot}/lib", "{projectRoot}/libESM", "{projectRoot}/build"],
|
|
"cache": true
|
|
},
|
|
"type-check": {
|
|
"dependsOn": [
|
|
"^type-check",
|
|
"^guide-pull-content",
|
|
"guide-pull-content",
|
|
"@suite-common/message-system:build:lib"
|
|
],
|
|
"inputs": [
|
|
"default",
|
|
"{workspaceRoot}/tsconfig.base.json",
|
|
"{workspaceRoot}/tsconfig.lib.json"
|
|
],
|
|
"outputs": ["{projectRoot}/libDev"],
|
|
"cache": true
|
|
},
|
|
"test:unit": {
|
|
"dependsOn": ["@suite-common/message-system:build:lib"],
|
|
"inputs": [
|
|
"default",
|
|
"{workspaceRoot}/jest.config.base.js",
|
|
"{workspaceRoot}/jest.config.native.js"
|
|
],
|
|
"cache": true
|
|
},
|
|
"lint:styles": {
|
|
"inputs": ["default", "{workspaceRoot}/.stylelintrc"],
|
|
"outputs": ["{projectRoot}/.stylelintcache"],
|
|
"cache": true
|
|
},
|
|
"depcheck": {
|
|
"inputs": ["default"],
|
|
"cache": true
|
|
}
|
|
},
|
|
"defaultBase": "origin/develop",
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
"nxCloudAccessToken": "NmE2NmFlYTUtN2JhZi00ZmQ3LWEyYzMtYWRkNzc3MTg0YmUyfHJlYWQ=",
|
|
"parallel": 4
|
|
}
|