Skip to content

Commit

Permalink
chore update deps (#239)
Browse files Browse the repository at this point in the history
* chore: update deps

* build: update pnpm to version 9

* chore: update biome command config

* chore: fix typecheck errors
  • Loading branch information
samhwang authored Jul 26, 2024
1 parent b9f6ee3 commit b80c418
Show file tree
Hide file tree
Showing 7 changed files with 2,877 additions and 2,321 deletions.
6 changes: 2 additions & 4 deletions .github/actions/setup-node-deps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ runs:
using: composite
steps:
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: ^8.15.0
uses: pnpm/action-setup@v4

- name: Set up Node 20
uses: actions/setup-node@v4
with:
node-version: '20'
node-version-file: '.nvmrc'
cache: 'pnpm'

- name: Set up project
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM node:20.10 as build
WORKDIR /app

# Install global node modules: pnpm
RUN npm install -g pnpm@8.15
RUN npm install -g pnpm@9.6

# Install Node modules
COPY package.json pnpm-lock.yaml ./
Expand Down
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"javascript": {
"formatter": {
"trailingComma": "es5",
"trailingCommas": "es5",
"semicolons": "always",
"quoteProperties": "asNeeded",
"quoteStyle": "single",
Expand Down
58 changes: 29 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"main": "build/index.js",
"engines": {
"node": "^20.0.0",
"pnpm": "^8.15.0"
"pnpm": "^9.0.0"
},
"packageManager": "pnpm@8.15.6",
"packageManager": "pnpm@9.6.0",
"repository": {
"type": "git",
"url": "git+https://github.com/viet-aus-it/vait-discord-bot.git"
Expand All @@ -23,8 +23,8 @@
"build": "rimraf build && tsx esbuild.config.ts",
"build:typecheck": "pnpm typecheck && pnpm build",
"lint": "biome check .",
"lint:fix": "biome check --apply .",
"lint:fix:unsafe": "biome check --apply-unsafe .",
"lint:fix": "biome check --write .",
"lint:fix:unsafe": "biome check --write --unsafe .",
"format:biome": "biome format --write .",
"ci": "biome ci .",
"format": "pnpm format:biome && prisma format",
Expand All @@ -41,43 +41,43 @@
"build:referrals": "tsx scripts/build-referral-list.ts"
},
"dependencies": {
"@axiomhq/winston": "^0.1.3",
"@axiomhq/winston": "^1.0.0",
"@discordjs/rest": "2.0.0",
"@neondatabase/serverless": "^0.9.0",
"@prisma/adapter-neon": "^5.12.1",
"@prisma/client": "^5.12.1",
"@neondatabase/serverless": "^0.9.4",
"@prisma/adapter-neon": "^5.17.0",
"@prisma/client": "^5.17.0",
"cowsay": "^1.6.0",
"date-fns": "^3.6.0",
"discord-api-types": "^0.37.79",
"discord.js": "^14.14.1",
"discord-api-types": "^0.37.93",
"discord.js": "^14.15.3",
"dotenv": "^16.4.5",
"dotenv-expand": "^11.0.6",
"node-html-parser": "^6.1.13",
"oxide.ts": "^1.1.0",
"parse-duration": "^1.1.0",
"winston": "^3.13.0",
"wretch": "^2.8.1",
"ws": "^8.16.0",
"zod": "^3.22.4"
"winston": "^3.13.1",
"wretch": "^2.9.0",
"ws": "^8.18.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@biomejs/biome": "^1.6.4",
"@biomejs/biome": "^1.8.3",
"@faker-js/faker": "^8.4.1",
"@types/node": "^20.12.5",
"@types/node": "^20.14.12",
"@types/node-fetch": "^2.6.11",
"@types/ws": "^8.5.10",
"@vitest/coverage-v8": "^1.4.0",
"@vitest/ui": "^1.4.0",
"esbuild": "^0.20.2",
"@types/ws": "^8.5.11",
"@vitest/coverage-v8": "^2.0.4",
"@vitest/ui": "^2.0.4",
"esbuild": "^0.23.0",
"esbuild-plugin-copy": "^2.1.1",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"msw": "^2.2.13",
"prisma": "^5.12.1",
"rimraf": "^5.0.5",
"tsx": "^4.7.2",
"typescript": "^5.4.4",
"vitest": "^1.4.0",
"vitest-mock-extended": "^1.3.1"
"husky": "^9.1.2",
"lint-staged": "^15.2.7",
"msw": "^2.3.4",
"prisma": "^5.17.0",
"rimraf": "^6.0.1",
"tsx": "^4.16.2",
"typescript": "^5.5.4",
"vitest": "^2.0.4",
"vitest-mock-extended": "^2.0.0"
}
}
Loading

0 comments on commit b80c418

Please sign in to comment.