fix(security): gate landing dependency audit

This commit is contained in:
ZacharyZhang-NY committed 2026-05-15 02:12:47 -04:00
1 parent 0c85dc3d32
commit 83faa9629b
10 files changed
+13 -3

No files matched your search

+1
View File
@@ -138,6 +138,7 @@ async function main() {
process.env.AGENTCOMPANY_ELECTRON_PUBLISH = "never";
validatePreflight();
await run("pnpm", ["audit:deps"]);
const currentVersion = (await readPackageJson()).version;
const nextVersion = options.version ?? (options.bump ? bumpPatchVersion(currentVersion) : currentVersion);