Bun Overrides and Resolutions
Control metadependency versions with npm overrides and Yarn resolutions
Install
npx skills add jarle/bun-skills --skill Bun Overrides and resolutionsgit clone --depth 1 https://github.com/jarle/bun-skills.git /tmp/bun-skills
mkdir -p ~/.claude/skills
cp -r /tmp/bun-skills/skills/bun-pm-overrides ~/.claude/skills/Bun-Overrides-and-resolutionsPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Overrides and resolutions
> Control metadependency versions with npm overrides and Yarn resolutions
Bun supports npm's `"overrides"` and Yarn's `"resolutions"` in `package.json`. These are mechanisms for specifying a version range for *metadependencies*—the dependencies of your dependencies.
```json package.json icon="file-json" theme={"theme":{"light":"github-light","dark":"dracula"}}
{
"name": "my-app",
"dependencies": {
"foo": "^2.0.0"
},
"overrides": { // [!code ++]
"bar": "~4.4.0" // [!code ++]
} // [!code ++]
}
```
By default, Bun will install the latest version of all dependencies and metadependencies, according to the ranges specified in each package's `package.json`. Let's say you have a project with one dependency, `foo`, which in turn has a dependency on `bar`. This means `bar` is a *metadependency* of our project.
```json package.json icon="file-json" theme={"theme":{"light":"github-light","dark":"dracula"}}
{
"name": "my-app",
"dependencies": {
"foo": "^2.0.0"
}
}
```
When you run `bun install`, Bun will install the latest versions of each package.
```txt tree layout of node_modules icon="list-tree" theme={"theme":{"light":"github-light","dark":"dracula"}}
node_modules
├── foo@1.2.3
└── bar@4.5.6
```
But what if a security vulnerability was introduced in `bar@4.5.6`? We may want a way to pin `bar` to an older version that doesn't have the vulnerability. This is where `"overrides"`/`"resolutions"` come in.
***Details
- Skill name
Bun Overrides and resolutions- Repository
- jarle/bun-skills
- Path
skills/bun-pm-overrides/SKILL.md- License
- MIT
- Repo updated
- 24 February 2026
FAQ
What does the Bun Overrides and Resolutions skill do?
Control metadependency versions with npm overrides and Yarn resolutions
How do I install the Bun Overrides and Resolutions skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add jarle/bun-skills --skill Bun Overrides and resolutions. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Bun Overrides and Resolutions popular?
It lives in jarle/bun-skills, which has 9 GitHub stars and 1 forks.
Related skills
Bun Archive
9jarle/bun-skills
Create and extract tar archives with Bun's fast native implementation
Bun Auto Install
9jarle/bun-skills
Bun's automatic package installation feature for standalone script execution
Bun Bun Add
9jarle/bun-skills
Add packages to your project with Bun's fast package manager
Bun S3
9jarle/bun-skills
Bun provides fast, native bindings for interacting with S3-compatible object storage services.
Bun Lifecycle Scripts
9jarle/bun-skills
How Bun handles package lifecycle scripts securely
Bun Server
9jarle/bun-skills
Use `Bun.serve` to start a high-performance HTTP server in Bun
Browse the most popular Claude skills, all other skills, or write your own with the skills generator.