Skip to content

v1.1.1 — Fix init failing on missing role files

Latest

Choose a tag to compare

@tavobarrientos tavobarrientos released this 11 Sep 21:40
4238281

A packaging fix for 1.1.0: ambykit init failed for everyone installing from npm.

Fixed

1.1.0 left the default role definitions (src/roles/) out of the published package, so init stopped after the prompts with:

✗ ENOENT: no such file or directory, open '.../node_modules/@ambystech/ambykit/src/roles/pm.md'

The role files now ship with the package. A new test runs npm pack --dry-run and fails if any file the CLI reads at runtime (prompts, templates, roles, reference) is missing from the tarball, so this can't come back unnoticed. The rest of the suite runs against the repo checkout, which is why it slipped through.

If init failed for you on 1.1.0, run it again:

npx @ambystech/ambykit@latest init

Also

  • The npm package now also ships LICENSE, CHANGELOG.md, and docs/.

Full changelog: v1.1.0...v1.1.1