Skip to content

Commit

Permalink
Fix npm publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
salamaashoush committed May 27, 2024
1 parent 93c354f commit 5a43595
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/itchy-toes-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"pactup": patch
---

Fix npm publish script
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ feature_tests/.tmp
.vercel
.proxy
npm/
pactup-darwin-*
pactup-linux-*
pactup-win-*
7 changes: 4 additions & 3 deletions scripts/generate-packages.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ function generateNativePackage(target) {
}

function writeManifest() {
const manifestPath = resolve(PACKAGES_ROOT, PACTUP_BIN_NAME, "package.json");
// const manifestPath = resolve(PACKAGES_ROOT, PACTUP_BIN_NAME, "package.json");
const manifestPath = resolve(MANIFEST_PATH);

const manifestData = JSON.parse(
fs.readFileSync(manifestPath).toString("utf-8")
Expand All @@ -92,8 +93,8 @@ function writeManifest() {

// NOTE: Must update npm/pactup/bin/pactup
const TARGETS = [
"win32-x64",
"win32-arm64",
// "win32-x64",
// "win32-arm64",
"linux-x64-gnu",
"linux-arm64-gnu",
"linux-x64-musl",
Expand Down

0 comments on commit 5a43595

Please sign in to comment.