refactor(thoth): fold vite-plugin in as thoth/vite#17
Merged
Conversation
Moves vite-plugin → packages/thoth/vite/ (plugin imports thoth via ../compiler.js); thoth exports ./vite and absorbs @rollup/pluginutils + a vite peer-dep. azoth's ./vite-plugin export now re-exports @azothjs/thoth/vite — export PATH unchanged, so NOT breaking. Root vite.config.js imports the plugin from thoth/vite; the node-test exclude is now a cwd-robust glob (**/vite/index.test.js) so per-package runs don't trip on it. vite-plugin package removed; lock regenerated (pinned pnpm). maya 137, valhalla 70, thoth 12960; azoth/vite-plugin resolves to the plugin fn. (vite-plugin test stays excluded — its brittleness is the parked vite-test rethink.) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01156Jwbhv8ue51zDZdvdmbM
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.
The last reorg piece. vite-plugin →
packages/thoth/vite/; thoth exports./vite(absorbs @rollup/pluginutils + a vite peer-dep).Non-breaking: azoth's
./vite-pluginexport path is unchanged — it just re-exports@azothjs/thoth/vitenow. Verifiedimport 'azoth/vite-plugin'resolves to the plugin function.Root
vite.config.jsimports the plugin from its new home; the node-test exclude became a cwd-robust glob (**/vite/index.test.js) so per-packagevitestruns don't collect the node test in browser mode.maya 137 / valhalla 70 / thoth 12960 (validation suites still on-demand). Lock regenerated with the pinned pnpm. (The vite-plugin test stays excluded — its brittleness is the parked
vite-testrethink on #11/#16.)🤖 Generated with Claude Code
https://claude.ai/code/session_01156Jwbhv8ue51zDZdvdmbM