Draft
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
Co-authored-by: dtinth <193136+dtinth@users.noreply.github.com> Agent-Logs-Url: https://github.com/creatorsgarten/contentsgarten/sessions/5fe42a5b-4a97-4a84-b79e-3c5bc2995cf1
Co-authored-by: dtinth <193136+dtinth@users.noreply.github.com> Agent-Logs-Url: https://github.com/creatorsgarten/contentsgarten/sessions/5fe42a5b-4a97-4a84-b79e-3c5bc2995cf1
Copilot
AI
changed the title
[WIP] Migrate project to Vite+
Migrate workspace library tooling to Vite+
Mar 25, 2026
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 updates the workspace to use Vite+ for the shared library packages and root task orchestration, replacing the previous split setup around Turbo, tsup, Prettier, and Vitest where those tools were directly used by the libraries. It also rewrites the remaining Vitest imports and aligns package metadata/config with Vite+ outputs.
Root tooling migration
build→vp run -r builddev→vp run -r devlint→vp run -r lintcheck/testadded at the rootvite.config.tsfor shared Vite+ config:.prettierrcintofmtturbo.json.prettierrcturbowithvite-plusLibrary packaging migration
tsuptovp pack:packages/htmlpackages/markdownpackages/contentsgartenpackages/client-utilspackages/server-utilsvite.config.tsfiles withpackconfiguration for each migrated librarydist/index.mjs,dist/index.d.mts)Test migration
vitesttovite-plus/testDependency cleanup
tsupandvitestusage from the migrated packages after the import/script rewrites were in placevite-plusas the shared toolchain surfaceExample of the test import rewrite:
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:
fonts.googleapis.com/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/contentsgarten/contentsgarten/wiki.wonderful.software/node_modules/.bin/../next/dist/bin/next build bash --no�� che/node-gyp/24.14.0/include/node(dns block)www.npmjs.com/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.