File tree Expand file tree Collapse file tree 2 files changed +20
-9
lines changed Expand file tree Collapse file tree 2 files changed +20
-9
lines changed Original file line number Diff line number Diff line change 1+ import type { Config } from 'release-it' ;
2+
3+ export default {
4+ git : {
5+ commit : true ,
6+ commitMessage : 'chore: release ${version}' ,
7+ tag : true ,
8+ push : true ,
9+ } ,
10+ github : {
11+ release : true ,
12+ } ,
13+ npm : {
14+ publish : true ,
15+ } ,
16+ hooks : {
17+ 'after:bump' : 'npm run build' ,
18+ } ,
19+ } satisfies Config ;
Original file line number Diff line number Diff line change 2828 "clean" : " rm -rf dist" ,
2929 "build" : " npm run clean && tsc -b src" ,
3030 "format" : " prettier -w ." ,
31- "release" : " npm run build && release-it" ,
31+ "release" : " release-it --only-version " ,
3232 "test" : " TS_NODE_PROJECT=tests node --test --test-concurrency=none -r ts-node/register tests/**[!build]/index.test.ts" ,
3333 "test:build" : " npm run build && tstyche build" ,
3434 "prepare" : " husky"
7171 },
7272 "publishConfig" : {
7373 "access" : " public"
74- },
75- "release-it" : {
76- "git" : {
77- "commitMessage" : " chore: release ${version}"
78- },
79- "github" : {
80- "release" : true
81- }
8274 }
8375}
You can’t perform that action at this time.
0 commit comments