Skip to content

v0.5.1

Choose a tag to compare

@cusxy cusxy released this 06 Apr 12:32
· 73 commits to main since this release

Fixed

  • Broken global install on npm. v0.5.0 was published with @agloom/markdown-tools: workspace:* literally in dependencies, causing npm install -g agloom to fail with EUNSUPPORTEDPROTOCOL. Resolved by bundling the workspace package into the CLI via tsup, so it ships as part of the published tarball ("fat package") instead of being a separate dependency.

Changed

  • CLI is now built with tsup — dist/cli/index.js is a single self-contained ESM bundle that inlines @agloom/markdown-tools.
  • tsc is kept in the build pipeline as tsc --noEmit for strict type-checking only; tsup is the sole emitter.
  • Promoted markdown-tools' runtime dependencies (prettier, markdownlint-cli2, prettier-plugin-toml) to agloom's dependencies so they remain external and are installed by npm.
  • Added engines.node >=20.11.0 (minimum required by import.meta.dirname).

Compatibility

  • Node 20.11.0 and newer (LTS).
  • No API changes from 0.5.0 — drop-in fix.

Install

```bash
npm install -g agloom

or

pnpm add -g agloom
```