js2me-exports-post-build-script
Advanced tools
Comparing version
{ | ||
"name": "js2me-exports-post-build-script", | ||
"version": "2.0.16", | ||
"version": "2.0.17", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -45,3 +45,2 @@ import { $ } from './utils/fs.js'; | ||
if (otherNames?.length && targetPackageJson) { | ||
$(`cd dist`); | ||
const currentName = targetPackageJson.data.name; | ||
@@ -52,3 +51,3 @@ for (const otherName of otherNames) { | ||
}); | ||
$(publishCommand); | ||
$(`cd dist && ${publishCommand} && cd ..`); | ||
} | ||
@@ -58,3 +57,2 @@ targetPackageJson.update({ | ||
}); | ||
$(`cd ..`); | ||
} | ||
@@ -61,0 +59,0 @@ if (cleanupCommand) { |
Sorry, the diff of this file is not supported yet
24251
-0.07%398
-0.5%