Skip to content

Commit

Permalink
Update turbo to 2.0 (penumbra-zone#1692)
Browse files Browse the repository at this point in the history
  • Loading branch information
grod220 authored Aug 14, 2024
1 parent fa50971 commit 2630531
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 51 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"eslint-plugin-react-refresh": "^0.4.8",
"eslint-plugin-storybook": "0.9.0--canary.156.ed236ca.0",
"eslint-plugin-tailwindcss": "^3.17.4",
"eslint-plugin-turbo": "^1.13.4",
"eslint-plugin-turbo": "^2.0.12",
"eslint-plugin-vitest": "^0.5.4",
"jsdom": "^24.0.0",
"playwright": "^1.44.0",
Expand All @@ -82,7 +82,7 @@
"tailwindcss": "^3.4.3",
"tailwindcss-animate": "^1.0.7",
"tsc-watch": "^6.2.0",
"turbo": "^1.13.3",
"turbo": "^2.0.12",
"typescript": "5.5.3",
"typescript-eslint": "^7.16.0",
"vite": "^5.2.11",
Expand Down
68 changes: 34 additions & 34 deletions pnpm-lock.yaml

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

62 changes: 47 additions & 15 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,62 @@
"$schema": "https://turbo.build/schema.json",
"globalDependencies": ["**/.env.*local"],
"globalEnv": ["DEV"],
"pipeline": {
"//#clean:vitest-mjs": { "cache": false },
"//#format:prettier": { "cache": false },
"//#format:syncpack": { "cache": false },
"//#lint:prettier": { "cache": false },
"//#lint:syncpack": { "cache": false },
"tasks": {
"//#clean:vitest-mjs": {
"cache": false
},
"//#format:prettier": {
"cache": false
},
"//#format:syncpack": {
"cache": false
},
"//#lint:prettier": {
"cache": false
},
"//#lint:syncpack": {
"cache": false
},
"build": {
"dependsOn": ["compile", "proto", "^build"],
"dotEnv": [".env"],
"outputs": ["dist/**", "*.tsbuildinfo"]
},
"proto": {
"dependsOn": ["^proto"],
"inputs": ["package.json", "buf.gen.yaml", "proto/**"],
"outputs": ["gen/**"]
},
"clean": { "cache": false, "dependsOn": ["//#clean:vitest-mjs"] },
"clean": {
"cache": false,
"dependsOn": ["//#clean:vitest-mjs"]
},
"compile": {
"inputs": ["crate/src/**", "crate/Cargo.toml", "crate/Cargo.lock"],
"outputs": ["wasm/**"]
},
"dev:app": { "dependsOn": ["compile", "proto"], "persistent": true },
"dev:compile": { "dependsOn": ["compile"], "persistent": true },
"dev:pack": { "dependsOn": ["build"], "persistent": true },
"format": { "dependsOn": ["//#format:syncpack", "//#format:prettier", "format:rust"] },
"format:rust": { "cache": false },
"host": { "cache": false, "dependsOn": ["build"], "persistent": true },
"dev:app": {
"dependsOn": ["compile", "proto"],
"persistent": true
},
"dev:compile": {
"dependsOn": ["compile"],
"persistent": true
},
"dev:pack": {
"dependsOn": ["build"],
"persistent": true
},
"format": {
"dependsOn": ["//#format:syncpack", "//#format:prettier", "format:rust"]
},
"format:rust": {
"cache": false
},
"host": {
"cache": false,
"dependsOn": ["build"],
"persistent": true
},
"lint": {
"dependsOn": ["//#lint:syncpack", "//#lint:prettier", "compile", "proto"],
"inputs": ["components", "lib", "src", "wasm", "package.json"]
Expand All @@ -45,7 +74,10 @@
"dependsOn": ["compile"],
"inputs": ["crate/src/**", "crate/Cargo.toml", "crate/Cargo.lock", "crate/tests/**"]
},
"test": { "cache": false, "dependsOn": ["compile", "proto"] },
"test": {
"cache": false,
"dependsOn": ["compile", "proto"]
},
"test:wasm": {
"dependsOn": ["compile"],
"inputs": ["crate/src/**", "crate/Cargo.toml", "crate/Cargo.lock", "crate/tests/**"]
Expand Down

0 comments on commit 2630531

Please sign in to comment.