Skip to content

Commit 5d79cd8

Browse files
authored
Merge pull request #216 from Markkos89/feat/t3-siwe
Feat/t3 siwe
2 parents 68db246 + 6e047a3 commit 5d79cd8

File tree

168 files changed

+7976
-5046
lines changed

Some content is hidden

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

168 files changed

+7976
-5046
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: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
POSTGRES_USER=
27+
POSTGRES_HOST=
28+
POSTGRES_PASSWORD=
29+
POSTGRES_DATABASE=

.eslintrc.cjs

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1-
module.exports = {
2-
extends: ['next/core-web-vitals', 'plugin:storybook/recommended'],
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+
},
33+
};
34+
35+
module.exports = config;

.gitattributes

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

.gitignore

Lines changed: 7 additions & 3 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,13 +31,12 @@ 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

3138
# vercel
3239
.vercel
3340

3441
# typescript
3542
*.tsbuildinfo
36-
37-
# Storybook
38-
storybook-static

.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)