remotion-upgrade
此技能用于一键升级 Remotion 项目及其相关依赖包,包括 Remotion、Mediabunny 兼容包和已安装的 Remotion Agent Skills。它会自动检测包管理器、检查本地 CLI、获取最新版本并执行升级,确保所有包版本一致且兼容。适用于需要快速安全升级 Remotion 项目的开发者。
npx skills add https://github.com/remotion-dev/skills --skill remotion-upgradeBefore / After 效果对比
1 组开发者手动升级 Remotion 项目时,需要逐个检查多个包的版本、解决依赖冲突、更新 lockfile,过程繁琐且容易出错,平均耗时约30分钟。
此技能自动完成所有升级步骤,包括版本检测、兼容性匹配和 lockfile 更新,平均耗时仅2分钟,且确保版本一致性。
Upgrade Remotion
-
Inspect the project manifests and lockfile to identify the package manager and workspaces. Preserve unrelated changes.
-
Determine whether
@remotion/cliis locally available. If it is, run:npx remotion upgradeSkip the manual package upgrade below.
-
If
@remotion/cliis not available, upgrade manually:- Get the latest stable Remotion version with
npm view remotion version. - Find every installed
remotionand@remotion/*dependency across the project and upgrade them all to that exact version. Preserve their dependency sections and the project's workspace or catalog conventions. - Read the current Mediabunny compatibility page and determine the Mediabunny version compatible with the target Remotion version. Upgrade every installed
mediabunnyand@mediabunny/*package to the documented compatible version. - Run the project's package manager to update its lockfile.
- Get the latest stable Remotion version with
-
Update the installed Remotion skills:
npx remotion skills update -
Review the manifest and lockfile diff. Ensure all Remotion packages use one version and all installed Mediabunny packages use the compatible version. If the CLI is available, run
npx remotion versionsas an additional check.
The Remotion releases contain the changelog and may be useful for summarizing relevant changes after the upgrade.
用户评价 (0)
发表评价
暂无评价
统计数据
用户评分
为此 Skill 评分