feat(release): support otp bootstrap publish

This commit is contained in:
Devin Foley committed 2026-05-03 19:10:04 -07:00
1 parent 318718b04a
commit dcd7612b09
3 files changed
+68 -4

No files matched your search

+12
View File
@@ -9,6 +9,17 @@ test("parseArgs recognizes publish and skip-build flags", () => {
selector: "@paperclipai/adapter-acpx-local",
publish: true,
skipBuild: true,
otp: null,
});
});
test("parseArgs accepts an explicit otp value", () => {
assert.deepEqual(parseArgs(["packages/adapters/acpx-local", "--publish", "--otp", "123456"]), {
help: false,
selector: "packages/adapters/acpx-local",
publish: true,
skipBuild: false,
otp: "123456",
});
});
@@ -18,6 +29,7 @@ test("parseArgs returns help mode", () => {
selector: null,
publish: false,
skipBuild: false,
otp: null,
});
});