Skip to content

Commit

Permalink
Upgrade to turbo v2 (#11705)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored Aug 15, 2024
1 parent b860a99 commit 4a2cb3d
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 77 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"only-allow": "^1.2.1",
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1",
"turbo": "^1.13.4",
"turbo": "^2.0.12",
"typescript": "~5.5.4",
"typescript-eslint": "^8.0.1"
},
Expand Down
60 changes: 30 additions & 30 deletions pnpm-lock.yaml

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

111 changes: 65 additions & 46 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -1,48 +1,67 @@
{
"$schema": "https://turborepo.org/schema.json",
"pipeline": {
"build": {
"dependsOn": ["^build"],
"inputs": [
"**/*",
"!test/**/*",
"!e2e/**/*",
"!performance/**/*",
"!.astro/**/*",
"!.cache/**/*",
"!mod.js",
"!mod.js.map"
],
"outputs": ["dist/**/*", "!vendor/**", "mod.js", "mod.js.map"],
"outputMode": "new-only"
},
"build:ci": {
"dependsOn": ["^build:ci"],
"inputs": [
"**/*",
"!test/**/*",
"!e2e/**/*",
"!performance/**/*",
"!.astro/**/*",
"!.cache/**/*",
"!mod.js",
"!mod.js.map"
],
"outputs": ["dist/**/*", "!vendor/**", "mod.js", "mod.js.map"],
"outputMode": "new-only"
},
"dev": {
"cache": false,
"persistent": true
},
"test": {
"dependsOn": ["^test"],
"env": ["RUNNER_OS", "NODE_VERSION"],
"outputMode": "new-only"
},
"test:hosted": {
"outputMode": "new-only",
"cache": false
}
}
"$schema": "https://turborepo.org/schema.json",
"tasks": {
"build": {
"dependsOn": [
"^build"
],
"inputs": [
"**/*",
"!test/**/*",
"!e2e/**/*",
"!performance/**/*",
"!.astro/**/*",
"!.cache/**/*",
"!mod.js",
"!mod.js.map"
],
"outputs": [
"dist/**/*",
"!vendor/**",
"mod.js",
"mod.js.map"
],
"outputLogs": "new-only"
},
"build:ci": {
"dependsOn": [
"^build:ci"
],
"inputs": [
"**/*",
"!test/**/*",
"!e2e/**/*",
"!performance/**/*",
"!.astro/**/*",
"!.cache/**/*",
"!mod.js",
"!mod.js.map"
],
"outputs": [
"dist/**/*",
"!vendor/**",
"mod.js",
"mod.js.map"
],
"outputLogs": "new-only"
},
"dev": {
"cache": false,
"persistent": true
},
"test": {
"dependsOn": [
"^test"
],
"env": [
"RUNNER_OS",
"NODE_VERSION"
],
"outputLogs": "new-only"
},
"test:hosted": {
"cache": false,
"outputLogs": "new-only"
}
}
}

0 comments on commit 4a2cb3d

Please sign in to comment.