Skip to content

release hygiene: missing v2.0.0 tag, engines >=18 wrong, mock test models forbidden -e usage #8

Description

@alexanderolvera

Housekeeping findings from the post-v1.0 review:

  1. v2.0.0 was published to npm without a git tag. CHANGELOG.md:33 links releases/tag/v2.0.0, but git tag is empty — the published artifact is not pinned to a commit. Fix: retroactively tag the publish-era commit (54cf009 lineage) and push; then merge the feat/release-pipeline branch (1 commit ahead of main, unmerged) so future releases tag automatically.
  2. engines: ">=18" is inaccurate. tsup.config.ts targets node20, .nvmrc says 24, and running the repo''s own test (scripts/mock-server-test.js imports ../src/index.ts with type-stripping + JSON import attributes) needs Node >= 23.6. The published dist/ is fine, but a Node 18/20 contributor cannot run npm test. Fix: bump engines to >=20 (the MCP server already requires that) and note the Node-24 dev requirement in the README.
  3. The mock test models the invocation the client''s own docs forbid. scripts/mock-server-test.js:131 calls runCommand('lua', ['-e', ...]), but src/client.ts:143-146 documents that -e is not accepted over RPC. The mock does not care, so it passes — but as executable protocol documentation it teaches wrong usage. Fix: drop -e from the test args.
  4. Minor: scripts/debug-lua.js is an unreferenced one-off probe — delete or wire up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions