Skip to content

fix: strip pre-marker keys from package.json in publish:prepare - #34

Merged
jxom merged 5 commits into
mainfrom
fix/write-package-json-strip-pre-marker-keys
Mar 28, 2026
Merged

jxom merged 5 commits into
mainfrom
fix/write-package-json-strip-pre-marker-keys

Conversation

@jxom

@jxom jxom commented Mar 28, 2026

Copy link
Copy Markdown
Member

Fixed publish:prepare to strip pre-marker keys from package.json. writePackageJson always merges pre-marker keys back from the cached original, so the published package.json still contained dev-only fields above [!start-pkg]. Now strips them after build completes.

@jxom
jxom merged commit 22a4980 into main Mar 28, 2026
6 checks passed
@jxom
jxom deleted the fix/write-package-json-strip-pre-marker-keys branch March 28, 2026 09:10
@github-actions github-actions Bot mentioned this pull request Mar 28, 2026
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