Skip to content

build(vite-plus): sync exports in test package#349

Merged
Brooooooklyn merged 1 commit intomainfrom
12-16-build_vite-plus_sync_exports_in_test_package
Dec 17, 2025
Merged

build(vite-plus): sync exports in test package#349
Brooooooklyn merged 1 commit intomainfrom
12-16-build_vite-plus_sync_exports_in_test_package

Conversation

@Brooooooklyn
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings December 16, 2025 09:25
Copy link
Copy Markdown
Member Author

Brooooooklyn commented Dec 16, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/cli/package.json
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements automatic synchronization of test package exports from @voidzero-dev/vite-plus-test to @voidzero-dev/vite-plus under the ./test/* subpath. This enables users to import test utilities from a single unified package instead of requiring separate package imports.

Key changes:

  • Added build script logic to generate shim files that re-export test package modules
  • Updated package.json with 60+ new test-related exports mapped under ./test/*
  • Added comprehensive documentation explaining the build architecture and export synchronization

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 9 comments.

File Description
packages/cli/package.json Added dist/test to files array and 60+ new exports under ./test/* namespace that mirror the test package structure
packages/cli/build.ts Implemented syncTestPackageExports() function with helpers to read test package exports, generate shim files, and update package.json exports automatically
packages/cli/BUNDLING.md Added comprehensive documentation covering the 3-step build process, export mapping strategy, shim file generation, and technical reference

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/cli/build.ts
Comment thread packages/cli/package.json
Comment thread packages/cli/BUNDLING.md Outdated
Comment thread packages/cli/BUNDLING.md Outdated
Comment thread packages/cli/BUNDLING.md
Comment thread packages/cli/build.ts
Comment thread packages/cli/package.json
Comment thread packages/cli/build.ts
Comment thread packages/cli/build.ts
@Brooooooklyn Brooooooklyn force-pushed the 12-16-build_vite-plus_sync_exports_in_test_package branch from 2ec1a7c to 93080c4 Compare December 17, 2025 06:47
@Brooooooklyn Brooooooklyn force-pushed the 12-16-docs_add_vitest_deps_bundle_doc branch from a005cf6 to 70f96ae Compare December 17, 2025 06:47
Base automatically changed from 12-16-docs_add_vitest_deps_bundle_doc to main December 17, 2025 06:49
@Brooooooklyn Brooooooklyn force-pushed the 12-16-build_vite-plus_sync_exports_in_test_package branch from 93080c4 to 0058fb8 Compare December 17, 2025 06:49
Copilot AI review requested due to automatic review settings December 17, 2025 06:59
@Brooooooklyn Brooooooklyn force-pushed the 12-16-build_vite-plus_sync_exports_in_test_package branch from 0058fb8 to b27abdd Compare December 17, 2025 06:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/cli/build.ts
Comment thread packages/cli/build.ts
Comment thread packages/cli/build.ts
Comment thread packages/cli/build.ts
Comment thread packages/cli/build.ts
Comment thread packages/cli/package.json
Comment thread packages/cli/build.ts
Copy link
Copy Markdown
Member Author

Brooooooklyn commented Dec 17, 2025

Merge activity

  • Dec 17, 7:24 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Dec 17, 7:24 AM UTC: @Brooooooklyn merged this pull request with Graphite.

@Brooooooklyn Brooooooklyn merged commit 7fc5047 into main Dec 17, 2025
18 checks passed
@Brooooooklyn Brooooooklyn deleted the 12-16-build_vite-plus_sync_exports_in_test_package branch December 17, 2025 07:24
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.

3 participants