Skip to content

v0.1.1 — fixes a broken 0.1.0

Choose a tag to compare

@verveguy verveguy released this 17 Aug 03:38
· 916 commits to main since this release
5e358d9

0.1.0 could not be imported. Use 0.1.1.

0.1.0's published manifest pointed main, types and all six exports subpaths at ./src/*.ts, while the tarball shipped only dist/ — 191 dist/ files and zero src/ files. Every entry point resolved to a file that was not in the package, so import '@liminis/editor' failed outright.

Cause

publishConfig manifest-field overrides (main/types/exports) are a pnpm and yarn feature. npm honours publishConfig only for config values — access, registry, tag — and ignores field overrides. The release workflow publishes with npm publish, so the intended swap to dist/ never happened.

Fix

Entry points now live in the checked-in manifest as dist/ paths, with no pack-time rewriting. What is written is what is published.

The verification script was the deeper defect: it asserted the right things but packed with pnpm while the release packed with npm, so it validated a tarball no consumer would receive. It now packs with the same client that publishes, and additionally asserts the packed entry points are byte-identical to the checked-in ones.

Breaking

An in-workspace consumer resolving @liminis/editor no longer lands on raw TypeScript. Anything naming the package's src/ tree directly — a Tailwind @source directive, a bundler externalization exclusion — must name the installed package instead.

Also in this release

Every CI workflow moves to Node 24 (Node 20 reached end of life on 24 March 2026), and several code comments whose reasoning had gone stale are corrected.