Skip to content

Update npm dependencies to latest versions#2

Merged
OzzyCzech merged 2 commits intomainfrom
copilot/update-npm-dependencies-again
Feb 27, 2026
Merged

Update npm dependencies to latest versions#2
OzzyCzech merged 2 commits intomainfrom
copilot/update-npm-dependencies-again

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 27, 2026

Bumps the sole devDependency and migrates the lockfile from Yarn to npm.

Changes

  • package.json: np ^10.2.0^11.0.2
  • yarn.lockpackage-lock.json: replaced with npm-generated lockfile (lockfileVersion 3)

Notes

npm audit reports 6 low-severity vulnerabilities in np's transitive chain (listr-input → inquirer → external-editor → tmp). These are dev-only, not shipped in the published package, and the only automated fix would downgrade np to 2.16.1 — a non-starter. This is an upstream issue in np@11.0.2.

Original prompt

The task is to update all NPM dependencies in the repository ozzyczech/tailwind-debug to their latest versions. Update the versions in the package.json file and ensure that the package-lock.json is also regenerated. Properly test the application to ensure compatibility and functionality with the updated packages. Notify the user once the task is ready for merging.

This pull request was created from Copilot chat.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: OzzyCzech <105520+OzzyCzech@users.noreply.github.com>
Copilot AI changed the title [WIP] Update NPM dependencies to latest versions Update npm dependencies to latest versions Feb 27, 2026
@OzzyCzech OzzyCzech requested a review from Copilot February 27, 2026 19:11
@OzzyCzech OzzyCzech marked this pull request as ready for review February 27, 2026 19:11
@OzzyCzech OzzyCzech merged commit c845319 into main Feb 27, 2026
2 checks passed
@OzzyCzech OzzyCzech deleted the copilot/update-npm-dependencies-again branch February 27, 2026 19:14
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the repository’s release tooling dependency and switches the project from Yarn’s lockfile to npm’s lockfile format.

Changes:

  • Bump np devDependency from ^10.2.0 to ^11.0.2.
  • Remove yarn.lock and introduce an npm-generated package-lock.json (lockfileVersion 3).

Reviewed changes

Copilot reviewed 1 out of 3 changed files in this pull request and generated 2 comments.

File Description
package.json Updates the sole devDependency (np) used by the release script.
yarn.lock Removes Yarn v1 lockfile as part of migrating to npm.
package-lock.json Adds npm lockfile to replace yarn.lock and pin dependency resolution.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -23,6 +23,6 @@
"email": "roman@ozana.cz"
},
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

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

Upgrading to np@^11.0.2 raises the minimum toolchain requirements (per the resolved package metadata, np requires Node >= 20 and some transitive deps require Node >= 20.17). Without an explicit engines.node (or equivalent documentation), npm install / npm run release can start failing unexpectedly for contributors/CI on older Node versions.

Suggested change
},
},
"engines": {
"node": ">=20.17.0"
},

Copilot uses AI. Check for mistakes.
"devDependencies": {
"np": "^10.2.0"
"np": "^11.0.2"
}
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

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

Since this PR migrates the repo from Yarn to npm (and generates a v3 package-lock.json), consider adding a packageManager field in package.json to pin the expected npm version. This helps prevent contributors from regenerating the lockfile with a different npm version/format and reduces churn in future dependency updates.

Suggested change
}
},
"packageManager": "npm@9.0.0"

Copilot uses AI. Check for mistakes.
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.

3 participants