File tree Expand file tree Collapse file tree 2 files changed +51
-51
lines changed Expand file tree Collapse file tree 2 files changed +51
-51
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://unpkg.com/release-it@19/schema/release-it.json" ,
3+ "github" : {
4+ "release" : true
5+ },
6+ "git" : {
7+ "tagName" : " v${version}" ,
8+ "requireBranch" : " main"
9+ },
10+ "hooks" : {
11+ "before:init" : [" yarn lint" ]
12+ },
13+ "npm" : {
14+ "publish" : true
15+ },
16+ "plugins" : {
17+ "@release-it/conventional-changelog" : {
18+ "infile" : " CHANGELOG.md" ,
19+ "preset" : {
20+ "name" : " conventionalcommits" ,
21+ "types" : [
22+ {
23+ "type" : " feat" ,
24+ "section" : " Features"
25+ },
26+ {
27+ "type" : " fix" ,
28+ "section" : " Bug Fixes"
29+ },
30+ {
31+ "type" : " test" ,
32+ "section" : " Test added"
33+ },
34+ {
35+ "type" : " refactor" ,
36+ "section" : " Code refactoring"
37+ },
38+ {
39+ "type" : " chore" ,
40+ "section" : " Chores"
41+ },
42+ {
43+ "type" : " docs" ,
44+ "section" : " Documentation"
45+ }
46+ ]
47+ }
48+ }
49+ }
50+ }
Original file line number Diff line number Diff line change 11{
22 "name" : " @yao-pkg/pkg" ,
3- "version" : " 6.7 .0" ,
3+ "version" : " 6.8 .0" ,
44 "description" : " Package your Node.js project into an executable" ,
55 "main" : " lib-es5/index.js" ,
66 "license" : " MIT" ,
8383 "test:host" : " node test/test.js host only-npm" ,
8484 "release" : " read -p 'GITHUB_TOKEN: ' GITHUB_TOKEN && export GITHUB_TOKEN=$GITHUB_TOKEN && release-it"
8585 },
86- "release-it" : {
87- "github" : {
88- "release" : true
89- },
90- "git" : {
91- "tagName" : " v${version}"
92- },
93- "hooks" : {
94- "before:init" : [
95- " yarn lint"
96- ]
97- },
98- "npm" : {
99- "publish" : true
100- },
101- "plugins" : {
102- "@release-it/conventional-changelog" : {
103- "infile" : " CHANGELOG.md" ,
104- "preset" : {
105- "name" : " conventionalcommits" ,
106- "types" : [
107- {
108- "type" : " feat" ,
109- "section" : " Features"
110- },
111- {
112- "type" : " fix" ,
113- "section" : " Bug Fixes"
114- },
115- {
116- "type" : " test" ,
117- "section" : " Test added"
118- },
119- {
120- "type" : " refactor" ,
121- "section" : " Code refactoring"
122- },
123- {
124- "type" : " chore" ,
125- "section" : " Chores"
126- },
127- {
128- "type" : " docs" ,
129- "section" : " Documentation"
130- }
131- ]
132- }
133- }
134- }
135- },
13686 "simple-git-hooks" : {
13787 "pre-commit" : " npx lint-staged"
13888 },
You can’t perform that action at this time.
0 commit comments