Skip to content

Commit 80db74f

Browse files
authored
Add @metamask-previews/* to NPM age gate exceptions (#273)
1 parent da75fb7 commit 80db74f

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.yarnrc.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,13 @@ plugins:
1616
- path: .yarn/plugins/@yarnpkg/plugin-allow-scripts.cjs
1717
spec: "https://raw.githubusercontent.com/LavaMoat/LavaMoat/main/packages/yarn-plugin-allow-scripts/bundles/@yarnpkg/plugin-allow-scripts.js"
1818

19-
# Supply Chain Security
19+
# Configure the NPM minimal age gate to 3 days, meaning packages must be at
20+
# least 3 days old to be installed.
2021
npmMinimalAgeGate: 4320 # 3 days (in minutes)
21-
npmPreapprovedPackages: # Override the minimal age gate
22-
- "@metamask/*"
23-
- "@lavamoat/*"
22+
23+
# Override the minimal age gate, allowing certain packages to be installed
24+
# regardless of their publish age.
25+
npmPreapprovedPackages:
26+
- '@metamask/*'
27+
- '@metamask-previews/*'
28+
- '@lavamoat/*'

0 commit comments

Comments
 (0)