Skip to content

Commit

Permalink
Also embbed parcel watcher
Browse files Browse the repository at this point in the history
  • Loading branch information
bigorn0 committed Sep 19, 2023
1 parent 9325988 commit ad11187
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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" }

Expand Down

0 comments on commit ad11187

Please sign in to comment.