Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Un-ossify the build system #36

Draft
wants to merge 110 commits into
base: main
Choose a base branch
from

Conversation

tstirrat15
Copy link
Contributor

@tstirrat15 tstirrat15 commented Jan 10, 2025

Description

This escalated quickly. Roughly: I started by just wanting to collapse the workspaces. In moving the yarn lockfiles around, I triggered an upgrade of one package or another, which moved to ESM, which the create-react-app version of Webpack wasn't able to parse. You're kinda stuck with what CRA gives you as far as versions of things go.

That prompted a move to Vite, which shouldn't have been that destructive a change, except that we were doing a bunch of non-standard stuff. I had to fix a bunch of typescript issues that came with the new typescript version, which also included upgrading how we're doing protobuf generation. I also simplified the build process as much as I could by moving things into the public dir and letting vite copy them around.

Changes

I'm gonna annotate this to call out the most relevant bits.

Testing

See that things are green and check out the preview to see that it works as desired.

Copy link

vercel bot commented Jan 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 16, 2025 1:12am

@tstirrat15 tstirrat15 changed the title Flatten workspaces Un-ossify the build system Jan 16, 2025
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