- Add USE_DEV_SEED=false branch to bindAll dispatcher - Use dotenv-cli to inject root .env into all Turbo tasks - Add globalDependencies for .env cache invalidation
107 lines
2.3 KiB
JSON
107 lines
2.3 KiB
JSON
{
|
|
"$schema": "https://turborepo.dev/schema.json",
|
|
"globalDependencies": [".env"],
|
|
"globalEnv": [
|
|
"CI",
|
|
"DATABASE_URL",
|
|
"PAYLOAD_SECRET",
|
|
"NODE_ENV",
|
|
"USE_DEV_SEED",
|
|
"WEB_NEXT_SENTRY_DSN",
|
|
"NEXT_PUBLIC_WEB_NEXT_SENTRY_DSN",
|
|
"CMS_SENTRY_DSN",
|
|
"WEB_TANSTACK_SENTRY_DSN",
|
|
"VITE_WEB_TANSTACK_SENTRY_DSN",
|
|
"VITE_GIT_COMMIT_SHA",
|
|
"SENTRY_AUTH_TOKEN",
|
|
"SENTRY_ORG",
|
|
"SENTRY_PROJECT_WEB_NEXT",
|
|
"SENTRY_PROJECT_CMS",
|
|
"SENTRY_PROJECT_WEB_TANSTACK",
|
|
"SENTRY_TRACES_SAMPLE_RATE",
|
|
"SENTRY_ENVIRONMENT",
|
|
"VERCEL_GIT_COMMIT_SHA",
|
|
"NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA",
|
|
"VERCEL_ENV",
|
|
"AUDIT_PSEUDONYM_SALT"
|
|
],
|
|
"boundaries": {
|
|
"tags": {
|
|
"app": {
|
|
"dependencies": {
|
|
"allow": ["app", "core", "core-composition", "feature", "tooling"]
|
|
}
|
|
},
|
|
"feature": {
|
|
"dependencies": {
|
|
"allow": ["core", "feature", "tooling"]
|
|
}
|
|
},
|
|
"core": {
|
|
"dependencies": {
|
|
"allow": ["core", "core-composition", "tooling"]
|
|
}
|
|
},
|
|
"core-composition": {
|
|
"dependencies": {
|
|
"allow": ["core", "core-composition", "feature", "tooling"]
|
|
}
|
|
},
|
|
"tooling": {
|
|
"dependencies": {
|
|
"allow": ["tooling"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": ["dist/**", ".next/**", "!.next/cache/**"]
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"lint": {
|
|
"dependsOn": ["^lint"]
|
|
},
|
|
"test": {
|
|
"dependsOn": []
|
|
},
|
|
"test:e2e": {
|
|
"dependsOn": ["^build"],
|
|
"cache": false
|
|
},
|
|
"typecheck": {
|
|
"dependsOn": []
|
|
},
|
|
"conformance": {
|
|
"inputs": [
|
|
"packages/*/src/feature.manifest.ts",
|
|
"scripts/conformance.mjs",
|
|
"packages/core-eslint/rules/_manifest-ast.js"
|
|
],
|
|
"outputs": []
|
|
},
|
|
"fallow": {
|
|
"inputs": [
|
|
"packages/**/src/**/*.ts",
|
|
"packages/**/src/**/*.tsx",
|
|
"apps/**/src/**/*.ts",
|
|
"apps/**/src/**/*.tsx",
|
|
"scripts/**/*.mjs",
|
|
".fallowrc.json"
|
|
],
|
|
"outputs": []
|
|
},
|
|
"build-storybook": {
|
|
"outputs": ["storybook-static/**"]
|
|
},
|
|
"test:stories": {
|
|
"dependsOn": ["build-storybook"],
|
|
"cache": false
|
|
}
|
|
}
|
|
}
|