waha-shared 1.0.358 → 1.0.359
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/fonts/AnekBangla-Bold.woff2 +0 -0
- package/assets/fonts/AnekBangla-Regular.woff2 +0 -0
- package/assets/fonts/AnekTelugu-Bold.woff2 +0 -0
- package/assets/fonts/AnekTelugu-Regular.woff2 +0 -0
- package/assets/fonts/EudoxusSans-Bold.woff2 +0 -0
- package/assets/fonts/EudoxusSans-Regular.woff2 +0 -0
- package/assets/fonts/IBMPlexSansArabic-Bold.woff2 +0 -0
- package/assets/fonts/IBMPlexSansArabic-Regular.woff2 +0 -0
- package/assets/fonts/IBMPlexSansHebrew-Bold.woff2 +0 -0
- package/assets/fonts/IBMPlexSansHebrew-Regular.woff2 +0 -0
- package/assets/fonts/KhmerOSContent-Bold.woff2 +0 -0
- package/assets/fonts/KhmerOSContent-Regular.woff2 +0 -0
- package/assets/fonts/NotoSans-Bold.woff2 +0 -0
- package/assets/fonts/NotoSans-Regular.woff2 +0 -0
- package/assets/fonts/NotoSansDevanagari-Bold.woff2 +0 -0
- package/assets/fonts/NotoSansDevanagari-Regular.woff2 +0 -0
- package/assets/fonts/NotoSansGeorgian-Bold.woff2 +0 -0
- package/assets/fonts/NotoSansGeorgian-Regular.woff2 +0 -0
- package/assets/fonts/NotoSansJP-Bold.woff2 +0 -0
- package/assets/fonts/NotoSansJP-Regular.woff2 +0 -0
- package/assets/fonts/NotoSansKR-Bold.woff2 +0 -0
- package/assets/fonts/NotoSansKR-Regular.woff2 +0 -0
- package/assets/fonts/NotoSansSC-Bold.woff2 +0 -0
- package/assets/fonts/NotoSansSC-Regular.woff2 +0 -0
- package/assets/fonts/NotoSansTamil-Bold.woff2 +0 -0
- package/assets/fonts/NotoSansTamil-Regular.woff2 +0 -0
- package/assets/fonts/NotoSansThai-Bold.woff2 +0 -0
- package/assets/fonts/NotoSansThai-Regular.woff2 +0 -0
- package/assets/fonts/Padauk-Bold.woff2 +0 -0
- package/assets/fonts/Padauk-Regular.woff2 +0 -0
- package/assets/fonts/UKIJTuz-Bold.woff2 +0 -0
- package/assets/fonts/UKIJTuz-Regular.woff2 +0 -0
- package/assets/fonts/fonts.css +64 -32
- package/dist/types/articles.d.ts +3 -0
- package/dist/types/microLessons.d.ts +3 -0
- package/dist/types/webContent.d.ts +1 -0
- package/dist/types/webContent.js +5 -0
- package/package.json +3 -3
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/assets/fonts/fonts.css
CHANGED
|
@@ -3,224 +3,256 @@
|
|
|
3
3
|
|
|
4
4
|
@font-face {
|
|
5
5
|
font-family: 'AnekBangla';
|
|
6
|
-
src: url('./AnekBangla-Regular.
|
|
6
|
+
src: url('./AnekBangla-Regular.woff2') format('woff2');
|
|
7
7
|
font-weight: normal;
|
|
8
8
|
font-style: normal;
|
|
9
|
+
font-display: swap;
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
@font-face {
|
|
12
13
|
font-family: 'AnekBangla';
|
|
13
|
-
src: url('./AnekBangla-Bold.
|
|
14
|
+
src: url('./AnekBangla-Bold.woff2') format('woff2');
|
|
14
15
|
font-weight: bold;
|
|
15
16
|
font-style: normal;
|
|
17
|
+
font-display: swap;
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
@font-face {
|
|
19
21
|
font-family: 'AnekTelugu';
|
|
20
|
-
src: url('./AnekTelugu-Regular.
|
|
22
|
+
src: url('./AnekTelugu-Regular.woff2') format('woff2');
|
|
21
23
|
font-weight: normal;
|
|
22
24
|
font-style: normal;
|
|
25
|
+
font-display: swap;
|
|
23
26
|
}
|
|
24
27
|
|
|
25
28
|
@font-face {
|
|
26
29
|
font-family: 'AnekTelugu';
|
|
27
|
-
src: url('./AnekTelugu-Bold.
|
|
30
|
+
src: url('./AnekTelugu-Bold.woff2') format('woff2');
|
|
28
31
|
font-weight: bold;
|
|
29
32
|
font-style: normal;
|
|
33
|
+
font-display: swap;
|
|
30
34
|
}
|
|
31
35
|
|
|
32
36
|
@font-face {
|
|
33
37
|
font-family: 'EudoxusSans';
|
|
34
|
-
src: url('./EudoxusSans-Regular.
|
|
38
|
+
src: url('./EudoxusSans-Regular.woff2') format('woff2');
|
|
35
39
|
font-weight: normal;
|
|
36
40
|
font-style: normal;
|
|
41
|
+
font-display: swap;
|
|
37
42
|
}
|
|
38
43
|
|
|
39
44
|
@font-face {
|
|
40
45
|
font-family: 'EudoxusSans';
|
|
41
|
-
src: url('./EudoxusSans-Bold.
|
|
46
|
+
src: url('./EudoxusSans-Bold.woff2') format('woff2');
|
|
42
47
|
font-weight: bold;
|
|
43
48
|
font-style: normal;
|
|
49
|
+
font-display: swap;
|
|
44
50
|
}
|
|
45
51
|
|
|
46
52
|
@font-face {
|
|
47
53
|
font-family: 'IBMPlexSansArabic';
|
|
48
|
-
src: url('./IBMPlexSansArabic-Regular.
|
|
54
|
+
src: url('./IBMPlexSansArabic-Regular.woff2') format('woff2');
|
|
49
55
|
font-weight: normal;
|
|
50
56
|
font-style: normal;
|
|
57
|
+
font-display: swap;
|
|
51
58
|
}
|
|
52
59
|
|
|
53
60
|
@font-face {
|
|
54
61
|
font-family: 'IBMPlexSansArabic';
|
|
55
|
-
src: url('./IBMPlexSansArabic-Bold.
|
|
62
|
+
src: url('./IBMPlexSansArabic-Bold.woff2') format('woff2');
|
|
56
63
|
font-weight: bold;
|
|
57
64
|
font-style: normal;
|
|
65
|
+
font-display: swap;
|
|
58
66
|
}
|
|
59
67
|
|
|
60
68
|
@font-face {
|
|
61
69
|
font-family: 'IBMPlexSansHebrew';
|
|
62
|
-
src: url('./IBMPlexSansHebrew-Regular.
|
|
70
|
+
src: url('./IBMPlexSansHebrew-Regular.woff2') format('woff2');
|
|
63
71
|
font-weight: normal;
|
|
64
72
|
font-style: normal;
|
|
73
|
+
font-display: swap;
|
|
65
74
|
}
|
|
66
75
|
|
|
67
76
|
@font-face {
|
|
68
77
|
font-family: 'IBMPlexSansHebrew';
|
|
69
|
-
src: url('./IBMPlexSansHebrew-Bold.
|
|
78
|
+
src: url('./IBMPlexSansHebrew-Bold.woff2') format('woff2');
|
|
70
79
|
font-weight: bold;
|
|
71
80
|
font-style: normal;
|
|
81
|
+
font-display: swap;
|
|
72
82
|
}
|
|
73
83
|
|
|
74
84
|
@font-face {
|
|
75
85
|
font-family: 'KhmerOSContent';
|
|
76
|
-
src: url('./KhmerOSContent-Regular.
|
|
86
|
+
src: url('./KhmerOSContent-Regular.woff2') format('woff2');
|
|
77
87
|
font-weight: normal;
|
|
78
88
|
font-style: normal;
|
|
89
|
+
font-display: swap;
|
|
79
90
|
}
|
|
80
91
|
|
|
81
92
|
@font-face {
|
|
82
93
|
font-family: 'KhmerOSContent';
|
|
83
|
-
src: url('./KhmerOSContent-Bold.
|
|
94
|
+
src: url('./KhmerOSContent-Bold.woff2') format('woff2');
|
|
84
95
|
font-weight: bold;
|
|
85
96
|
font-style: normal;
|
|
97
|
+
font-display: swap;
|
|
86
98
|
}
|
|
87
99
|
|
|
88
100
|
@font-face {
|
|
89
101
|
font-family: 'NotoSans';
|
|
90
|
-
src: url('./NotoSans-Regular.
|
|
102
|
+
src: url('./NotoSans-Regular.woff2') format('woff2');
|
|
91
103
|
font-weight: normal;
|
|
92
104
|
font-style: normal;
|
|
105
|
+
font-display: swap;
|
|
93
106
|
}
|
|
94
107
|
|
|
95
108
|
@font-face {
|
|
96
109
|
font-family: 'NotoSans';
|
|
97
|
-
src: url('./NotoSans-Bold.
|
|
110
|
+
src: url('./NotoSans-Bold.woff2') format('woff2');
|
|
98
111
|
font-weight: bold;
|
|
99
112
|
font-style: normal;
|
|
113
|
+
font-display: swap;
|
|
100
114
|
}
|
|
101
115
|
|
|
102
116
|
@font-face {
|
|
103
117
|
font-family: 'NotoSansDevanagari';
|
|
104
|
-
src: url('./NotoSansDevanagari-Regular.
|
|
118
|
+
src: url('./NotoSansDevanagari-Regular.woff2') format('woff2');
|
|
105
119
|
font-weight: normal;
|
|
106
120
|
font-style: normal;
|
|
121
|
+
font-display: swap;
|
|
107
122
|
}
|
|
108
123
|
|
|
109
124
|
@font-face {
|
|
110
125
|
font-family: 'NotoSansDevanagari';
|
|
111
|
-
src: url('./NotoSansDevanagari-Bold.
|
|
126
|
+
src: url('./NotoSansDevanagari-Bold.woff2') format('woff2');
|
|
112
127
|
font-weight: bold;
|
|
113
128
|
font-style: normal;
|
|
129
|
+
font-display: swap;
|
|
114
130
|
}
|
|
115
131
|
|
|
116
132
|
@font-face {
|
|
117
133
|
font-family: 'NotoSansGeorgian';
|
|
118
|
-
src: url('./NotoSansGeorgian-Regular.
|
|
134
|
+
src: url('./NotoSansGeorgian-Regular.woff2') format('woff2');
|
|
119
135
|
font-weight: normal;
|
|
120
136
|
font-style: normal;
|
|
137
|
+
font-display: swap;
|
|
121
138
|
}
|
|
122
139
|
|
|
123
140
|
@font-face {
|
|
124
141
|
font-family: 'NotoSansGeorgian';
|
|
125
|
-
src: url('./NotoSansGeorgian-Bold.
|
|
142
|
+
src: url('./NotoSansGeorgian-Bold.woff2') format('woff2');
|
|
126
143
|
font-weight: bold;
|
|
127
144
|
font-style: normal;
|
|
145
|
+
font-display: swap;
|
|
128
146
|
}
|
|
129
147
|
|
|
130
148
|
@font-face {
|
|
131
149
|
font-family: 'NotoSansJP';
|
|
132
|
-
src: url('./NotoSansJP-Regular.
|
|
150
|
+
src: url('./NotoSansJP-Regular.woff2') format('woff2');
|
|
133
151
|
font-weight: normal;
|
|
134
152
|
font-style: normal;
|
|
153
|
+
font-display: swap;
|
|
135
154
|
}
|
|
136
155
|
|
|
137
156
|
@font-face {
|
|
138
157
|
font-family: 'NotoSansJP';
|
|
139
|
-
src: url('./NotoSansJP-Bold.
|
|
158
|
+
src: url('./NotoSansJP-Bold.woff2') format('woff2');
|
|
140
159
|
font-weight: bold;
|
|
141
160
|
font-style: normal;
|
|
161
|
+
font-display: swap;
|
|
142
162
|
}
|
|
143
163
|
|
|
144
164
|
@font-face {
|
|
145
165
|
font-family: 'NotoSansKR';
|
|
146
|
-
src: url('./NotoSansKR-Regular.
|
|
166
|
+
src: url('./NotoSansKR-Regular.woff2') format('woff2');
|
|
147
167
|
font-weight: normal;
|
|
148
168
|
font-style: normal;
|
|
169
|
+
font-display: swap;
|
|
149
170
|
}
|
|
150
171
|
|
|
151
172
|
@font-face {
|
|
152
173
|
font-family: 'NotoSansKR';
|
|
153
|
-
src: url('./NotoSansKR-Bold.
|
|
174
|
+
src: url('./NotoSansKR-Bold.woff2') format('woff2');
|
|
154
175
|
font-weight: bold;
|
|
155
176
|
font-style: normal;
|
|
177
|
+
font-display: swap;
|
|
156
178
|
}
|
|
157
179
|
|
|
158
180
|
@font-face {
|
|
159
181
|
font-family: 'NotoSansSC';
|
|
160
|
-
src: url('./NotoSansSC-Regular.
|
|
182
|
+
src: url('./NotoSansSC-Regular.woff2') format('woff2');
|
|
161
183
|
font-weight: normal;
|
|
162
184
|
font-style: normal;
|
|
185
|
+
font-display: swap;
|
|
163
186
|
}
|
|
164
187
|
|
|
165
188
|
@font-face {
|
|
166
189
|
font-family: 'NotoSansSC';
|
|
167
|
-
src: url('./NotoSansSC-Bold.
|
|
190
|
+
src: url('./NotoSansSC-Bold.woff2') format('woff2');
|
|
168
191
|
font-weight: bold;
|
|
169
192
|
font-style: normal;
|
|
193
|
+
font-display: swap;
|
|
170
194
|
}
|
|
171
195
|
|
|
172
196
|
@font-face {
|
|
173
197
|
font-family: 'NotoSansTamil';
|
|
174
|
-
src: url('./NotoSansTamil-Regular.
|
|
198
|
+
src: url('./NotoSansTamil-Regular.woff2') format('woff2');
|
|
175
199
|
font-weight: normal;
|
|
176
200
|
font-style: normal;
|
|
201
|
+
font-display: swap;
|
|
177
202
|
}
|
|
178
203
|
|
|
179
204
|
@font-face {
|
|
180
205
|
font-family: 'NotoSansTamil';
|
|
181
|
-
src: url('./NotoSansTamil-Bold.
|
|
206
|
+
src: url('./NotoSansTamil-Bold.woff2') format('woff2');
|
|
182
207
|
font-weight: bold;
|
|
183
208
|
font-style: normal;
|
|
209
|
+
font-display: swap;
|
|
184
210
|
}
|
|
185
211
|
|
|
186
212
|
@font-face {
|
|
187
213
|
font-family: 'NotoSansThai';
|
|
188
|
-
src: url('./NotoSansThai-Regular.
|
|
214
|
+
src: url('./NotoSansThai-Regular.woff2') format('woff2');
|
|
189
215
|
font-weight: normal;
|
|
190
216
|
font-style: normal;
|
|
217
|
+
font-display: swap;
|
|
191
218
|
}
|
|
192
219
|
|
|
193
220
|
@font-face {
|
|
194
221
|
font-family: 'NotoSansThai';
|
|
195
|
-
src: url('./NotoSansThai-Bold.
|
|
222
|
+
src: url('./NotoSansThai-Bold.woff2') format('woff2');
|
|
196
223
|
font-weight: bold;
|
|
197
224
|
font-style: normal;
|
|
225
|
+
font-display: swap;
|
|
198
226
|
}
|
|
199
227
|
|
|
200
228
|
@font-face {
|
|
201
229
|
font-family: 'Padauk';
|
|
202
|
-
src: url('./Padauk-Regular.
|
|
230
|
+
src: url('./Padauk-Regular.woff2') format('woff2');
|
|
203
231
|
font-weight: normal;
|
|
204
232
|
font-style: normal;
|
|
233
|
+
font-display: swap;
|
|
205
234
|
}
|
|
206
235
|
|
|
207
236
|
@font-face {
|
|
208
237
|
font-family: 'Padauk';
|
|
209
|
-
src: url('./Padauk-Bold.
|
|
238
|
+
src: url('./Padauk-Bold.woff2') format('woff2');
|
|
210
239
|
font-weight: bold;
|
|
211
240
|
font-style: normal;
|
|
241
|
+
font-display: swap;
|
|
212
242
|
}
|
|
213
243
|
|
|
214
244
|
@font-face {
|
|
215
245
|
font-family: 'UKIJTuz';
|
|
216
|
-
src: url('./UKIJTuz-Regular.
|
|
246
|
+
src: url('./UKIJTuz-Regular.woff2') format('woff2');
|
|
217
247
|
font-weight: normal;
|
|
218
248
|
font-style: normal;
|
|
249
|
+
font-display: swap;
|
|
219
250
|
}
|
|
220
251
|
|
|
221
252
|
@font-face {
|
|
222
253
|
font-family: 'UKIJTuz';
|
|
223
|
-
src: url('./UKIJTuz-Bold.
|
|
254
|
+
src: url('./UKIJTuz-Bold.woff2') format('woff2');
|
|
224
255
|
font-weight: bold;
|
|
225
256
|
font-style: normal;
|
|
257
|
+
font-display: swap;
|
|
226
258
|
}
|
package/dist/types/articles.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export declare const ArticleSchema: z.ZodObject<{
|
|
|
36
36
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
37
37
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
38
38
|
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
39
|
+
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
39
40
|
}, z.core.$strip>>;
|
|
40
41
|
impactStoryRegion: z.ZodOptional<z.ZodEnum<{
|
|
41
42
|
"North America": "North America";
|
|
@@ -92,6 +93,7 @@ export declare const ResponseArticleSchema: z.ZodObject<{
|
|
|
92
93
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
93
94
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
94
95
|
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
96
|
+
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
95
97
|
}, z.core.$strip>>;
|
|
96
98
|
impactStoryRegion: z.ZodOptional<z.ZodEnum<{
|
|
97
99
|
"North America": "North America";
|
|
@@ -151,6 +153,7 @@ export declare const ArticlesResponseSchema: z.ZodObject<{
|
|
|
151
153
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
152
154
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
153
155
|
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
156
|
+
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
154
157
|
}, z.core.$strip>>;
|
|
155
158
|
impactStoryRegion: z.ZodOptional<z.ZodEnum<{
|
|
156
159
|
"North America": "North America";
|
|
@@ -53,6 +53,7 @@ export declare const MicroLessonSchema: z.ZodObject<{
|
|
|
53
53
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
54
54
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
55
55
|
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
56
|
+
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
56
57
|
}, z.core.$strip>>;
|
|
57
58
|
textInput: z.ZodOptional<z.ZodObject<{
|
|
58
59
|
show: z.ZodBoolean;
|
|
@@ -127,6 +128,7 @@ export declare const ResponseMicroLessonSchema: z.ZodObject<{
|
|
|
127
128
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
128
129
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
129
130
|
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
131
|
+
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
130
132
|
}, z.core.$strip>>;
|
|
131
133
|
textInput: z.ZodOptional<z.ZodObject<{
|
|
132
134
|
show: z.ZodBoolean;
|
|
@@ -203,6 +205,7 @@ export declare const MicroLessonsResponse: z.ZodObject<{
|
|
|
203
205
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
204
206
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
205
207
|
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
208
|
+
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
206
209
|
}, z.core.$strip>>;
|
|
207
210
|
textInput: z.ZodOptional<z.ZodObject<{
|
|
208
211
|
show: z.ZodBoolean;
|
|
@@ -16,6 +16,7 @@ export declare const VideoSchema: z.ZodOptional<z.ZodObject<{
|
|
|
16
16
|
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
17
17
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
18
18
|
disableControls: z.ZodOptional<z.ZodBoolean>;
|
|
19
|
+
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
19
20
|
}, z.core.$strip>>;
|
|
20
21
|
export declare const CategorySchema: z.ZodEnum<{
|
|
21
22
|
"Case Studies": "Case Studies";
|
package/dist/types/webContent.js
CHANGED
|
@@ -32,6 +32,11 @@ exports.VideoSchema = zod_1.default
|
|
|
32
32
|
autoplay: zod_1.default.boolean().optional(),
|
|
33
33
|
loop: zod_1.default.boolean().optional(),
|
|
34
34
|
disableControls: zod_1.default.boolean().optional(),
|
|
35
|
+
aspectRatio: zod_1.default
|
|
36
|
+
.number()
|
|
37
|
+
.positive()
|
|
38
|
+
.describe('Width / height of the video. Defaults to 16/9. Use values < 1 for portrait videos (e.g. 9/16).')
|
|
39
|
+
.optional(),
|
|
35
40
|
})
|
|
36
41
|
.describe('Optional video to embed on the page.')
|
|
37
42
|
.optional();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "waha-shared",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.359",
|
|
4
4
|
"author": "Waha",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@types/signale": "^1.4.7",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "npx tsc && copyfiles \"data/**/*.json\" dist",
|
|
30
|
-
"update": "yarn build && REGISTRY_VERSION=$(npm view waha-shared version) && npm version $REGISTRY_VERSION --no-git-tag-version --allow-same-version && npm version patch && git add . && git commit -m 'chore: update shared types' && bash -c 'npm publish --access public --registry https://registry.npmjs.org --//registry.npmjs.org/:_authToken=$(grep NPM_TOKEN= ../.env | cut -d \"=\" -f2-)'",
|
|
31
|
-
"updateManual": "(npm whoami || npm login) && yarn build && REGISTRY_VERSION=$(npm view waha-shared version) && npm version $REGISTRY_VERSION --no-git-tag-version --allow-same-version && git add dist package.json && git commit -m 'chore: update shared types' && npm publish"
|
|
30
|
+
"update": "yarn build && REGISTRY_VERSION=$(npm view waha-shared version) && npm version $REGISTRY_VERSION --no-git-tag-version --allow-same-version && npm version patch --no-git-tag-version && git add . && (git commit -m 'chore: update shared types' || true) && bash -c 'npm publish --access public --registry https://registry.npmjs.org --//registry.npmjs.org/:_authToken=$(grep NPM_TOKEN= ../.env | cut -d \"=\" -f2-)'",
|
|
31
|
+
"updateManual": "(npm whoami || npm login) && yarn build && REGISTRY_VERSION=$(npm view waha-shared version) && npm version $REGISTRY_VERSION --no-git-tag-version --allow-same-version && npm version patch --no-git-tag-version && git add dist package.json && (git commit -m 'chore: update shared types' || true) && npm publish"
|
|
32
32
|
}
|
|
33
33
|
}
|