Skip to content
19 changes: 13 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -45,11 +47,16 @@
"proof-of-membership",
"monorepo"
],
"workspaces": [
"apps/*",
"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.

"packages": [
"packages/*",
"apps/*",
"packages/contracts/contracts"
],
"nohoist": [
"**/semaphore-subgraph/**"
]
},
"packageManager": "yarn@4.1.0",
"devDependencies": {
"@commitlint/cli": "^18.6.1",
Expand Down