Skip to content

build: add engines field for bundlers and devEngines field for root#1705

Open
Mister-Hope wants to merge 1 commit into
mainfrom
engine
Open

build: add engines field for bundlers and devEngines field for root#1705
Mister-Hope wants to merge 1 commit into
mainfrom
engine

Conversation

@Mister-Hope
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings May 15, 2026 06:36
@coveralls
Copy link
Copy Markdown

Coverage Report for CI Build 25904201869

Coverage remained the same at 72.961%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 1058
Covered Lines: 767
Line Coverage: 72.5%
Relevant Branches: 536
Covered Branches: 396
Branch Coverage: 73.88%
Branches in Coverage %: Yes
Coverage Strength: 45.84 hits per line

💛 - Coveralls

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

This PR updates runtime/tooling constraints across the monorepo by tightening Node.js version requirements for published bundler packages and switching the root project to a devEngines-based declaration for Node/pnpm requirements.

Changes:

  • Update @vuepress/vuepress Node engine range to a major-version allowlist (22/24/26).
  • Add matching engines.node constraints to @vuepress/bundler-vite and @vuepress/bundler-webpack.
  • Replace the root packageManager pin with a devEngines declaration for pnpm + Node.

Reviewed changes

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

File Description
packages/vuepress/package.json Changes the engines.node range from a broad >= requirement to a major allowlist.
packages/bundler-webpack/package.json Adds engines.node to constrain supported Node majors for the webpack bundler package.
packages/bundler-vite/package.json Adds engines.node to constrain supported Node majors for the vite bundler package.
package.json Removes top-level packageManager pin and adds devEngines for Node + pnpm.

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

Comment thread package.json
Comment on lines +56 to +61
"devEngines": {
"packageManager": {
"name": "pnpm",
"version": "11.1.2",
"onFail": "download"
},
Comment thread package.json
},
"runtime": {
"name": "node",
"version": "^22.18.0 || ^24.0.0 || ^26.0.0",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The purpose of the root package.json changes are different. Let's split it to a separate PR. Also this comment is valid

},
"engines": {
"node": ">=22.18.0"
"node": "^22.18.0 || ^24.0.0 || ^26.0.0"
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.

4 participants