Skip to content

Commit e5cd979

Browse files
authored
Merge pull request #253 from Developer-DAO/feat/wallet
staging to production: wallet & user progress tracking feature
2 parents 33e13e0 + 1f59d2c commit e5cd979

File tree

258 files changed

+12158
-8724
lines changed

Some content is hidden

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

258 files changed

+12158
-8724
lines changed

.commitlintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["@commitlint/config-conventional"]
3+
}

.devcontainer/Dockerfile

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

.devcontainer/base.Dockerfile

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

.devcontainer/devcontainer.json

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

.env.example

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Since the ".env" file is gitignored, you can use the ".env.example" file to
2+
# build a new ".env" file when you clone the repo. Keep this file up-to-date
3+
# when you add new variables to `.env`.
4+
5+
# This file will be committed to version control, so make sure not to have any
6+
# secrets in it. If you are cloning this repo, create a copy of this file named
7+
# ".env" and populate it with your secrets.
8+
9+
# When adding additional environment variables, the schema in "/src/env.mjs"
10+
# should be updated accordingly.
11+
12+
# Prisma
13+
# https://www.prisma.io/docs/reference/database-reference/connection-urls#env
14+
# DATABASE_URL="file:./db.sqlite" # unnused now for postgres
15+
16+
# Next Auth
17+
# You can generate a new secret on the command line with:
18+
# openssl rand -base64 32
19+
# https://next-auth.js.org/configuration/options#secret
20+
NEXTAUTH_SECRET=""
21+
NEXTAUTH_URL="http://localhost:3000"
22+
23+
POSTGRES_URL=
24+
POSTGRES_PRISMA_URL=""
25+
POSTGRES_URL_NON_POOLING=""
26+
27+
NEXT_PUBLIC_WALLET_CONNECT_ID=

.eslintrc.cjs

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1-
module.exports = {
2-
extends: ['next/core-web-vitals'],
3-
}
1+
// eslint-disable-next-line @typescript-eslint/no-var-requires
2+
const path = require("path");
3+
4+
/** @type {import("eslint").Linter.Config} */
5+
const config = {
6+
overrides: [
7+
{
8+
extends: [
9+
"plugin:@typescript-eslint/recommended-requiring-type-checking",
10+
],
11+
files: ["*.ts", "*.tsx"],
12+
parserOptions: {
13+
project: path.join(__dirname, "tsconfig.json"),
14+
},
15+
},
16+
],
17+
parser: "@typescript-eslint/parser",
18+
parserOptions: {
19+
project: path.join(__dirname, "tsconfig.json"),
20+
},
21+
plugins: ["@typescript-eslint"],
22+
extends: ["next/core-web-vitals", "plugin:@typescript-eslint/recommended"],
23+
rules: {
24+
"@typescript-eslint/consistent-type-imports": [
25+
"warn",
26+
{
27+
prefer: "type-imports",
28+
fixStyle: "inline-type-imports",
29+
},
30+
],
31+
"@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_" }],
32+
"@typescript-eslint/no-unsafe-assignment": 0, // or "off" if you want to disable it
33+
"@typescript-eslint/no-unsafe-call": 0, // or "off" if you want to disable it
34+
"@typescript-eslint/no-unsafe-return": 0,
35+
"@typescript-eslint/no-unsafe-member-access": 0,
36+
},
37+
};
38+
39+
module.exports = config;

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
title: ''
4+
title: ""
55
labels: needs triage, bug
6-
assignees: ''
6+
assignees: ""
77
---
88

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

.gitignore

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,14 @@
88
# testing
99
/coverage
1010

11+
# database
12+
/prisma/db.sqlite
13+
/prisma/db.sqlite-journal
14+
1115
# next.js
1216
/.next/
1317
/out/
18+
next-env.d.ts
1419

1520
# production
1621
/build
@@ -26,6 +31,8 @@ yarn-error.log*
2631
.pnpm-debug.log*
2732

2833
# local env files
34+
# do not commit any .env files to git, except for the .env.example file. https://create.t3.gg/en/usage/env-variables#using-environment-variables
35+
.env
2936
.env*.local
3037
.env
3138

@@ -35,5 +42,4 @@ yarn-error.log*
3542
# typescript
3643
*.tsbuildinfo
3744

38-
# Storybook
39-
storybook-static
45+
todo.md

.husky/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx --no -- commitlint --edit ${1}

0 commit comments

Comments
 (0)