mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 04:00:49 +00:00
Lock down @yao-pkg/pkg dependency
This commit is contained in:
parent
aa441e7483
commit
0fd54b159b
3 changed files with 1441 additions and 9 deletions
12
build.js
12
build.js
|
|
@ -103,14 +103,10 @@ async function copyAndModifyPackageJson() {
|
||||||
|
|
||||||
function buildSafeChainBinary(target) {
|
function buildSafeChainBinary(target) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
const pkg = spawn(
|
const pkg = spawn("./node_modules/.bin/pkg", ["./build/package.json", "-t", target], {
|
||||||
"npx",
|
stdio: "inherit",
|
||||||
["@yao-pkg/pkg", "./build/package.json", "-t", target],
|
shell: true,
|
||||||
{
|
});
|
||||||
stdio: "inherit",
|
|
||||||
shell: true,
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
pkg.on("close", (code) => {
|
pkg.on("close", (code) => {
|
||||||
if (code !== 0) {
|
if (code !== 0) {
|
||||||
|
|
|
||||||
1435
package-lock.json
generated
1435
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -20,6 +20,7 @@
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"oxlint": "^1.22.0",
|
"oxlint": "^1.22.0",
|
||||||
"esbuild": "^0.27.0"
|
"esbuild": "^0.27.0",
|
||||||
|
"@yao-pkg/pkg": "6.10.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue