From a69977873675ec650ab8108ec55598811ac437d0 Mon Sep 17 00:00:00 2001 From: yifanwww Date: Sun, 10 Nov 2024 02:16:33 +0800 Subject: [PATCH] chore: add --access public --- scripts/release.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release.mjs b/scripts/release.mjs index a8eba4d..66c410f 100644 --- a/scripts/release.mjs +++ b/scripts/release.mjs @@ -42,7 +42,7 @@ function release() { const prerelease = semver.prerelease(version); const npmTag = getNpmTag(prerelease); - const cmd = `pnpm publish --filter ${packageName} --tag ${npmTag} --no-git-checks`; + const cmd = `pnpm publish --filter ${packageName} --tag ${npmTag} --access public --no-git-checks`; console.info(cmd); child.execSync(cmd, { encoding: 'utf-8', stdio: 'inherit' }); }