@zeppos/zeus-cli 1.3.0-beta.3 → 1.3.0-beta.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeppos/zeus-cli",
3
- "version": "1.3.0-beta.3",
3
+ "version": "1.3.0-beta.5",
4
4
  "description": "zeus mini-program tools",
5
5
  "main": "index.ts",
6
6
  "author": "zepp",
@@ -12,6 +12,13 @@ var DeviceTarget;
12
12
  DeviceTarget["BARI"] = "bari";
13
13
  DeviceTarget["BERLIN"] = "berlin";
14
14
  DeviceTarget["LILLE"] = "lille";
15
+ DeviceTarget["MONACO"] = "monaco";
16
+ DeviceTarget["SWIFT"] = "swift";
17
+ DeviceTarget["SWORDFISH"] = "swordfish";
18
+ DeviceTarget["CHEETAH"] = "cheetah";
19
+ DeviceTarget["HANNOVER"] = "hannover";
20
+ DeviceTarget["ETNA"] = "etna";
21
+ DeviceTarget["ALTAI"] = "altai";
15
22
  })(DeviceTarget = exports.DeviceTarget || (exports.DeviceTarget = {}));
16
23
  var DevicePlatformName;
17
24
  (function (DevicePlatformName) {
@@ -33,6 +40,17 @@ var DevicePlatformName;
33
40
  DevicePlatformName["BERLIN_W"] = "gtr4-w";
34
41
  DevicePlatformName["LILLE"] = "gts4";
35
42
  DevicePlatformName["LILLE_W"] = "gts4-w";
43
+ DevicePlatformName["MONACO"] = "monaco";
44
+ DevicePlatformName["MONACO_WN"] = "monaco-wn";
45
+ DevicePlatformName["MONACO_W"] = "monaco-w";
46
+ DevicePlatformName["SWIFT"] = "swift";
47
+ DevicePlatformName["SWIFT_W"] = "swift-w";
48
+ DevicePlatformName["SWORDFISH_W"] = "swordfish-w";
49
+ DevicePlatformName["CHEETAH_W"] = "cheetah-w";
50
+ DevicePlatformName["HANNOVER"] = "hannover";
51
+ DevicePlatformName["ETNA"] = "etna";
52
+ DevicePlatformName["ETNA_W"] = "etna-w";
53
+ DevicePlatformName["ALTAI"] = "altai";
36
54
  })(DevicePlatformName = exports.DevicePlatformName || (exports.DevicePlatformName = {}));
37
55
  var DeviceSource;
38
56
  (function (DeviceSource) {
@@ -54,6 +72,17 @@ var DeviceSource;
54
72
  DeviceSource[DeviceSource["BERLIN_W"] = 7930113] = "BERLIN_W";
55
73
  DeviceSource[DeviceSource["LILLE"] = 7995648] = "LILLE";
56
74
  DeviceSource[DeviceSource["LILLE_W"] = 7995649] = "LILLE_W";
75
+ DeviceSource[DeviceSource["MONACO"] = 8519936] = "MONACO";
76
+ DeviceSource[DeviceSource["MONACO_WN"] = 8519937] = "MONACO_WN";
77
+ DeviceSource[DeviceSource["MONACO_W"] = 8519939] = "MONACO_W";
78
+ DeviceSource[DeviceSource["SWIFT"] = 8192256] = "SWIFT";
79
+ DeviceSource[DeviceSource["SWIFT_W"] = 8192257] = "SWIFT_W";
80
+ DeviceSource[DeviceSource["SWORDFISH_W"] = 8257793] = "SWORDFISH_W";
81
+ DeviceSource[DeviceSource["CHEETAH_W"] = 8126721] = "CHEETAH_W";
82
+ DeviceSource[DeviceSource["HANNOVER"] = 8323329] = "HANNOVER";
83
+ DeviceSource[DeviceSource["ETNA"] = 8388864] = "ETNA";
84
+ DeviceSource[DeviceSource["ETNA_W"] = 8388865] = "ETNA_W";
85
+ DeviceSource[DeviceSource["ALTAI"] = 8454401] = "ALTAI";
57
86
  })(DeviceSource = exports.DeviceSource || (exports.DeviceSource = {}));
58
87
  var DeviceScreenType;
