fix-dependabot

द्वारा remotion-dev

सभी monorepo इंस्टेंस में निर्भरता को अपडेट करके, bun install चलाकर, और push करके Dependabot PR को ठीक करें

npx skills add https://github.com/remotion-dev/remotion --skill fix-dependabot

Dependabot PRs only update one package.json and never run bun install, so the bun.lock file is out of date and other packages in the monorepo still reference the old version. This skill fixes both problems.

Steps

  1. Get PR info — Use gh pr view <number> --json headRefName,files,title,body to identify the branch name, which dependency was bumped, and the old/new versions.

  2. Checkout the branch:

git fetch origin <branch>
git checkout <branch>
  1. Update all monorepo instances — Dependabot only touches one package. Search for all other package.json files that reference the same dependency at the old version and update them too:
rg '"<dependency>": "[~^]?<old-version>"' --glob '**/package.json'

Update every match to the new version. Preserve the prefix style (^, ~, or exact) that each package already uses.

  1. Run bun install from the repo root to regenerate bun.lock.

  2. Verify — Run git status to confirm only bun.lock and the expected package.json files were modified. If other unexpected files changed, investigate before proceeding.

  3. Commit and push:

git add -u
git commit -m "Update <dependency> to <version> across all monorepo packages"
git push
  1. Switch back — Return to your previous branch (usually main):
git checkout main

Notes

  • Dependabot says "Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself" — but updating the lockfile and sibling packages is the expected workflow and won't cause issues.
  • If the version bump is a major version (e.g. vite 5 → 6), consider whether the upgrade is appropriate or if it should be ignored. Check for breaking changes.
  • If bun install fails, the dependency version may have conflicts with other packages. In that case, close the PR and comment explaining why.

remotion-dev की और Skills

pr-name
remotion-dev
PR के लिए सही नामकरण
official
pr-ready
remotion-dev
CI विफलताओं, मर्ज विरोधों, या स्थानीय शाखा परिवर्तनों को हल करके PR को तैयार करें
official
release
remotion-dev
Remotion का नया संस्करण जारी करें
official
remotion-captions
remotion-dev
Remotion में कैप्शन के साथ काम करना
official
remotion-create
remotion-dev
एक नया Remotion वीडियो बनाना
official
video-report
remotion-dev
एक वीडियो के बारे में रिपोर्ट तैयार करें
official
add-bug
remotion-dev
पैकेज/बग्स/एपीआई/[v].ts में एक नया रेमोशन बग प्रविष्टि जोड़ें। इसका उपयोग तब करें जब उपयोगकर्ता किसी बग और प्रभावित रेमोशन संस्करणों का वर्णन करता है जिन्हें…
official
add-cli-option
remotion-dev
एक नया Remotion CLI या कॉन्फ़िग विकल्प जोड़ें, AnyRemotionOption बनाकर, CLI पार्सिंग रजिस्टर करके, कॉन्फ़िग सेटर को वायर करके और दस्तावेज़ीकरण अपडेट करके। इसका उपयोग तब करें जब...
official