fix(web): take runreport 0.1.2, whose exports point at dist #509
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
gmackie/ForgeGraph!509
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/runreport-0-1-2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the deploy blocker at its source, so #507's
transpilePackagesworkaround should not be needed.What was wrong.
@preflight/runreport@0.1.1publishedexports: { ".": "./src/index.ts" }, so every resolver got raw TypeScript while a correct compileddist/sat unused beside it.next builddied onUnknown module type, and that is what has kept main from deploying.Why it published that way — the part worth recording. The package's manifest was never wrong. The correct map has always been there, in
publishConfig:But
npm publishignorespublishConfig.exports; onlypnpm publishapplies it. Andpnpm publishcould not run on this package at all:@preflight/tsconfigis private with noversionfield, soworkspace:*was unresolvable and pnpm refused. Publishing therefore fell back to npm, which silently dropped the override. 0.1.0 has correct exports; 0.1.1 does not — that is the whole difference.Fixed upstream (preflight-app
1569fb1f): gave the private tooling package a version sopnpm publishworks, then republished as 0.1.2 with the exports map the package always intended. Verified on the registry:This PR takes
^0.1.2. Verified locally, not assumed:turbo run typecheck— 6/6, and the failures onrun-report-provider.tsandruns/[testRunId]/page.tsxare gonenext build— compiled successfully in 55s, 205 static pages, noUnknown module type@forgegraph-df: #507 can likely be dropped, or kept and its
transpilePackagesline removed as you suggested — your call since it is yours. I did not touch it.🤖 Generated with Claude Code