AFFiNE/nx.json

148 lines
3.2 KiB
JSON
Raw Normal View History

{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"npmScope": "toeverything",
"tasksRunnerOptions": {
"default": {
2023-06-17 14:36:55 +03:00
"runner": "nx-cloud",
"options": {
2023-06-30 20:17:31 +03:00
"cacheableOperations": ["build", "test", "e2e", "lint"],
"accessToken": "YmQ2NTg1ODktZTk5Mi00YzhiLTk2ZmUtNWQzMDg0NDBkOWM3fHJlYWQtb25seQ=="
}
}
},
"affected": {
"defaultBase": "master"
},
"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",
"{projectRoot}/node_modules/.cache",
2023-06-20 08:41:58 +03:00
"{projectRoot}/target",
"{workspaceRoot}/apps/storybook/storybook-static",
2023-06-28 11:40:41 +03:00
"{workspaceRoot}/packages/i18n/src/i18n-generated.ts",
2023-07-01 11:34:30 +03:00
"{workspaceRoot}/packages/native/*.node",
"{workspaceRoot}/packages/storage/*.node",
2023-07-01 11:34:30 +03:00
"{workspaceRoot}/affine.db"
2023-06-19 06:13:59 +03:00
],
2023-06-12 08:06:23 +03:00
"inputs": [
{
"runtime": "node -v"
},
2023-06-28 11:40:41 +03:00
{
"env": "BUILD_ENV"
},
2023-06-12 08:06:23 +03:00
{
"env": "ENABLE_BOOKMARK_OPERATION"
},
{
"env": "ENABLE_PLUGIN"
},
{
"env": "ENABLE_ALL_PAGE_FILTER"
},
{
"env": "ENABLE_TEST_PROPERTIES"
},
{
"env": "ENABLE_LEGACY_PROVIDER"
},
{
"env": "ENABLE_BC_PROVIDER"
},
{
"env": "ENABLE_DEBUG_PAGE"
},
{
"env": "CHANGELOG_URL"
},
{
"env": "ENABLE_PRELOADING"
},
{
"env": "API_SERVER_PROFILE"
},
{
"env": "ENABLE_SQLITE_PROVIDER"
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
]
},
"e2e:coverage": {
2023-06-30 20:17:31 +03:00
"outputs": ["{workspaceRoot}/.nyc_output", "{projectRoot}/test-results"],
"inputs": [
{
"runtime": "node -v"
},
{
"runtime": "yarn playwright --version"
}
]
},
"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:54:21 +03:00
{
"env": "NATIVE_TEST"
},
2023-06-30 20:17:31 +03:00
{
"env": "ENABLE_PRELOADING"
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:54:21 +03:00
{
"env": "NATIVE_TEST"
},
2023-06-30 20:17:31 +03:00
{
"env": "ENABLE_PRELOADING"
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"],
2023-06-30 20:17:31 +03:00
"inputs": [
2023-07-01 11:54:21 +03:00
{
"env": "NATIVE_TEST"
},
2023-06-30 20:17:31 +03:00
{
"env": "ENABLE_PRELOADING"
}
2023-07-01 11:34:30 +03:00
]
}
}
}