Migrate web app to Farm.js - #10
Draft
Kinfe123 wants to merge 1 commit into
Draft
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
srcwhile preserving the existing route markup and Tailwind classesVisual fidelity
Validation
pnpm type-checkpnpm buildoss/farm.jsbeta.5 checkout and the published beta.4 dependencies declared in this branch/,/blog, both blog posts,/brand,/farmers,/showcase, and the custom 404Summary by cubic
Migrate the web app from Next.js to Farm.js, preserving routes, MDX rendering, and design while targeting Vercel deploys. Improves hydration stability, self-hosts fonts, and keeps code/asset copy interactions.
Migration
@farm.js/coreand addedfarm.config.ts(Vercel target, RSC, image remotePatterns/qualities, alias/dedupe).src/*; swappednext/image,next/link, and navigation hooks for Farm equivalents.public/mdx-copy.jsand a new markdownCopybutton.@fontsource-variable/*and updated CSS vars; removed Next font loaders..gitignorefor/.farmand added.npmrcto disable peer auto-install.Dependencies
@farm.js/coreand@farm.js/cli(beta.4) and@mdx-js/mdx; removednextandgeist.@fontsource-variable/geist,@fontsource-variable/geist-mono,@fontsource-variable/space-grotesk, and@fontsource/vt323.19.2.8; updatednext-themesto^0.4.6; replaced Next scripts withfarm dev/build/start.Written for commit b4a8ae6. Summary will update on new commits.