chore: fix bin path, add author, use token-based npm publish
This commit is contained in:
parent
5d73752b47
commit
00ff084fd9
5
.github/workflows/publish.yml
vendored
5
.github/workflows/publish.yml
vendored
@ -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:
|
||||
|
||||
@ -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"
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user