upgrade-mediabunny

$npx mdskill add remotion-dev/remotion/upgrade-mediabunny

Upgrade Mediabunny and related packages across the Remotion repo

  • Locate the latest version of Mediabunny using npm view.
  • Update package.json files to reflect the new Mediabunny version in all relevant directories.
  • Modify extra-packages.ts and package-info.ts for consistency with updated package versions.
  • Adjust compatibility table in docs/docs/mediabunny/version.mdx for future updates.

SKILL.md

.github/skills/upgrade-mediabunnyView on GitHub ↗
---
name: upgrade-mediabunny
description: Upgrade Mediabunny and related @mediabunny packages across the Remotion repo. Use when asked to update Mediabunny to the latest version.
---

- Find the latest version of Mediabunny with `npm view mediabunny version`.
- In the root `package.json`, update the `catalog` versions for `mediabunny`, `@mediabunny/mp3-encoder`, and `@mediabunny/ac3` to that version.
- In `packages/template-*/package.json`, update `mediabunny` and any `@mediabunny/*` packages to the same version. Templates use explicit versions, not `catalog:`, so update them manually.
- Update `packages/cli/src/extra-packages.ts` with the new Mediabunny version.
- Update `packages/studio-shared/src/package-info.ts` with the new Mediabunny version in `extraPackages`.
- Update the compatibility table in `packages/docs/docs/mediabunny/version.mdx`. To find the next version this upgrade will be applied to, look in the root `package.json` for the version and increment the patch version by 1.
- Run `bun i` at the end.

More from remotion-dev/remotion

SkillDescription
add-bugAdd a new Remotion bug entry to packages/bugs/api/[v].ts. Use when the user describes a bug and affected Remotion versions that should be surfaced through the bugs API.
add-cli-optionAdd a new Remotion CLI or config option by creating an AnyRemotionOption, registering CLI parsing, wiring config setters, and updating documentation. Use when adding or converting command-line flags or Remotion options.
add-effectAdd a new effect to @remotion/effects, including implementation, package exports, docs, demos, preview images, Remotion skill updates, formatting, and builds.
add-expertAdd a new expert to the Remotion experts page
add-new-packageAdd a new package to the Remotion monorepo, including package scaffolding, monorepo registration, documentation, build scripts, and release checklist updates. Use when creating a new @remotion package.
add-sfxAdd a new sound effect to @remotion/sfx
add-webcodecs-bugAdd a browser WebCodecs bug to the Remotion Mediabunny WebCodecs bugs docs page. Use when given a Chromium, WebKit, or Firefox issue URL that should be tracked in packages/docs/docs/mediabunny/webcodecs-bugs.mdx, especially when needing to look up the issue title, filing date, reporter, and resolution state before editing the MDX table.
canvas-capture-extensionRebuild, install, and reload the private Remotion Canvas Capture unpacked Chrome extension. Use when the extension needs to be restored after a Codex worktree was deleted, rebuilt after source changes, moved to its durable install directory, or reloaded in Chrome or Chrome Canary.
checkoutCheckout a requested branch or ref in the Remotion repo, rename the current task to the associated PR title when running in Codex, then install dependencies and build. Use when the user asks to checkout a ref and prepare the workspace.
convertStart the local @remotion/convert app and open it in the Codex browser. Use when the user invokes /convert or $convert, asks to launch convert.remotion.dev locally, or wants to inspect the Convert package UI.