Skip to content

v3.12.2

Choose a tag to compare

@github-actions github-actions released this 16 Jul 08:10
fb90dd4

Patch. Fresh npm install -g karajan-code works again. Since bundling was introduced (~v3.4.2), a fresh global install failed on every machine: npm nests all deps under karajan-code/node_modules, and bundle semantics mark that subtree as already-shipped, so npm skipped fetching better-sqlite3 & friends — empty directories whose install scripts crashed. Local installs hoist and never hit it (that's why verify-pack stayed green), and upgrades reuse the existing tree (that's why kj update kept working).

Fixed

  • Global install no longer breaks on fresh machines (KJC-BUG-0103): the internal @karajan/core workspace is now published to npm as karajan-core and resolved from the registry like any other dependency; bundleDependencies is gone. Verified: fresh npm install -g on npm 10 and 11 now succeeds and kj --version boots.
  • E2E Install Test gives a real signal again (KJC-BUG-0102): the workflow had been chronically red since v3.9.0 — its tarball was packed without the bundled core, and npm never fetches bundled deps from the registry, so kj died at startup. Removing the bundle removes the failure mode at the root.

Infrastructure

  • verify-pack gains a global-install smoke — the pre-publish gate now exercises npm install -g of the tarball, the exact path that was broken while every other gate stayed green.
  • The core-no-bundled-deps architecture guard now also forbids reintroducing bundleDependencies.