Skip to content

refactor(thoth): fold vite-plugin in as thoth/vite#17

Merged
martypdx merged 1 commit into
mainfrom
vite-plugin-to-thoth
Jun 21, 2026
Merged

refactor(thoth): fold vite-plugin in as thoth/vite#17
martypdx merged 1 commit into
mainfrom
vite-plugin-to-thoth

Conversation

@martypdx

Copy link
Copy Markdown
Collaborator

The last reorg piece. vite-plugin → packages/thoth/vite/; thoth exports ./vite (absorbs @rollup/pluginutils + a vite peer-dep).

Non-breaking: azoth's ./vite-plugin export path is unchanged — it just re-exports @azothjs/thoth/vite now. Verified import 'azoth/vite-plugin' resolves to the plugin function.

Root vite.config.js imports the plugin from its new home; the node-test exclude became a cwd-robust glob (**/vite/index.test.js) so per-package vitest runs 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-test rethink on #11/#16.)

🤖 Generated with Claude Code

https://claude.ai/code/session_01156Jwbhv8ue51zDZdvdmbM

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
@martypdx martypdx merged commit a04dbbe into main Jun 21, 2026
2 checks passed
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