File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- 18.17.1
1+ 20.10.0
Original file line number Diff line number Diff line change 3030 "files" : [
3131 " dist"
3232 ],
33- "release" : {
34- "branches" : [
35- " main"
36- ],
37- "plugins" : [
38- [
39- " @semantic-release/commit-analyzer" ,
40- {
41- "preset" : " conventionalcommits" ,
42- "releaseRules" : [
43- {
44- "type" : " chore" ,
45- "scope" : " deps" ,
46- "release" : " patch"
47- }
48- ]
49- }
50- ],
51- [
52- " @semantic-release/release-notes-generator" ,
53- {
54- "preset" : " conventionalcommits"
55- }
56- ],
57- " @semantic-release/changelog" ,
58- " @semantic-release/npm" ,
59- " @semantic-release/git" ,
60- " @semantic-release/github"
61- ]
62- },
6333 "scripts" : {
6434 "dev" : " unbuild --stub" ,
6535 "build" : " unbuild" ,
8555 "@graphql-codegen/typescript-operations" : " ^4.0.1" ,
8656 "@semantic-release/changelog" : " ^6.0.3" ,
8757 "@semantic-release/git" : " ^10.0.1" ,
88- "@types/node" : " ~18.17.19 " ,
58+ "@types/node" : " ~20.10.2 " ,
8959 "@typescript-eslint/eslint-plugin" : " ^6.11.0" ,
9060 "@typescript-eslint/parser" : " ^6.11.0" ,
61+ "conventional-changelog-conventionalcommits" : " ^6.1.0" ,
9162 "eslint" : " ^8.53.0" ,
9263 "eslint-config-prettier" : " ^9.0.0" ,
9364 "eslint-plugin-prettier" : " ^5.0.1" ,
Original file line number Diff line number Diff line change 1+ /** @type {import('semantic-release').GlobalConfig } */
2+ module . exports = {
3+ branches : [ 'main' ] ,
4+ plugins : [
5+ [
6+ '@semantic-release/commit-analyzer' ,
7+ {
8+ preset : 'conventionalcommits' ,
9+ releaseRules : [
10+ {
11+ type : 'chore' ,
12+ scope : 'deps' ,
13+ release : 'patch' ,
14+ } ,
15+ ] ,
16+ } ,
17+ ] ,
18+ [
19+ '@semantic-release/release-notes-generator' ,
20+ {
21+ preset : 'conventionalcommits' ,
22+ presetConfig : {
23+ types : [
24+ {
25+ type : 'feat' ,
26+ section : 'Features' ,
27+ hidden : false ,
28+ } ,
29+ {
30+ type : 'fix' ,
31+ section : 'Bug Fixes' ,
32+ hidden : false ,
33+ } ,
34+ {
35+ type : 'perf' ,
36+ section : 'Performance Improvements' ,
37+ hidden : false ,
38+ } ,
39+ {
40+ type : 'revert' ,
41+ section : 'Reverts' ,
42+ hidden : false ,
43+ } ,
44+ {
45+ type : 'docs' ,
46+ section : 'Documentation' ,
47+ hidden : false ,
48+ } ,
49+ {
50+ type : 'style' ,
51+ section : 'Styles' ,
52+ hidden : false ,
53+ } ,
54+ {
55+ type : 'chore' ,
56+ section : 'Miscellaneous Chores' ,
57+ hidden : false ,
58+ } ,
59+ {
60+ type : 'refactor' ,
61+ section : 'Code Refactoring' ,
62+ hidden : false ,
63+ } ,
64+ {
65+ type : 'test' ,
66+ section : 'Tests' ,
67+ hidden : false ,
68+ } ,
69+ {
70+ type : 'build' ,
71+ section : 'Build System' ,
72+ hidden : false ,
73+ } ,
74+ {
75+ type : 'ci' ,
76+ section : 'Continuous Integration' ,
77+ hidden : false ,
78+ } ,
79+ ] ,
80+ } ,
81+ } ,
82+ ] ,
83+ '@semantic-release/changelog' ,
84+ '@semantic-release/npm' ,
85+ '@semantic-release/git' ,
86+ '@semantic-release/github' ,
87+ ] ,
88+ } ;
You can’t perform that action at this time.
0 commit comments