Chore: Fix yarn dev (#1501)

* Chore: upgrade turbo & fix yarn dev
This commit is contained in:
Justin Halsall
2026-04-01 12:00:00 +08:00
committed by GitHub
parent ef75ce0198
commit fdac07d52e
5 changed files with 82 additions and 90 deletions

View File

@@ -1,21 +1,42 @@
{
"$schema": "https://turborepo.org/schema.json",
"baseBranch": "origin/master",
"pipeline": {
// These root workspace files are reused in workspaces and may affect their build output
"globalDependencies": [
".eslintrc.js",
".prettierrc",
"lerna.json",
"vite.config.defaults.ts",
"tsconfig.json"
],
"tasks": {
"prepublish": {
"dependsOn": ["^prepublish"],
"outputs": ["lib/**", "es/**", "dist/**", "typings/**"]
"outputs": [
"lib/**",
"es/**",
"dist/**",
"typings/**",
".svelte-kit/**",
"types/**"
]
},
"test": {
"dependsOn": ["^prepublish"]
"dependsOn": ["^prepublish"],
"passThroughEnv": ["PUPPETEER_HEADLESS"]
},
"test:watch": {
"persistent": true
"persistent": true,
"passThroughEnv": ["PUPPETEER_HEADLESS"]
},
"test:update": {},
"dev": {
"test:update": {
"dependsOn": ["^prepublish"],
"persistent": true
"passThroughEnv": ["PUPPETEER_HEADLESS"]
},
"dev": {
// "dependsOn": ["^prepublish"],
"persistent": true,
"cache": false,
"passThroughEnv": ["CLEAR_DIST_DIR"]
},
"lint": {},
"check-types": {}