Skip to content

Commit

Permalink
Merge pull request #31 from memoriaXII/renovate/v2
Browse files Browse the repository at this point in the history
renovate/v2
  • Loading branch information
memoriaXII authored Jun 18, 2023
2 parents a01d873 + 149d0b4 commit f2df082
Show file tree
Hide file tree
Showing 230 changed files with 15,964 additions and 1,967 deletions.
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Bug report
about: Create a report to help us improve
title: ""
labels: ""
assignees: ""
---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Feature request
about: Suggest an idea for this project
title: ""
labels: ""
assignees: ""
---

**Please describe the problem you're having.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context or screenshots about the feature request here.
14 changes: 14 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Task:

## Description

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.

Fixes (linear-task)

## Type of change

- [ ] New feature
- [ ] Bug fix
- [ ] Testing code
- [ ] Document update or config files
4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

36 changes: 34 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@

<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">

[⚡ Dev.to Post](https://dev.to/zachilee/all-in-one-ethereum-dapp-monorepo-starter-kit-3fd7)

This boilerplate is based on [Turborepo](https://github.com/vercel/turborepo).
It uses [Yarn](https://classic.yarnpkg.com/lang/en/) as a package manager. It includes the following packages/apps:

## Installation

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:

```bash
npx create-turbo@latest -e https://github.com/memoriaXII/create-web3-turbo
```

### Apps and Packages

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


It uses [Turborepo](https://turborepo.org/) and contains:

```
.github
└─ pull_request_template
└─ workflows
└─ CI
.vscode
└─ Recommended extensions and settings for VSCode users
apps
├─ contracts
|
└─ web
|
└─ storybook
packages
├─ config
| └─ lint config
├─ lib
└─ sdk library for core instances
└─ ui
└─ a custom shared ui component library
```

### Stack

This starter kit contains:
Expand Down
10 changes: 5 additions & 5 deletions apps/web/.env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NEXT_PUBLIC_PLATFORM_NAME =
NEXT_PUBLIC_AUTH0_CLIENT_ID=
NEXT_PUBLIC_AUTH0_DOMAIN=
NEXT_PUBLIC_AUTH0_AUDIENCE=
NEXT_PUBLIC_GRAPHQL_END_POINT=
NEXT_PUBLIC_SUBGRAPH_URL=
NEXT_PUBLIC_CHAIN_ID=
NEXT_PUBLIC_ALCHEMY_ID=
NEXT_PUBLIC_INFURA_ID=
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=
9 changes: 0 additions & 9 deletions apps/web/.eslintignore

This file was deleted.

46 changes: 41 additions & 5 deletions apps/web/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,43 @@
module.exports = {
...require('config/eslint-next.js'),
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.json'
}
root: true,
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'tailwindcss'],
extends: [
'eslint:recommended',
'next/core-web-vitals',
'prettier',
'plugin:tailwindcss/recommended',
],
overrides: [
{
files: ['*.ts', '*.tsx'],
parserOptions: {
project: ['./tsconfig.json'],
tsconfigRootDir: __dirname,
},
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',

//declaring 'next/core-web-vitals' and 'prettier' again in case
//the two plugin:... configs above overrode any of their rules
//Also, 'prettier' needs to be last in any extends array
'next/core-web-vitals',
'prettier',
],
rules: {
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-member-access': 'warn',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/no-unsafe-return': 'warn',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/restrict-template-expressions': 'warn',
'@typescript-eslint/no-empty-function': 'warn',
'no-unsafe-optional-chaining': 'warn',
'@typescript-eslint/no-misused-promises': 'warn',
'@typescript-eslint/require-await': 'warn',
},
},
],
};
27 changes: 27 additions & 0 deletions apps/web/.github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Bug report
about: Create a report to help us improve
title: ""
labels: ""
assignees: ""
---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.
16 changes: 16 additions & 0 deletions apps/web/.github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Feature request
about: Suggest an idea for this project
title: ""
labels: ""
assignees: ""
---

**Please describe the problem you're having.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context or screenshots about the feature request here.
14 changes: 14 additions & 0 deletions apps/web/.github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Task:

## Description

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.

Fixes (linear-task)

## Type of change

- [ ] New feature
- [ ] Bug fix
- [ ] Testing code
- [ ] Document update or config files
37 changes: 37 additions & 0 deletions apps/web/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

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

.env
6 changes: 6 additions & 0 deletions apps/web/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules
.next
.husky
coverage
.prettierignore
.stylelintignore
4 changes: 4 additions & 0 deletions apps/web/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"singleQuote": true,
"jsxSingleQuote": true
}
1 change: 1 addition & 0 deletions apps/web/.stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
app/globals.css
6 changes: 6 additions & 0 deletions apps/web/.stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": [
"stylelint-config-standard-scss",
"stylelint-config-prettier-scss"
]
}
23 changes: 23 additions & 0 deletions apps/web/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"tailwindCSS.experimental.classRegex": [
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
],
"stylelint.validate": ["css", "scss"],
"editor.formatOnSave": true,
"eslint.run": "onSave"
}
47 changes: 0 additions & 47 deletions apps/web/Dockerfile

This file was deleted.

2 changes: 2 additions & 0 deletions apps/web/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
packages:
pnpm install @apollo/client@alpha @apollo/experimental-nextjs-app-support
Loading

0 comments on commit f2df082

Please sign in to comment.