build: use node 18

This commit is contained in:
EnixCoda 2024-07-15 01:41:22 +08:00
parent 4d239c895b
commit 126673b828
2 changed files with 6 additions and 6 deletions

View file

@ -8,7 +8,7 @@
"private": true,
"homepage": "https://github.com/EnixCoda/Gitako",
"engines": {
"node": ">=20"
"node": ">=18"
},
"scripts": {
"dev": "VERSION=dev-v$(node scripts/get-version.js) NODE_OPTIONS=--openssl-legacy-provider webpack --watch",
@ -56,7 +56,7 @@
"@types/ini": "^1.3.31",
"@types/jest": "^29.5.12",
"@types/js-base64": "^3.3.1",
"@types/node": "^20",
"@types/node": "^18",
"@types/nprogress": "^0.0.29",
"@types/puppeteer": "^5.4.3",
"@types/react": "^18.0.9",

View file

@ -2734,10 +2734,10 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.5.tgz#66103d2eddc543d44a04394abb7be52506d7f290"
integrity sha512-KEjODidV4XYUlJBF3XdjSH5FWoMCtO0utnhtdLf1AgeuZLOrRbvmU/gaRCVg7ZaQDjVf3l84egiY0mRNe5xE4A==
"@types/node@^20":
version "20.14.10"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.14.10.tgz#a1a218290f1b6428682e3af044785e5874db469a"
integrity sha512-MdiXf+nDuMvY0gJKxyfZ7/6UFsETO7mGKF54MVD/ekJS6HdFtpZFBgrh6Pseu64XTb2MLyFPlbW6hj8HYRQNOQ==
"@types/node@^18":
version "18.19.39"
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.39.tgz#c316340a5b4adca3aee9dcbf05de385978590593"
integrity sha512-nPwTRDKUctxw3di5b4TfT3I0sWDiWoPQCZjXhvdkINntwr8lcoVCKsTgnXeRubKIlfnV+eN/HYk6Jb40tbcEAQ==
dependencies:
undici-types "~5.26.4"