Skip to content

Commit 8c564b7

Browse files
committed
chore: upgrade to node 24, replace vercel/pkg
Closes #80
1 parent f549f37 commit 8c564b7

File tree

7 files changed

+12
-16
lines changed

7 files changed

+12
-16
lines changed

.github/workflows/continuous-deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Node.js
2020
uses: actions/setup-node@v6
2121
with:
22-
node-version-file: .nvmrc
22+
node-version-file: package.json
2323

2424
- name: Install packages
2525
run: npm install

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
node-version: [18, 20, 22, 24]
11+
node-version: [24, 25]
1212
steps:
1313
- name: Checkout code
1414
uses: actions/checkout@v6
@@ -28,5 +28,5 @@ jobs:
2828
run: npm run build
2929

3030
- name: Bundle
31-
if: ${{ matrix.node-version == 22 }}
31+
if: ${{ matrix.node-version == 24 }}
3232
run: npm run bundle

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

mise.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[tools]
2+
node = "24"

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
"google-cloud-sql": "dist/index.js"
1717
},
1818
"engines": {
19-
"node": ">= 20"
19+
"node": "24"
2020
},
2121
"scripts": {
2222
"clean": "rimraf dist bin",
2323
"prebuild": "npm run clean",
24-
"build": "tsc --project tsconfig.build.json",
25-
"bundle": "npm run build && pkg . --targets node18-linux,node18-macos,node18-win --out-dir bin",
24+
"build": "tsc",
25+
"bundle": "npm run build && pkg . --targets node24-linux,node24-macos,node24-win --out-dir bin",
2626
"exec:dev": "ts-node src/index.ts",
2727
"exec:dist": "node dist/index.js",
2828
"lint": "eslint .",
@@ -51,17 +51,17 @@
5151
"@semantic-release/exec": "7.1.0",
5252
"@semantic-release/git": "10.0.1",
5353
"@stylistic/eslint-plugin": "5.6.1",
54-
"@tsconfig/node22": "22.0.5",
54+
"@tsconfig/node24": "24.0.3",
5555
"@types/inquirer": "8.2.6",
5656
"@types/inquirer-autocomplete-prompt": "2.0.0",
5757
"@types/lodash": "4.17.21",
5858
"@types/memoizee": "0.4.12",
59-
"@types/node": "22.19.0",
59+
"@types/node": "24.10.6",
6060
"@types/shelljs": "0.8.17",
6161
"@types/update-notifier": "5.1.0",
62+
"@yao-pkg/pkg": "6.11.0",
6263
"eslint": "9.39.2",
6364
"husky": "9.1.7",
64-
"pkg": "5.8.1",
6565
"prettier-package-json": "2.8.0",
6666
"rimraf": "6.1.2",
6767
"semantic-release": "25.0.2",

tsconfig.build.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "@tsconfig/node22/tsconfig.json",
2+
"extends": "@tsconfig/node24/tsconfig.json",
33
"compilerOptions": {
44
"rootDir": "./src",
55
"outDir": "./dist",

0 commit comments

Comments
 (0)