Skip to content

Fix CI builds#57

Merged
LucDeCaf merged 1 commit into
mainfrom
fix/ci-builds
Jun 11, 2026
Merged

Fix CI builds#57
LucDeCaf merged 1 commit into
mainfrom
fix/ci-builds

Conversation

@LucDeCaf

Copy link
Copy Markdown
Contributor

pnpm v10 forked out to npm to handle packaging, which roughly performed prepack -> list files -> generate tarball -> postpack. pnpm v11 reimplements this system, but now it performs prepack -> list files -> postpack -> generate tarball. This broke builds because pnpm sees the file oclif.manifest.json, but postpack deletes oclif.manifest.json before pnpm can bundle it into the tarball, so it fails with an ENOENT not found error.

This fixes that by removing the postpack command and instead making clean and pretest delete the oclif.manifest.json file instead (so as to not hinder local development). I'm not sure why we were deleting oclif.manifest.json in postpack; happy to modify if it needs to be there for some purpose.

@LucDeCaf LucDeCaf requested a review from stevensJourney June 11, 2026 14:45
@LucDeCaf LucDeCaf merged commit 382b0bf into main Jun 11, 2026
6 checks passed
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.

2 participants