59
88
  (function (DeviceScreenType) {
@@ -243,12 +272,158 @@ exports.deviceTargets = (_a = {},
243
272
  min: '1.0.0'
244
273
  }
245
274
  },
275
+ _a[DeviceTarget.MONACO] = {
276
+ deviceName: 'GTR 5',
277
+ platforms: [
278
+ {
279
+ name: DevicePlatformName.MONACO,
280
+ deviceSource: DeviceSource.MONACO
281
+ },
282
+ {
283
+ name: DevicePlatformName.MONACO_WN,
284
+ deviceSource: DeviceSource.MONACO_WN
285
+ },
286
+ {
287
+ name: DevicePlatformName.MONACO_W,
288
+ deviceSource: DeviceSource.MONACO_W
289
+ }
290
+ ],
291
+ screen: {
292
+ type: DeviceScreenType.R,
293
+ width: 480,
294
+ height: 480
295
+ },
296
+ apiLevelLimit: {
297
+ min: '1.0.0'
298
+ }
299
+ },
300
+ _a[DeviceTarget.SWIFT] = {
301
+ deviceName: 'Runner (Round)',
302
+ platforms: [
303
+ {
304
+ name: DevicePlatformName.SWIFT,
305
+ deviceSource: DeviceSource.SWIFT
306
+ },
307
+ {
308
+ name: DevicePlatformName.SWIFT_W,
309
+ deviceSource: DeviceSource.SWIFT_W
310
+ }
311
+ ],
312
+ screen: {
313
+ type: DeviceScreenType.R,
314
+ width: 454,
315
+ height: 454
316
+ },
317
+ apiLevelLimit: {
318
+ min: '1.0.0'
319
+ }
320
+ },
321
+ _a[DeviceTarget.SWORDFISH] = {
322
+ deviceName: 'Runner (Square)',
323
+ platforms: [
324
+ {
325
+ name: DevicePlatformName.SWORDFISH_W,
326
+ deviceSource: DeviceSource.SWORDFISH_W
327
+ }
328
+ ],
329
+ screen: {
330
+ type: DeviceScreenType.S,
331
+ width: 390,
332
+ height: 450
333
+ },
334
+ apiLevelLimit: {
335
+ min: '1.0.0'
336
+ }
337
+ },
338
+ _a[DeviceTarget.CHEETAH] = {
339
+ deviceName: 'Runner Pro',
340
+ platforms: [
341
+ {
342
+ name: DevicePlatformName.CHEETAH_W,
343
+ deviceSource: DeviceSource.CHEETAH_W
344
+ }
345
+ ],
346
+ screen: {
347
+ type: DeviceScreenType.R,
348
+ width: 480,
349
+ height: 480
350
+ },
351
+ apiLevelLimit: {
352
+ min: '1.0.0'
353
+ }
354
+ },
355
+ _a[DeviceTarget.HANNOVER] = {
356
+ deviceName: 'GTS 5 Active',
357
+ platforms: [
358
+ {
359
+ name: DevicePlatformName.HANNOVER,
360
+ deviceSource: DeviceSource.HANNOVER
361
+ }
362
+ ],
363
+ screen: {
364
+ type: DeviceScreenType.S,
365
+ width: 390,
366
+ height: 450
367
+ },
368
+ apiLevelLimit: {
369
+ min: '1.0.0'
370
+ }
371
+ },
372
+ _a[DeviceTarget.ETNA] = {
373
+ deviceName: 'GTR Shock',
374
+ platforms: [
375
+ {
376
+ name: DevicePlatformName.ETNA,
377
+ deviceSource: DeviceSource.ETNA
378
+ },
379
+ {
380
+ name: DevicePlatformName.ETNA_W,
381
+ deviceSource: DeviceSource.ETNA_W
382
+ }
383
+ ],
384
+ screen: {
385
+ type: DeviceScreenType.S,
386
+ width: 360,
387
+ height: 360
388
+ },
389
+ apiLevelLimit: {
390
+ min: '1.0.0'
391
+ }
392
+ },
393
+ _a[DeviceTarget.ALTAI] = {
394
+ deviceName: 'Bip 5s',
395
+ platforms: [
396
+ {
397
+ name: DevicePlatformName.ALTAI,
398
+ deviceSource: DeviceSource.ALTAI
399
+ }
400
+ ],
401
+ screen: {
402
+ type: DeviceScreenType.S,
403
+ width: 320,
404
+ height: 380
405
+ },
406
+ apiLevelLimit: {
407
+ min: '1.0.0'
408
+ }
409
+ },
246
410
  _a);
247
411
  exports.OSV2Devices = [
248
412
  DeviceSource.BERLIN,
249
413
  DeviceSource.BERLIN_W,
250
414
  DeviceSource.LILLE,
251
- DeviceSource.LILLE_W
415
+ DeviceSource.LILLE_W,
416
+ DeviceSource.MONACO,
417
+ DeviceSource.MONACO_WN,
418
+ DeviceSource.MONACO_W,
419
+ DeviceSource.SWIFT,
420
+ DeviceSource.SWIFT_W,
421
+ DeviceSource.SWORDFISH_W,
422
+ DeviceSource.CHEETAH_W,
423
+ DeviceSource.HANNOVER,
424
+ DeviceSource.ETNA,
425
+ DeviceSource.ETNA_W,
426
+ DeviceSource.ALTAI
252
427
  ];
253
428
  exports.OSV2DeviceTargetNames = Object.keys(exports.deviceTargets).reduce(function (targetNames, target) {
254
429
  var flag = true;