make-pr

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
Ensure we are not on the main branch, make a branch if necessary.
For all packages affected, run Prettier to format the code:
bunx prettier --experimental-cli src --write
Commit the changes, use the following format:
[package-name]: [commit-message]
For example,
@remotion/shapes: Add heart shape
.
The package name must be obtained from package.json.
If multiple packages are affected, use the one that you think if most relevant.
Push the changes to the remote branch.
Use the
gh
CLI to create a pull request and use the same format as above for the title.
确保我们不在主分支上,如有必要请创建一个分支。 对于所有受影响的包,运行Prettier来格式化代码:
bunx prettier --experimental-cli src --write
提交更改,使用以下格式:
[package-name]: [commit-message]
例如,
@remotion/shapes: Add heart shape

包名称必须从package.json中获取。
如果多个包受影响,请使用你认为最相关的那个。
将更改推送到远程分支。
使用
gh
CLI创建拉取请求,并使用与上述相同的格式作为标题。