Skip to content

feat(deps): upgrade upstream dependencies#1735

Merged
fengmk2 merged 5 commits into
mainfrom
deps/upstream-update
Jun 1, 2026
Merged

feat(deps): upgrade upstream dependencies#1735
fengmk2 merged 5 commits into
mainfrom
deps/upstream-update

Conversation

@voidzero-guard
Copy link
Copy Markdown
Contributor

@voidzero-guard voidzero-guard Bot commented Jun 1, 2026

Summary

Automated upstream dependency upgrade.

  • Bump vite to v8.0.15 (8d1b019).
  • vite-plus's catalog lint-staged is kept at ^16.2.6 (the original run's bump to ^17.0.7 was reverted), so the staged-command snapshot keeps its v16 wording.

Code changes

  • packages/core/package.json - bundledVersions.vite 8.0.14 to 8.0.15.
  • packages/tools/.upstream-versions.json - update the tracked vite commit hash.
  • pnpm-workspace.yaml - add lint-staged, tinyexec, and tsx to minimumReleaseAgeExclude. These freshly published versions are pulled in by the vite upgrade itself (upstream vite's own devDeps now require lint-staged@17.0.7 and tsx@4.22.4, and create-vite requires tsdown@^0.22.1, which pulls tinyexec@1.2.4), so the excludes are required regardless of the catalog version.
  • pnpm-lock.yaml - regenerated against the new vite source.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 1, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit ddb7400
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a1d4b69121c7d00086ea716

Comment thread pnpm-workspace.yaml Outdated
@socket-security
Copy link
Copy Markdown

socket-security Bot commented Jun 1, 2026

voidzero-guard Bot and others added 4 commits June 1, 2026 16:40
- vite: c917f1e -> v8.0.15 (8d1b019)

Code changes:
- Bump lint-staged catalog entry from ^16.2.6 to ^17.0.7 in pnpm-workspace.yaml (also adds lint-staged, tinyexec, and tsx to minimumReleaseAgeExclude).
- Update bundled vite version to 8.0.15 in packages/core/package.json.
- Refresh staged-command snapshot for lint-staged v17 task label change in packages/cli/snap-tests-global/command-staged-with-config/snap.txt.
- Regenerate pnpm-lock.yaml.
Revert the lint-staged bump from this upstream update and keep its version
for now. Restores the catalog entry to ^16.2.6, drops the lint-staged,
tinyexec, and tsx minimumReleaseAgeExclude entries that were added for the
v17 bump, restores the v16 staged-command snapshot wording, and regenerates
pnpm-lock.yaml back to main. The vite 8.0.15 bump is kept.
The previous revert restored pnpm-lock.yaml to main wholesale, which left it
inconsistent with the bumped vite hash and broke CI with ERR_PNPM_OUTDATED_LOCKFILE
(create-vite now requires tsdown ^0.22.1, and upstream vite bumps its own devDeps
lint-staged ^17.0.7 and tsx ^4.22.4).

Regenerate the lockfile against the new vite source and re-add lint-staged,
tinyexec, and tsx to minimumReleaseAgeExclude, since those freshly published
versions are pulled in by the vite upgrade itself. The vite-plus catalog
lint-staged stays at ^16.2.6 (the cli still bundles 16.4.0), so the staged
snapshot keeps its v16 wording.
Regenerating the lockfile against the new vite source left duplicate
transitive versions (tinyexec, tsx, and a number of babel/sass-embedded
packages), which failed the `pnpm dedupe --check` CI gate. Run `pnpm dedupe`
to collapse them.
@fengmk2 fengmk2 force-pushed the deps/upstream-update branch from 3b4fbb1 to eb10775 Compare June 1, 2026 08:42
The fixture used `vitest: ^3.0.0`, which now resolves to vitest@3.2.5. That
release depends on vite-node@3.2.5 (lockstep, exact), but vite-node@3.2.5 was
never published to npm (the 3.x line stops at 3.2.4, and vite-node's latest is
now 6.0.0). As a result `vp install` fails with ERR_PNPM_NO_MATCHING_VERSION,
breaking this global snap test on main and every PR.

Pin to the exact latest installable 3.x (3.2.4, which has a matching
vite-node@3.2.4) so the install is deterministic. 3.2.4 is still < 4.0.0, so
migrate still reports the project as unsupported and the snapshot is otherwise
unchanged.
@fengmk2 fengmk2 merged commit 2af030a into main Jun 1, 2026
92 checks passed
@fengmk2 fengmk2 deleted the deps/upstream-update branch June 1, 2026 09:16
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