diff --git a/package.json b/package.json index 49d1ea6..046b9b6 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "markdownlint-cli": "^0.31.1", "prettier": "2.8.4", "rollup-plugin-visualizer": "^5.12.0", - "turbo": "^2.0.4", + "turbo": "2.8.7", "typescript": "^5.4.5" }, "scripts": { diff --git a/turbo.json b/turbo.json index cb0070f..8d2817c 100644 --- a/turbo.json +++ b/turbo.json @@ -1,13 +1,5 @@ { "$schema": "https://turborepo.org/schema.json", - // These root workspace files are reused in workspaces and may affect their build output - "globalDependencies": [ - ".eslintrc.js", - ".prettierrc", - "vite.config.defaults.ts", - "tsconfig.json" - ], - "globalPassThroughEnv": ["PUPPETEER_HEADLESS", "DISABLE_WORKER_INLINING"], "tasks": { "prepublish": { "dependsOn": ["^prepublish"], @@ -38,7 +30,15 @@ "lint": {}, "check-types": { "dependsOn": ["^prepublish"] + }, + "build": { + "dependsOn": ["^build"], + "outputs": [ + "lib/**", + "es/**", + "dist/**", + "typings/**" + ] } - }, - "extends": ["//"] + } }