chore: fix bin path, add author, use token-based npm publish

This commit is contained in:
Tobi Lutke 2026-02-15 15:14:45 -04:00
parent 5d73752b47
commit 00ff084fd9
No known key found for this signature in database
2 changed files with 5 additions and 3 deletions

View File

@ -10,7 +10,6 @@ jobs:
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4
@ -30,7 +29,9 @@ jobs:
node-version: 22
registry-url: https://registry.npmjs.org
- run: npm publish --provenance --access public
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Create GitHub Release
env:

View File

@ -4,7 +4,7 @@
"description": "Query Markup Documents - On-device hybrid search for markdown files with BM25, vector search, and LLM reranking",
"type": "module",
"bin": {
"qmd": "./qmd"
"qmd": "qmd"
},
"files": [
"src/**/*.ts",
@ -76,5 +76,6 @@
"local-ai",
"llm"
],
"author": "Tobi Lutke <tobi@lutke.com>",
"license": "MIT"
}