mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-06 20:13:35 +09:00
Since storybook is able to build from packages sources we no longer need to run build script before storybook. It can reduce build time for 30-60s
24 lines
548 B
JSON
24 lines
548 B
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"globalEnv": ["AUTH_SECRET", "DATABASE_URL", "NODE_ENV"],
|
|
"pipeline": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": ["lib/**", "dist/**", "build/**", "api/**", "public/build/**"]
|
|
},
|
|
"dts": {
|
|
"dependsOn": ["build", "^dts"],
|
|
"outputs": ["lib/types/**"]
|
|
},
|
|
"checks": {
|
|
"dependsOn": ["build", "^checks"]
|
|
},
|
|
"storybook:build": {
|
|
"outputs": ["storybook-static/**"]
|
|
},
|
|
"size-test": {
|
|
"dependsOn": ["^build"]
|
|
}
|
|
}
|
|
}
|