Skip to content

Commit

Permalink
chore: bump dependencies (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
aldy505 authored Feb 17, 2024
1 parent 6aaedf3 commit dac7a05
Show file tree
Hide file tree
Showing 7 changed files with 357 additions and 139 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"

- name: Install pnpm
uses: pnpm/action-setup@v2
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,11 @@ jobs:
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
uses: actions/checkout@v4

- name: TruffleHog OSS
uses: trufflesecurity/trufflehog@main
- uses: actions/setup-node@v4
with:
path: ./
base: ${{ github.event.repository.default_branch }}
head: HEAD
extra_args: --debug --only-verified
node-version-file: ".nvmrc"

- name: Install pnpm
uses: pnpm/action-setup@v2
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.17
v20.11
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.17-bookworm
FROM node:20.11-bookworm

WORKDIR /home/app

Expand Down
1 change: 0 additions & 1 deletion build.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ esbuild
external: [
"cheerio",
"colorette",
"dotenv",
"eventsource",
"grammy",
"gura",
Expand Down
27 changes: 13 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"type": "module",
"scripts": {
"dev:start": "node --experimental-loader @esbuild-kit/esm-loader -r dotenv/config src/index.ts",
"dev:start": "node --experimental-loader @esbuild-kit/esm-loader --env-file .env src/index.ts",
"dev": "nodemon -e ts --watch src --exec \"npm run dev:start\"",
"build": "tsc --noEmit && node build.js",
"test:unit": "vitest run",
Expand All @@ -30,28 +30,27 @@
"@esbuild-kit/esm-loader": "^2.6.5",
"@teknologi-umum/eslint-config-typescript": "^0.0.10",
"@types/eventsource": "^1.1.15",
"@types/node": "^20.11.0",
"@types/node-fetch": "^2.6.10",
"@types/sanitize-html": "^2.9.5",
"@vitest/coverage-v8": "^1.2.0",
"esbuild": "^0.19.11",
"@types/node": "^20.11.19",
"@types/node-fetch": "^2.6.11",
"@types/sanitize-html": "^2.11.0",
"@vitest/coverage-v8": "^1.3.0",
"esbuild": "^0.20.0",
"esbuild-register": "^3.5.0",
"eslint": "^8.56.0",
"eslint-plugin-import": "^2.29.1",
"husky": "^8.0.3",
"nodemon": "^3.0.2",
"nodemon": "^3.0.3",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"vite": "^5.0.11",
"vitest": "^1.2.0"
"vite": "^5.1.3",
"vitest": "^1.3.0"
},
"dependencies": {
"@octokit/webhooks-types": "^7.3.1",
"@octokit/webhooks-types": "^7.3.2",
"cheerio": "1.0.0-rc.12",
"colorette": "^2.0.20",
"dotenv": "^16.3.1",
"eventsource": "^2.0.2",
"grammy": "^1.20.3",
"grammy": "^1.21.1",
"gura": "^1.4.4",
"polka": "1.0.0-next.22",
"remark-gfm": "^4.0.0",
Expand All @@ -65,7 +64,7 @@
},
"engineStrict": true,
"engines": {
"node": ">=18.17.0",
"npm": ">=8"
"node": ">=20.11.0",
"npm": ">=10"
}
}
Loading

0 comments on commit dac7a05

Please sign in to comment.