chore(release): npm publish readiness — stage v0.4.2#17
Merged
Conversation
- Bump 0.4.1 -> 0.4.2: main carries the unreleased is_suspended / suspended_since EVOpportunity fields (#13); npm already has 0.4.1, so the next `gh release create` requires the bump or publish 403s. - CHANGELOG entry for 0.4.2 documenting the suspended-opportunity fields (inert until EV_SUSPENDED_STATE flips server-side). - Add engines: node >=18, matching the Node 18/20/22 CI matrix. Refs #16 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Stages the next npm release of
@sharp-api/client. Main carries one unreleased API addition past v0.4.1 — theis_suspended/suspended_sinceEVOpportunityfields (#13) — but the version was never bumped, so cutting a release today would runnpm publishat 0.4.1, which npm rejects (0.4.1 is already live, published 2026-06-04).version0.4.1 → 0.4.2 (patch — additive optional fields, same precedent as 0.3.1 / 0.4.1).EV_SUSPENDED_STATEflips).engines: { node: ">=18" }— matches the Node 18/20/22 CI matrix; metadata only.Readiness audit (all run on this branch)
npm ci+npm run lint(biome) — cleannpm run typecheck(tsc --noEmit) — cleannpm run build(tsup) — ESM + CJS +.d.ts/.d.cts, matches the exports mapnpm pack --dry-run— 9 files, 33.3 kB: LICENSE, README, dist/{index.js,.cjs,+maps,+types}, package.json. No src, no .env; sourcemaps ship withoutsourcesContent(tsup strips it).After merge, the release itself is one command (see #16 for the drafted notes):
publish.ymlthen gates on the Node 18/20/22 matrix (lint + tsc) and publishes with--provenanceviaNPM_TOKEN.Refs #16
Type: chore