Skip to content

fix(api): inline @meldrank/rating into the api bundle - #19

Merged
JasonPaff merged 1 commit into
mainfrom
fix/api-rating-noexternal
Jul 10, 2026
Merged

JasonPaff merged 1 commit into
mainfrom
fix/api-rating-noexternal

Conversation

@JasonPaff

Copy link
Copy Markdown
Owner

Its package.json has no build output—main/exports point at raw src/index.ts for bundler consumption only. Left external by tsup, the pruned production node_modules resolved that .ts file directly and Node refused to type-strip anything under node_modules (ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING), crash-looping meldrank-api at boot since the Glicko-2 deploy (v15, Jul 3).

Its package.json has no build output—main/exports point at raw
src/index.ts for bundler consumption only. Left external by tsup, the
pruned production node_modules resolved that .ts file directly and
Node refused to type-strip anything under node_modules
(ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING), crash-looping
meldrank-api at boot since the Glicko-2 deploy (v15, Jul 3).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@JasonPaff
JasonPaff merged commit bb45c70 into main Jul 10, 2026
6 checks passed
@JasonPaff
JasonPaff deleted the fix/api-rating-noexternal branch July 10, 2026 02:06

This branch was successfully deployed

1 active deployment
Preview — e692d5cc Deployed Jul 7, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant