lscontests 2.3.0 → 2.3.1

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -56,7 +56,7 @@ Options:
56
56
  It performs as follows:
57
57
 
58
58
  <!-- block_cli begin -->
59
- (*The following content was automatically generated using [semantic-release](https://github.com/semantic-release/semantic-release) on Fri, 27 May 2022 15:42:23 GMT*)
59
+ (*The following content was automatically generated using [semantic-release](https://github.com/semantic-release/semantic-release) on Sun, 12 Jun 2022 17:05:44 GMT*)
60
60
 
61
61
  <details>
62
62
  <summary> <code>> lsct -L en</code> </summary>
@@ -65,69 +65,13 @@ It performs as follows:
65
65
  There are 1 contests is running on NowCoder
66
66
 
67
67
  OJ: NowCoder
68
- Contest name: 2022 图论班第一章图匹配例题与习题
68
+ Contest name: 牛客竞赛计算几何专题班扫描线
69
69
  Rule: ICPC
70
- Start time: 5/13/2022, 06:00:00
71
- End time: 5/30/2022, 08:00:00
72
- https://ac.nowcoder.com/acm/contest/34649
70
+ Start time: 6/6/2022, 07:00:00
71
+ End time: 6/30/2022, 08:00:00
72
+ https://ac.nowcoder.com/acm/contest/36088
73
73
 
74
- There are 8 contests on AtCoder,NowCoder,LeetCode in the next 3 days
75
-
76
- OJ: AtCoder
77
- Contest name: Ⓗ AtCoder Heuristic Contest 011
78
- Rule: AtCoder
79
- Start time: 5/28/2022, 03:00:00
80
- End time: 6/5/2022, 10:00:00
81
- https://atcoder.jp/contests/ahc011
82
-
83
- OJ: NowCoder
84
- Contest name: MINIEYE 杯第十六届华中科技大学程序设计邀请赛
85
- Rule: ICPC
86
- Start time: 5/28/2022, 04:30:00
87
- End time: 5/28/2022, 09:30:00
88
- https://ac.nowcoder.com/acm/contest/34866
89
-
90
- OJ: NowCoder
91
- Contest name: 福建农林大学校赛(同步赛)
92
- Rule: ICPC
93
- Start time: 5/28/2022, 05:30:00
94
- End time: 5/28/2022, 09:30:00
95
- https://ac.nowcoder.com/acm/contest/33869
96
-
97
- OJ: AtCoder
98
- Contest name: Ⓐ NOMURA Programming Contest 2022(AtCoder Beginner Contest 253)
99
- Rule: AtCoder
100
- Start time: 5/28/2022, 12:00:00
101
- End time: 5/28/2022, 13:40:00
102
- https://atcoder.jp/contests/abc253
103
-
104
- OJ: LeetCode
105
- Contest name: Biweekly Contest 79
106
- Rule: AtCoder
107
- Start time: 5/28/2022, 14:30:00
108
- End time: 5/28/2022, 16:00:00
109
- https://leetcode.com/contest/biweekly-contest-79
110
-
111
- OJ: LeetCode
112
- Contest name: Weekly Contest 295
113
- Rule: AtCoder
114
- Start time: 5/29/2022, 02:30:00
115
- End time: 5/29/2022, 04:00:00
116
- https://leetcode.com/contest/weekly-contest-295
117
-
118
- OJ: NowCoder
119
- Contest name: 第四届 SCPC 中南民族大学程序设计竞赛(同步赛)
120
- Rule: ICPC
121
- Start time: 5/29/2022, 04:00:00
122
- End time: 5/29/2022, 09:00:00
123
- https://ac.nowcoder.com/acm/contest/35624
124
-
125
- OJ: AtCoder
126
- Contest name: Ⓐ AtCoder Regular Contest 141
127
- Rule: AtCoder
128
- Start time: 5/29/2022, 12:00:00
129
- End time: 5/29/2022, 14:00:00
130
- https://atcoder.jp/contests/arc141
74
+ No contests on AtCoder,Codeforces,LeetCode,Luogu,NowCoder for the next 3 days
131
75
  ```
132
76
 
133
77
  </details>
@@ -136,51 +80,23 @@ https://atcoder.jp/contests/arc141
136
80
  <summary> <code>> lsct -o at cf -d 7 -L en</code> </summary>
137
81
 
138
82
  ```text
139
- No running contests
83
+ There are no running contests on AtCoder,Codeforces
140
84
 
141
- There are 6 contests on AtCoder,Codeforces in the next 7 days
85
+ There are 2 contests on AtCoder in the next 7 days
142
86
 
143
87
  OJ: AtCoder
144
- Contest name: AtCoder Heuristic Contest 011
88
+ Contest name: Tokio Marine & Nichido Fire Insurance Programming Contest 2022(AtCoder Beginner Contest 256)
145
89
  Rule: AtCoder
146
- Start time: 5/28/2022, 03:00:00
147
- End time: 6/5/2022, 10:00:00
148
- https://atcoder.jp/contests/ahc011
90
+ Start time: 6/18/2022, 12:00:00
91
+ End time: 6/18/2022, 13:40:00
92
+ https://atcoder.jp/contests/abc256
149
93
 
150
94
  OJ: AtCoder
151
- Contest name: Ⓐ NOMURA Programming Contest 2022(AtCoder Beginner Contest 253)
95
+ Contest name: Ⓐ AtCoder Regular Contest 142
152
96
  Rule: AtCoder
153
- Start time: 5/28/2022, 12:00:00
154
- End time: 5/28/2022, 13:40:00
155
- https://atcoder.jp/contests/abc253
156
-
157
- OJ: AtCoder
158
- Contest name: Ⓐ AtCoder Regular Contest 141
159
- Rule: AtCoder
160
- Start time: 5/29/2022, 12:00:00
161
- End time: 5/29/2022, 14:00:00
162
- https://atcoder.jp/contests/arc141
163
-
164
- OJ: Codeforces
165
- Contest name: CodeCraft-22 and Codeforces Round #795 (Div. 2)
166
- Rule: Codeforces
167
- Start time: 5/31/2022, 14:35:00
168
- End time: 5/31/2022, 16:35:00
169
- https://codeforces.com/contests/1691
170
-
171
- OJ: Codeforces
172
- Contest name: Codeforces Round #796 (Div. 1)
173
- Rule: Codeforces
174
- Start time: 6/3/2022, 14:35:00
175
- End time: 6/3/2022, 16:35:00
176
- https://codeforces.com/contests/1687
177
-
178
- OJ: Codeforces
179
- Contest name: Codeforces Round #796 (Div. 2)
180
- Rule: Codeforces
181
- Start time: 6/3/2022, 14:35:00
182
- End time: 6/3/2022, 16:35:00
183
- https://codeforces.com/contests/1688
97
+ Start time: 6/19/2022, 12:00:00
98
+ End time: 6/19/2022, 14:00:00
99
+ https://atcoder.jp/contests/arc142
184
100
  ```
185
101
 
186
102
  </details>
@@ -194,43 +110,11 @@ https://codeforces.com/contests/1688
194
110
  "upcoming": [
195
111
  {
196
112
  "ojName": "AtCoder",
197
- "name": " AtCoder Heuristic Contest 011",
113
+ "name": " Tokio Marine & Nichido Fire Insurance Programming Contest 2022(AtCoder Beginner Contest 256)",
198
114
  "rule": "AtCoder",
199
- "startTime": "2022-05-28T03:00:00.000Z",
200
- "endTime": "2022-06-05T10:00:00.000Z",
201
- "url": "https://atcoder.jp/contests/ahc011"
202
- },
203
- {
204
- "ojName": "AtCoder",
205
- "name": "Ⓐ NOMURA Programming Contest 2022(AtCoder Beginner Contest 253)",
206
- "rule": "AtCoder",
207
- "startTime": "2022-05-28T12:00:00.000Z",
208
- "endTime": "2022-05-28T13:40:00.000Z",
209
- "url": "https://atcoder.jp/contests/abc253"
210
- },
211
- {
212
- "ojName": "AtCoder",
213
- "name": "Ⓐ AtCoder Regular Contest 141",
214
- "rule": "AtCoder",
215
- "startTime": "2022-05-29T12:00:00.000Z",
216
- "endTime": "2022-05-29T14:00:00.000Z",
217
- "url": "https://atcoder.jp/contests/arc141"
218
- },
219
- {
220
- "ojName": "AtCoder",
221
- "name": "Ⓐ AtCoder Beginner Contest 254",
222
- "rule": "AtCoder",
223
- "startTime": "2022-06-04T12:00:00.000Z",
224
- "endTime": "2022-06-04T13:40:00.000Z",
225
- "url": "https://atcoder.jp/contests/abc254"
226
- },
227
- {
228
- "ojName": "AtCoder",
229
- "name": "Ⓐ Aising Programming Contest 2022(AtCoder Beginner Contest 255)",
230
- "rule": "AtCoder",
231
- "startTime": "2022-06-11T12:00:00.000Z",
232
- "endTime": "2022-06-11T13:40:00.000Z",
233
- "url": "https://atcoder.jp/contests/abc255"
115
+ "startTime": "2022-06-18T12:00:00.000Z",
116
+ "endTime": "2022-06-18T13:40:00.000Z",
117
+ "url": "https://atcoder.jp/contests/abc256"
234
118
  },
235
119
  {
236
120
  "ojName": "AtCoder",
@@ -240,6 +124,14 @@ https://codeforces.com/contests/1688
240
124
  "endTime": "2022-06-19T14:00:00.000Z",
241
125
  "url": "https://atcoder.jp/contests/arc142"
242
126
  },
127
+ {
128
+ "ojName": "AtCoder",
129
+ "name": "Ⓐ NS Solutions Corporation Programming Contest 2022(AtCoder Beginner Contest 257)",
130
+ "rule": "AtCoder",
131
+ "startTime": "2022-06-25T12:00:00.000Z",
132
+ "endTime": "2022-06-25T13:40:00.000Z",
133
+ "url": "https://atcoder.jp/contests/abc257"
134
+ },
243
135
  {
244
136
  "ojName": "AtCoder",
245
137
  "name": "Ⓐ AtCoder Regular Contest 143",
@@ -249,52 +141,20 @@ https://codeforces.com/contests/1688
249
141
  "url": "https://atcoder.jp/contests/arc143"
250
142
  },
251
143
  {
252
- "ojName": "Codeforces",
253
- "name": "CodeCraft-22 and Codeforces Round #795 (Div. 2)",
254
- "rule": "Codeforces",
255
- "startTime": "2022-05-31T14:35:00.000Z",
256
- "endTime": "2022-05-31T16:35:00.000Z",
257
- "url": "https://codeforces.com/contests/1691"
258
- },
259
- {
260
- "ojName": "Codeforces",
261
- "name": "Codeforces Round #796 (Div. 1)",
262
- "rule": "Codeforces",
263
- "startTime": "2022-06-03T14:35:00.000Z",
264
- "endTime": "2022-06-03T16:35:00.000Z",
265
- "url": "https://codeforces.com/contests/1687"
266
- },
267
- {
268
- "ojName": "Codeforces",
269
- "name": "Codeforces Round #796 (Div. 2)",
270
- "rule": "Codeforces",
271
- "startTime": "2022-06-03T14:35:00.000Z",
272
- "endTime": "2022-06-03T16:35:00.000Z",
273
- "url": "https://codeforces.com/contests/1688"
274
- },
275
- {
276
- "ojName": "Codeforces",
277
- "name": "Codeforces Round #797 (Div. 3)",
278
- "rule": "ICPC",
279
- "startTime": "2022-06-07T14:35:00.000Z",
280
- "endTime": "2022-06-07T16:50:00.000Z",
281
- "url": "https://codeforces.com/contests/1690"
282
- },
283
- {
284
- "ojName": "Codeforces",
285
- "name": "Codeforces Round #798 (Div. 2)",
286
- "rule": "Codeforces",
287
- "startTime": "2022-06-10T16:35:00.000Z",
288
- "endTime": "2022-06-10T18:35:00.000Z",
289
- "url": "https://codeforces.com/contests/1689"
144
+ "ojName": "AtCoder",
145
+ "name": " AtCoder Beginner Contest 258",
146
+ "rule": "AtCoder",
147
+ "startTime": "2022-07-02T12:00:00.000Z",
148
+ "endTime": "2022-07-02T13:40:00.000Z",
149
+ "url": "https://atcoder.jp/contests/abc258"
290
150
  },
291
151
  {
292
- "ojName": "Codeforces",
293
- "name": "Codeforces Round #799 (Div. 4)",
294
- "rule": "ICPC",
295
- "startTime": "2022-06-14T14:35:00.000Z",
296
- "endTime": "2022-06-14T16:50:00.000Z",
297
- "url": "https://codeforces.com/contests/1692"
152
+ "ojName": "AtCoder",
153
+ "name": " AtCoder Heuristic Contest 012",
154
+ "rule": "AtCoder",
155
+ "startTime": "2022-07-03T06:00:00.000Z",
156
+ "endTime": "2022-07-03T10:00:00.000Z",
157
+ "url": "https://atcoder.jp/contests/ahc012"
298
158
  }
299
159
  ]
300
160
  }
@@ -305,16 +165,16 @@ https://codeforces.com/contests/1688
305
165
 
306
166
  ### API
307
167
 
308
- For more detailed API documentation, please visit <https://lsct.agoh.xyz>.
168
+ For more detailed API documentation, please visit <https://lsct.stagoh.com>.
309
169
 
310
170
  If you want to get a list of contest information in your project by calling *lscontests*, or if you need to add support for other OJs, then you can call the *lscontests* API as follows:
311
171
 
312
172
  #### Get text for contests information
313
173
 
314
174
  ```typescript
315
- import { getContestInfo } from "lscontests";
175
+ import lsct from "lscontests";
316
176
 
317
- getContestsInfoText({ abbrList: ["cf", "lg"] }).then(console.log);
177
+ new lsct({ abbrList: ["cf", "lg"] }).getContestsText().then(console.log);
318
178
  ```
319
179
 
320
180
  This code gives the same result as `lsct -o cf lg`.
@@ -322,9 +182,9 @@ This code gives the same result as `lsct -o cf lg`.
322
182
  #### Get list for contests information
323
183
 
324
184
  ```typescript
325
- import { getContestList } from "lscontests";
185
+ import lsct from "lscontests";
326
186
 
327
- getContests({ sort: false }).then(console.log);
187
+ new lsct({ abbrList: ["cf", "lg"] }).getContests().then(console.log);
328
188
  ```
329
189
 
330
190
  This code gives the same result as `lsct -r --no-sort`.
@@ -332,7 +192,7 @@ This code gives the same result as `lsct -r --no-sort`.
332
192
  #### Add support for other OJ
333
193
 
334
194
  ```typescript
335
- import { addOJ, getContestsInfoText, getContests } from "lscontests";
195
+ import lsct, { addOJ } from "lscontests";
336
196
 
337
197
  addOJ("ts", {
338
198
  name: "testOJ", get: async () => [{
@@ -346,9 +206,9 @@ addOJ("ts", {
346
206
  });
347
207
 
348
208
  async function main() {
349
- console.log(await getContestsInfoText({ abbrList: ["cf", "ts"], days: 1 }, "en"));
209
+ console.log(await new lsct({ abbrList: ["cf", "ts"], days: 1 }).getContestsText("en"));
350
210
  console.log();
351
- console.log(await getContests({ abbrList: ["at", "ts"], days: 7 }));
211
+ console.log(await new lsct({ abbrList: ["at", "ts"], days: 7 }).getContests());
352
212
  }
353
213
 
354
214
  main();
@@ -357,30 +217,23 @@ main();
357
217
  This code gives the following results:
358
218
 
359
219
  ```text
360
- There are 2 contests is running on Codeforces,testOJ
361
-
362
- OJ: Codeforces
363
- Contest name: Educational Codeforces Round 128 (Rated for Div. 2)
364
- Rule: ICPC
365
- Start time: 2022/5/13 22:35:00
366
- End time: 2022/5/14 00:35:00
367
- https://codeforces.com/contests/1680
220
+ There are 1 contests is running on testOJ
368
221
 
369
222
  OJ: testOJ
370
223
  Contest name: testContest
371
224
  Rule: ICPC
372
- Start time: 2022/5/13 23:23:31
373
- End time: 2022/5/14 00:23:31
225
+ Start time: 2022/6/10 21:43:58
226
+ End time: 2022/6/10 22:43:58
374
227
  https://www.test.com
375
228
 
376
- There are 1 contests on Codeforces,testOJ in the next 1 days
229
+ There are 1 contests on Codeforces in the next 1 days
377
230
 
378
231
  OJ: Codeforces
379
- Contest name: Codeforces Round #791 (Div. 2)
232
+ Contest name: Codeforces Round #798 (Div. 2)
380
233
  Rule: Codeforces
381
- Start time: 2022/5/14 17:35:00
382
- End time: 2022/5/14 19:35:00
383
- https://codeforces.com/contests/1679
234
+ Start time: 2022/6/11 00:35:00
235
+ End time: 2022/6/11 02:35:00
236
+ https://codeforces.com/contests/1689
384
237
 
385
238
  {
386
239
  running: [
@@ -388,27 +241,19 @@ https://codeforces.com/contests/1679
388
241
  ojName: 'testOJ',
389
242
  name: 'testContest',
390
243
  rule: 'ICPC',
391
- startTime: 2022-05-13T15:23:37.245Z,
392
- endTime: 2022-05-13T16:23:37.246Z,
244
+ startTime: 2022-06-10T13:44:01.380Z,
245
+ endTime: 2022-06-10T14:44:01.381Z,
393
246
  url: 'https://www.test.com'
394
247
  }
395
248
  ],
396
249
  upcoming: [
397
250
  {
398
251
  ojName: 'AtCoder',
399
- name: 'Ⓐ Panasonic Programming Contest 2022(AtCoder Beginner Contest 251)',
400
- rule: 'AtCoder',
401
- startTime: 2022-05-14T12:00:00.000Z,
402
- endTime: 2022-05-14T13:40:00.000Z,
403
- url: 'https://atcoder.jp/contests/abc251'
404
- },
405
- {
406
- ojName: 'AtCoder',
407
- name: 'Ⓐ AtCoder Regular Contest 140',
252
+ name: 'Ⓐ Aising Programming Contest 2022AtCoder Beginner Contest 255)',
408
253
  rule: 'AtCoder',
409
- startTime: 2022-05-15T12:00:00.000Z,
410
- endTime: 2022-05-15T14:00:00.000Z,
411
- url: 'https://atcoder.jp/contests/arc140'
254
+ startTime: 2022-06-11T12:00:00.000Z,
255
+ endTime: 2022-06-11T13:40:00.000Z,
256
+ url: 'https://atcoder.jp/contests/abc255'
412
257
  }
413
258
  ]
414
259
  }
@@ -419,7 +264,7 @@ https://codeforces.com/contests/1679
419
264
  ```typescript
420
265
  import { cli } from "lscontests";
421
266
 
422
- cli("-o cf -L en").then(console.log);
267
+ cli("-o cf -L en", undefined, console.log);
423
268
  ```
424
269
 
425
270
  This code gives the same result as `lsct -o cf -L en`.
package/dist/index.js CHANGED
@@ -102,7 +102,7 @@ class Lscontests {
102
102
  info.push(...msg(running));
103
103
  }
104
104
  else
105
- info.push(lang.norunning);
105
+ info.push(lodash_1.default.template(lang.norunning)({ oj: this.config.abbrList.map(abbr => oj_1.alloj[abbr].name) }));
106
106
  }
107
107
  if (this.config.upcoming) {
108
108
  if (this.config.days === -1) {
@@ -114,7 +114,7 @@ class Lscontests {
114
114
  info.push(...msg(upcoming));
115
115
  }
116
116
  else
117
- info.push(lang.noupcoming_all);
117
+ info.push(lodash_1.default.template(lang.noupcoming_all)({ oj: this.config.abbrList.map(abbr => oj_1.alloj[abbr].name) }));
118
118
  }
119
119
  else {
120
120
  if (upcoming.length) {
@@ -126,7 +126,10 @@ class Lscontests {
126
126
  info.push(...msg(upcoming));
127
127
  }
128
128
  else
129
- info.push(lodash_1.default.template(lang.noupcoming)({ days: this.config.days }));
129
+ info.push(lodash_1.default.template(lang.noupcoming)({
130
+ oj: this.config.abbrList.map(abbr => oj_1.alloj[abbr].name),
131
+ days: this.config.days
132
+ }));
130
133
  }
131
134
  }
132
135
  return pangu_1.default.spacing(info.join("\n\n"));
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAuB;AACvB,kDAA0B;AAC1B,sDAA8B;AAE9B,iCAAiC;AACjC,qCAAuC;AAYvC,MAAqB,UAAU;IAY3B,YAAY,MAAyB,EAAE,SAAS,GAAG,MAAM,EAAE,aAAa,GAAG,iBAAO,CAAC,UAAU,CAAC,OAAO;QAV7F,WAAM,GAAG;YACb,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,UAAK,CAAC;YAC5B,IAAI,EAAE,CAAC;YACP,IAAI,EAAE,IAAI;YACV,OAAO,EAAE,IAAI;YACb,QAAQ,EAAE,IAAI;YACd,MAAM,EAAE,KAAK;SAChB,CAAC;QAKE,IAAI,CAAC,MAAM,mCAAQ,IAAI,CAAC,MAAM,GAAK,MAAM,CAAE,CAAC;QAC5C,IAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC;YAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,UAAK,CAAC,CAAC;QAChF,IAAI,CAAC,MAAM,GAAG,iBAAO,CAAC,YAAY,CAAC;YAC/B,KAAK,EAAE,SAAS;YAChB,MAAM,EAAE,iBAAO,CAAC,MAAM,CAAC,OAAO,CAC1B,iBAAO,CAAC,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IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI;4BACtB,EAAE,EAAE,gBAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;yBACtD,CAAC,CAAC,CAAC;wBACJ,IAAI,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC;qBAC/B;;wBACI,IAAI,CAAC,IAAI,CAAC,gBAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;4BACvC,EAAE,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,UAAK,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC;4BACtD,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI;yBACzB,CAAC,CAAC,CAAC;iBACP;aACJ;YACD,OAAO,eAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAC5C,CAAC;KAAA;CACJ;AA5HD,6BA4HC;AAED,gDAA8B;AAC9B,6BAA4B;AAAnB,0FAAA,GAAG,OAAA;AACZ,+BAAqC;AAAxB,2FAAA,KAAK,OAAA"}
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "runnning": "There are ${contestCount} contests is running on ${oj}",
3
- "norunning": "No running contests",
3
+ "norunning": "There are no running contests on ${oj}",
4
4
  "upcoming": "There are ${contestCount} contests on ${oj} in the next ${days} days",
5
5
  "upcoming_all": "There will be ${contestCount} contests on ${oj} in the future",
6
- "noupcoming": "No contests for the next ${days} days",
7
- "noupcoming_all": "There is no contests in the future???",
6
+ "noupcoming": "No contests on ${oj} for the next ${days} days",
7
+ "noupcoming_all": "There are no future contests on ${oj}",
8
8
  "ojName": "OJ",
9
9
  "name": "Contest name",
10
10
  "rule": "Rule",
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "runnning": "在 ${oj} 上有 ${contestCount} 场正在进行的比赛",
3
- "norunning": "没有正在进行的比赛捏",
3
+ "norunning": "在 ${oj} 上没有正在进行的比赛捏",
4
4
  "upcoming": "接下来的 ${days} 天内在 ${oj} 上有 ${contestCount} 场比赛",
5
5
  "upcoming_all": "将来在 ${oj} 上有 ${contestCount} 场比赛",
6
- "noupcoming": "接下来的 ${days} 天内没有比赛捏",
7
- "noupcoming_all": "将来竟然没有比赛???",
6
+ "noupcoming": "接下来的 ${days} 天内在 ${oj} 上没有比赛捏",
7
+ "noupcoming_all": "将来在 ${oj} 上没有比赛",
8
8
  "ojName": "比赛平台",
9
9
  "name": "比赛名称",
10
10
  "rule": "赛制",
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "runnning": "搁 ${oj} 上有 ${contestCount} 场比赛正偷摸干着呢",
3
- "norunning": "这前属实是没比赛打",
3
+ "norunning": "这前搁 ${oj} 上属实是没比赛打",
4
4
  "upcoming": "之后 ${days} 天搁 ${oj} 上拢共 ${contestCount} 场比赛",
5
5
  "upcoming_all": "往后搁 ${oj} 上有 ${contestCount} 场比赛",
6
- "noupcoming": "没成想往后 ${days} 天没比赛打啊",
7
- "noupcoming_all": "啥玩意?之后没比赛???",
6
+ "noupcoming": "没成想往后 ${days} 天搁 ${oj} 上没比赛打啊",
7
+ "noupcoming_all": "将来搁 ${oj} 上没比赛",
8
8
  "ojName": "搁哪",
9
9
  "name": "叫啥",
10
10
  "rule": "咋个整法",
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "runnning": "在 ${oj} 上有 ${contestCount} 場正在進行的比賽",
3
- "norunning": "沒有正在進行的比賽",
3
+ "norunning": "在 ${oj} 上沒有正在進行的比賽",
4
4
  "upcoming": "接下来的 ${days} 天內在 ${oj} 上有 ${contestCount} 場比賽",
5
5
  "upcoming_all": "將來在 ${oj} 上有 ${contestCount} 場比賽",
6
- "noupcoming": "接下來的 ${days} 天內沒有比賽",
7
- "noupcoming_all": "將來竟然沒有比賽? ",
6
+ "noupcoming": "接下來的 ${days} 天內在 ${oj} 上沒有比賽",
7
+ "noupcoming_all": "將來在 ${oj} 上沒有比賽",
8
8
  "ojName": "比賽平台",
9
9
  "name": "比賽名稱",
10
10
  "rule": "賽制",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lscontests",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "A tool to get information about the contests on each OJ",
5
5
  "keywords": [
6
6
  "cli",
@@ -38,7 +38,7 @@
38
38
  "axios": "^0.27.2",
39
39
  "axios-retry": "^3.2.5",
40
40
  "cheerio": "^1.0.0-rc.11",
41
- "commander": "^9.2.0",
41
+ "commander": "^9.3.0",
42
42
  "express": "^4.18.1",
43
43
  "ics": "^2.35.0",
44
44
  "lodash": "^4.17.21",
@@ -48,19 +48,19 @@
48
48
  "devDependencies": {
49
49
  "@types/express": "^4.17.13",
50
50
  "@types/lodash": "^4.14.182",
51
- "@types/node": "^17.0.35",
51
+ "@types/node": "^17.0.41",
52
52
  "@types/pangu": "^3.3.0",
53
- "@typescript-eslint/eslint-plugin": "^5.26.0",
54
- "@typescript-eslint/parser": "^5.26.0",
53
+ "@typescript-eslint/eslint-plugin": "^5.27.1",
54
+ "@typescript-eslint/parser": "^5.27.1",
55
55
  "cpy-cli": "^4.1.0",
56
56
  "cz-conventional-changelog": "3.3.0",
57
- "eslint": "^8.16.0",
57
+ "eslint": "^8.17.0",
58
58
  "markdownlint-cli": "^0.31.1",
59
59
  "rimraf": "^3.0.2",
60
- "tsx": "^3.4.1",
61
- "typedoc": "^0.22.15",
60
+ "tsx": "^3.4.2",
61
+ "typedoc": "^0.22.17",
62
62
  "typedoc-plugin-extras": "^2.2.3",
63
- "typescript": "4.6.4"
63
+ "typescript": "^4.7.3"
64
64
  },
65
65
  "config": {
66
66
  "commitizen": {