Strip prepare/build scripts from vendored keysat-client package.json
When npm install runs in server/ and processes the file: dep at vendor/keysat-licensing-client/, it fires the vendor's 'prepare' script even with --ignore-scripts (npm bug for file/git deps). The prepare script calls tsup which isn't installed in the build container, so the build fails with 'sh: 1: tsup: not found'. The vendored copy ships its prebuilt dist/ in the repo, so we don't need tsup. Drop the scripts entirely.
This commit is contained in:
+2
-11
@@ -14,12 +14,7 @@
|
||||
}
|
||||
},
|
||||
"files": ["dist", "README.md", "LICENSE"],
|
||||
"scripts": {
|
||||
"build": "tsup src/index.ts --format esm,cjs --dts --clean",
|
||||
"test": "vitest run",
|
||||
"prepare": "npm run build",
|
||||
"prepublishOnly": "npm run build && npm test"
|
||||
},
|
||||
"scripts": {},
|
||||
"keywords": [
|
||||
"bitcoin",
|
||||
"licensing",
|
||||
@@ -34,9 +29,5 @@
|
||||
"@noble/ed25519": "^2.0.0",
|
||||
"@noble/hashes": "^1.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.3.0",
|
||||
"tsup": "^8.0.0",
|
||||
"vitest": "^1.0.0"
|
||||
}
|
||||
"devDependencies": {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user