Skip to content

Add pnpm minimum release age guard for newly published packages#4380

Draft
Copilot wants to merge 1 commit into
masterfrom
copilot/add-package-usage-config
Draft

Add pnpm minimum release age guard for newly published packages#4380
Copilot wants to merge 1 commit into
masterfrom
copilot/add-package-usage-config

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 31, 2026

Add a project-level pnpm config to avoid consuming freshly published packages immediately. This sets a 7-day release-age threshold before newly published versions are considered eligible.

  • Package manager policy

    • Add a root .npmrc with pnpm’s minimum-release-age setting.
    • Set the threshold to 10080 minutes, which corresponds to 7 days.
  • Repo-level scope

    • Apply the policy at the repository root so it covers workspace installs and dependency updates consistently.
    • Keep the change isolated to package manager configuration; no application or dependency changes are included.
  • Config

    # Wait 7 days (10080 minutes) before using newly released packages
    minimum-release-age=10080

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
nusmods-export Ignored Ignored Mar 31, 2026 3:10pm
nusmods-website Ignored Ignored Mar 31, 2026 3:10pm

Request Review

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 31, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.41%. Comparing base (988c6fd) to head (fa19dea).
⚠️ Report is 220 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4380      +/-   ##
==========================================
+ Coverage   54.52%   56.41%   +1.88%     
==========================================
  Files         274      308      +34     
  Lines        6076     6963     +887     
  Branches     1455     1680     +225     
==========================================
+ Hits         3313     3928     +615     
- Misses       2763     3035     +272     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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