mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-10 13:56:35 +03:00
112 lines
2.3 KiB
JSON
112 lines
2.3 KiB
JSON
{
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
"npmScope": "toeverything",
|
|
"tasksRunnerOptions": {
|
|
"default": {
|
|
"runner": "nx-cloud",
|
|
"options": {
|
|
"cacheableOperations": ["build", "test", "e2e", "lint"],
|
|
"accessToken": "YmQ2NTg1ODktZTk5Mi00YzhiLTk2ZmUtNWQzMDg0NDBkOWM3fHJlYWQtb25seQ=="
|
|
}
|
|
}
|
|
},
|
|
"affected": {
|
|
"defaultBase": "master"
|
|
},
|
|
"namedInputs": {
|
|
"default": ["{projectRoot}/**/*", "sharedGlobals"],
|
|
"sharedGlobals": [
|
|
"{workspaceRoot}/tsconfig.json",
|
|
"{workspaceRoot}/nx.json"
|
|
],
|
|
"production": [
|
|
"default",
|
|
"!{projectRoot}/.eslintrc.json",
|
|
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)"
|
|
]
|
|
},
|
|
"targetDefaults": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": [
|
|
"{projectRoot}/dist",
|
|
"{projectRoot}/build",
|
|
"{projectRoot}/out",
|
|
"{projectRoot}/storybook-static"
|
|
],
|
|
"inputs": [
|
|
"{workspaceRoot}/packages/frontend/infra/**/*",
|
|
"{workspaceRoot}/packages/frontend/sdk/**/*",
|
|
{
|
|
"runtime": "node -v"
|
|
},
|
|
{
|
|
"env": "BUILD_TYPE"
|
|
},
|
|
{
|
|
"env": "PERFSEE_TOKEN"
|
|
},
|
|
{
|
|
"env": "SENTRY_ORG"
|
|
},
|
|
{
|
|
"env": "SENTRY_PROJECT"
|
|
},
|
|
{
|
|
"env": "SENTRY_AUTH_TOKEN"
|
|
},
|
|
{
|
|
"env": "NEXT_PUBLIC_SENTRY_DSN"
|
|
},
|
|
{
|
|
"env": "DISTRIBUTION"
|
|
},
|
|
{
|
|
"env": "COVERAGE"
|
|
}
|
|
]
|
|
},
|
|
"e2e": {
|
|
"outputs": ["{workspaceRoot}/.nyc_output", "{projectRoot}/test-results"],
|
|
"inputs": [
|
|
{
|
|
"runtime": "node -v"
|
|
},
|
|
{
|
|
"runtime": "yarn playwright --version"
|
|
}
|
|
]
|
|
},
|
|
"test": {
|
|
"outputs": ["{workspaceRoot}/.nyc_output"],
|
|
"inputs": [
|
|
{
|
|
"env": "ENABLE_PRELOADING"
|
|
},
|
|
{
|
|
"env": "COVERAGE"
|
|
}
|
|
]
|
|
},
|
|
"test:ui": {
|
|
"outputs": ["{workspaceRoot}/.nyc_output"],
|
|
"inputs": [
|
|
{
|
|
"env": "ENABLE_PRELOADING"
|
|
},
|
|
{
|
|
"env": "COVERAGE"
|
|
}
|
|
]
|
|
},
|
|
"test:coverage": {
|
|
"outputs": ["{workspaceRoot}/.nyc_output"],
|
|
"inputs": [
|
|
{
|
|
"env": "ENABLE_PRELOADING"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|