Skip to content

Commit d45d6d9

Browse files
committed
Merge branch 'release/0.1.1'
2 parents 9a4dc2b + 7eb40cb commit d45d6d9

File tree

6 files changed

+485
-5
lines changed

6 files changed

+485
-5
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GITHUB_TOKEN=

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
node_modules/
22
dist/
3+
4+
.env

.release-it.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"$schema": "https://unpkg.com/release-it@18/schema/release-it.json",
3+
"git": {
4+
"commitMessage": "chore(release): ${version}",
5+
"tagName": "${version}",
6+
"requireCleanWorkingDir": true
7+
},
8+
"npm": {
9+
"publish": true,
10+
"skipChecks": false
11+
},
12+
"github": {
13+
"release": true,
14+
"releaseName": "${version}"
15+
},
16+
"plugins": {
17+
"@release-it/conventional-changelog": {
18+
"preset": "conventionalcommits",
19+
"infile": "CHANGELOG.md"
20+
}
21+
},
22+
"hooks": {
23+
"after:bump": "npm run build"
24+
}
25+
}

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Changelog
2+
3+
## [0.1.1](https://github.com/VChet/git-merged-branches/compare/0.1.0...0.1.1) (2025-04-13)

package.json

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "git-merged-branches",
33
"description": "CLI tool to list all Git branches merged into a base branch with issue link formatting",
44
"type": "module",
5-
"version": "0.1.0",
5+
"version": "0.1.1",
66
"license": "MIT",
77
"author": {
88
"name": "VChet",
@@ -15,21 +15,28 @@
1515
"bugs": {
1616
"url": "https://github.com/VChet/git-merged-branches/issues"
1717
},
18-
"homepage": "https://github.com/твой-аккаунт/git-merged-branches#readme",
18+
"homepage": "https://github.com/VChet/git-merged-branches#readme",
1919
"bin": {
20-
"git-merged-branches": "./dist/index.js",
21-
"gmb": "./dist/index.js"
20+
"git-merged-branches": "dist/index.js",
21+
"gmb": "dist/index.js"
2222
},
23+
"files": [
24+
"dist/",
25+
"README.md",
26+
"LICENSE.MD"
27+
],
2328
"scripts": {
2429
"clean": "rimraf dist",
2530
"build": "npm run clean && node build.js",
2631
"lint:ts": "tsc --noEmit",
2732
"lint:js": "eslint .",
2833
"lint:js:fix": "npm run lint:js -- --fix",
2934
"lint:all": "npm run lint:ts && npm run lint:js",
30-
"test": "vitest"
35+
"test": "vitest",
36+
"release": "release-it"
3137
},
3238
"devDependencies": {
39+
"@release-it/conventional-changelog": "^10.0.0",
3340
"@types/node": "^22.14.1",
3441
"esbuild": "^0.25.2",
3542
"eslint": "^9.24.0",

0 commit comments

Comments
 (0)