Skip to content

Commit

Permalink
fix: clean node_modules before build contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
Dozie2001 committed Dec 22, 2024
1 parent a2e8f5a commit b463368
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/subgraph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"private": true,
"scripts": {
"codegen": "node scripts/generate-subgraph.js ${0} && graph codegen",
"codegen:sepolia": "yarn codegen sepolia",
"clean": "rimraf node_modules/@semaphore-protocol/utils",
"codegen:sepolia": "yarn clean && yarn codegen sepolia",
"build": "graph build",
"build:sepolia": "yarn codegen:sepolia && graph build",
"auth": "graph auth --studio",
Expand All @@ -20,7 +21,8 @@
"dependencies": {
"@graphprotocol/graph-cli": "0.78.0",
"@graphprotocol/graph-ts": "0.35.1",
"@semaphore-protocol/utils": "workspace:packages/utils"
"@semaphore-protocol/utils": "workspace:packages/utils",
"rimraf": "^6.0.1"
},
"devDependencies": {
"@types/mustache": "^4.2.2",
Expand Down

0 comments on commit b463368

Please sign in to comment.