diff --git a/lib/publish.js b/lib/publish.js index d0ea938..5179c3d 100644 --- a/lib/publish.js +++ b/lib/publish.js @@ -121,7 +121,7 @@ export async function prepareParcelWatcherPrebuildsPackages() { withFileTypes: true, }); const parcelWatchPrebuilds = parcelPackages - .filter((entry) => entry.isDirectory() && entry.name.startsWith("watcher-") && !entry.name.includes("musl")) + .filter((entry) => entry.isDirectory() && !entry.name.includes("musl")) .map((entry) => { return { dir: path.join(parcelScopedPackagesBasePath, entry.name), @@ -155,7 +155,9 @@ export async function prepareParcelWatcherPrebuildsPackages() { pkg.name = `@hackolade/${name}`; const version = pkg.version; - pkg.version = `${version}-${electronVersion}`; + if(pkg.name !== "watcher"){ + pkg.version = `${version}-${electronVersion}`; + } pkg.publishConfig = { access: "public" }