-
Notifications
You must be signed in to change notification settings - Fork 295
feat: clean node_modules before building subgraph #884
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
Merged
Merged
Changes from 6 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
b541fe9
feat(cli): remove @semaphore-protocol/cli prepublish script
0xshikhar bd13fb1
refactor(cli): add comment
0xshikhar 297833e
refactor(cli): create seperate file for removePrePublishScript function
0xshikhar 5da0dec
refactor(cli): using updatedPackageJsonContent var instead of calling…
0xshikhar 32190e7
Merge branch 'semaphore-protocol:main' into main
0xshikhar 656f01d
fix(subgraph): clean node_modules before building subgraph
0xshikhar 8393458
refactor(subgraph): fix: test typo
0xshikhar 0fbd1fc
refactor(subgraph): refactor: remove nohoist
0xshikhar b6767ec
refactor(subgraph): refactor: workspaces structure
0xshikhar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,7 +9,8 @@ | |
| "scripts": { | ||
| "build": "yarn build:libraries && yarn build:subgraph && yarn build:website && yarn build:docs", | ||
| "build:libraries": "yarn workspaces foreach -Apt --no-private run build", | ||
| "build:subgraph": "yarn workspace semaphore-subgraph build:sepolia", | ||
| "clean:subgraph": "rimraf apps/subgraph/node_modules", | ||
| "build:subgraph": "yarn clean:subgraph && yarn workspace semaphore-subgraph build:sepolia", | ||
| "build:website": "yarn workspace semaphore-website build", | ||
| "build:docs": "yarn workspace semaphore-docs build", | ||
| "compile:contracts": "yarn workspace semaphore-contracts compile", | ||
|
|
@@ -27,6 +28,7 @@ | |
| "version:publish": "scripts/publish.ts", | ||
| "version:release": "changelogithub", | ||
| "clean": "scripts/clean-apps.ts && scripts/clean-packages.ts && yarn clean:cli-templates && rimraf node_modules", | ||
| "clean:branch": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +", | ||
| "clean:cli-templates": "scripts/clean-cli-templates.ts", | ||
| "remove:stable-version-field": "scripts/remove-stable-version-field.ts && yarn format:write", | ||
| "precommit": "lint-staged", | ||
|
|
@@ -45,11 +47,16 @@ | |
| "proof-of-membership", | ||
| "monorepo" | ||
| ], | ||
| "workspaces": [ | ||
| "apps/*", | ||
| "packages/*", | ||
| "packages/contracts/contracts" | ||
| ], | ||
| "workspaces": { | ||
|
||
| "packages": [ | ||
| "packages/*", | ||
| "apps/*", | ||
| "packages/contracts/contracts" | ||
| ], | ||
| "nohoist": [ | ||
| "**/semaphore-subgraph/**" | ||
| ] | ||
vplasencia marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| }, | ||
| "packageManager": "yarn@4.1.0", | ||
| "devDependencies": { | ||
| "@commitlint/cli": "^18.6.1", | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.