AFFiNE/nx.json

103 lines
2.2 KiB
JSON
Raw Normal View History

{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"npmScope": "toeverything",
2024-01-16 09:41:45 +03:00
"nxCloudAccessToken": "MzUwNTU4YWItZGFhYi00YjE2LWIxODAtODk4NmIwYjMwYzZkfHJlYWQ=",
"tasksRunnerOptions": {
"default": {
2024-01-18 11:18:37 +03:00
"runner": "nx-cloud",
"options": {
2023-06-30 20:17:31 +03:00
"cacheableOperations": ["build", "test", "e2e", "lint"],
2024-01-16 09:41:45 +03:00
"runtimeCacheInputs": ["node -v"]
}
}
},
"affected": {
"defaultBase": "canary"
},
"namedInputs": {
2023-06-12 07:05:00 +03:00
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"sharedGlobals": [
"{workspaceRoot}/tsconfig.json",
"{workspaceRoot}/nx.json"
],
2023-06-30 20:17:31 +03:00
"production": [
"default",
"!{projectRoot}/.eslintrc.json",
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)"
]
},
"targetDefaults": {
"build": {
2023-06-12 08:06:23 +03:00
"dependsOn": ["^build"],
2023-06-19 06:13:59 +03:00
"outputs": [
"{projectRoot}/dist",
"{projectRoot}/build",
"{projectRoot}/out",
2023-09-07 09:54:28 +03:00
"{projectRoot}/storybook-static"
2023-06-19 06:13:59 +03:00
],
2023-06-12 08:06:23 +03:00
"inputs": [
"{workspaceRoot}/packages/frontend/infra/**/*",
"{workspaceRoot}/packages/frontend/sdk/**/*",
2023-06-12 08:06:23 +03:00
{
"runtime": "node -v"
},
2023-06-28 11:40:41 +03:00
{
2023-07-03 09:17:13 +03:00
"env": "BUILD_TYPE"
2023-07-20 05:44:50 +03:00
},
{
"env": "PERFSEE_TOKEN"
},
{
"env": "SENTRY_ORG"
},
{
"env": "SENTRY_PROJECT"
},
{
"env": "SENTRY_AUTH_TOKEN"
},
{
"env": "SENTRY_DSN"
2023-07-20 05:44:50 +03:00
},
{
"env": "DISTRIBUTION"
},
{
"env": "COVERAGE"
2023-06-12 08:06:23 +03:00
}
]
},
"e2e": {
2023-06-30 20:17:31 +03:00
"outputs": ["{workspaceRoot}/.nyc_output", "{projectRoot}/test-results"],
2023-06-12 08:06:23 +03:00
"inputs": [
2023-06-17 14:36:55 +03:00
{
"runtime": "node -v"
},
{
"runtime": "yarn playwright --version"
}
2023-06-12 08:06:23 +03:00
]
},
"test": {
2023-07-01 11:34:30 +03:00
"outputs": ["{workspaceRoot}/.nyc_output"],
2023-06-30 20:17:31 +03:00
"inputs": [
2023-07-01 11:34:30 +03:00
{
"env": "COVERAGE"
2023-06-30 20:17:31 +03:00
}
2023-07-01 11:34:30 +03:00
]
},
"test:ui": {
2023-07-01 11:34:30 +03:00
"outputs": ["{workspaceRoot}/.nyc_output"],
2023-06-30 20:17:31 +03:00
"inputs": [
2023-07-01 11:34:30 +03:00
{
"env": "COVERAGE"
2023-06-30 20:17:31 +03:00
}
2023-07-01 11:34:30 +03:00
]
},
"test:coverage": {
2023-07-01 11:34:30 +03:00
"outputs": ["{workspaceRoot}/.nyc_output"],
"inputs": []
}
}
}