From 52ad8d74ede9c6b23ac90a07b319e65ae148f41a Mon Sep 17 00:00:00 2001 From: Christopher Tso Date: Fri, 19 Jun 2026 07:00:40 +0200 Subject: [PATCH] fix(release): publish scoped packages as public --- scripts/publish.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/publish.ts b/scripts/publish.ts index efb21f362..e832d3c42 100644 --- a/scripts/publish.ts +++ b/scripts/publish.ts @@ -23,7 +23,7 @@ if (requestedTag !== undefined && requestedTag !== 'next') { } const npmTag = requestedTag ?? 'latest'; -const tagArgs = ['--tag', npmTag]; +const publishArgs = ['--tag', npmTag, '--access', 'public']; const PACKAGES = ['packages/core', 'packages/sdk', 'packages/eval', 'apps/cli']; @@ -116,7 +116,7 @@ async function main() { if (publishedVersion === version) { console.log(` ✓ ${name}@${version} is already published`); } else { - await $`npm publish ${tagArgs}`.cwd(pkg).env({ ...process.env, ALLOW_PUBLISH: '1' }); + await $`npm publish ${publishArgs}`.cwd(pkg).env({ ...process.env, ALLOW_PUBLISH: '1' }); } await ensureDistTag(name, version);