upgrade-caniuse

Update the caniuse-lite npm override in the Remotion repository.

57.9k|4.4k|Updated Jun 23, 2020
One-click install
npx skills add https://github.com/remotion-dev/remotion --skill upgrade-caniuse
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: upgrade-caniuse
Source: https://github.com/remotion-dev/remotion/tree/main/.agents/skills/upgrade-caniuse
Command: npx skills add https://github.com/remotion-dev/remotion --skill upgrade-caniuse

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeping the caniuse-lite dependency pinned in the root package.json overrides section manually is error-prone and easy to forget, leading to outdated browser compatibility data across the monorepo.

Core Features & Use Cases

  • Version Lookup: Queries npm to identify the latest published version of caniuse-lite.
  • Override Patching: Updates the overrides entry in the root package.json to the resolved version.
  • Install & Commit: Runs bun i to refresh the lockfile and commits the change with a standardized message.
  • Use Case: A maintainer wants to bump browser data before a release so that all packages in the Remotion monorepo resolve against the freshest caniuse-lite.

Quick Start

Upgrade the caniuse-lite override in this repository to the latest npm version and push the commit.

Frequently Asked Questions about upgrade-caniuse

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update caniuse-lite to the latest version in a monorepo?

Edit the `overrides` field in the root `package.json` to point at the newest version returned by `npm view caniuse-lite version`, then run your package manager install to refresh the lockfile across all workspaces.

What command gets the latest caniuse-lite version from npm?

Run `npm view caniuse-lite version` to print the current latest published version. Use that exact string when updating the override entry in package.json.

Does bun install respect npm overrides in package.json?

Yes. Bun reads the `overrides` field from package.json and applies it during dependency resolution, so updating the override and running `bun i` propagates the new caniuse-lite version to every workspace.

Why does caniuse-lite need frequent updates?

Browsers release new versions regularly, and caniuse-lite tracks that compatibility data. Outdated versions cause Babel and Autoprefixer to emit CSS or JavaScript that targets deprecated browser features.

When should I avoid bumping caniuse-lite?

Skip the upgrade if the working tree is dirty, you are not on the main branch, or a release is in progress that depends on the pinned compatibility snapshot for reproducible builds.