Skip to content
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

Version/4 #51

Merged
merged 34 commits into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
84cca9a
chore: upgrade semaphore version
cedoor Jan 31, 2024
62b5cf2
chore(webapp): replace localhost with 127.0.0.1
cedoor Feb 1, 2024
2b5f18f
ci: update deployment env variables
cedoor Feb 1, 2024
d3d2cd3
chore(contracts): add script to verify contracts
cedoor Feb 1, 2024
899decf
chore: add files to ignore to prettierignore
cedoor Feb 1, 2024
f94d16e
style: format code with prettier
cedoor Feb 1, 2024
b5ccb69
refactor(web-app): update ui design
cedoor Feb 1, 2024
a8ae3d6
style(web-app): format code with prettier
cedoor Feb 1, 2024
d43ea19
chore(web-app): update pages' text
cedoor Feb 2, 2024
5961c62
ci: update github actions
cedoor Feb 2, 2024
a5cf76f
chore: update semaphore dependencies
cedoor Feb 7, 2024
4742783
Merge pull request #50 from semaphore-protocol/ci/deploy
cedoor Feb 9, 2024
6ebddf7
Merge pull request #49 from semaphore-protocol/chore/localhost
cedoor Feb 9, 2024
4ae36a4
chore: update semaphore dependencies
cedoor Feb 12, 2024
04e7c11
chore(web-app): upgrade nextjs version
cedoor Feb 14, 2024
f4d8179
chore: remove eslint and ts from root package
cedoor Feb 14, 2024
5b1535e
chore: update env variables and gitignore files
cedoor Feb 14, 2024
b4b086a
ci: remove lint command
cedoor Feb 14, 2024
9ccab26
style: format code with prettier
cedoor Feb 14, 2024
9420098
chore(web-app): remove old next config file
cedoor Feb 14, 2024
7317f58
chore(web-app): replace require with import in next config
cedoor Feb 15, 2024
b3ff96b
chore: update semaphore dependencies
cedoor Feb 15, 2024
76d7bcd
chore(web-app): git-ignore pwa generated files
cedoor Feb 16, 2024
7805010
chore(web-app): git-ignore pwa generated files
cedoor Feb 16, 2024
cd2dfb0
chore(web-app): add npm script to lint code
cedoor Feb 16, 2024
04e363f
chore: update lock file
cedoor Feb 16, 2024
6e8ade1
fix(web-app): set alternative string to undefined
cedoor Feb 16, 2024
9f9ea8d
chore: add env variables to git
cedoor Feb 16, 2024
6ffe7de
fix(web-app): set correct env var name
cedoor Feb 16, 2024
07b1365
fix(web-app): add missing use-effect dependency
cedoor Feb 16, 2024
8e4d887
chore(contracts): update tsconfig include paths
cedoor Feb 28, 2024
45d969c
refactor: uopdate yarn version
vplasencia Feb 28, 2024
333731f
refactor(contracts): remove unnecessary command
vplasencia Feb 28, 2024
aa8bc67
refactor: update semaphore dependencies
vplasencia Feb 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
DEFAULT_NETWORK=localhost
INFURA_API_KEY=
ETHEREUM_PRIVATE_KEY=ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
FEEDBACK_CONTRACT_ADDRESS=0x5fc8d32690cc91d4c39d9d3abcbd16989f875707
SEMAPHORE_CONTRACT_ADDRESS=0xdc64a140aa3e981100a9beca4e685f962f0cf6c9
OPENZEPPELIN_AUTOTASK_WEBHOOK=
GROUP_ID=42
REPORT_GAS=false
COINMARKETCAP_API_KEY=
ETHERSCAN_API_KEY=
45 changes: 0 additions & 45 deletions .eslintignore

This file was deleted.

36 changes: 0 additions & 36 deletions .eslintrc.json

This file was deleted.

32 changes: 3 additions & 29 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

env:
DEFAULT_NETWORK: "arbitrum-goerli"
SEMAPHORE_CONTRACT_ADDRESS: "0x3889927F0B5Eb1a02C6E2C20b39a1Bd4EAd76131"
FEEDBACK_CONTRACT_ADDRESS: "0x28227B230d3945e580eD3B1c6c8ea1df658A7AA9"
GROUP_ID: 42
OPENZEPPELIN_AUTOTASK_WEBHOOK: "https://api.defender.openzeppelin.com/autotasks/6e4db9d1-3451-46a4-bdfa-0e802e126aa8/runs/webhook/303216d1-fa7d-4fca-8c5b-7ba1ba544fc7/UEC3SBKDZvEGQv5m391uRU"

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
Expand All @@ -33,33 +26,14 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "16"
node-version: 20
cache: yarn

- name: Setup Pages
uses: actions/configure-pages@v3
with:
# Automatically inject basePath in your Next.js configuration file and disable
# server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized).
# You may remove this line if you want to manage the configuration yourself.
static_site_generator: next

- name: Restore cache
uses: actions/cache@v3
with:
path: |
apps/web-app/.next/cache
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-

- name: Install dependencies
run: yarn
- name: Build with Next.js
Expand Down
22 changes: 3 additions & 19 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,31 +11,15 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "16"

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"

- name: Restore yarn cache
uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
node-version: 20

- name: Install dependencies
run: yarn

- name: Run Prettier
run: yarn prettier

- name: Run Eslint
run: yarn lint
64 changes: 0 additions & 64 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,12 @@ pids
.vscode
.idea

# Cargo
target

# Testing
coverage
coverage.json
*.lcov

# Dependency directories
node_modules/

# TypeScript cache
*.tsbuildinfo

# Output of 'npm pack'
*.tgz

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
Expand All @@ -49,28 +35,11 @@ node_modules/
# Yarn Integrity file
.yarn-integrity

# Generate output
dist
build
cache

# Next.js
.next/
out/

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# Optional npm cache directory
.npm
Expand All @@ -85,36 +54,3 @@ next-env.d.ts
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# The Graph
generated

# Auto Generated PWA files
**/public/sw.js
**/public/workbox-*.js
**/public/worker-*.js
**/public/sw.js.map
**/public/workbox-*.js.map
**/public/worker-*.js.map

#amplify-do-not-edit-begin
amplify/\#current-cloud-backend
amplify/.config/local-*
amplify/logs
amplify/mock-data
amplify/mock-api-resources
amplify/backend/amplify-meta.json
amplify/backend/.temp
build/
dist/
node_modules/
aws-exports.js
awsconfiguration.json
amplifyconfiguration.json
amplifyconfiguration.dart
amplify-build-config.json
amplify-gradle-config.json
amplifytools.xcconfig
.secret-*
**.sample
#amplify-do-not-edit-end
6 changes: 5 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ docs
# production
dist
build
cache
contract-artifacts

# Hardhat files
artifacts
cache
typechain-types

# github
.github/ISSUE_TEMPLATE

Expand Down
28 changes: 0 additions & 28 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

This file was deleted.

786 changes: 0 additions & 786 deletions .yarn/releases/yarn-3.2.1.cjs

This file was deleted.

Loading