Skip to content

Commit

Permalink
chore: upgrade to Node.js 20
Browse files Browse the repository at this point in the history
  • Loading branch information
edosrecki committed Jan 16, 2024
1 parent 9600ec7 commit 734a62b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: npm run build

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

build-redis-stunnel:
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"clean": "rimraf dist bin",
"build:transpile": "tsc",
"build": "npm run clean && npm run build:transpile",
"bundle": "npm run build && pkg . --out-dir bin",
"bundle": "npm run build && pkg . --targets node18-linux,node18-macos,node18-win --out-dir bin",
"exec:dev": "ts-node src/index.ts",
"exec:dist": "node dist/index.js",
"lint": "eslint . --ext .ts",
Expand Down Expand Up @@ -50,13 +50,13 @@
"@semantic-release/changelog": "6.0.3",
"@semantic-release/exec": "6.0.3",
"@semantic-release/git": "10.0.1",
"@tsconfig/node18": "18.2.2",
"@tsconfig/node20": "20.1.2",
"@types/inquirer": "8.2.6",
"@types/inquirer-autocomplete-prompt": "2.0.0",
"@types/js-yaml": "4.0.9",
"@types/lodash": "4.14.202",
"@types/memoizee": "0.4.11",
"@types/node": "18.18.9",
"@types/node": "20.11.4",
"@types/shelljs": "0.8.15",
"@types/update-notifier": "5.1.0",
"@typescript-eslint/eslint-plugin": "6.19.0",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node18/tsconfig.json",
"extends": "@tsconfig/node20/tsconfig.json",
"include": [
"types/**/*.ts",
"src/**/*.ts"
Expand Down

0 comments on commit 734a62b

Please sign in to comment.