Skip to content

docs: document pkg.pr.new preview builds#1965

Open
fengmk2 wants to merge 3 commits into
mainfrom
codex/document-pkg-pr-new-preview-builds
Open

docs: document pkg.pr.new preview builds#1965
fengmk2 wants to merge 3 commits into
mainfrom
codex/document-pkg-pr-new-preview-builds

Conversation

@fengmk2

@fengmk2 fengmk2 commented Jun 27, 2026

Copy link
Copy Markdown
Member

Closes #1929

@fengmk2 fengmk2 self-assigned this Jun 27, 2026
@netlify

netlify Bot commented Jun 27, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview ready!

Name Link
🔨 Latest commit d7ab938
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a42aedcb8284e00086c5b2d
😎 Deploy Preview https://deploy-preview-1965--viteplus-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

github-actions Bot commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

✅ Staging deployment successful!

Preview: https://viteplus-staging.void.app/
Commit: d7ab938

@fengmk2

fengmk2 commented Jun 27, 2026

Copy link
Copy Markdown
Member Author

@codex review

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

Copy link
Copy Markdown

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.

Reviewed commit: 53312621ab

ℹ️ 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 docs/guide/upgrade.md Outdated
Comment thread docs/guide/upgrade.md
Comment thread docs/guide/upgrade.md Outdated
Comment thread docs/guide/upgrade.md
@fengmk2 fengmk2 force-pushed the codex/document-pkg-pr-new-preview-builds branch from 5331262 to 598f2e4 Compare June 27, 2026 13:23
@fengmk2 fengmk2 force-pushed the codex/document-pkg-pr-new-preview-builds branch from 598f2e4 to 19a2ef5 Compare June 27, 2026 14:01
@fengmk2

fengmk2 commented Jun 27, 2026

Copy link
Copy Markdown
Member Author

Addressed the review feedback in 19a2ef5:

  • changed the local preview flow to edit all preview specs before running install
  • added Yarn resolutions guidance
  • called out direct vite / @voidzero-dev/vite-plus-core specs
  • changed rollback to restore all preview specs before reinstalling

Verification: vp check

@fengmk2

fengmk2 commented Jun 27, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: 19a2ef5823

ℹ️ 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".

@fengmk2 fengmk2 marked this pull request as ready for review June 29, 2026 01:10
@fengmk2 fengmk2 requested a review from TheAlexLichter June 29, 2026 01:10
Comment thread docs/guide/upgrade.md

Only include the direct `vite` entry if your project already has one. If your project has `@voidzero-dev/vite-plus-core` directly instead, update that package spec to the same core preview URL.

For pnpm workspaces, make the same temporary override change in `pnpm-workspace.yaml` if that is where your Vite+ overrides live:

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Needed when the preview package depends on other pkg.pr.new preview URLs.

blockExoticSubdeps: false

Comment thread docs/guide/upgrade.md
- any direct `vite` alias or direct `@voidzero-dev/vite-plus-core` dependency should point at `https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-core@<pr-or-sha>`
- any `vite` override or resolution should point at that same core preview URL

For npm and Bun projects, update the relevant `package.json` entries:

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Wait for #1891 merged, then use the registry bridge.

There is a compatibility issue when bun overrides the http url version. It will decompress and read the name field in the package.json inside to verify. If it finds that it is not vite, it will invalidate the overrides rule, causing vitest to install the peer version of vite that it declares.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

we should probably document this somehow. do you think this is worth raising this in bun?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@TheAlexLichter Yes, I will create a minimal reproduction repo before merging and then submit it to bun.

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.

Document pkg.pr.new version, especially for latest deps.

2 participants