🎥 Make videos programmatically with React
Fix release command: add 1Password account flag and use npm CLI for version check
Jonny Burger49228d2ec027
diff --git a/.claude/commands/release.md b/.claude/commands/release.mdindex 5857fe996e..3ac9363d42 100644--- a/.claude/commands/release.md+++ b/.claude/commands/release.md@@ -1,11 +1,11 @@- Kill any `turbo` processes that might be running with SIGKILL- Run `npm login` (I will manually do 2FA in the browser)-- Use `op item get "Npmjs" --fields password --reveal` to get the password for NPM.-- Use `op item get "Npmjs" --otp` to get a one-time password for 2FA.-- Run `npm token create --name="PublishRemotionXXXXXX" --packages "remotion" --packages "create-video" --packages-and-scopes-permission read-write --bypass-2fa --scopes "@remotion" --otp=<otp>`. Replace XXXXXX with a random string so we have a unique name. Use `op item get "Npmjs" --otp` to get the OTP and pass it via `--otp=`. It will ask for a password, pipe in the password using `<<<`. The NPM token will be printed.+- Use `op item get "Npmjs" --fields password --reveal --account remotiondev.1password.com` to get the password for NPM.+- Use `op item get "Npmjs" --otp --account remotiondev.1password.com` to get a one-time password for 2FA.+- Run `npm token create --name="PublishRemotionXXXXXX" --packages "remotion" --packages "create-video" --packages-and-scopes-permission read-write --bypass-2fa --scopes "@remotion" --otp=<otp>`. Replace XXXXXX with a random string so we have a unique name. Use `op item get "Npmjs" --otp --account remotiondev.1password.com` to get the OTP and pass it via `--otp=`. It will ask for a password, pipe in the password using `echo "$PASSWORD" |`.- Run `bun i`- Run `bun run build`-- Check `https://www.npmjs.com/package/remotion` to get the current version number+- Run `npm view remotion version` to get the current version number- Run `bun set-version.ts <version>`, where <version> is the current version plus 1- Run `NPM_CONFIG_TOKEN=<token> bun run release` where <token> is the NPM token we just created- Generate a changelog in markdown and save it to `/tmp/release-<version>.md`: