Skip to content

Commit

Permalink
fix: Include artifacts in noir-contracts package.json (#7339)
Browse files Browse the repository at this point in the history
Ensures artifacts are included in the package when publishing.
  • Loading branch information
spalladino authored Jul 4, 2024
1 parent 56fe4fe commit 7dd87c7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion yarn-project/noir-contracts.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,11 @@
"files": [
"dest",
"src",
"artifacts",
"!*.test.*"
],
"types": "./dest/types/index.d.ts",
"engines": {
"node": ">=18"
}
}
}
8 changes: 7 additions & 1 deletion yarn-project/noir-contracts.js/package.local.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,11 @@
"generate": "yarn generate:noir-contracts",
"generate:noir-contracts": "./scripts/generate-types.sh && run -T prettier -w ./src --loglevel warn",
"clean": "rm -rf ./dest .tsbuildinfo ./artifacts ./src ./codegenCache.json"
}
},
"files": [
"dest",
"src",
"artifacts",
"!*.test.*"
]
}

0 comments on commit 7dd87c7

Please sign in to comment.