Skip to content

Commit

Permalink
chore: update turbo dependsOn and inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
sripwoud committed Apr 5, 2024
1 parent b909b1f commit 9af42b8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,22 @@
"pipeline": {
"build": {
"dependsOn": ["^build", "typechain"],
"inputs": ["packages/**/*.{js,ts,sol}"],
"inputs": ["**/tsconfig.json", "packages/**/*.{js,ts,sol}"],
"outputs": ["packages/**/{artifacts,dist,typechain-types}/**"]
},
"//#format:prettier": {
"inputs": [
".prettierrc.json",
".prettierignore",
"*.{js,ts,yml,json,md}",
"{.github,packages,scripts,types}/**/*.{js,ts,yml,json,md}",
"!packages/**/{artifacts,cache,dist,typechain-types}/**"
]
},
"//#format:prettier:write": {
"inputs": [
".prettierrc.json",
".prettierignore",
"*.{js,ts,yml,json,md}",
"{.github,packages,scripts,types}/**/*.{js,ts,yml,json,md}",
"!packages/**/{artifacts,cache,dist,typechain-types}/**"
Expand All @@ -23,6 +27,8 @@
"//#lint:eslint": {
"dependsOn": ["imt.sol#typechain", "lazytower.sol#typechain"],
"inputs": [
".eslintrc.json",
".eslintignore",
"{packages,scripts,types}/**/*.{js,ts}",
"!packages/**/{artifacts,cache,dist,typechain-types}/**"
]
Expand All @@ -32,13 +38,14 @@
},
"//#test:libraries": {
"dependsOn": ["^build"],
"inputs": ["packages/**/*.{js,ts}"]
"inputs": ["jest.config.ts", "packages/**/*.{js,ts}"]
},
"//#test:circuits": {
"dependsOn": [
"^build",
"@zk-kit/baby-jubjub#build",
"@zk-kit/eddsa-poseidon#build",
"@zk-kit/imt#build",
"@zk-kit/poseidon-cipher#build",
"@zk-kit/smt#build",
"@zk-kit/utils#build"
Expand Down

0 comments on commit 9af42b8

Please sign in to comment.