Skip to content

v0.0.3 — fix broken package publishing

Choose a tag to compare

@Neerav-Gupta Neerav-Gupta released this 05 Jul 22:02
· 18 commits to main since this release

Fix: packages are now actually installable

0.0.2 was published with plain npm publish, which silently skipped two
pnpm-only transforms that the package.jsons rely on:

  • publishConfig overrides never applied — every package's main/exports
    pointed at TypeScript source (./src/index.ts) instead of the built dist/
    output, breaking require/import for real consumers.
  • workspace:* ranges never rewritten — every package depending on
    another @hookkit-dev/* package (sdk, core, cli, inspector, all
    adapter-*) still listed it as workspace:*, an unresolvable range outside
    this monorepo. npm install / pnpm add failed outright with
    EUNSUPPORTEDPROTOCOL / ERR_PNPM_WORKSPACE_PKG_NOT_FOUND for every
    consumer.

scripts/publish-packages.mjs now publishes with pnpm publish, which
performs both transforms correctly. No runtime behavior changed — verified
with a real npm install @hookkit-dev/sdk from the registry after publishing.

All 11 packages bumped to 0.0.3: core, fixtures, sdk, cli,
inspector, relay, adapter-express, adapter-fastify, adapter-next,
adapter-hono, adapter-nest.