Skip to content

Commit 1bbef1e

Browse files
committed
chore: migrate from standard-version to release-it
1 parent eab8416 commit 1bbef1e

4 files changed

Lines changed: 1074 additions & 924 deletions

File tree

.release-it.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"git": {
3+
"commitMessage": "chore(release): v${version}",
4+
"tagName": "v${version}"
5+
},
6+
"npm": {
7+
"publish": false
8+
},
9+
"github": {
10+
"release": true,
11+
"releaseName": "v${version}",
12+
"web": true
13+
},
14+
"hooks": {
15+
"before:init": ["pnpm lint", "pnpm typecheck"]
16+
},
17+
"plugins": {
18+
"@release-it/conventional-changelog": {
19+
"preset": {
20+
"name": "conventionalcommits"
21+
},
22+
"infile": "CHANGELOG.md",
23+
"header": "# Changelog",
24+
"ignoreRecommendedBump": true
25+
}
26+
}
27+
}

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
3+
All notable changes to this project will be documented in this file. See [release-it](https://github.com/release-it/release-it) for commit guidelines.
44

55
### [2.1.1](https://github.com/nuxt-modules/strapi/compare/v2.1.0...v2.1.1) (2025-06-30)
66

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"test": "vitest run",
3535
"lint": "eslint .",
3636
"typecheck": "vue-tsc --noEmit",
37-
"release": "pnpm lint && standard-version && git push --follow-tags"
37+
"release": "release-it"
3838
},
3939
"dependencies": {
4040
"@nuxt/kit": "^4.4.4",
@@ -47,9 +47,10 @@
4747
"@nuxt/eslint-config": "^1.15.2",
4848
"@nuxt/module-builder": "^1.0.2",
4949
"@nuxt/test-utils": "^4.0.3",
50+
"@release-it/conventional-changelog": "^11.0.0",
5051
"eslint": "^10.3.0",
5152
"nuxt": "^4.4.4",
52-
"standard-version": "^9.5.0",
53+
"release-it": "^20.0.1",
5354
"typescript": "^6.0.3",
5455
"vitest": "^4.1.5",
5556
"vue-tsc": "^3.2.8"

0 commit comments

Comments
 (0)