web sdk adjustments

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-08-09 22:47:33 +02:00
committed by Carl-Gerhard Lindesvärd
parent a7fe2b48e6
commit de59229566
3 changed files with 6 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
import { execSync } from 'node:child_process';
import { exec, execSync } from 'node:child_process';
import fs from 'node:fs';
import path from 'node:path';
import arg from 'arg';
@@ -220,6 +220,9 @@ function main() {
// Publish
if (publish) {
if (test) {
execSync('rm -rf ~/.local/share/verdaccio/storage/@openpanel');
}
dependents.forEach((dependent) => {
console.log(`🚀 Publishing ${dependent} to ${registry}`);
execSync(`npm publish --access=public --registry ${registry}`, {