Skip to content

Commit f2df082

Browse files
authored
Merge pull request #31 from memoriaXII/renovate/v2
renovate/v2
2 parents a01d873 + 149d0b4 commit f2df082

File tree

230 files changed

+15964
-1967
lines changed

Some content is hidden

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

230 files changed

+15964
-1967
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ""
5+
labels: ""
6+
assignees: ""
7+
---
8+
9+
**Describe the bug**
10+
A clear and concise description of what the bug is.
11+
12+
**To Reproduce**
13+
Steps to reproduce the behavior:
14+
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Additional context**
27+
Add any other context about the problem here.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ""
5+
labels: ""
6+
assignees: ""
7+
---
8+
9+
**Please describe the problem you're having.**
10+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
11+
12+
**Screenshots**
13+
If applicable, add screenshots to help explain your problem.
14+
15+
**Additional context**
16+
Add any other context or screenshots about the feature request here.

.github/pull_request_template.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Task:
2+
3+
## Description
4+
5+
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
6+
7+
Fixes (linear-task)
8+
9+
## Type of change
10+
11+
- [ ] New feature
12+
- [ ] Bug fix
13+
- [ ] Testing code
14+
- [ ] Document update or config files

.husky/pre-commit

Lines changed: 0 additions & 4 deletions
This file was deleted.

README.md

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@
22

33
<img width="1254" alt="Screenshot 2023-01-18 at 5 25 01 PM" src="https://user-images.githubusercontent.com/56249189/213133544-bcc0dae1-9146-49c2-b2ab-263d14cb671e.png">
44

