Replies: 1 comment 5 replies
-
No yet, but seems reasonable. How this config would look like in your eyes? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am using the new
package-filterfeature and I have a question about handling a dynamic allow list of internal packages.Problem
I can configure
minAgeDays, which filters out all package versions newer than the configured age. This is useful for packages coming from an upstream registry.However, when Verdaccio is also used as an internal registry, I do not want this rule to affect internally published packages. Internal packages should be available immediately after publishing.
The current allow list works well for scoped packages. However, if the registry contains many unscoped internal packages, the configuration becomes difficult to manage. Every newly created internal package would need to be added manually to the allow list, which would require periodic configuration updates and rebuilds.
As far as I can tell, there is currently no way to apply
minAgeDaysonly to packages resolved from upstream while excluding packages that exist locally in Verdaccio.Is that correct, or is there already a supported way to configure this?
Potential solution
It would be useful if Package Filters supported an option that controls whether the filter applies to:
This would let teams use age-based filtering for supply-chain protection without having to manually maintain exceptions for every internal package.
Beta Was this translation helpful? Give feedback.
All reactions