diff --git a/.changeset/shiny-sites-check.md b/.changeset/shiny-sites-check.md deleted file mode 100644 index 1653a81..0000000 --- a/.changeset/shiny-sites-check.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@webiny/stdlib": patch ---- - -Fix broken `stdlib-mcp` bin entry in published package - -The build script's `ArtifactCopier` rewrites `main`, `types`, and `exports` paths when copying `package.json` into `dist/`, but was not rewriting `bin` entries. Since the package publishes from `dist/` (via `publishConfig.directory`), the bin path `./dist/mcp/cli.js` resolved to the nonexistent `dist/dist/mcp/cli.js`, causing `npx -y @webiny/stdlib stdlib-mcp` to fail with `command not found`. The `bin` field is now rewritten with the same `stripDist()` logic as the other path fields. diff --git a/CHANGELOG.md b/CHANGELOG.md index 35ad2ba..629cbdf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # @webiny/stdlib +## 0.0.14 + +### Patch Changes + +- d5bc832: Fix broken `stdlib-mcp` bin entry in published package + + The build script's `ArtifactCopier` rewrites `main`, `types`, and `exports` paths when copying `package.json` into `dist/`, but was not rewriting `bin` entries. Since the package publishes from `dist/` (via `publishConfig.directory`), the bin path `./dist/mcp/cli.js` resolved to the nonexistent `dist/dist/mcp/cli.js`, causing `npx -y @webiny/stdlib stdlib-mcp` to fail with `command not found`. The `bin` field is now rewritten with the same `stripDist()` logic as the other path fields. + ## 0.0.13 ### Patch Changes diff --git a/package.json b/package.json index d93dc50..fbc627e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@webiny/stdlib", - "version": "0.0.13", + "version": "0.0.14", "type": "module", "description": "Standard library for Webiny — platform-agnostic, Node.js, and browser utilities", "license": "MIT",