Skip to content

Conversation

@0xshikhar
Copy link
Contributor

fix(subgraph): clean node_modules before building subgraph

Related Issue(s)

Closes: Issue#876

Other information

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have run yarn format and yarn lint without getting any errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@openzeppelin-code
Copy link

openzeppelin-code bot commented Oct 24, 2024

feat: clean node_modules before building subgraph

Generated at commit: b6767ec246696528c5477d8c12326069c3ac9d45

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
0
0
0
3
15
18
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

Copy link
Member

@vplasencia vplasencia left a 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": {
Copy link
Member

@vplasencia vplasencia Nov 25, 2024

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"
    ],

Copy link
Contributor Author

@0xshikhar 0xshikhar Nov 26, 2024

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.

Copy link
Member

@vplasencia vplasencia left a 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!

@vplasencia vplasencia merged commit 6402551 into semaphore-protocol:main Nov 26, 2024
5 checks passed
FaezehShakouri pushed a commit to FaezehShakouri/semaphore that referenced this pull request Feb 1, 2025
…#884)

* feat(cli): remove @semaphore-protocol/cli prepublish script

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

* refactor(cli): add comment

* refactor(cli): create seperate file for removePrePublishScript function

* refactor(cli): using updatedPackageJsonContent var instead of calling readFileSync again

* fix(subgraph): clean node_modules before building subgraph

* refactor(subgraph): fix: test typo

* refactor(subgraph): refactor: remove nohoist

* refactor(subgraph): refactor: workspaces structure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error when running yarn build:subgraph

2 participants