-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: clean node_modules before building subgraph #884
Conversation
The idea is to remove the prepublish script from the scripts object of the package.json file of every cli template when the template is downloaded using the CLI. BREAKING CHANGE: n
… readFileSync again
feat: clean node_modules before building subgraph
🚨 Report Summary
For more details view the full report in OpenZeppelin Code Inspector |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @0xshikhar thank you very much for this PR. I just left one comment.
package.json
Outdated
"packages/*", | ||
"packages/contracts/contracts" | ||
], | ||
"workspaces": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you keep this section as it was before?
"workspaces": [
"apps/*",
"packages/*",
"packages/contracts/contracts"
],
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure @vplasencia , done that change on the file. Let me know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @0xshikhar! 🚀
Thank you very much!
fix(subgraph): clean node_modules before building subgraph
Related Issue(s)
Closes: Issue#876
Other information
Checklist
yarn format
andyarn lint
without getting any errors