Skip to content

Fix versioning - #98

Open
dajinchu wants to merge 1 commit into
masterfrom
dc/fix-version
Open

dajinchu wants to merge 1 commit into
masterfrom
dc/fix-version

Conversation

@dajinchu

Copy link
Copy Markdown
Collaborator
  • Fix history nav breaking after entering on a native page
  • Install a single vike and fix hardNavigate return type

The lockfile kept vike 0.4.255 hoisted at the root for vike-react's peer
range while bifrost and tests/vite nested 0.4.259. bifrost-fastify
resolved the root copy, so `renderPage` ran on a different vike than the
built app. The first request after every server boot failed with a Vike
"Bug" assertion; CI only passed thanks to retries.

npm never hoisted 0.4.259 because a prerelease tag does not satisfy
vike-react's `>=0.4.250`. Pin vike at the workspace root and override it
so every workspace shares one copy, and align bifrost-fastify's peer and
dev dependency with bifrost.

Also return the never-settling promise from hardNavigate so `tsc` stops
reporting a reachable end point in a function returning `never`.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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