Skip to content
This repository was archived by the owner on Sep 19, 2025. It is now read-only.

Commit 2876161

Browse files
Switch back to npm for publication
1 parent 9e1c6c0 commit 2876161

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build-scripts/publish.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ async function publishPackagesIfNeeded(packageInfo) {
6161
return;
6262
}
6363
console.log('Publishing', pkgJson.name, pkgJson.version);
64-
const publishArgs = ['workspace', pkgJson.name, 'publish', `--new-version=${pkgJson.version}`];
64+
const publishArgs = ['-w', pkgJson.name, 'publish'];
6565
if (process.env.COMPILER_NIGHTLY ) {
6666
publishArgs.push('--tag', 'nightly');
6767
}
68-
await runCommand('yarn', publishArgs);
68+
await runCommand('npm', publishArgs);
6969
}
7070

7171
(async () => {

0 commit comments

Comments
 (0)