Skip to main content

create-changeset

Create a changeset for modified packages in ts-libs. Use when preparing a PR or documenting package changes for release.

来源信息

仓库
LedgerHQ/ts-libs
最近来源活动
2026年9月1日 08:43
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
create-changeset
description
Create a changeset for modified packages in ts-libs. Use when preparing a PR or documenting package changes for release.
# Create Changeset Create a `.changeset/<adjective-noun-verb>.md` file with this format: ```markdown --- "@ledgerhq/<name>": minor --- Short description of the change. ``` ## Package Names Match exactly what's in each `libs/*/package.json` `name` field. Examples: | Library | Package name | | ------- | -------------------------------- | | logs | `@ledgerhq/logs` | | errors | `@ledgerhq/errors` | | other | Check `libs/<name>/package.json` | ## Impact Levels | Level | When | | ------- | --------------------------------------------- | | `minor` | New features, bug fixes, non-breaking changes | | `major` | Breaking changes (requires discussion) | | `patch` | Internal changes, dep bumps, docs | ## Description One line, concise. Examples: - `Add LocalTracer.withUpdatedContext builder method` - `Fix dispatch crash when subscriber throws` - `Export TraceContext type from public API` ## Multiple Packages If multiple libs are modified: ```markdown --- "@ledgerhq/logs": minor "@ledgerhq/errors": patch --- Description covering both changes. ``` ## File Naming Prefer letting the CLI name and write the file — on Changesets v3 this is fully non-interactive: ```bash pnpm changeset add --minor @ledgerhq/logs -m "Add LocalTracer.withUpdatedContext" ``` `--major`, `--minor` and `--patch` each accept comma-separated package names, so a multi-package changeset is one command: ```bash pnpm changeset add --minor @ledgerhq/logs --patch @ledgerhq/errors -m "Description covering both changes." ``` If writing the file by hand instead, use a random human-readable slug matching the `@changesets/cli` convention (e.g. `happy-cats-fly.md`, `silver-dogs-run.md`).
在 GitHub 查看