Skip to content

fix(install): support nonstandard package tarball roots - #2264

Open
TheAlexLichter wants to merge 1 commit into
mainfrom
fix/yarn-classic-tarball-root
Open

fix(install): support nonstandard package tarball roots#2264
TheAlexLichter wants to merge 1 commit into
mainfrom
fix/yarn-classic-tarball-root

Conversation

@TheAlexLichter

Copy link
Copy Markdown
Member

This fixes installing Yarn 1.22.19 through Vite+. Its tarball uses yarn-v1.22.19/ instead of the conventional package/ directory.

With this PR, Vite+ now locates the extracted package directory when the conventional path is absent.

Resolves #2241

@netlify

netlify Bot commented Jul 27, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview canceled.

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

@github-actions

Copy link
Copy Markdown
Contributor

Native binary sizes (4ff635c)

Final release artifacts built by the canonical build-upstream and build-windows-cli actions.

Artifact Format Base PR Change
vp (Linux x64) Binary 10.31 MiB 10.31 MiB 0 B (0.00%)
vp (Linux x64) gzip -9 4.42 MiB 4.42 MiB +150 B (+0.00%)
NAPI (Linux x64) Binary 33.07 MiB 33.07 MiB 0 B (0.00%)
NAPI (Linux x64) gzip -9 12.72 MiB 12.72 MiB -331 B (-0.00%)
vp (macOS ARM64) Binary 7.64 MiB 7.64 MiB 0 B (0.00%)
vp (macOS ARM64) gzip -9 3.84 MiB 3.84 MiB +946 B (+0.02%)
NAPI (macOS ARM64) Binary 40.50 MiB 40.50 MiB 0 B (0.00%)
NAPI (macOS ARM64) gzip -9 16.97 MiB 16.97 MiB -210 B (-0.00%)
vp (Windows x64) Binary 8.35 MiB 8.35 MiB +1.00 KiB (+0.01%)
vp (Windows x64) gzip -9 3.64 MiB 3.64 MiB +194 B (+0.01%)
NAPI (Windows x64) Binary 27.51 MiB 27.51 MiB +1.00 KiB (+0.00%)
NAPI (Windows x64) gzip -9 10.70 MiB 10.70 MiB +940 B (+0.01%)
Trampoline (Windows x64) Binary 203.00 KiB 203.00 KiB 0 B (0.00%)
Trampoline (Windows x64) gzip -9 97.91 KiB 97.91 KiB +1 B (+0.00%)
Installer (Windows x64) Binary 4.44 MiB 4.44 MiB +1.00 KiB (+0.02%)
Installer (Windows x64) gzip -9 2.08 MiB 2.08 MiB +242 B (+0.01%)

@liangmiQwQ liangmiQwQ left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Just thinking about that right now and this seems a good fix. Can we add a snap test for this?

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.

Can't use yarn@1.22.19

2 participants