Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Szedann committed Apr 7, 2024
2 parents e373a5e + 5d4a60d commit 00e62b4
Show file tree
Hide file tree
Showing 36 changed files with 623 additions and 983 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
touch "/tmp/digests/${digest#sha256:}"
- name: Upload digests
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v3 # V4 doesn't let us push to the same artifact
with:
name: digests
path: /tmp/digests/*
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/lintfix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Lint Fix

on:
workflow_dispatch:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install pnpm
uses: pnpm/action-setup@v2

- name: Install dependencies
run: pnpm install

- name: Lint
run: pnpm run lint:fix

- name: Push Changes
uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,8 @@ WORKDIR /app

COPY package.json pnpm-lock.yaml ./

COPY prisma ./prisma/

RUN pnpm install --frozen-lockfile

RUN npx prisma generate

COPY . .

CMD [ "pnpm", "run", "start" ]
36 changes: 17 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,33 @@
"license": "GPL-3.0",
"scripts": {
"dev": "cross-env NODE_ENV=development tsx watch src/index.ts",
"start": "prisma migrate deploy && tsx src/index.ts",
"start": "tsx src/index.ts",
"lint": "tsc && eslint . && prettier --check .",
"lint:fix": "prettier --write ."
},
"dependencies": {
"@discordjs/builders": "^1.6.5",
"@discordjs/rest": "2.0.1",
"@prisma/client": "5.4.2",
"@discordjs/builders": "^1.7.0",
"@discordjs/rest": "2.2.0",
"canvas": "^2.11.2",
"colorette": "^2.0.20",
"discord-api-types": "^0.37.60",
"discord.js": "14.13.0",
"express": "^4.18.2",
"discord-api-types": "^0.37.77",
"discord.js": "14.14.1",
"express": "^4.19.2",
"gray-matter": "^4.0.3",
"tsx": "3.13.0",
"valibot": "^0.19.0"
"tsx": "4.7.1",
"valibot": "^0.30.0"
},
"devDependencies": {
"@types/express": "^4.17.19",
"@types/node": "20.8.6",
"@typescript-eslint/eslint-plugin": "6.7.5",
"@typescript-eslint/parser": "6.7.5",
"@types/express": "^4.17.21",
"@types/node": "20.11.30",
"@typescript-eslint/eslint-plugin": "7.4.0",
"@typescript-eslint/parser": "7.4.0",
"cross-env": "^7.0.3",
"dotenv": "16.3.1",
"eslint": "8.51.0",
"prettier": "3.0.3",
"prisma": "^5.4.2",
"ts-node": "^10.9.1",
"typescript": "5.2.2"
"dotenv": "16.4.5",
"eslint": "8.57.0",
"prettier": "3.2.5",
"ts-node": "^10.9.2",
"typescript": "5.4.3"
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 00e62b4

Please sign in to comment.