This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
generated from ijsKoud/project-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
149 changed files
with
8,288 additions
and
7,901 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 |
---|---|---|
@@ -1,11 +1,24 @@ | ||
DISCORD_BOT_TOKEN="DISCORD BOT TOKEN HERE" | ||
PORT="3000" | ||
API_BASE_URL="YOUR BASE API URL CONNECTED TO THIS APPLICATION" | ||
DATABASE_URL="postgresql://username:password@localhost:5432/database?schema=public" | ||
# Replace username, password, localhost and database with the appropiate values | ||
|
||
DEV_SMEE_URL="your https://smee.io url" | ||
DEV_WEBHOOK_URL="Testing webhook" | ||
DEV_GUILD_ID="Testing guild" | ||
DEV_CHANNEL_ID="Testing channel" | ||
GITHUB_WEBHOOK_SECRET="Testing webhook secret" | ||
# .env.development.local, .env.test.local | ||
DATABASE_URL="postgres://USERNAME:PASSWORD@HOST:5432/DATABASE" | ||
NODE_ENV="development" | ||
|
||
WEBHOOK_SECRET="SECRET" | ||
ENCRYPTION_KEY="" # 32 character long key | ||
|
||
DISCORD_BOT_TOKEN="" # Discord bot token | ||
|
||
DEVELOPMENT_GUILD_ID="" # Discord guild Id for testing | ||
DEVELOPMENT_WEBHOOK_ID="" # Discord webhook Id for testing | ||
DEVELOPMENT_WEBHOOK_URL="" # Discord webhook URL for testing | ||
|
||
SMEE_URL="" # Smee.io url | ||
|
||
# .env.local | ||
DATABASE_URL="postgres://USERNAME:PASSWORD@HOST:5432/DATABASE" | ||
NODE_ENV="production" | ||
|
||
ENCRYPTION_KEY="" # 32 character long key | ||
DISCORD_BOT_TOKEN="" # Discord bot token | ||
|
||
|
||
|
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 |
---|---|---|
|
@@ -39,4 +39,5 @@ yarn-error.log* | |
.vercel | ||
|
||
# Config | ||
tsup.config.ts | ||
tsup.config.ts | ||
.eslintrc.js |
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,6 +1,3 @@ | ||
{ | ||
"extends": ["@sapphire"], | ||
"rules": { | ||
"@typescript-eslint/no-base-to-string": "off" | ||
} | ||
"extends": ["@snowcrystals/eslint-config"] | ||
} |
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
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
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
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
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
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
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 |
---|---|---|
@@ -1,4 +1 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn lint-staged | ||
pnpm lint-staged |
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,3 @@ | ||
module.exports = { | ||
"**/*.{js,jsx,ts,tsx}": [() => "pnpm lint -- --fix", "prettier --write"] | ||
}; |
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,9 @@ | ||
{ | ||
"npm.packageManager": "pnpm", | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": "explicit" | ||
}, | ||
"eslint.workingDirectories": [{ "pattern": "./packages/*/" }, { "pattern": "./apps/*/" }] | ||
} |
Oops, something went wrong.