Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
a rewrite ...
Browse files Browse the repository at this point in the history
  • Loading branch information
notahelpr committed Dec 25, 2022
0 parents commit c7e16dc
Show file tree
Hide file tree
Showing 33 changed files with 2,947 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true

# 2 space indentation
[*.ts]
indent_style = space
indent_size = 2

# End files with a single newline
[*.md]
insert_final_newline = false
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
package-lock.json
dist
.env
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dist
coverage
node_modules
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM node:16.9.0

WORKDIR /usr

COPY package.json ./

COPY tsconfig.json ./

COPY src ./src
COPY . .env

RUN ls -a

RUN npm install
RUN npm run build

CMD ["npm", "run", "start"]
3 changes: 3 additions & 0 deletions de-txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Alliteration = Gleicher Anfangslaut von benachbarten Wörtern (z.B. Geiz ist geil, Coca Cola)
Anapher = Wortwiederholung eines Wortes am Satzanfang (z.B. Carglass reapariert, Carglass tauscht aus)
Antithese = Bezeichnung für einen Gegensatz (z.B. "Gut und Böse")
12 changes: 12 additions & 0 deletions environment.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
declare global {
namespace NodeJS {
interface ProcessEnv {
BOT_TOKEN: string;
GUILD_ID: string;
ENV: "dev" | "prod" | "debug";
MONGO_DB: string;
}
}
}

export {};
33 changes: 33 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "postgrex",
"version": "1.0.0",
"description": "I#m bored",
"main": "src/index.ts",
"scripts": {
"start": "node dist/index.js",
"dev": "concurrently \"tsc -w\" \"nodemon ./dist/index.js\"",
"build": "tsc",
"lint": "eslint . --ext .ts"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@types/node-cron": "^3.0.6",
"axios": "^0.24.0",
"chalk": "^4.1.2",
"concurrently": "^7.6.0",
"discord.js": "^14.7.1",
"dotenv": "^10.0.0",
"glob": "^7.2.0",
"mongoose": "^6.8.1",
"node-cron": "^3.0.2",
"nodemon": "^2.0.20",
"typescript": "^4.9.4"
},
"devDependencies": {
"@tsconfig/node16": "^1.0.2",
"@types/glob": "^7.2.0",
"@types/node": "^17.0.1"
}
}
Loading

0 comments on commit c7e16dc

Please sign in to comment.