Skip to content

Commit b66d914

Browse files
committed
chore(changesets): add config and script
1 parent 9926103 commit b66d914

3 files changed

Lines changed: 21 additions & 1 deletion

File tree

.changeset/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
This directory is managed by Changesets.
2+
3+
- Add a changeset locally with `pnpm changeset`.
4+
- The CI "Release (prepare)" workflow opens/updates a Version Packages PR.
5+
- Publishing happens from a GitHub Release via the "Publish to npm" workflow.
6+

.changeset/config.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/config/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "public",
8+
"baseBranch": "main",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
11+
}
12+

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,14 @@
4646
"test:ui": "vitest --ui",
4747
"test:coverage": "vitest --coverage",
4848
"prepare": "pnpm run build",
49-
"prepublishOnly": "pnpm run build"
49+
"prepublishOnly": "pnpm run build",
50+
"changeset": "changeset"
5051
},
5152
"engines": {
5253
"node": ">=20.19.0"
5354
},
5455
"devDependencies": {
56+
"@changesets/cli": "^2.27.7",
5557
"@types/node": "^24.2.0",
5658
"@vitest/ui": "^3.2.4",
5759
"typescript": "^5.9.2",

0 commit comments

Comments
 (0)