88 lines
2.2 KiB
JSON
88 lines
2.2 KiB
JSON
{
|
|
"$schema": "https://turborepo.org/schema.json",
|
|
"remoteCache": { "signature": true },
|
|
"globalEnv": ["CI", "NODE_ENV", "SKIP_ENV_VALIDATION"],
|
|
"ui": "stream",
|
|
"futureFlags": {
|
|
"affectedUsingTaskInputs": true
|
|
},
|
|
"tasks": {
|
|
"topo": {
|
|
"dependsOn": ["^topo"],
|
|
"inputs": ["package.json"]
|
|
},
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"env": ["TURBO_PLATFORM"],
|
|
"inputs": [
|
|
"$TURBO_DEFAULT$",
|
|
"!**/*.test.ts",
|
|
"!**/*.test.tsx",
|
|
"!**/*.spec.ts",
|
|
"!**/__tests__/**",
|
|
"!**/*.md",
|
|
"!**/*.mdx",
|
|
"!**/README*",
|
|
"!**/CHANGELOG*",
|
|
"!**/LICENSE*",
|
|
"!**/*.stories.{ts,tsx}"
|
|
],
|
|
"outputs": [
|
|
".next/**",
|
|
"!.next/cache/**",
|
|
"next-env.d.ts",
|
|
".output/**",
|
|
".vercel/output/**",
|
|
"build/**",
|
|
"public/__widget-editor/**"
|
|
]
|
|
},
|
|
"@homarr/cli#build": {
|
|
"outputs": ["cli.cjs"]
|
|
},
|
|
"@homarr/nextjs#build": {
|
|
"dependsOn": ["^build"],
|
|
"env": ["TURBO_PLATFORM"],
|
|
"inputs": [
|
|
"$TURBO_DEFAULT$",
|
|
"../../packages/widget-sdk/src/**",
|
|
"../../packages/widget-sdk/package.json",
|
|
"../../packages/custom-widgets/src/workbench/package-language/**",
|
|
"../../packages/custom-widgets/scripts/*editor*.ts",
|
|
"../../pnpm-lock.yaml"
|
|
],
|
|
"outputs": [".next/**", "!.next/cache/**", "next-env.d.ts", "public/__widget-editor/**"]
|
|
},
|
|
"@homarr/db#build": {
|
|
"outputs": ["migrations/sqlite/migrate.cjs", "migrations/mysql/migrate.cjs", "migrations/postgresql/migrate.cjs"]
|
|
},
|
|
"@homarr/docs#build": {
|
|
"inputs": ["$TURBO_DEFAULT$", "../../packages/definitions/src/docs/**"],
|
|
"outputs": ["build/**", ".docusaurus/**"]
|
|
},
|
|
"dev": {
|
|
"persistent": true,
|
|
"cache": false
|
|
},
|
|
"format": {
|
|
"inputs": ["$TURBO_DEFAULT$"],
|
|
"outputLogs": "new-only"
|
|
},
|
|
"lint": {
|
|
"dependsOn": ["^topo"],
|
|
"inputs": ["$TURBO_DEFAULT$"]
|
|
},
|
|
"typecheck": {
|
|
"dependsOn": ["^topo"],
|
|
"inputs": ["$TURBO_DEFAULT$"],
|
|
"outputs": ["node_modules/.cache/tsbuildinfo.json"]
|
|
},
|
|
"clean": {
|
|
"cache": false
|
|
},
|
|
"//#clean": {
|
|
"cache": false
|
|
}
|
|
}
|
|
}
|