From 74cbdefd7b1581090a51fc3daf9300cd324cbc31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Kuli=C5=84ski?= <25184202+rkulinski@users.noreply.github.com> Date: Tue, 3 Oct 2023 19:28:11 +0200 Subject: [PATCH] Fix publish (#68) * use token * Use npm --- scripts/publish.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish.ts b/scripts/publish.ts index a1ca141..3054114 100644 --- a/scripts/publish.ts +++ b/scripts/publish.ts @@ -557,7 +557,7 @@ async function run() { // Publish each package changedPackages.map((pkg) => { const packageDir = path.join(rootDir, 'packages', pkg.packageDir) - const cmd = `cd ${packageDir} && pnpm publish --tag ${npmTag} --access=public --no-git-checks` + const cmd = `cd ${packageDir} && npm publish --tag ${npmTag} --access=public --no-git-checks` console.info( ` Publishing ${pkg.name}@${version} to npm with tag "${npmTag}"...`, )