Skip to content

fix(pm): disable npm update notifications - #2650

Merged
fengmk2 merged 1 commit into
fix/pnpm-update-notifierfrom
fix/npm-update-notifier
Sep 10, 2026
Merged

fix(pm): disable npm update notifications#2650
fengmk2 merged 1 commit into
fix/pnpm-update-notifierfrom
fix/npm-update-notifier

Conversation

@fengmk2

@fengmk2 fengmk2 commented Sep 10, 2026

Copy link
Copy Markdown
Member

vp install can show an npm upgrade notice even though Vite+ manages the npm version.

The command builder now sets npm_config_update_notifier=false for npm and npx, including fallback commands. Global installs set the same variable.

Tests cover npm 11.13.0 and 12.0.2, project settings, fallback commands, and global installs.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 10, 2026

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://fix-npm-update-notifier-viteplus-dev.voidzero-docs.workers.dev (commit b451a7e)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://11b33c8b-viteplus-dev.voidzero-docs.workers.dev b451a7e 2026-09-10T09:10:31.700Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://ed28fc8e-viteplus-dev.voidzero-docs.workers.dev 8d22f15 2026-09-10T08:45:47.146Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://45c8ab3b-viteplus-dev.voidzero-docs.workers.dev ddf42a0 2026-09-10T07:38:19.186Z Visit the dashboard ↗

@fengmk2
fengmk2 added this pull request to stack #2652 September 10, 2026 07:36
@github-actions

github-actions Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

CLI artifact sizes (b451a7e)

Final release artifacts built by the canonical build-upstream and build-windows-cli actions.
The dist rows use the Linux build. The core total excludes .node files to match the release artifact.

Artifact Format Base PR Change
packages/cli/dist Directory total 2.14 MiB 2.14 MiB 0 B (0.00%)
packages/core/dist Directory total 3.92 MiB 3.92 MiB 0 B (0.00%)
Combined package dist Directory total 6.06 MiB 6.06 MiB 0 B (0.00%)
vp (Linux x64) Binary 11.00 MiB 11.00 MiB -4.00 KiB (-0.04%)
vp (Linux x64) gzip -9 4.76 MiB 4.76 MiB -11 B (-0.00%)
NAPI (Linux x64) Binary 31.95 MiB 31.95 MiB 0 B (0.00%)
NAPI (Linux x64) gzip -9 12.61 MiB 12.61 MiB +500 B (+0.00%)
vp (macOS ARM64) Binary 8.20 MiB 8.20 MiB -16 B (-0.00%)
vp (macOS ARM64) gzip -9 4.15 MiB 4.15 MiB +67 B (+0.00%)
NAPI (macOS ARM64) Binary 39.57 MiB 39.57 MiB 0 B (0.00%)
NAPI (macOS ARM64) gzip -9 16.93 MiB 16.93 MiB -1.37 KiB (-0.01%)
vp (Windows x64) Binary 8.87 MiB 8.87 MiB +512 B (+0.01%)
vp (Windows x64) gzip -9 3.88 MiB 3.88 MiB +405 B (+0.01%)
NAPI (Windows x64) Binary 26.83 MiB 26.83 MiB -1.50 KiB (-0.01%)
NAPI (Windows x64) gzip -9 10.71 MiB 10.71 MiB +620 B (+0.01%)
Trampoline (Windows x64) Binary 14.00 KiB 14.00 KiB 0 B (0.00%)
Trampoline (Windows x64) gzip -9 7.09 KiB 7.09 KiB 0 B (0.00%)
Installer (Windows x64) Binary 4.50 MiB 4.50 MiB 0 B (0.00%)
Installer (Windows x64) gzip -9 2.11 MiB 2.11 MiB +4 B (+0.00%)

@fengmk2
fengmk2 force-pushed the fix/npm-update-notifier branch from ddf42a0 to 8d22f15 Compare September 10, 2026 08:44
@fengmk2
fengmk2 marked this pull request as ready for review September 10, 2026 08:44
@fengmk2
fengmk2 requested a review from cpojer September 10, 2026 08:45
@fengmk2 fengmk2 self-assigned this Sep 10, 2026
@fengmk2
fengmk2 force-pushed the fix/npm-update-notifier branch from 8d22f15 to b451a7e Compare September 10, 2026 09:09
@fengmk2
fengmk2 merged commit 2c0ff62 into main Sep 10, 2026
84 of 86 checks passed
@fengmk2
fengmk2 deleted the fix/npm-update-notifier branch September 10, 2026 09:48
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.

2 participants