Comment by postalcoder
7 months ago
Yes there is. You can use those configs as flags in the CLI to override the global config.
eg:
npm install <package> --min-release-age 0
pnpm add <package> --minimum-release-age 0
uv add <package> --exclude-newer "0 days"
bun add <package> --minimum-release-age 0
Note pnpm does not have this flag yet, please upvote this issue if you want it added: https://github.com/pnpm/pnpm/issues/11224
Currently pnpm only supports setting this option via persistent config file, not per-run.
uv also has --exclude-newer-package which I think can be used for overriding just a certain package.
https://docs.astral.sh/uv/reference/cli/#uv-run--exclude-new... https://docs.astral.sh/uv/reference/settings/#exclude-newer-...