Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
f7ab1ca to
5c3a1ae
Compare
9251182 to
e68a67c
Compare
5c3a1ae to
ddae522
Compare
e68a67c to
67d255a
Compare
ddae522 to
49fedfe
Compare
There was a problem hiding this comment.
Pull Request Overview
This PR refactors the CLI to properly re-export Vite and Vitest functionality while introducing a dedicated config module. The main goal is to separate config-related exports into their own entry point (/config) to improve modularity.
Key changes:
- Introduces a new
./configexport path that providesdefineConfigand module augmentation for custom lint/fmt options - Restructures
index.tsto explicitly re-export specific Vite types and functions instead of using wildcard exports - Filters out vitest's
./configexport to prevent conflicts with the custom config implementation
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| vite.config.ts | Updates import path to use the new /config export |
| packages/tools/src/sync-remote-deps.ts | Adds ./config to CLI-owned exports and filters it from vitest exports to prevent conflicts |
| packages/cli/src/index.ts | Restructures exports to explicitly list Vite types/functions and adds Vitest test exports |
| packages/cli/src/config.ts | New config module that augments Vite's UserConfig with lint/fmt options and re-exports vitest config |
| packages/cli/package.json | Updates ./config export to point to the new config module |
| packages/cli/build.ts | Adds config.ts to build inputs, updates externals, adds renderChunk hook for rolldown imports, and updates vite module declaration rewriting |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
d3437f0 to
e6cbb9f
Compare
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 11 out of 12 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 20 out of 21 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 24 out of 25 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 23 out of 24 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 23 out of 24 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 23 out of 24 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -1,4 +1,4 @@ | |||
| import { defineConfig } from '@voidzero-dev/vite-plus'; | |||
| import { defineConfig } from '@voidzero-dev/vite-plus/config'; | |||
There was a problem hiding this comment.
Is exporting defineConfig from /config the final solution?
There was a problem hiding this comment.
not sure... let's test in more repos

No description provided.