From f0affe1bdd4821424b6c982c88b336491e415ccf Mon Sep 17 00:00:00 2001 From: Chris Manson Date: Thu, 20 Jul 2023 12:22:09 -0700 Subject: [PATCH] add --access=public to npm publish unstable --- test-packages/unstable-release/publish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-packages/unstable-release/publish.js b/test-packages/unstable-release/publish.js index 075787428..30c1e5d38 100644 --- a/test-packages/unstable-release/publish.js +++ b/test-packages/unstable-release/publish.js @@ -10,7 +10,7 @@ async function publish() { for (let workspace of publicWorkspaces) { console.info(`Publishing ${workspace}`); try { - await execaCommand('npm publish --tag=unstable --verbose', { cwd: dirname(workspace) }); + await execaCommand('npm publish --tag=unstable --verbose --access=public', { cwd: dirname(workspace) }); } catch (err) { console.info(`Publishing ${workspace} has failed. A full list of errors will be printed at the end of this run`); errors.push(err);