Skip to content

Commit b1ddb33

Browse files
fix(ci): include README.md in hyperdb-mcp npm package (#12)
## Summary - The `hyperdb-mcp` npm package publishes from `hyperdb-mcp/npm/` which contains no `README.md` — npmjs.com renders a blank page - Add a CI step to copy `hyperdb-mcp/README.md` into the publish directory before `npm publish` - Add `README.md` to the `files` array in `hyperdb-mcp/npm/package.json` The `hyperdb-api-node` package already has its README in its publish root so it's unaffected. ## Test plan - [ ] Trigger npm-build-publish via workflow_dispatch and confirm the publish succeeds - [ ] After publish, verify https://www.npmjs.com/package/hyperdb-mcp shows the README content
2 parents bc9bee5 + c8ccc22 commit b1ddb33

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎.github/workflows/npm-build-publish.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,9 @@ jobs:
263263
done
264264
done
265265
266+
- name: Copy README into hyperdb-mcp npm publish directory
267+
run: cp hyperdb-mcp/README.md hyperdb-mcp/npm/README.md
268+
266269
- name: Determine npm dist-tag
267270
id: dist-tag
268271
run: |

‎hyperdb-mcp/npm/package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"hyperdb-mcp-win32-x64-msvc": "0.1.1"
1212
},
1313
"files": [
14-
"bin.js"
14+
"bin.js",
15+
"README.md"
1516
],
1617
"keywords": [
1718
"hyper",

0 commit comments

Comments
 (0)