Skip to content

feat(npmminage): L3-000 npm and node bump, npm package min age#868

Open
sgrund14 wants to merge 1 commit into
mainfrom
npm-min-age
Open

feat(npmminage): L3-000 npm and node bump, npm package min age#868
sgrund14 wants to merge 1 commit into
mainfrom
npm-min-age

Conversation

@sgrund14

Copy link
Copy Markdown
Contributor

Copilot AI review requested due to automatic review settings May 12, 2026 17:21
@netlify

netlify Bot commented May 12, 2026

Copy link
Copy Markdown

Deploy Preview for phillips-seldon ready!

Name Link
🔨 Latest commit 3c00d42
🔍 Latest deploy log https://app.netlify.com/projects/phillips-seldon/deploys/6a0361a6eda6ec00088e4f9e
😎 Deploy Preview https://deploy-preview-868--phillips-seldon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 tightens and standardizes the repo’s Node/npm toolchain requirements by bumping the required runtime versions and enforcing minimum “age” for dependency releases (to reduce exposure to brand-new package publishes).

Changes:

  • Add engines constraints for Node and npm and mirror them into the lockfile.
  • Bump the development Node version via .nvmrc and update the lint workflow to use it.
  • Enforce npm engine strictness + a minimum release age, and add a Dependabot cooldown window.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
package.json Adds Node/npm engines requirements.
package-lock.json Records the root package engines in the lockfile.
.nvmrc Bumps the pinned Node version to v24.15.0.
.npmrc Enables engine-strict and sets min-release-age=7.
.github/workflows/lint.yml Switches lint CI to use .nvmrc via node-version-file.
.github/dependabot.yml Adds a 7-day Dependabot cooldown with scoped exclusions.

Comment thread package.json
"@rollup/rollup-win32-x64-msvc": "^4.59.0"
},
"engines": {
"node": ">=24.14.1",
Comment on lines 14 to 21
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version-file: '.nvmrc'
cache: 'npm'
Comment thread package.json
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"@types/color": "^3.0.6",
"@types/node": "^22.12.0",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
"@types/node": "^24.14.1",

Comment thread .npmrc
@@ -0,0 +1,2 @@
engine-strict=true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is there an package exclusion field here we can use or are we waiting to change our package manager?

@scottdickerson scottdickerson self-requested a review May 15, 2026 18:26

@scottdickerson scottdickerson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

might have to remove the min package age until we can get package exclusions working. TBH I don't foresee seldon depending on any other phillips package so we probably could remove that entirely from this PR

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