Unverified Commit 5abeaea3 authored by Benjamin Woodruff's avatar Benjamin Woodruff Committed by GitHub

CI: Use minimumReleaseAge in pnpm workspace files (#92480)

Depends on pnpm 10.x: https://github.com/vercel/next.js/pull/92283

Enables https://pnpm.io/settings#minimumreleaseage to protect against supply-chain attacks.

The `minimumReleaseAgeExclude` list is copied from https://github.com/vercel/front/blob/1c3a9458d970265e1fb5ec14ddfed9a0eab2abef/pnpm-workspace.yaml#L13, with `react` and `react-dom` added.
parent 108fe00f
packages: packages:
- 'actions/*' - 'actions/*'
injectWorkspacePackages: true injectWorkspacePackages: true
blockExoticSubdeps: true
minimumReleaseAge: 2880 # 48 hrs
minimumReleaseAgeExclude:
- '@next/*'
- '@turbo/*'
- '@vercel/*'
- '@workflow/*'
- babel-plugin-react-compiler
- next
- react
- react-dom
- react-dom-*
- react-experimental-builtin
- react-is
- react-is-builtin
- react-server-dom-*
- scheduler-*
- turbo
...@@ -29,3 +29,21 @@ ignoredBuiltDependencies: ...@@ -29,3 +29,21 @@ ignoredBuiltDependencies:
- ssh2 - ssh2
- unrs-resolver - unrs-resolver
- wasm-pack - wasm-pack
blockExoticSubdeps: true
minimumReleaseAge: 2880 # 48 hrs
minimumReleaseAgeExclude:
- '@next/*'
- '@turbo/*'
- '@vercel/*'
- '@workflow/*'
- babel-plugin-react-compiler
- next
- react
- react-dom
- react-dom-*
- react-experimental-builtin
- react-is
- react-is-builtin
- react-server-dom-*
- scheduler-*
- turbo
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"type": "git", "type": "git",
"url": "git+https://github.com/vercel/next.js.git" "url": "git+https://github.com/vercel/next.js.git"
}, },
"packageManager": "pnpm@10.13.1", "packageManager": "pnpm@10.33.0",
"main": "lib/index.js", "main": "lib/index.js",
"types": "lib/index.d.ts", "types": "lib/index.d.ts",
"exports": { "exports": {
......
packages: packages:
- 'crates/binding' - 'crates/binding'
- '.' - '.'
blockExoticSubdeps: true
minimumReleaseAge: 2880 # 48 hrs
minimumReleaseAgeExclude:
- '@next/*'
- 'next'
- '@rspack/*'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment