You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: restore 7-day minimumReleaseAge for ui and docs
Removing pnpm .npmrc dropped install-time quarantine on apps/ui and
apps/docs. Add bunfig.toml with the same age gate and excludes.
Co-authored-by: Cursor <cursoragent@cursor.com>
@@ -81,18 +81,19 @@ import FaqItem from "../../../components/FaqItem.tsx";
81
81
82
82
## Overriding for a specific package
83
83
84
-
Bun and npm-compatible `.npmrc` support per-package overrides via `minimum-release-age-exclude[]`. The array syntax with `[]=` is required; a comma-separated list won't parse:
84
+
Bun supports per-package overrides in `bunfig.toml` via `minimumReleaseAgeExcludes`:
85
85
86
-
```ini
87
-
minimum-release-age-exclude[]=yaml
88
-
minimum-release-age-exclude[]=msw
89
-
minimum-release-age-exclude[]=@tailwindcss/oxide*
86
+
```toml
87
+
minimumReleaseAgeExcludes = [
88
+
"yaml",
89
+
"@tailwindcss/oxide*",
90
+
]
90
91
```
91
92
92
93
Glob patterns are supported, useful for platform-variant packages like `@tailwindcss/oxide-*`.
Each exclusion weakens the threat model slightly. The default `ui-template``.npmrc` already excludes several high-churn packages whose latest versions fall within the seven-day window. Only add exclusions when a specific CVE or release justifies it. Document the reason in a comment.
96
+
Each exclusion weakens the threat model slightly. The default `apps/ui/bunfig.toml` already excludes several high-churn packages whose latest versions fall within the seven-day window. Only add exclusions when a specific CVE or release justifies it. Document the reason in a comment.
0 commit comments