Skip to content

Commit 681162e

Browse files
committed
chore: upgrade to Node.js 20
1 parent c0f7f32 commit 681162e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ jobs:
2828
run: npm run build
2929

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

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
20

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"clean": "rimraf dist bin",
2323
"build:transpile": "tsc",
2424
"build": "npm run clean && npm run build:transpile",
25-
"bundle": "npm run build && pkg . --out-dir bin",
25+
"bundle": "npm run build && pkg . --targets node18-linux,node18-macos,node18-win --out-dir bin",
2626
"exec:dev": "ts-node src/index.ts",
2727
"exec:dist": "node dist/index.js",
2828
"lint": "eslint . --ext .ts",
@@ -48,12 +48,12 @@
4848
"@semantic-release/changelog": "6.0.3",
4949
"@semantic-release/exec": "6.0.3",
5050
"@semantic-release/git": "10.0.1",
51-
"@tsconfig/node18": "18.2.2",
51+
"@tsconfig/node20": "20.1.2",
5252
"@types/inquirer": "8.2.6",
5353
"@types/inquirer-autocomplete-prompt": "2.0.0",
5454
"@types/lodash": "4.14.202",
5555
"@types/memoizee": "0.4.11",
56-
"@types/node": "18.18.9",
56+
"@types/node": "20.11.1",
5757
"@types/shelljs": "0.8.15",
5858
"@types/update-notifier": "5.1.0",
5959
"@typescript-eslint/eslint-plugin": "6.18.1",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "@tsconfig/node18/tsconfig.json",
2+
"extends": "@tsconfig/node20/tsconfig.json",
33
"include": [
44
"types/**/*.ts",
55
"src/**/*.ts"

0 commit comments

Comments
 (0)