Replace deprecated pkg with yao-pkg

This commit is contained in:
hensm
2026-03-14 17:33:11 +00:00
parent f64241fb43
commit ad9eb4bcac
3 changed files with 2239 additions and 1589 deletions

View File

@@ -7,7 +7,7 @@ import url from "url";
import { spawnSync } from "child_process"; import { spawnSync } from "child_process";
import mustache from "mustache"; import mustache from "mustache";
import pkg from "pkg"; import pkg from "@yao-pkg/pkg";
import yargs from "yargs"; import yargs from "yargs";
import config from "./lib/config.js"; import config from "./lib/config.js";

3824
bridge/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -30,7 +30,7 @@
"@types/yargs": "^17.0.11", "@types/yargs": "^17.0.11",
"fs-extra": "^10.1.0", "fs-extra": "^10.1.0",
"mustache": "^4.2.0", "mustache": "^4.2.0",
"pkg": "^5.6.0", "@yao-pkg/pkg": "^6.14.1",
"tiny-typed-emitter": "^2.1.0", "tiny-typed-emitter": "^2.1.0",
"typescript": "^5.7.0" "typescript": "^5.7.0"
} }