Skip to content

Commit

Permalink
Merge pull request #257 from privacy-scaling-explorations/chore/clean
Browse files Browse the repository at this point in the history
chore: remove unnecessary deps and env variables
  • Loading branch information
ctrlc03 authored Aug 13, 2024
2 parents aa7f3aa + 3402997 commit e0d15d5
Show file tree
Hide file tree
Showing 15 changed files with 33 additions and 1,200 deletions.
1 change: 0 additions & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ env:
NEXT_PUBLIC_APPROVAL_SCHEMA: ${{ vars.NEXT_PUBLIC_APPROVAL_SCHEMA }}
NEXT_PUBLIC_METADATA_SCHEMA: ${{ vars.NEXT_PUBLIC_METADATA_SCHEMA }}
NEXT_PUBLIC_ROUND_ID: ${{ vars.NEXT_PUBLIC_ROUND_ID }}
NEXT_PUBLIC_SKIP_APPROVED_VOTER_CHECK: false
NEXT_PUBLIC_MACI_ADDRESS: ${{ vars.NEXT_PUBLIC_MACI_ADDRESS }}
NEXT_PUBLIC_TALLY_URL: ${{ vars.NEXT_PUBLIC_TALLY_URL }}
NEXT_PUBLIC_WALLETCONNECT_ID: ${{ secrets.NEXT_PUBLIC_WALLETCONNECT_ID }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/contracts-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ env:
NEXT_PUBLIC_APPROVAL_SCHEMA: ${{ vars.NEXT_PUBLIC_APPROVAL_SCHEMA }}
NEXT_PUBLIC_METADATA_SCHEMA: ${{ vars.NEXT_PUBLIC_METADATA_SCHEMA }}
NEXT_PUBLIC_ROUND_ID: ${{ vars.NEXT_PUBLIC_ROUND_ID }}
NEXT_PUBLIC_SKIP_APPROVED_VOTER_CHECK: false
NEXT_PUBLIC_MACI_ADDRESS: ${{ vars.NEXT_PUBLIC_MACI_ADDRESS }}
NEXT_PUBLIC_TALLY_URL: ${{ vars.NEXT_PUBLIC_TALLY_URL }}
NEXT_PUBLIC_WALLETCONNECT_ID: ${{ secrets.NEXT_PUBLIC_WALLETCONNECT_ID }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/coordinator-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ env:
NEXT_PUBLIC_APPROVAL_SCHEMA: ${{ vars.NEXT_PUBLIC_APPROVAL_SCHEMA }}
NEXT_PUBLIC_METADATA_SCHEMA: ${{ vars.NEXT_PUBLIC_METADATA_SCHEMA }}
NEXT_PUBLIC_ROUND_ID: ${{ vars.NEXT_PUBLIC_ROUND_ID }}
NEXT_PUBLIC_SKIP_APPROVED_VOTER_CHECK: false
NEXT_PUBLIC_MACI_ADDRESS: ${{ vars.NEXT_PUBLIC_MACI_ADDRESS }}
NEXT_PUBLIC_TALLY_URL: ${{ vars.NEXT_PUBLIC_TALLY_URL }}
NEXT_PUBLIC_WALLETCONNECT_ID: ${{ secrets.NEXT_PUBLIC_WALLETCONNECT_ID }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ env:
NEXT_PUBLIC_APPROVAL_SCHEMA: ${{ vars.NEXT_PUBLIC_APPROVAL_SCHEMA }}
NEXT_PUBLIC_METADATA_SCHEMA: ${{ vars.NEXT_PUBLIC_METADATA_SCHEMA }}
NEXT_PUBLIC_ROUND_ID: ${{ vars.NEXT_PUBLIC_ROUND_ID }}
NEXT_PUBLIC_SKIP_APPROVED_VOTER_CHECK: false
NEXT_PUBLIC_MACI_ADDRESS: ${{ vars.NEXT_PUBLIC_MACI_ADDRESS }}
NEXT_PUBLIC_TALLY_URL: ${{ vars.NEXT_PUBLIC_TALLY_URL }}
NEXT_PUBLIC_WALLETCONNECT_ID: ${{ secrets.NEXT_PUBLIC_WALLETCONNECT_ID }}
Expand Down
3 changes: 0 additions & 3 deletions packages/interface/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ NEXT_PUBLIC_ADMIN_ADDRESS=
# EAS CONFIGURATION
# -----------------

# Set to true to let anyone vote without an approval attestation
NEXT_PUBLIC_SKIP_APPROVED_VOTER_CHECK=false

# Schema for approved applications and voters
# (optional)
NEXT_PUBLIC_APPROVAL_SCHEMA=0x858e0bc94997c072d762d90440966759b57c8bca892d4c9447d2eeb205f14c69
Expand Down
1 change: 0 additions & 1 deletion packages/interface/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ module.exports = {
{
devDependencies: [
"**/*.test.ts",
"./src/test-msw.ts",
"./src/test-setup.ts",
"./src/lib/eas/*.ts",
"./playwright/**/*.ts",
Expand Down
23 changes: 2 additions & 21 deletions packages/interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,23 @@
"@ethereum-attestation-service/eas-sdk": "^1.5.0",
"@hatsprotocol/sdk-v1-core": "^0.10.0",
"@hookform/resolvers": "^3.3.4",
"@nivo/boxplot": "^0.84.0",
"@nivo/line": "^0.84.0",
"@pinata/sdk": "^2.1.0",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@rainbow-me/rainbowkit": "^2.0.1",
"@rainbow-me/rainbowkit-siwe-next-auth": "^0.4.0",
"@semaphore-protocol/core": "4.0.0-beta.16",
"@semaphore-protocol/data": "4.0.0-beta.16",
"@t3-oss/env-nextjs": "^0.8.0",
"@tailwindcss/forms": "^0.5.7",
"@tanstack/react-query": "^5.24.1",
"@testing-library/react": "^14.1.2",
"@trpc/client": "11.0.0-next-beta.294",
"@trpc/next": "11.0.0-next-beta.294",
"@trpc/react-query": "11.0.0-next-beta.294",
"@trpc/server": "11.0.0-next-beta.294",
"@vercel/blob": "^0.19.0",
"clsx": "^2.1.0",
"cmdk": "^0.2.0",
"date-fns": "^3.6.0",
"dotenv": "^16.4.1",
"ethers": "^6.13.1",
"formidable": "^3.5.1",
"graphql-request": "^6.1.0",
"lowdb": "^1.0.0",
"lucide-react": "^0.316.0",
Expand All @@ -54,15 +46,13 @@
"next-themes": "^0.2.1",
"node-fetch-cache": "^4.1.0",
"nuqs": "^1.17.1",
"p-limit": "^5.0.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.49.3",
"react-icons": "^5.0.1",
"react-markdown": "^9.0.1",
"react-number-format": "^5.3.1",
"react-use": "^17.5.0",
"siwe": "^2.1.4",
"sonner": "^1.4.0",
"superjson": "^2.2.1",
"tailwind-merge": "^2.2.1",
Expand All @@ -78,6 +68,7 @@
"@synthetixio/synpress": "^3.7.3",
"@tailwindcss/typography": "^0.5.10",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^16.0.0",
"@types/eslint": "^8.56.2",
"@types/formidable": "^3.4.5",
"@types/lowdb": "^1.0.15",
Expand Down Expand Up @@ -107,23 +98,13 @@
"happy-dom": "^13.3.2",
"hardhat": "^2.22.3",
"jsdom": "^24.0.0",
"ky": "^1.2.0",
"lint-staged": "^15.2.7",
"msw": "^2.1.5",
"msw-trpc": "2.0.0-beta.0",
"mws": "^2.0.11",
"next-router-mock": "^0.9.11",
"postcss": "^8.4.33",
"prettier": "^3.3.2",
"prettier-plugin-tailwindcss": "^0.5.11",
"prettier-plugin-tailwindcss": "^0.5.14",
"typescript": "^5.3.3"
},
"ct3aMetadata": {
"initVersion": "7.24.1"
},
"msw": {
"workerDirectory": "public"
},
"jest": {
"moduleFileExtensions": [
"js",
Expand Down
Loading

0 comments on commit e0d15d5

Please sign in to comment.