Skip to content

New exports#29

Merged
mdo merged 3 commits intomainfrom
new-exports
Mar 30, 2026
Merged

New exports#29
mdo merged 3 commits intomainfrom
new-exports

Conversation

@mdo
Copy link
Copy Markdown
Contributor

@mdo mdo commented Mar 30, 2026

  • Updates our build progress to output .mjs versions
  • Adds new dist directory for ESM wrappers
  • Updates readme to be more useful
  • Bumps version for a release

mdo added 3 commits March 30, 2026 14:23
Instead of requiring raw JSON imports (which break in Node ESM without
import attributes), the build now generates dist/*.mjs wrappers that
inline each theme as `export default Object.freeze(JSON.parse(...))`,
following the same pattern as @shikijs/themes.
The npm publish job was missing install + build steps, so dist/ would
not exist when publishing. Also adds a verification step to the test
workflow to confirm all ESM wrapper modules are generated.
@mdo mdo merged commit 4cfa6d8 into main Mar 30, 2026
1 check passed
@mdo mdo deleted the new-exports branch March 30, 2026 22:12
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