Skip to content

Commit e9cf735

Browse files
committed
feat: add pre-release support
1 parent 8f90965 commit e9cf735

28 files changed

+3231
-59
lines changed

.cosmodrome.json.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2+
"preReleasePrefix": "",
3+
"releaseCommitPrefix": "",
24
"git": {
35
"authorEmail": "",
46
"authorUsername": ""

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ node_modules
77

88
# cosmodrome
99
.cosmodrome.json
10+
11+
.idea

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18.16.0
1+
v22.6.0

coverage/clover.xml

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<coverage generated="1729865531706" clover="3.2.0">
3+
<project timestamp="1729865531706" name="All files">
4+
<metrics statements="111" coveredstatements="30" conditionals="41" coveredconditionals="8" methods="9" coveredmethods="2" elements="161" coveredelements="40" complexity="0" loc="111" ncloc="111" packages="3" files="4" classes="4"/>
5+
<package name="commands">
6+
<metrics statements="94" coveredstatements="22" conditionals="35" coveredconditionals="8" methods="7" coveredmethods="2"/>
7+
<file name="release.ts" path="/Users/alessiofarinelli/Developer/Futura/Packages/cosmodrome/src/commands/release.ts">
8+
<metrics statements="94" coveredstatements="22" conditionals="35" coveredconditionals="8" methods="7" coveredmethods="2"/>
9+
<line num="1" count="1" type="stmt"/>
10+
<line num="2" count="1" type="stmt"/>
11+
<line num="3" count="1" type="stmt"/>
12+
<line num="4" count="1" type="stmt"/>
13+
<line num="5" count="1" type="stmt"/>
14+
<line num="9" count="1" type="stmt"/>
15+
<line num="10" count="1" type="stmt"/>
16+
<line num="12" count="1" type="stmt"/>
17+
<line num="25" count="1" type="stmt"/>
18+
<line num="32" count="1" type="stmt"/>
19+
<line num="37" count="1" type="stmt"/>
20+
<line num="53" count="1" type="stmt"/>
21+
<line num="55" count="0" type="stmt"/>
22+
<line num="61" count="0" type="stmt"/>
23+
<line num="62" count="0" type="cond" truecount="0" falsecount="1"/>
24+
<line num="63" count="0" type="stmt"/>
25+
<line num="66" count="0" type="stmt"/>
26+
<line num="69" count="0" type="stmt"/>
27+
<line num="80" count="0" type="stmt"/>
28+
<line num="85" count="0" type="stmt"/>
29+
<line num="86" count="0" type="cond" truecount="0" falsecount="1"/>
30+
<line num="87" count="0" type="stmt"/>
31+
<line num="90" count="0" type="stmt"/>
32+
<line num="96" count="0" type="stmt"/>
33+
<line num="97" count="0" type="stmt"/>
34+
<line num="98" count="0" type="stmt"/>
35+
<line num="107" count="0" type="cond" truecount="0" falsecount="1"/>
36+
<line num="108" count="0" type="stmt"/>
37+
<line num="111" count="0" type="stmt"/>
38+
<line num="113" count="0" type="stmt"/>
39+
<line num="119" count="0" type="stmt"/>
40+
<line num="120" count="0" type="stmt"/>
41+
<line num="123" count="0" type="stmt"/>
42+
<line num="130" count="0" type="stmt"/>
43+
<line num="131" count="0" type="stmt"/>
44+
<line num="135" count="0" type="cond" truecount="0" falsecount="2"/>
45+
<line num="138" count="0" type="stmt"/>
46+
<line num="143" count="0" type="stmt"/>
47+
<line num="180" count="0" type="stmt"/>
48+
<line num="181" count="0" type="stmt"/>
49+
<line num="184" count="0" type="stmt"/>
50+
<line num="185" count="0" type="stmt"/>
51+
<line num="188" count="0" type="stmt"/>
52+
<line num="192" count="0" type="stmt"/>
53+
<line num="193" count="0" type="stmt"/>
54+
<line num="197" count="0" type="stmt"/>
55+
<line num="198" count="0" type="stmt"/>
56+
<line num="201" count="0" type="stmt"/>
57+
<line num="206" count="0" type="stmt"/>
58+
<line num="216" count="0" type="cond" truecount="0" falsecount="1"/>
59+
<line num="217" count="0" type="stmt"/>
60+
<line num="221" count="0" type="stmt"/>
61+
<line num="225" count="0" type="stmt"/>
62+
<line num="229" count="0" type="stmt"/>
63+
<line num="235" count="0" type="stmt"/>
64+
<line num="236" count="0" type="stmt"/>
65+
<line num="243" count="0" type="stmt"/>
66+
<line num="250" count="0" type="stmt"/>
67+
<line num="251" count="0" type="cond" truecount="0" falsecount="2"/>
68+
<line num="252" count="0" type="stmt"/>
69+
<line num="253" count="0" type="stmt"/>
70+
<line num="257" count="0" type="stmt"/>
71+
<line num="258" count="0" type="cond" truecount="0" falsecount="2"/>
72+
<line num="259" count="0" type="stmt"/>
73+
<line num="260" count="0" type="stmt"/>
74+
<line num="261" count="0" type="stmt"/>
75+
<line num="262" count="0" type="cond" truecount="0" falsecount="2"/>
76+
<line num="263" count="0" type="stmt"/>
77+
<line num="264" count="0" type="stmt"/>
78+
<line num="268" count="0" type="cond" truecount="0" falsecount="3"/>
79+
<line num="269" count="0" type="stmt"/>
80+
<line num="272" count="0" type="stmt"/>
81+
<line num="274" count="0" type="cond" truecount="0" falsecount="4"/>
82+
<line num="275" count="0" type="stmt"/>
83+
<line num="276" count="0" type="stmt"/>
84+
<line num="297" count="0" type="stmt"/>
85+
<line num="298" count="0" type="stmt"/>
86+
<line num="299" count="0" type="stmt"/>
87+
<line num="300" count="0" type="stmt"/>
88+
<line num="303" count="0" type="stmt"/>
89+
<line num="304" count="0" type="stmt"/>
90+
<line num="336" count="1" type="stmt"/>
91+
<line num="342" count="3" type="cond" truecount="0" falsecount="1"/>
92+
<line num="343" count="0" type="stmt"/>
93+
<line num="345" count="3" type="stmt"/>
94+
<line num="348" count="9" type="stmt"/>
95+
<line num="350" count="3" type="cond" truecount="1" falsecount="1"/>
96+
<line num="351" count="3" type="cond" truecount="1" falsecount="1"/>
97+
<line num="353" count="3" type="cond" truecount="3" falsecount="2"/>
98+
<line num="355" count="1" type="cond" truecount="1" falsecount="1"/>
99+
<line num="357" count="1" type="cond" truecount="1" falsecount="1"/>
100+
<line num="359" count="1" type="cond" truecount="1" falsecount="1"/>
101+
<line num="366" count="0" type="stmt"/>
102+
<line num="369" count="0" type="stmt"/>
103+
</file>
104+
</package>
105+
<package name="utils">
106+
<metrics statements="12" coveredstatements="3" conditionals="6" coveredconditionals="0" methods="2" coveredmethods="0"/>
107+
<file name="functions.ts" path="/Users/alessiofarinelli/Developer/Futura/Packages/cosmodrome/src/utils/functions.ts">
108+
<metrics statements="12" coveredstatements="3" conditionals="6" coveredconditionals="0" methods="2" coveredmethods="0"/>
109+
<line num="1" count="1" type="stmt"/>
110+
<line num="8" count="1" type="stmt"/>
111+
<line num="9" count="0" type="cond" truecount="0" falsecount="3"/>
112+
<line num="10" count="0" type="stmt"/>
113+
<line num="11" count="0" type="cond" truecount="0" falsecount="1"/>
114+
<line num="12" count="0" type="stmt"/>
115+
<line num="13" count="0" type="cond" truecount="0" falsecount="2"/>
116+
<line num="14" count="0" type="stmt"/>
117+
<line num="15" count="0" type="stmt"/>
118+
<line num="18" count="0" type="stmt"/>
119+
<line num="25" count="1" type="stmt"/>
120+
<line num="26" count="0" type="stmt"/>
121+
</file>
122+
</package>
123+
<package name="utils.validation">
124+
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
125+
<file name="cosmodrome-config.ts" path="/Users/alessiofarinelli/Developer/Futura/Packages/cosmodrome/src/utils/validation/cosmodrome-config.ts">
126+
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
127+
<line num="1" count="1" type="stmt"/>
128+
<line num="3" count="1" type="stmt"/>
129+
</file>
130+
<file name="package-json.ts" path="/Users/alessiofarinelli/Developer/Futura/Packages/cosmodrome/src/utils/validation/package-json.ts">
131+
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
132+
<line num="1" count="1" type="stmt"/>
133+
<line num="3" count="1" type="stmt"/>
134+
<line num="9" count="1" type="stmt"/>
135+
</file>
136+
</package>
137+
</project>
138+
</coverage>

0 commit comments

Comments
 (0)