5-
[⚡ Dev.to Post](https://dev.to/zachilee/all-in-one-ethereum-dapp-monorepo-starter-kit-3fd7)
6-
75
This boilerplate is based on [Turborepo](https://github.com/vercel/turborepo).
86
It uses [Yarn](https://classic.yarnpkg.com/lang/en/) as a package manager. It includes the following packages/apps:
97

8+
## Installation
9+
10+
There are two ways of initializing an app using `create-web3-turbo` starter. You can either use this repository as a template or use Turbo's CLI to init your project:
11+
12+
```bash
13+
npx create-turbo@latest -e https://github.com/memoriaXII/create-web3-turbo
14+
```
15+
1016
### Apps and Packages
1117

1218
- `web`: A [Next.js](https://nextjs.org) based app with typescript,wagmi,rainbowkit,ether.js
@@ -18,6 +24,32 @@ It uses [Yarn](https://classic.yarnpkg.com/lang/en/) as a package manager. It in
1824
- `tsconfig`: `tsconfig.json`s used throughout the monorepo
1925
- `husky`: lint staged pre-commit check
2026

27+
28+
It uses [Turborepo](https://turborepo.org/) and contains:
29+
30+
```
31+
.github
32+
└─ pull_request_template
33+
└─ workflows
34+
└─ CI
35+
.vscode
36+
└─ Recommended extensions and settings for VSCode users
37+
apps
38+
├─ contracts
39+
|
40+
└─ web
41+
|
42+
└─ storybook
43+
44+
packages
45+
├─ config
46+
| └─ lint config
47+
├─ lib
48+
└─ sdk library for core instances
49+
└─ ui
50+
└─ a custom shared ui component library
51+
```
52+
2153
### Stack
2254

2355
This starter kit contains:

apps/web/.env.example

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
NEXT_PUBLIC_PLATFORM_NAME =
2-
NEXT_PUBLIC_AUTH0_CLIENT_ID=
3-
NEXT_PUBLIC_AUTH0_DOMAIN=
4-
NEXT_PUBLIC_AUTH0_AUDIENCE=
5-
NEXT_PUBLIC_GRAPHQL_END_POINT=
1+
NEXT_PUBLIC_SUBGRAPH_URL=
2+
NEXT_PUBLIC_CHAIN_ID=
3+
NEXT_PUBLIC_ALCHEMY_ID=
4+
NEXT_PUBLIC_INFURA_ID=
5+
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=

apps/web/.eslintignore

Lines changed: 0 additions & 9 deletions
This file was deleted.

apps/web/.eslintrc.js

Lines changed: 41 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,43 @@
11
module.exports = {
2-
...require('config/eslint-next.js'),
3-
parserOptions: {
4-
tsconfigRootDir: __dirname,
5-
project: './tsconfig.json'
6-
}
2+
root: true,
3+
parser: '@typescript-eslint/parser',
4+
plugins: ['@typescript-eslint', 'tailwindcss'],
5+
extends: [
6+
'eslint:recommended',
7+
'next/core-web-vitals',
8+
'prettier',
9+
'plugin:tailwindcss/recommended',
10+
],
11+
overrides: [
12+
{
13+
files: ['*.ts', '*.tsx'],
14+
parserOptions: {
15+
project: ['./tsconfig.json'],
16+
tsconfigRootDir: __dirname,
17+
},
18+
extends: [
19+
'plugin:@typescript-eslint/recommended',
20+
'plugin:@typescript-eslint/recommended-requiring-type-checking',
21+
22+
//declaring 'next/core-web-vitals' and 'prettier' again in case
23+
//the two plugin:... configs above overrode any of their rules
24+
//Also, 'prettier' needs to be last in any extends array
25+
'next/core-web-vitals',
26+
'prettier',
27+
],
28+
rules: {
29+
'@typescript-eslint/no-unsafe-assignment': 'off',
30+
'@typescript-eslint/no-unsafe-member-access': 'warn',
31+
'@typescript-eslint/no-unsafe-call': 'off',
32+
'@typescript-eslint/no-floating-promises': 'off',
33+
'@typescript-eslint/no-unsafe-return': 'warn',
34+
'@typescript-eslint/no-unsafe-argument': 'off',
35+
'@typescript-eslint/restrict-template-expressions': 'warn',
36+
'@typescript-eslint/no-empty-function': 'warn',
37+
'no-unsafe-optional-chaining': 'warn',
38+
'@typescript-eslint/no-misused-promises': 'warn',
39+
'@typescript-eslint/require-await': 'warn',
40+
},
41+
},
42+
],
743
};
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ""
5+
labels: ""
6+
assignees: ""
7+
---
8+
9+
**Describe the bug**
10+
A clear and concise description of what the bug is.
11+
12+
**To Reproduce**
13+
Steps to reproduce the behavior:
14+
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Additional context**
27+
Add any other context about the problem here.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ""
5+
labels: ""
6+
assignees: ""
7+
---
8+
9+
**Please describe the problem you're having.**
10+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
11+
12+
**Screenshots**
13+
If applicable, add screenshots to help explain your problem.
14+
15+
**Additional context**
16+
Add any other context or screenshots about the feature request here.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Task:
2+
3+
## Description
4+
5+
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
6+
7+
Fixes (linear-task)
8+
9+
## Type of change
10+
11+
- [ ] New feature
12+
- [ ] Bug fix
13+
- [ ] Testing code
14+
- [ ] Document update or config files

apps/web/.gitignore

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# next.js
12+
/.next/
13+
/out/
14+
15+
# production
16+
/build
17+
18+
# misc
19+
.DS_Store
20+
*.pem
21+
22+
# debug
23+
npm-debug.log*
24+
yarn-debug.log*
25+
yarn-error.log*
26+
27+
# local env files
28+
.env*.local
29+
30+
# vercel
31+
.vercel
32+
33+
# typescript
34+
*.tsbuildinfo
35+
next-env.d.ts
36+
37+
.env

apps/web/.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
.next
3+
.husky
4+
coverage
5+
.prettierignore
6+
.stylelintignore

apps/web/.prettierrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"singleQuote": true,
3+
"jsxSingleQuote": true
4+
}

apps/web/.stylelintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
app/globals.css

apps/web/.stylelintrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": [
3+
"stylelint-config-standard-scss",
4+
"stylelint-config-prettier-scss"
5+
]
6+
}

apps/web/.vscode/settings.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"[javascript]": {
3+
"editor.defaultFormatter": "esbenp.prettier-vscode"
4+
},
5+
"[typescript]": {
6+
"editor.defaultFormatter": "esbenp.prettier-vscode"
7+
},
8+
"[typescriptreact]": {
9+
"editor.defaultFormatter": "esbenp.prettier-vscode"
10+
},
11+
"[javascriptreact]": {
12+
"editor.defaultFormatter": "esbenp.prettier-vscode"
13+
},
14+
"[scss]": {
15+
"editor.defaultFormatter": "esbenp.prettier-vscode"
16+
},
17+
"tailwindCSS.experimental.classRegex": [
18+
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
19+
],
20+
"stylelint.validate": ["css", "scss"],
21+
"editor.formatOnSave": true,
22+
"eslint.run": "onSave"
23+
}

apps/web/Dockerfile

Lines changed: 0 additions & 47 deletions
This file was deleted.

apps/web/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
packages:
2+
pnpm install @apollo/client@alpha @apollo/experimental-nextjs-app-support

0 commit comments

Comments
 (0)