-
-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
144 changed files
with
4,127 additions
and
11,836 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# !! PLANETSCALE CREDENTIALS (https://planetscale.com) | ||
# Connect -> Connect with `@planetscale/database`: | ||
DATABASE_HOST="" # ?? aws.connect.psdb.cloud | ||
DATABASE_USERNAME="" # ?? ******************** | ||
DATABASE_PASSWORD="" # ?? pscale_pw_******************************************* | ||
# Connect -> Connect with `Prisma`: | ||
NEXT_SECRET_URL_PSCALE="" | ||
|
||
# !! CLERK CREDENTIALS (https://clerk.com) | ||
# These values should be replaced with production keys on the deployed site | ||
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY="" # ?? pk_test_******************************** | ||
CLERK_SECRET_KEY="" # ?? sk_test_******************************** | ||
|
||
# !! AUTH.JS CREDENTIALS (https://authjs.dev) | ||
NEXT_PUBLIC_URL_AUTHJS="http://localhost:3000" # ?? http://localhost:3000 when in development | ||
|
||
# !! FILE UPLOADING (https://uploadthing.com) | ||
UPLOADTHING_SECRET="" # ?? sk_live_******************************** | ||
UPLOADTHING_APP_ID="" # ?? ********** | ||
|
||
# !! STRIPE CREDENTIALS (https://stripe.com) | ||
# These values should be replaced with production keys on the deployed site to accept real payments | ||
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY="" # ?? pk_test_******************************** | ||
STRIPE_SECRET_KEY="" # ?? sk_test_******************************** | ||
|
||
# !! STRIPE WEBHOOK SECRET (https://stripe.com) | ||
# Create a webhook inside the stripe dashboard. Make sure to listen to the `payment_intent.succeeded` event. | ||
# The webhook URL should be: https://<INSERT_YOUR_DOMAIN_HERE>/api/stripe/webhook | ||
STRIPE_WEBHOOK_SECRET="" # ?? whsec*********************** | ||
|
||
# !! OTHER ENV VARS | ||
POSTMARK_SIGN_IN_TEMPLATE="" # ?? == | ||
POSTMARK_API_TOKEN="" # ?? == | ||
CLOUDFLARE_API="" # ?? == | ||
CLOUDFLARE_USER="" # ?? == | ||
NEXTAUTH_SECRET="" # ?? == | ||
SMTP_FROM="" # ?? == | ||
AUTH_SECRET="" # ?? == | ||
NEXTAUTH_SECRET="" # ?? == | ||
NEXTAUTH_URL="http://localhost:3000" # ?? == | ||
DISCORD_CLIENT_ID="" # ?? == | ||
DISCORD_CLIENT_SECRET="" # ?? == | ||
GITHUB_ID="" # ?? == | ||
GITHUB_SECRET="" # ?? == | ||
GITHUB_CLIENT_ID="" # ?? == | ||
GITHUB_CLIENT_SECRET="" # ?? == | ||
GITHUB_ACCESS_TOKEN="" # ?? == | ||
GOOGLE_CLIENT_ID="" # ?? == | ||
GOOGLE_CLIENT_SECRET="" # ?? == |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,17 @@ | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
# ?? https://eslint.org/docs/latest/use/configure/ignore#the-eslintignore-file | ||
|
||
/coverage | ||
# dependencies | ||
/node_modules | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# production | ||
/build | ||
|
||
.DS_Store | ||
*.pem | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
.pnpm-debug.log* | ||
|
||
pnpm-lock.yaml | ||
package-lock.json | ||
yarn.lock | ||
|
||
.env*.local | ||
|
||
.vercel | ||
|
||
*.tsbuildinfo | ||
# typescript | ||
next-env.d.ts | ||
|
||
**/*.js | ||
**/*.cjs | ||
**/*.mjs | ||
# temporary | ||
*.tson |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,97 +1,54 @@ | ||
// @ts-expect-error | ||
/** @type {import("eslint").Linter.Config} */ | ||
module.exports = { | ||
// @ts-check | ||
const { defineConfig } = require("eslint-define-config"); | ||
|
||
module.exports = defineConfig({ | ||
env: { es2023: true, browser: true, node: true }, | ||
settings: { | ||
"import/resolver": { | ||
typescript: { project: ["./tsconfig.json"] }, | ||
}, | ||
tailwindcss: { | ||
callees: ["cn"], | ||
config: "tailwind.config.ts", | ||
}, | ||
}, | ||
env: { | ||
node: true, | ||
es2022: true, | ||
browser: true, | ||
"import/resolver": { typescript: { project: ["./tsconfig.json"] } }, | ||
tailwindcss: { callees: ["cn"], config: "tailwind.config.ts" } | ||
}, | ||
overrides: [ | ||
//! ======================================== | ||
//! | TypeScript EsLint Configuration File | | ||
//! ======================================== | ||
{ | ||
// ================================================================= | ||
// TypeScript EsLint (Configuration File) | ||
// ================================================================= | ||
files: ["*.ts", "*.tsx", "*.mts", "*.cts"], | ||
parser: "@typescript-eslint/parser", | ||
parserOptions: { | ||
project: ["./tsconfig.json"], | ||
ecmaVersion: "latest", | ||
sourceType: "module", | ||
sourceType: "module" | ||
}, | ||
extends: ["next/core-web-vitals"], | ||
plugins: ["@tanstack/query"], | ||
extends: [ | ||
"next/core-web-vitals", | ||
"plugin:@tanstack/eslint-plugin-query/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking" | ||
], | ||
rules: { | ||
// !! Turn Back on When Things are Stable !! | ||
"@next/next/no-html-link-for-pages": "off", | ||
"react/no-unescaped-entities": "off", | ||
"@next/next/no-img-element": "off", | ||
"@tanstack/query/exhaustive-deps": "error", | ||
"@tanstack/query/prefer-query-object-syntax": "error", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-misused-promises": "off", | ||
"@typescript-eslint/no-unnecessary-type-assertion": "off", | ||
"@typescript-eslint/no-unsafe-argument": "off", | ||
"@typescript-eslint/no-unsafe-assignment": "off", | ||
"@typescript-eslint/no-unsafe-call": "off", | ||
"@typescript-eslint/no-unsafe-return": "off", | ||
"@typescript-eslint/require-await": "off", | ||
"react-hooks/exhaustive-deps": "off", | ||
"react/display-name": "off", | ||
}, | ||
"react/no-unescaped-entities": "off" | ||
} | ||
}, | ||
//! ======================================== | ||
//! | JavaScript EsLint Configuration File | | ||
//! ======================================== | ||
{ | ||
// ================================================================= | ||
// JavaScript EsLint (Configuration File) | ||
// ================================================================= | ||
files: ["*.js", "*.jsx", "*.mjs", "*.cjs"], | ||
extends: ["next/core-web-vitals"], | ||
}, | ||
], | ||
}; | ||
|
||
//! { | ||
//! "$schema": "https://json.schemastore.org/eslintrc", | ||
//! "extends": [ | ||
//! "eslint:recommended", | ||
//! "plugin:@typescript-eslint/recommended", | ||
//! "prettier", | ||
//! "next/core-web-vitals", | ||
//! "plugin:jsx-a11y/recommended" | ||
//! ], | ||
//! "parser": "@typescript-eslint/parser", | ||
//! "plugins": [ | ||
//! "@typescript-eslint", | ||
//! "import-helpers", | ||
//! "unused-imports", | ||
//! "jsx-a11y" | ||
//! ], | ||
//! "rules": { | ||
//! "quotes": ["warn", "double"], | ||
//! "semi": ["warn", "always"], | ||
//! "arrow-parens": ["warn", "always"], | ||
//! "@typescript-eslint/no-unused-vars": "off", | ||
//! "unused-imports/no-unused-imports-ts": "warn", | ||
//! "unused-imports/no-unused-vars": "warn", | ||
//! "@typescript-eslint/array-type": "error", | ||
//! "prefer-const": "error", | ||
//! "no-console": [ | ||
//! "warn", | ||
//! { | ||
//! "allow": ["warn", "error"] | ||
//! } | ||
//! ], | ||
//! "import-helpers/order-imports": [ | ||
//! "warn", | ||
//! { | ||
//! "newlinesBetween": "always", | ||
//! "groups": [ | ||
//! "/^react/", | ||
//! "module", | ||
//! "/^~/", | ||
//! ["parent", "sibling", "index"] | ||
//! ], | ||
//! "alphabetize": { | ||
//! "order": "asc", | ||
//! "ignoreCase": true | ||
//! } | ||
//! } | ||
//! ], | ||
//! "@next/next/no-html-link-for-pages": "off" | ||
//! } | ||
//! } | ||
extends: ["next/core-web-vitals"] | ||
} | ||
] | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/eslintrc", | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"prettier", | ||
"next/core-web-vitals", | ||
"plugin:jsx-a11y/recommended" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": [ | ||
"@typescript-eslint", | ||
"import-helpers", | ||
"unused-imports", | ||
"jsx-a11y" | ||
], | ||
"rules": { | ||
"quotes": ["warn", "double"], | ||
"semi": ["warn", "always"], | ||
"arrow-parens": ["warn", "always"], | ||
"@typescript-eslint/no-unused-vars": "off", | ||
"unused-imports/no-unused-imports-ts": "warn", | ||
"unused-imports/no-unused-vars": "warn", | ||
"@typescript-eslint/array-type": "error", | ||
"prefer-const": "error", | ||
"no-console": [ | ||
"warn", | ||
{ | ||
"allow": ["warn", "error"] | ||
} | ||
], | ||
"import-helpers/order-imports": [ | ||
"warn", | ||
{ | ||
"newlinesBetween": "always", | ||
"groups": [ | ||
"/^react/", | ||
"module", | ||
"/^~/", | ||
["parent", "sibling", "index"] | ||
], | ||
"alphabetize": { | ||
"order": "asc", | ||
"ignoreCase": true | ||
} | ||
} | ||
], | ||
"@next/next/no-html-link-for-pages": "off" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.