Skip to content

Commit 5c09bc9

Browse files
committed
perf: add .versionrc and update postinstall script
1 parent afd6c8a commit 5c09bc9

File tree

2 files changed

+40
-2
lines changed

2 files changed

+40
-2
lines changed

.versionrc.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"types": [
3+
{
4+
"type": "feat",
5+
"section": "Features"
6+
},
7+
{
8+
"type": "fix",
9+
"section": "Bug Fixes"
10+
},
11+
{
12+
"type": "chore",
13+
"hidden": true
14+
},
15+
{
16+
"type": "docs",
17+
"section": "Documentation "
18+
},
19+
{
20+
"type": "style",
21+
"hidden": true
22+
},
23+
{
24+
"type": "refactor",
25+
"hidden": true
26+
},
27+
{
28+
"type": "perf",
29+
"section": "Performance"
30+
},
31+
{
32+
"type": "test",
33+
"hidden": true
34+
}
35+
],
36+
"commitUrlFormat": "https://github.com/devXprite/httpfy/commits/{{hash}}",
37+
"compareUrlFormat": "https://github.com/devXprite/httpfy/compare/{{previousTag}}...{{currentTag}}"
38+
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"prettier": "prettier --check .",
1313
"prettier:fix": "prettier --write .",
1414
"format": "npm run prettier:fix && npm run lint:fix",
15-
"postinstall": "node ./lib/postinstall.js",
15+
"postinstall": "node ./lib/postInstall.js",
1616
"release": "standard-version",
1717
"release:minor": "standard-version --release-as minor",
1818
"release:patch": "standard-version --release-as patch",
@@ -66,4 +66,4 @@
6666
"node": ">=8.0.0"
6767
},
6868
"engineStrict": true
69-
}
69+
}

0 commit comments

Comments
 (0)