Skip to content

Commit

Permalink
chore: Update turborepo to v2 (#577)
Browse files Browse the repository at this point in the history
* chore: Update turborepo to v2

* chore: Fix env bursting for e2e run task

Turbo 2 requires being explicit about the env vars consumed
in each task (not inheriting the parent tasks')
vercel/turborepo#8182
  • Loading branch information
franky47 authored Jun 26, 2024
1 parent fe86ba5 commit 8adeb7e
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 36 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"url": "https://github.com/47ng/nuqs"
},
"scripts": {
"dev": "FORCE_COLOR=3 turbo run dev",
"build": "FORCE_COLOR=3 turbo run build",
"test": "FORCE_COLOR=3 turbo run test",
"dev": "turbo run dev",
"build": "turbo run build",
"test": "turbo run test",
"prepare": "husky"
},
"devDependencies": {
Expand All @@ -24,7 +24,7 @@
"husky": "^9.0.11",
"npm-run-all": "^4.1.5",
"semantic-release": "^23.0.8",
"turbo": "^1.13.3",
"turbo": "^2.0.1",
"typescript": "^5.4.5"
},
"packageManager": "[email protected]",
Expand Down
58 changes: 29 additions & 29 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"$schema": "https://turbo.build/schema.v2.json",
"tasks": {
"dev": {
"cache": false,
"persistent": true
Expand All @@ -27,7 +27,7 @@
},
"e2e#test": {
"dependsOn": ["build"],
"env": ["E2E_NO_CACHE_ON_RERUN"]
"env": ["BASE_PATH", "WINDOW_HISTORY_SUPPORT", "E2E_NO_CACHE_ON_RERUN"]
}
}
}

0 comments on commit 8adeb7e

Please sign in to comment.