mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-29 02:03:20 +03:00
108 lines
2.3 KiB
JSON
108 lines
2.3 KiB
JSON
{
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
"npmScope": "toeverything",
|
|
"tasksRunnerOptions": {
|
|
"default": {
|
|
"runner": "nx-cloud",
|
|
"options": {
|
|
"cacheableOperations": ["build", "test"],
|
|
"accessToken": "YmQ2NTg1ODktZTk5Mi00YzhiLTk2ZmUtNWQzMDg0NDBkOWM3fHJlYWQtb25seQ=="
|
|
}
|
|
}
|
|
},
|
|
"affected": {
|
|
"defaultBase": "master"
|
|
},
|
|
"namedInputs": {
|
|
"default": ["{projectRoot}/**/*", "sharedGlobals"],
|
|
"packages": ["{workspaceRoot}/packages/**/*"],
|
|
"sharedGlobals": [
|
|
"{workspaceRoot}/tsconfig.json",
|
|
"{workspaceRoot}/nx.json"
|
|
],
|
|
"production": ["default"]
|
|
},
|
|
"targetDefaults": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": [
|
|
"{projectRoot}/dist",
|
|
"{projectRoot}/build",
|
|
"{projectRoot}/out",
|
|
"{projectRoot}/node_modules/.cache",
|
|
"{projectRoot}/target",
|
|
"{workspaceRoot}/apps/web/.next",
|
|
"{workspaceRoot}/packages/storybook/storybook-static",
|
|
"{workspaceRoot}/packages/native/affine.*.node",
|
|
"{workspaceRoot}/affine.db",
|
|
"{workspaceRoot/apps/electron/dist"
|
|
],
|
|
"inputs": [
|
|
"packages",
|
|
{
|
|
"runtime": "node -v"
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"e2e": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": [
|
|
{
|
|
"runtime": "node -v"
|
|
},
|
|
{
|
|
"runtime": "yarn playwright --version"
|
|
}
|
|
]
|
|
},
|
|
"export": {
|
|
"dependsOn": ["build"]
|
|
},
|
|
"dev": {
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"e2e:coverage": {
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"test": {
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"test:ui": {
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"test:coverage": {
|
|
"dependsOn": ["^build"]
|
|
}
|
|
}
|
|
}
|