chore: migrate frontend toolchain to Vite, React 19, shadcn/ui#1
Draft
itzzjustmateo wants to merge 7 commits into
Draft
chore: migrate frontend toolchain to Vite, React 19, shadcn/ui#1itzzjustmateo wants to merge 7 commits into
itzzjustmateo wants to merge 7 commits into
Conversation
…adcn/ui foundation Breaking changes: - Replace Webpack 5 + Babel with Vite 6 + @vitejs/plugin-react - Upgrade React 16 → React 19 with createRoot API - Remove react-hot-loader, formik, yup, styled-components-breakpoint from critical path New pipeline: - vite.config.ts with path aliases (@, @definitions, @feature) - PostCSS ESM config for Tailwind + nesting - Production builds emit to public/assets/ with manifest.json - ViteAsset.php parses manifest for Blade asset loading - Dev server on :5173 with HTTPS certs support UI framework: - shadcn/ui component registry (components.json) - Tailwind config with CSS variables, dark mode, animations - Radix primitives: Dialog, DropdownMenu, Select, Switch, Label, Slot - cn() utility via clsx + tailwind-merge - Lucide icons for component glyphs Backward compat: - twin.macro + styled-components + babel-plugin-macros retained as transitional deps for 100+ existing components - Incremental migration path: components/elements/* → ui/* CI/CD: - Dockerfile layer caching optimization - Build script simplified to 'bun run build' - Jest migrated from babel-jest to ts-jest
…or Vite compatibility
…in user in dev script
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
Comprehensive frontend architecture migration for Pteranodon panel.
Toolchain
Runtime
UI Framework
Asset Pipeline
CI/CD
Breaking Changes (for follow-up)