lucy-cli 0.6.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.eslintrc.cjs +1 -1
- package/LICENSE.md +22 -0
- package/README.md +103 -1
- package/dist/helpers.d.ts +4 -0
- package/dist/helpers.js +69 -0
- package/dist/index.d.ts +26 -1
- package/dist/index.js +49 -32
- package/dist/init copy.d.ts +8 -0
- package/dist/init copy.js +167 -0
- package/dist/init.js +4 -53
- package/dist/install.d.ts +2 -0
- package/dist/install.js +53 -0
- package/dist/prepare.d.ts +8 -0
- package/dist/prepare.js +18 -0
- package/dist/settings.json +10 -81
- package/dist/start_gulp.d.ts +2 -0
- package/{src/dev.ts → dist/start_gulp.js} +3 -9
- package/files/.eslintrc.cjs +1 -2
- package/files/.yarnrc.yml +0 -2
- package/files/currents.config.js +1 -1
- package/files/docs.tsconfig.json +6 -5
- package/files/lucy.json +26 -2
- package/lucy.jpg +0 -0
- package/package.json +1 -1
- package/src/helpers.ts +79 -0
- package/src/index.ts +88 -34
- package/src/init.ts +3 -53
- package/src/prepare.ts +23 -0
- package/src/settings.json +10 -81
- package/.drone/.drone.yml +0 -156
- package/.drone/mail_prod_build.hbs +0 -319
- package/.drone/mail_prod_deploy.hbs +0 -309
- package/.drone/mail_satges.hbs +0 -309
- package/.drone/telegram_prod_build.tpl +0 -23
- package/.drone/telegram_prod_deploy.tpl +0 -20
- package/.drone/telegram_stages.tpl +0 -20
- package/files/typescript/.eslintrc.json +0 -35
@@ -1,309 +0,0 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
4
|
-
|
5
|
-
<head>
|
6
|
-
<meta name="viewport"
|
7
|
-
content="width=device-width" />
|
8
|
-
<meta http-equiv="Content-Type"
|
9
|
-
content="text/html; charset=UTF-8" />
|
10
|
-
<style>
|
11
|
-
* {
|
12
|
-
margin: 0;
|
13
|
-
padding: 0;
|
14
|
-
font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
|
15
|
-
box-sizing: border-box;
|
16
|
-
font-size: 14px;
|
17
|
-
}
|
18
|
-
|
19
|
-
body {
|
20
|
-
-webkit-font-smoothing: antialiased;
|
21
|
-
-webkit-text-size-adjust: none;
|
22
|
-
width: 100% !important;
|
23
|
-
height: 100%;
|
24
|
-
line-height: 1.6;
|
25
|
-
background-color: #f6f6f6;
|
26
|
-
}
|
27
|
-
|
28
|
-
table td {
|
29
|
-
vertical-align: top;
|
30
|
-
}
|
31
|
-
|
32
|
-
.body-wrap {
|
33
|
-
background-color: #f6f6f6;
|
34
|
-
width: 100%;
|
35
|
-
}
|
36
|
-
|
37
|
-
.container {
|
38
|
-
display: block !important;
|
39
|
-
max-width: 600px !important;
|
40
|
-
margin: 0 auto !important;
|
41
|
-
/* makes it centered */
|
42
|
-
clear: both !important;
|
43
|
-
}
|
44
|
-
|
45
|
-
.content {
|
46
|
-
max-width: 600px;
|
47
|
-
margin: 0 auto;
|
48
|
-
display: block;
|
49
|
-
padding: 20px;
|
50
|
-
}
|
51
|
-
|
52
|
-
.main {
|
53
|
-
background: #fff;
|
54
|
-
border: 1px solid #e9e9e9;
|
55
|
-
border-radius: 3px;
|
56
|
-
}
|
57
|
-
|
58
|
-
.content-wrap {
|
59
|
-
padding: 20px;
|
60
|
-
}
|
61
|
-
|
62
|
-
.content-block {
|
63
|
-
padding: 0 0 20px;
|
64
|
-
}
|
65
|
-
|
66
|
-
.header {
|
67
|
-
width: 100%;
|
68
|
-
margin-bottom: 20px;
|
69
|
-
}
|
70
|
-
|
71
|
-
h1,
|
72
|
-
h2,
|
73
|
-
h3 {
|
74
|
-
font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
|
75
|
-
color: #000;
|
76
|
-
margin: 40px 0 0;
|
77
|
-
line-height: 1.2;
|
78
|
-
font-weight: 400;
|
79
|
-
}
|
80
|
-
|
81
|
-
h1 {
|
82
|
-
font-size: 32px;
|
83
|
-
font-weight: 500;
|
84
|
-
}
|
85
|
-
|
86
|
-
h2 {
|
87
|
-
font-size: 24px;
|
88
|
-
}
|
89
|
-
|
90
|
-
h3 {
|
91
|
-
font-size: 18px;
|
92
|
-
}
|
93
|
-
|
94
|
-
hr {
|
95
|
-
border: 1px solid #e9e9e9;
|
96
|
-
margin: 20px 0;
|
97
|
-
height: 1px;
|
98
|
-
padding: 0;
|
99
|
-
}
|
100
|
-
|
101
|
-
p,
|
102
|
-
ul,
|
103
|
-
ol {
|
104
|
-
margin-bottom: 10px;
|
105
|
-
font-weight: normal;
|
106
|
-
}
|
107
|
-
|
108
|
-
p li,
|
109
|
-
ul li,
|
110
|
-
ol li {
|
111
|
-
margin-left: 5px;
|
112
|
-
list-style-position: inside;
|
113
|
-
}
|
114
|
-
|
115
|
-
a {
|
116
|
-
color: #348eda;
|
117
|
-
text-decoration: underline;
|
118
|
-
}
|
119
|
-
|
120
|
-
.last {
|
121
|
-
margin-bottom: 0;
|
122
|
-
}
|
123
|
-
|
124
|
-
.first {
|
125
|
-
margin-top: 0;
|
126
|
-
}
|
127
|
-
|
128
|
-
.padding {
|
129
|
-
padding: 10px 0;
|
130
|
-
}
|
131
|
-
|
132
|
-
.aligncenter {
|
133
|
-
text-align: center;
|
134
|
-
}
|
135
|
-
|
136
|
-
.alignright {
|
137
|
-
text-align: right;
|
138
|
-
}
|
139
|
-
|
140
|
-
.alignleft {
|
141
|
-
text-align: left;
|
142
|
-
}
|
143
|
-
|
144
|
-
.clear {
|
145
|
-
clear: both;
|
146
|
-
}
|
147
|
-
|
148
|
-
.alert {
|
149
|
-
font-size: 16px;
|
150
|
-
color: #fff;
|
151
|
-
font-weight: 500;
|
152
|
-
padding: 20px;
|
153
|
-
text-align: center;
|
154
|
-
border-radius: 3px 3px 0 0;
|
155
|
-
}
|
156
|
-
|
157
|
-
.alert a {
|
158
|
-
color: #fff;
|
159
|
-
text-decoration: none;
|
160
|
-
font-weight: 500;
|
161
|
-
font-size: 16px;
|
162
|
-
}
|
163
|
-
|
164
|
-
.alert.alert-warning {
|
165
|
-
background: #ff9f00;
|
166
|
-
}
|
167
|
-
|
168
|
-
.alert.alert-bad {
|
169
|
-
background: #d0021b;
|
170
|
-
}
|
171
|
-
|
172
|
-
.alert.alert-good {
|
173
|
-
background: #68b90f;
|
174
|
-
}
|
175
|
-
|
176
|
-
@media only screen and (max-width: 640px) {
|
177
|
-
|
178
|
-
h1,
|
179
|
-
h2,
|
180
|
-
h3 {
|
181
|
-
font-weight: 600 !important;
|
182
|
-
margin: 20px 0 5px !important;
|
183
|
-
}
|
184
|
-
|
185
|
-
h1 {
|
186
|
-
font-size: 22px !important;
|
187
|
-
}
|
188
|
-
|
189
|
-
h2 {
|
190
|
-
font-size: 18px !important;
|
191
|
-
}
|
192
|
-
|
193
|
-
h3 {
|
194
|
-
font-size: 16px !important;
|
195
|
-
}
|
196
|
-
|
197
|
-
.container {
|
198
|
-
width: 100% !important;
|
199
|
-
}
|
200
|
-
|
201
|
-
.content,
|
202
|
-
.content-wrapper {
|
203
|
-
padding: 10px !important;
|
204
|
-
}
|
205
|
-
}
|
206
|
-
</style>
|
207
|
-
</head>
|
208
|
-
|
209
|
-
<body>
|
210
|
-
<table class="body-wrap">
|
211
|
-
<tr>
|
212
|
-
<td></td>
|
213
|
-
<td class="container"
|
214
|
-
width="600">
|
215
|
-
<div class="content">
|
216
|
-
<table class="main"
|
217
|
-
width="100%"
|
218
|
-
cellpadding="0"
|
219
|
-
cellspacing="0">
|
220
|
-
<tr>
|
221
|
-
{{#success build.status}}
|
222
|
-
<td class="alert alert-good">
|
223
|
-
<a href="{{ build.link }}">
|
224
|
-
Successful deploy to prduction #{{ build.number }}
|
225
|
-
</a>
|
226
|
-
</td>
|
227
|
-
{{else}}
|
228
|
-
<td class="alert alert-bad">
|
229
|
-
<a href="{{ build.link }}">
|
230
|
-
Failed deploy to prduction #{{ build.number }}
|
231
|
-
</a>
|
232
|
-
</td>
|
233
|
-
{{/success}}
|
234
|
-
</tr>
|
235
|
-
<tr>
|
236
|
-
<td class="content-wrap">
|
237
|
-
<table width="100%"
|
238
|
-
cellpadding="0"
|
239
|
-
cellspacing="0">
|
240
|
-
<tr>
|
241
|
-
<td>
|
242
|
-
Repo:
|
243
|
-
</td>
|
244
|
-
<td>
|
245
|
-
{{ repo.owner }}/{{ repo.name }}
|
246
|
-
</td>
|
247
|
-
</tr>
|
248
|
-
<tr>
|
249
|
-
<td>
|
250
|
-
Author:
|
251
|
-
</td>
|
252
|
-
<td>
|
253
|
-
{{ commit.author.name }} ({{ commit.author.email }})
|
254
|
-
</td>
|
255
|
-
</tr>
|
256
|
-
<tr>
|
257
|
-
<td>
|
258
|
-
Branch:
|
259
|
-
</td>
|
260
|
-
<td>
|
261
|
-
{{ commit.branch }}
|
262
|
-
</td>
|
263
|
-
</tr>
|
264
|
-
<tr>
|
265
|
-
<td>
|
266
|
-
Tag:
|
267
|
-
</td>
|
268
|
-
<td>
|
269
|
-
{{ tag }}
|
270
|
-
</td>
|
271
|
-
</tr>
|
272
|
-
<tr>
|
273
|
-
<td>
|
274
|
-
Commit:
|
275
|
-
</td>
|
276
|
-
<td>
|
277
|
-
{{ truncate commit.sha 8 }}
|
278
|
-
</td>
|
279
|
-
</tr>
|
280
|
-
<tr>
|
281
|
-
<td>
|
282
|
-
Started at:
|
283
|
-
</td>
|
284
|
-
<td>
|
285
|
-
{{ datetime build.created "Mon Jan 2 15:04:05 MST 2006" "Local" }}
|
286
|
-
</td>
|
287
|
-
</tr>
|
288
|
-
</table>
|
289
|
-
<hr>
|
290
|
-
<table width="100%"
|
291
|
-
cellpadding="0"
|
292
|
-
cellspacing="0">
|
293
|
-
<tr>
|
294
|
-
<td>
|
295
|
-
{{ commit.message }}
|
296
|
-
</td>
|
297
|
-
</tr>
|
298
|
-
</table>
|
299
|
-
</td>
|
300
|
-
</tr>
|
301
|
-
</table>
|
302
|
-
</div>
|
303
|
-
</td>
|
304
|
-
<td></td>
|
305
|
-
</tr>
|
306
|
-
</table>
|
307
|
-
</body>
|
308
|
-
|
309
|
-
</html>
|
package/.drone/mail_satges.hbs
DELETED
@@ -1,309 +0,0 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
4
|
-
|
5
|
-
<head>
|
6
|
-
<meta name="viewport"
|
7
|
-
content="width=device-width" />
|
8
|
-
<meta http-equiv="Content-Type"
|
9
|
-
content="text/html; charset=UTF-8" />
|
10
|
-
<style>
|
11
|
-
* {
|
12
|
-
margin: 0;
|
13
|
-
padding: 0;
|
14
|
-
font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
|
15
|
-
box-sizing: border-box;
|
16
|
-
font-size: 14px;
|
17
|
-
}
|
18
|
-
|
19
|
-
body {
|
20
|
-
-webkit-font-smoothing: antialiased;
|
21
|
-
-webkit-text-size-adjust: none;
|
22
|
-
width: 100% !important;
|
23
|
-
height: 100%;
|
24
|
-
line-height: 1.6;
|
25
|
-
background-color: #f6f6f6;
|
26
|
-
}
|
27
|
-
|
28
|
-
table td {
|
29
|
-
vertical-align: top;
|
30
|
-
}
|
31
|
-
|
32
|
-
.body-wrap {
|
33
|
-
background-color: #f6f6f6;
|
34
|
-
width: 100%;
|
35
|
-
}
|
36
|
-
|
37
|
-
.container {
|
38
|
-
display: block !important;
|
39
|
-
max-width: 600px !important;
|
40
|
-
margin: 0 auto !important;
|
41
|
-
/* makes it centered */
|
42
|
-
clear: both !important;
|
43
|
-
}
|
44
|
-
|
45
|
-
.content {
|
46
|
-
max-width: 600px;
|
47
|
-
margin: 0 auto;
|
48
|
-
display: block;
|
49
|
-
padding: 20px;
|
50
|
-
}
|
51
|
-
|
52
|
-
.main {
|
53
|
-
background: #fff;
|
54
|
-
border: 1px solid #e9e9e9;
|
55
|
-
border-radius: 3px;
|
56
|
-
}
|
57
|
-
|
58
|
-
.content-wrap {
|
59
|
-
padding: 20px;
|
60
|
-
}
|
61
|
-
|
62
|
-
.content-block {
|
63
|
-
padding: 0 0 20px;
|
64
|
-
}
|
65
|
-
|
66
|
-
.header {
|
67
|
-
width: 100%;
|
68
|
-
margin-bottom: 20px;
|
69
|
-
}
|
70
|
-
|
71
|
-
h1,
|
72
|
-
h2,
|
73
|
-
h3 {
|
74
|
-
font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
|
75
|
-
color: #000;
|
76
|
-
margin: 40px 0 0;
|
77
|
-
line-height: 1.2;
|
78
|
-
font-weight: 400;
|
79
|
-
}
|
80
|
-
|
81
|
-
h1 {
|
82
|
-
font-size: 32px;
|
83
|
-
font-weight: 500;
|
84
|
-
}
|
85
|
-
|
86
|
-
h2 {
|
87
|
-
font-size: 24px;
|
88
|
-
}
|
89
|
-
|
90
|
-
h3 {
|
91
|
-
font-size: 18px;
|
92
|
-
}
|
93
|
-
|
94
|
-
hr {
|
95
|
-
border: 1px solid #e9e9e9;
|
96
|
-
margin: 20px 0;
|
97
|
-
height: 1px;
|
98
|
-
padding: 0;
|
99
|
-
}
|
100
|
-
|
101
|
-
p,
|
102
|
-
ul,
|
103
|
-
ol {
|
104
|
-
margin-bottom: 10px;
|
105
|
-
font-weight: normal;
|
106
|
-
}
|
107
|
-
|
108
|
-
p li,
|
109
|
-
ul li,
|
110
|
-
ol li {
|
111
|
-
margin-left: 5px;
|
112
|
-
list-style-position: inside;
|
113
|
-
}
|
114
|
-
|
115
|
-
a {
|
116
|
-
color: #348eda;
|
117
|
-
text-decoration: underline;
|
118
|
-
}
|
119
|
-
|
120
|
-
.last {
|
121
|
-
margin-bottom: 0;
|
122
|
-
}
|
123
|
-
|
124
|
-
.first {
|
125
|
-
margin-top: 0;
|
126
|
-
}
|
127
|
-
|
128
|
-
.padding {
|
129
|
-
padding: 10px 0;
|
130
|
-
}
|
131
|
-
|
132
|
-
.aligncenter {
|
133
|
-
text-align: center;
|
134
|
-
}
|
135
|
-
|
136
|
-
.alignright {
|
137
|
-
text-align: right;
|
138
|
-
}
|
139
|
-
|
140
|
-
.alignleft {
|
141
|
-
text-align: left;
|
142
|
-
}
|
143
|
-
|
144
|
-
.clear {
|
145
|
-
clear: both;
|
146
|
-
}
|
147
|
-
|
148
|
-
.alert {
|
149
|
-
font-size: 16px;
|
150
|
-
color: #fff;
|
151
|
-
font-weight: 500;
|
152
|
-
padding: 20px;
|
153
|
-
text-align: center;
|
154
|
-
border-radius: 3px 3px 0 0;
|
155
|
-
}
|
156
|
-
|
157
|
-
.alert a {
|
158
|
-
color: #fff;
|
159
|
-
text-decoration: none;
|
160
|
-
font-weight: 500;
|
161
|
-
font-size: 16px;
|
162
|
-
}
|
163
|
-
|
164
|
-
.alert.alert-warning {
|
165
|
-
background: #ff9f00;
|
166
|
-
}
|
167
|
-
|
168
|
-
.alert.alert-bad {
|
169
|
-
background: #d0021b;
|
170
|
-
}
|
171
|
-
|
172
|
-
.alert.alert-good {
|
173
|
-
background: #68b90f;
|
174
|
-
}
|
175
|
-
|
176
|
-
@media only screen and (max-width: 640px) {
|
177
|
-
|
178
|
-
h1,
|
179
|
-
h2,
|
180
|
-
h3 {
|
181
|
-
font-weight: 600 !important;
|
182
|
-
margin: 20px 0 5px !important;
|
183
|
-
}
|
184
|
-
|
185
|
-
h1 {
|
186
|
-
font-size: 22px !important;
|
187
|
-
}
|
188
|
-
|
189
|
-
h2 {
|
190
|
-
font-size: 18px !important;
|
191
|
-
}
|
192
|
-
|
193
|
-
h3 {
|
194
|
-
font-size: 16px !important;
|
195
|
-
}
|
196
|
-
|
197
|
-
.container {
|
198
|
-
width: 100% !important;
|
199
|
-
}
|
200
|
-
|
201
|
-
.content,
|
202
|
-
.content-wrapper {
|
203
|
-
padding: 10px !important;
|
204
|
-
}
|
205
|
-
}
|
206
|
-
</style>
|
207
|
-
</head>
|
208
|
-
|
209
|
-
<body>
|
210
|
-
<table class="body-wrap">
|
211
|
-
<tr>
|
212
|
-
<td></td>
|
213
|
-
<td class="container"
|
214
|
-
width="600">
|
215
|
-
<div class="content">
|
216
|
-
<table class="main"
|
217
|
-
width="100%"
|
218
|
-
cellpadding="0"
|
219
|
-
cellspacing="0">
|
220
|
-
<tr>
|
221
|
-
{{#success build.status}}
|
222
|
-
<td class="alert alert-good">
|
223
|
-
<a href="{{ build.link }}">
|
224
|
-
Successful Stage-Build #{{ build.number }}
|
225
|
-
</a>
|
226
|
-
</td>
|
227
|
-
{{else}}
|
228
|
-
<td class="alert alert-bad">
|
229
|
-
<a href="{{ build.link }}">
|
230
|
-
Failed Stage-Build #{{ build.number }}
|
231
|
-
</a>
|
232
|
-
</td>
|
233
|
-
{{/success}}
|
234
|
-
</tr>
|
235
|
-
<tr>
|
236
|
-
<td class="content-wrap">
|
237
|
-
<table width="100%"
|
238
|
-
cellpadding="0"
|
239
|
-
cellspacing="0">
|
240
|
-
<tr>
|
241
|
-
<td>
|
242
|
-
Repo:
|
243
|
-
</td>
|
244
|
-
<td>
|
245
|
-
{{ repo.owner }}/{{ repo.name }}
|
246
|
-
</td>
|
247
|
-
</tr>
|
248
|
-
<tr>
|
249
|
-
<td>
|
250
|
-
Author:
|
251
|
-
</td>
|
252
|
-
<td>
|
253
|
-
{{ commit.author.name }} ({{ commit.author.email }})
|
254
|
-
</td>
|
255
|
-
</tr>
|
256
|
-
<tr>
|
257
|
-
<td>
|
258
|
-
Branch:
|
259
|
-
</td>
|
260
|
-
<td>
|
261
|
-
{{ commit.branch }}
|
262
|
-
</td>
|
263
|
-
</tr>
|
264
|
-
<tr>
|
265
|
-
<td>
|
266
|
-
Tag:
|
267
|
-
</td>
|
268
|
-
<td>
|
269
|
-
{{ tag }}
|
270
|
-
</td>
|
271
|
-
</tr>
|
272
|
-
<tr>
|
273
|
-
<td>
|
274
|
-
Commit:
|
275
|
-
</td>
|
276
|
-
<td>
|
277
|
-
{{ truncate commit.sha 8 }}
|
278
|
-
</td>
|
279
|
-
</tr>
|
280
|
-
<tr>
|
281
|
-
<td>
|
282
|
-
Started at:
|
283
|
-
</td>
|
284
|
-
<td>
|
285
|
-
{{ datetime build.created "Mon Jan 2 15:04:05 MST 2006" "Local" }}
|
286
|
-
</td>
|
287
|
-
</tr>
|
288
|
-
</table>
|
289
|
-
<hr>
|
290
|
-
<table width="100%"
|
291
|
-
cellpadding="0"
|
292
|
-
cellspacing="0">
|
293
|
-
<tr>
|
294
|
-
<td>
|
295
|
-
{{ commit.message }}
|
296
|
-
</td>
|
297
|
-
</tr>
|
298
|
-
</table>
|
299
|
-
</td>
|
300
|
-
</tr>
|
301
|
-
</table>
|
302
|
-
</div>
|
303
|
-
</td>
|
304
|
-
<td></td>
|
305
|
-
</tr>
|
306
|
-
</table>
|
307
|
-
</body>
|
308
|
-
|
309
|
-
</html>
|
@@ -1,23 +0,0 @@
|
|
1
|
-
{{#success build.status}}
|
2
|
-
✅ Production-Build #{{build.number}} of `{{repo.name}}` succeeded.
|
3
|
-
|
4
|
-
💾 Commit by {{commit.author}} on `{{commit.branch}}`:
|
5
|
-
#️⃣ ``Commit:`` `{{truncate commit.sha 8}}`
|
6
|
-
🏷️ ``Tag:`` `{{build.tag}}`
|
7
|
-
💬 ``Message:``
|
8
|
-
`{{commit.message}} `
|
9
|
-
|
10
|
-
🔗 {{ build.link }}
|
11
|
-
|
12
|
-
🚀 Deploy Build:
|
13
|
-
`drone build promote Integral-Systems/{{repo.name}} {{build.number}} production`
|
14
|
-
{{else}} ❌
|
15
|
-
Production-Build #{{build.number}} of `{{repo.name}}` failed.
|
16
|
-
|
17
|
-
💾 Commit by {{commit.author}} on `{{commit.branch}}`:
|
18
|
-
🏷️ ``Tag: `` `{{build.tag}}`
|
19
|
-
💬 ``Message:``
|
20
|
-
`{{commit.message}} `
|
21
|
-
|
22
|
-
🔗 {{ build.link }}
|
23
|
-
{{/success}}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
{{#success build.status}}
|
2
|
-
✅ Production-Deploy #{{build.number}} of `{{repo.name}}` succeeded.
|
3
|
-
|
4
|
-
💾 Commit by {{commit.author}} on `{{commit.branch}}`:
|
5
|
-
#️⃣ ``Commit:`` `{{truncate commit.sha 8}}`
|
6
|
-
🏷️ ``Tag:`` `{{build.tag}}`
|
7
|
-
💬 ``Message:``
|
8
|
-
`{{commit.message}} `
|
9
|
-
|
10
|
-
🔗 {{ build.link }}
|
11
|
-
{{else}} ❌
|
12
|
-
Production-Deploy #{{build.number}} of `{{repo.name}}` failed.
|
13
|
-
|
14
|
-
💾 Commit by {{commit.author}} on `{{commit.branch}}`:
|
15
|
-
🏷️ ``Tag: `` `{{build.tag}}`
|
16
|
-
💬 ``Message:``
|
17
|
-
`{{commit.message}} `
|
18
|
-
|
19
|
-
🔗 {{ build.link }}
|
20
|
-
{{/success}}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
{{#success build.status}}
|
2
|
-
✅ Stage-Build #{{build.number}} of `{{repo.name}}` succeeded.
|
3
|
-
|
4
|
-
💾 Commit by {{commit.author}} on `{{commit.branch}}`:
|
5
|
-
#️⃣ ``Commit:`` `{{truncate commit.sha 8}}`
|
6
|
-
🏷️ ``Tag:`` `{{build.tag}}`
|
7
|
-
💬 ``Message:``
|
8
|
-
`{{commit.message}} `
|
9
|
-
|
10
|
-
🔗 {{ build.link }}
|
11
|
-
{{else}} ❌
|
12
|
-
Stage-Build #{{build.number}} of `{{repo.name}}` failed.
|
13
|
-
|
14
|
-
💾 Commit by {{commit.author}} on `{{commit.branch}}`:
|
15
|
-
🏷️ ``Tag: `` `{{build.tag}}`
|
16
|
-
💬 ``Message:``
|
17
|
-
`{{commit.message}} `
|
18
|
-
|
19
|
-
🔗 {{ build.link }}
|
20
|
-
{{/success}}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"extends": ["eslint:recommended", "plugin:import/recommended", "plugin:jsdoc/recommended","plugin:@typescript-eslint/recommended", "plugin:@wix/cli/recommended"],
|
3
|
-
"plugins": ["simple-import-sort", "destructuring-import-spacing", "@typescript-eslint"],
|
4
|
-
"parser": "@typescript-eslint/parser",
|
5
|
-
"rules": {
|
6
|
-
"curly": ["error", "multi-line"],
|
7
|
-
"simple-import-sort/imports": "error",
|
8
|
-
"simple-import-sort/exports": "error",
|
9
|
-
"indent": [2, "tab"],
|
10
|
-
"no-tabs": 0,
|
11
|
-
"semi-style": ["error", "last"],
|
12
|
-
"semi": [2, "always"],
|
13
|
-
"object-curly-spacing": ["error", "always"],
|
14
|
-
"space-in-parens": ["error", "never"],
|
15
|
-
"newline-before-return": "error",
|
16
|
-
"space-before-blocks": ["error", { "functions": "always", "keywords": "never", "classes": "always" }],
|
17
|
-
"comma-spacing": ["error", { "before": false, "after": true }],
|
18
|
-
"no-multi-spaces": ["error"],
|
19
|
-
"import/newline-after-import": ["error", { "count": 1 }],
|
20
|
-
"destructuring-import-spacing/destructuring-import-spacing": 2,
|
21
|
-
"no-unused-vars": "warn",
|
22
|
-
"import/no-unresolved": [0],
|
23
|
-
"no-forbidden-relative-imports": [0],
|
24
|
-
"@typescript-eslint/triple-slash-reference": "off"
|
25
|
-
},
|
26
|
-
"root": true,
|
27
|
-
"env": {
|
28
|
-
"es6": true,
|
29
|
-
"browser": true,
|
30
|
-
"node": true
|
31
|
-
},
|
32
|
-
"globals": {
|
33
|
-
"$w": "readonly"
|
34
|
-
}
|
35
|
-
}
|