This repository was archived by the owner on Mar 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +85
-2
lines changed Expand file tree Collapse file tree 1 file changed +85
-2
lines changed Original file line number Diff line number Diff line change 43
43
"sourceType" : " module"
44
44
}
45
45
},
46
- "publishConfig" : {
47
- "directory" : " dist"
46
+ "release" : {
47
+ "branches" : [
48
+ " master"
49
+ ],
50
+ "plugins" : [
51
+ [
52
+ " @semantic-release/commit-analyzer" ,
53
+ {
54
+ "preset" : " conventionalcommits" ,
55
+ "releaseRules" : [
56
+ {
57
+ "breaking" : true ,
58
+ "release" : " major"
59
+ },
60
+ {
61
+ "revert" : true ,
62
+ "release" : " patch"
63
+ },
64
+ {
65
+ "type" : " feat" ,
66
+ "release" : " minor"
67
+ },
68
+ {
69
+ "type" : " fix" ,
70
+ "release" : " patch"
71
+ },
72
+ {
73
+ "type" : " chore" ,
74
+ "release" : " patch"
75
+ },
76
+ {
77
+ "type" : " docs" ,
78
+ "release" : " patch"
79
+ },
80
+ {
81
+ "type" : " test" ,
82
+ "release" : " patch"
83
+ },
84
+ {
85
+ "scope" : " no-release" ,
86
+ "release" : false
87
+ }
88
+ ]
89
+ }
90
+ ],
91
+ [
92
+ " @semantic-release/release-notes-generator" ,
93
+ {
94
+ "preset" : " conventionalcommits" ,
95
+ "presetConfig" : {
96
+ "types" : [
97
+ {
98
+ "type" : " feat" ,
99
+ "section" : " Features"
100
+ },
101
+ {
102
+ "type" : " fix" ,
103
+ "section" : " Bug Fixes"
104
+ },
105
+ {
106
+ "type" : " chore" ,
107
+ "section" : " Trivial Changes"
108
+ },
109
+ {
110
+ "type" : " docs" ,
111
+ "section" : " Trivial Changes"
112
+ },
113
+ {
114
+ "type" : " test" ,
115
+ "section" : " Tests"
116
+ }
117
+ ]
118
+ }
119
+ }
120
+ ],
121
+ " @semantic-release/changelog" ,
122
+ [
123
+ " @semantic-release/npm" ,
124
+ {
125
+ "pkgRoot" : " dist"
126
+ }
127
+ ],
128
+ " @semantic-release/github" ,
129
+ " @semantic-release/git"
130
+ ]
48
131
},
49
132
"scripts" : {
50
133
"clean" : " rimraf dist types" ,
You can’t perform that action at this time.
0 commit comments