Skip to content

Commit 58310b5

Browse files
vplasenciacedoor
authored andcommitted
feat(cli-template-hardhat-nextjs-semaphoresubgraph): add hardhat-nextjs-semaphoresubgraph template
1 parent eb997a8 commit 58310b5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2686
-23
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#root = true
2+
3+
[*]
4+
indent_style = space
5+
end_of_line = lf
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
max_line_length = 120
10+
indent_size = 4
11+
12+
[*.md]
13+
trim_trailing_whitespace = false
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
DEFAULT_NETWORK=localhost
2+
INFURA_API_KEY=
3+
ETHEREUM_PRIVATE_KEY=ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
4+
FEEDBACK_CONTRACT_ADDRESS=0x5fc8d32690cc91d4c39d9d3abcbd16989f875707
5+
SEMAPHORE_CONTRACT_ADDRESS=0xdc64a140aa3e981100a9beca4e685f962f0cf6c9
6+
OPENZEPPELIN_AUTOTASK_WEBHOOK=
7+
GROUP_ID=42
8+
REPORT_GAS=false
9+
COINMARKETCAP_API_KEY=
10+
ETHERSCAN_API_KEY=
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# dependencies
2+
node_modules
3+
package-lock.json
4+
yarn.lock
5+
.yarn
6+
7+
# testing
8+
coverage
9+
coverage.json
10+
11+
# docs
12+
docs
13+
14+
# types
15+
types
16+
17+
# production
18+
dist
19+
build
20+
cache
21+
contract-artifacts
22+
23+
# misc
24+
.DS_Store
25+
*.pem
26+
27+
# debug
28+
npm-debug.log*
29+
yarn-debug.log*
30+
yarn-error.log*
31+
32+
# Next.js
33+
.next/
34+
out/
35+
36+
# The Graph
37+
generated
38+
39+
# Auto Generated PWA files
40+
**/public/sw.js
41+
**/public/workbox-*.js
42+
**/public/worker-*.js
43+
**/public/sw.js.map
44+
**/public/workbox-*.js.map
45+
**/public/worker-*.js.map
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"root": true,
3+
"env": {
4+
"es6": true
5+
},
6+
"extends": ["airbnb-base", "airbnb-typescript/base", "prettier"],
7+
"parser": "@typescript-eslint/parser",
8+
"parserOptions": {
9+
"ecmaVersion": 6,
10+
"sourceType": "module",
11+
"project": ["./**/tsconfig.json"]
12+
},
13+
"plugins": ["@typescript-eslint"],
14+
"rules": {
15+
"no-underscore-dangle": "off",
16+
"no-alert": "off",
17+
"no-nested-ternary": "off",
18+
"import/no-extraneous-dependencies": "off",
19+
"import/extensions": "off",
20+
"import/no-relative-packages": "off",
21+
"no-await-in-loop": "off",
22+
"no-bitwise": "off",
23+
"no-restricted-syntax": "off",
24+
"no-console": ["warn", { "allow": ["info", "warn", "error"] }],
25+
"@typescript-eslint/lines-between-class-members": "off",
26+
"no-param-reassign": "off",
27+
"@typescript-eslint/naming-convention": [
28+
"error",
29+
{
30+
"selector": "variable",
31+
"format": ["camelCase", "PascalCase", "UPPER_CASE", "snake_case"],
32+
"leadingUnderscore": "allow"
33+
}
34+
]
35+
}
36+
}
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
.pnpm-debug.log*
9+
10+
# Diagnostic reports (https://nodejs.org/api/report.html)
11+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12+
13+
# Runtime data
14+
pids
15+
*.pid
16+
*.seed
17+
*.pid.lock
18+
19+
# IDE
20+
.vscode
21+
.idea
22+
23+
# Cargo
24+
target
25+
26+
# Testing
27+
coverage
28+
coverage.json
29+
*.lcov
30+
31+
# Dependency directories
32+
node_modules/
33+
34+
# TypeScript cache
35+
*.tsbuildinfo
36+
37+
# Output of 'npm pack'
38+
*.tgz
39+
40+
# Optional eslint cache
41+
.eslintcache
42+
43+
# Microbundle cache
44+
.rpt2_cache/
45+
.rts2_cache_cjs/
46+
.rts2_cache_es/
47+
.rts2_cache_umd/
48+
49+
# Yarn Integrity file
50+
.yarn-integrity
51+
52+
# Generate output
53+
dist
54+
build
55+
cache
56+
57+
# Next.js
58+
.next/
59+
out/
60+
61+
# vercel
62+
.vercel
63+
64+
# typescript
65+
*.tsbuildinfo
66+
next-env.d.ts
67+
68+
# dotenv environment variable files
69+
.env
70+
.env.development.local
71+
.env.test.local
72+
.env.production.local
73+
.env.local
74+
75+
# Optional npm cache directory
76+
.npm
77+
.DS_Store
78+
79+
# yarn v3
80+
.pnp.*
81+
.pnp.js
82+
.yarn/*
83+
!.yarn/patches
84+
!.yarn/plugins
85+
!.yarn/releases
86+
!.yarn/sdks
87+
!.yarn/versions
88+
89+
# The Graph
90+
generated
91+
92+
# Auto Generated PWA files
93+
**/public/sw.js
94+
**/public/workbox-*.js
95+
**/public/worker-*.js
96+
**/public/sw.js.map
97+
**/public/workbox-*.js.map
98+
**/public/worker-*.js.map
99+
100+
#amplify-do-not-edit-begin
101+
amplify/\#current-cloud-backend
102+
amplify/.config/local-*
103+
amplify/logs
104+
amplify/mock-data
105+
amplify/mock-api-resources
106+
amplify/backend/amplify-meta.json
107+
amplify/backend/.temp
108+
build/
109+
dist/
110+
node_modules/
111+
aws-exports.js
112+
awsconfiguration.json
113+
amplifyconfiguration.json
114+
amplifyconfiguration.dart
115+
amplify-build-config.json
116+
amplify-gradle-config.json
117+
amplifytools.xcconfig
118+
.secret-*
119+
**.sample
120+
#amplify-do-not-edit-end
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# dependencies
2+
node_modules
3+
package-lock.json
4+
yarn.lock
5+
.yarn
6+
7+
# testing
8+
coverage
9+
coverage.json
10+
11+
# docs
12+
docs
13+
14+
# production
15+
dist
16+
build
17+
cache
18+
contract-artifacts
19+
20+
# github
21+
.github/ISSUE_TEMPLATE
22+
23+
# misc
24+
.DS_Store
25+
*.pem
26+
27+
# debug
28+
npm-debug.log*
29+
yarn-debug.log*
30+
yarn-error.log*
31+
32+
# Next.js
33+
.next/
34+
out/
35+
36+
# The Graph
37+
generated
38+
39+
# Auto Generated PWA files
40+
**/public/sw.js
41+
**/public/workbox-*.js
42+
**/public/worker-*.js
43+
**/public/sw.js.map
44+
**/public/workbox-*.js.map
45+
**/public/worker-*.js.map
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"semi": false,
3+
"arrowParens": "always",
4+
"trailingComma": "none"
5+
}

packages/cli-template-hardhat-nextjs-semaphoresubgraph/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Lines changed: 28 additions & 0 deletions
Large diffs are not rendered by default.

packages/cli-template-hardhat-nextjs-semaphoresubgraph/.yarn/releases/yarn-3.2.1.cjs

Lines changed: 786 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
checksumBehavior: update
2+
3+
nodeLinker: node-modules
4+
5+
plugins:
6+
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
7+
spec: "@yarnpkg/plugin-workspace-tools"
8+
9+
yarnPath: .yarn/releases/yarn-3.2.1.cjs

0 commit comments

Comments
 (0)