Files
AFFiNE-Mirror/nx.json
T
Himself65 0490baa669 fix: nx build input (#2755)
(cherry picked from commit dff8a0db7d)
2023-06-15 01:11:54 +08:00

90 lines
1.8 KiB
JSON

{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"npmScope": "toeverything",
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": ["build", "test"]
}
}
},
"affected": {
"defaultBase": "master"
},
"implicitDependencies": {
"package.json": {
"dependencies": "*",
"devDependencies": "*"
},
"tsconfig.json": "*",
"nx.json": "*"
},
"namedInputs": {
"default": ["{projectRoot}/**/*"],
"production": ["!{projectRoot}/**/*.spec.tsx"]
},
"targetDefaults": {
"build": {
"dependsOn": ["^build"],
"inputs": [
{
"runtime": "node -v"
},
{
"env": "ENABLE_BOOKMARK_OPERATION"
},
{
"env": "ENABLE_PLUGIN"
},
{
"env": "ENABLE_ALL_PAGE_FILTER"
},
{
"env": "ENABLE_IMAGE_PREVIEW_MODAL"
},
{
"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" }
]
},
"e2e:coverage": {
"dependsOn": ["^build"]
},
"test": {
"dependsOn": ["^build"]
},
"test:ui": {
"dependsOn": ["^build"]
},
"test:coverage": {
"dependsOn": ["^build"]
}
}
}