Skip to content

chore: add prepublishOnly to build dist before npm publish#21

Open
zackmckennarunpod wants to merge 1 commit intomainfrom
chore/prepublish-fix
Open

chore: add prepublishOnly to build dist before npm publish#21
zackmckennarunpod wants to merge 1 commit intomainfrom
chore/prepublish-fix

Conversation

@zackmckennarunpod
Copy link
Copy Markdown

The dist/ directory was missing from the 1.1.0 npm tarball because there was no build step before publish.

Adds prepublishOnly: "pnpm build" so dist is always built into the tarball before npm publish / changeset publish runs.

No code changes — single line in package.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant