Skip to content

Commit 87e98f0

Browse files
committed
chore(deps): migrate from standard-version to release-it
1 parent f7e2082 commit 87e98f0

File tree

3 files changed

+1367
-85
lines changed

3 files changed

+1367
-85
lines changed

.release-it.json

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

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"lint": "eslint .",
2626
"typecheck": "nuxi typecheck",
2727
"prepare": "nuxi prepare docs",
28-
"release": "pnpm lint && standard-version && git push --follow-tags"
28+
"release": "release-it"
2929
},
3030
"dependencies": {
3131
"@egoist/tailwindcss-icons": "^1.1.0",
@@ -55,14 +55,15 @@
5555
"@nuxt/module-builder": "^0.4.0",
5656
"@nuxthq/studio": "^0.13.2",
5757
"@nuxtjs/plausible": "^0.2.1",
58+
"@release-it/conventional-changelog": "^5.1.1",
5859
"@types/lodash-es": "^4.17.7",
5960
"@types/node": "^20.3.1",
6061
"@vueuse/nuxt": "^10.1.2",
6162
"eslint": "^8.42.0",
6263
"nuxt": "^3.5.3",
6364
"nuxt-component-meta": "^0.5.3",
6465
"nuxt-lodash": "^2.4.1",
65-
"standard-version": "^9.5.0",
66+
"release-it": "^15.11.0",
6667
"unbuild": "^1.2.1",
6768
"vue-tsc": "1.6.3"
6869
}

0 commit comments

Comments
 (0)