diff --git a/project/.nvmrc b/project/.nvmrc index e048c8ca..790e1105 100644 --- a/project/.nvmrc +++ b/project/.nvmrc @@ -1 +1 @@ -v18.15.0 +v20.10.0 diff --git a/project/gulpfile.mjs b/project/gulpfile.mjs index 476c1797..5adc7d3b 100644 --- a/project/gulpfile.mjs +++ b/project/gulpfile.mjs @@ -5,12 +5,12 @@ import path from "node:path"; import gulp from "gulp"; import { exec } from "gulp-execa"; import rename from "gulp-rename"; -import pkg from "pkg"; -import pkgfetch from "pkg-fetch"; +import pkg from "@yao-pkg/pkg"; +import pkgfetch from "@yao-pkg/pkg-fetch"; import * as ResEdit from "resedit"; import manifest from "./package.json" assert { type: "json" }; -const nodeVersion = "node18"; // As of pkg-fetch v3.5, it's v18.15.0 +const nodeVersion = "node20"; // As of @yao-pkg/pkg-fetch v3.5.7, it's v20.10.0 const stdio = "inherit"; const buildDir = "build/"; const dataDir = path.join(buildDir, "Aki_Data", "Server"); diff --git a/project/package.json b/project/package.json index 71619606..3c3b9823 100644 --- a/project/package.json +++ b/project/package.json @@ -8,7 +8,7 @@ "description": "The single-player modding framework for Escape From Tarkov.", "icon": "assets/images/icon.ico", "engines": { - "node": "18.15.0" + "node": "20.10.0" }, "scripts": { "check:circular": "madge --circular --ts-config tsconfig.json --extensions ts ./src/", @@ -61,6 +61,8 @@ "@typescript-eslint/parser": "6.14.0", "@vitest/coverage-istanbul": "1.0.4", "@vitest/ui": "1.0.4", + "@yao-pkg/pkg": "5.11.0", + "@yao-pkg/pkg-fetch": "3.5.7", "cross-env": "7.0.3", "dprint": "0.43.2", "eslint": "8.55.0", @@ -68,8 +70,6 @@ "gulp-execa": "6.0.0", "gulp-rename": "2.0.0", "madge": "6.1.0", - "pkg": "5.8.1", - "pkg-fetch": "3.5.2", "resedit": "2.0.0", "ts-node-dev": "2.0.0", "tsconfig-paths": "4.2.0", @@ -77,11 +77,6 @@ "typemoq": "2.1.0", "vitest": "1.0.4" }, - "overrides": { - "pkg": { - "pkg-fetch": "3.5.2" - } - }, "targets": { "default": { "includeNodeModules": true