From 658294e3286f00a6c8578c83099cb5b7c919961f Mon Sep 17 00:00:00 2001 From: Schneems Date: Mon, 1 Jun 2026 18:18:16 -0500 Subject: [PATCH] Specify npm 11.* in engines to suppress version upgrade notices Without an explicit npm version in engines, Heroku uses a default that lags behind the latest release. This causes npm to print "New minor version of npm available!" notices during every build, cluttering the getting started tutorial output. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7714933141..742d470dba 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,8 @@ "private": true, "description": "A sample Node.js app using Express", "engines": { - "node": "20.x || 22.x || 24.x" + "node": "20.x || 22.x || 24.x", + "npm": "11.*" }, "main": "index.js", "scripts": {