chore(release): prep 0.1.2 — version bump, publish fix, README - #6
Conversation
- Bump to 0.1.2 (patch for the MCP content-type fix + OpenAlex search backend swap on this branch). - .github/workflows/npm-publish.yml: the "build" job was running `npm test` but there's no test script, so `release: created` would fail with `npm error Missing script: "test"` and block the publish step. Replace with `npm run build` (real CI value — verifies TS compiles before publishing) and `npm test --if-present`. - README: reframe the Setup block as "Local development (contributors only)" so end users clearly land on the npx config; note in Quickstart that no clone / npm install is needed. Update unpaywall_search_titles output description to reflect the new shape (results[].response, results[].score, results[].snippet, _source) and the OpenAlex-backed implementation. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 24 minutes and 50 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Release prep for 0.1.2, on top of #5 (already merged to
main).Why this needs to be its own PR
#5 was merged between my last two pushes, so this release-prep commit landed on the stale feature branch. Reopening it cleanly against
main.Summary
versionstring insrc/index.ts:124so it stops drifting frompackage.json..github/workflows/npm-publish.yml— thebuildjob runsnpm test, but there is notestscript, so the workflow would fail withnpm error Missing script: "test"onrelease: createdand block thepublish-npmstep. Replace withnpm run build(real CI value — verifies the TypeScript compiles before publishing) plusnpm test --if-presentso a future test script plugs in without a workflow edit.npx -y unpaywall-mcpconfig (this is the "modern-style, nonpm install" path the MCP SDK already supports). Add a one-line note in the Quickstart confirming no clone / no install is needed. Update theunpaywall_search_titlesoutput description to match the new shape delivered in fix: MCP-valid content type + swap /v2/search backend to OpenAlex (#4) #5 (results[].response,results[].score,results[].snippet,_source) and call out the OpenAlex-backed implementation.Release plan after merge
v0.1.2—.github/workflows/npm-publish.ymltriggers onrelease: created, builds, and runsnpm publish.npm view unpaywall-mcp versionshould then show0.1.2.Test plan
npm run buildsucceeds at 0.1.2 (tsc clean).npm view unpaywall-mcp version===0.1.2.🤖 Generated with Claude Code