Skip to content

Commit bbdbbdd

Browse files
committed
chore: migrate from bumpp to changelogen
1 parent 96bbd43 commit bbdbbdd

File tree

3 files changed

+4
-56
lines changed

3 files changed

+4
-56
lines changed

changelog.config.json

+3
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
"test": false,
1717
"docs": false,
1818
"ci": false
19+
},
20+
"templates": {
21+
"commitMessage": "build: publish v{{newVersion}}"
1922
}
2023
}

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"release": "pnpm release:check && pnpm release:version && pnpm release:publish",
2020
"release:check": "pnpm test && pnpm run build",
2121
"release:publish": "clean-publish",
22-
"release:version": "bumpp package.json --execute=\"pnpm exec changelogen --output changelog.md -r %s && git add changelog.md\" --commit \"build: publish v%s\" --tag --all",
22+
"release:version": "changelogen --output changelog.md --release --push",
2323
"lint": "eslint \"**/*.{js,ts}\"",
2424
"test:types": "tsc --noEmit --pretty",
2525
"test:unit": "vitest --run --coverage --single-thread --no-threads",
@@ -70,7 +70,6 @@
7070
"@types/natural-compare-lite": "^1.4.0",
7171
"@types/node": "^20.2.5",
7272
"@vitest/coverage-v8": "^0.32.0",
73-
"bumpp": "^9.1.1",
7473
"changelogen": "^0.5.3",
7574
"clean-publish": "^4.2.0",
7675
"eslint": "^8.42.0",

pnpm-lock.yaml

-54
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)