Migrate hugomeet and portfolio Nx apps to Vite with root NX_ env support#38
Draft
Copilot wants to merge 2 commits into
Draft
Migrate hugomeet and portfolio Nx apps to Vite with root NX_ env support#38Copilot wants to merge 2 commits into
hugomeet and portfolio Nx apps to Vite with root NX_ env support#38Copilot wants to merge 2 commits into
Conversation
Agent-Logs-Url: https://github.com/hcabel/web-monorepo/sessions/d285f036-fbc9-4af4-8065-06965a81a10a Co-authored-by: hcabel <49307497+hcabel@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Convert hugomeet and portfolio apps to Vite setup
Migrate May 16, 2026
hugomeet and portfolio Nx apps to Vite with root NX_ env support
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.
This PR converts
apps/hugomeetandapps/portfoliofrom the previous Next/Nx-next execution model to Vite in Nx, including target/config updates sonx serve/build/previewwork with Vite. It also preserves monorepo-root environment variable usage for HugoMeet (NX_HUGOMEET_ENDPOINT,NX_HUGOMEET_SS_ENDPOINT) by configuring Vite to acceptNX_-prefixed vars.Nx target migration to Vite
project.jsonfiles to use:@nx/vite:build@nx/vite:dev-server(dev+serve)@nx/vite:preview-server(preview)development/production) for build and runtime targets.Vite app configuration
apps/hugomeet/vite.config.mtsapps/portfolio/vite.config.mtsenvPrefix: ["VITE_", "NX_"]to keep existing root env naming conventions.App entrypoint/runtime wiring
index.htmlsrc/main.tsxHugomeet env + routing adaptation
NX_values:Replaced Next router hooks used by HugoMeet UI flow with React Router equivalents for the Vite runtime path.
TypeScript compatibility updates
UI screenshots
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/graphql/usr/local/bin/node /usr/local/bin/node /home/REDACTED/work/web-monorepo/web-monorepo/node_modules/.pnpm/next@14.2.0_@babel+core@7.27.1_babel-plugin-macros@3.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.54.5/node_modules/next/dist/compiled/jest-worker/processChild.js(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
This pull request was created from Copilot chat.