@swell/cli 2.0.1-alpha.17 → 2.0.1-alpha.18
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/dist/app-command.d.ts +1 -1
- package/dist/app-command.js +3 -3
- package/dist/commands/app/dev.d.ts +3 -5
- package/dist/commands/app/dev.js +3 -6
- package/dist/commands/app/frontend/deploy.d.ts +1 -3
- package/dist/commands/app/frontend/deploy.js +2 -5
- package/dist/commands/app/frontend/dev.d.ts +4 -6
- package/dist/commands/app/frontend/dev.js +12 -15
- package/dist/commands/app/info.js +1 -3
- package/dist/commands/app/init.js +2 -2
- package/dist/commands/app/install.js +0 -1
- package/dist/commands/app/pull.d.ts +3 -3
- package/dist/commands/app/pull.js +16 -16
- package/dist/commands/app/push.d.ts +4 -4
- package/dist/commands/app/push.js +28 -31
- package/dist/commands/app/release.d.ts +3 -3
- package/dist/commands/app/release.js +43 -45
- package/dist/commands/app/version.d.ts +4 -4
- package/dist/commands/app/version.js +28 -28
- package/dist/commands/create/app.d.ts +15 -15
- package/dist/commands/create/app.js +66 -66
- package/dist/commands/create/frontend.js +4 -7
- package/dist/commands/env.d.ts +12 -0
- package/dist/commands/env.js +31 -0
- package/dist/commands/login.js +1 -3
- package/dist/commands/logs.js +0 -2
- package/dist/commands/theme/dev.d.ts +6 -8
- package/dist/commands/theme/dev.js +30 -33
- package/dist/commands/theme/init.d.ts +1 -1
- package/dist/commands/theme/init.js +1 -1
- package/dist/commands/theme/pull.d.ts +7 -7
- package/dist/commands/theme/pull.js +21 -21
- package/dist/commands/theme/push.d.ts +7 -7
- package/dist/commands/theme/push.js +24 -27
- package/dist/create-app-command.d.ts +7 -7
- package/dist/create-app-command.js +146 -147
- package/dist/create-config-command.js +0 -2
- package/dist/env/local.d.ts +8 -0
- package/dist/env/local.js +7 -0
- package/dist/env/production.d.ts +8 -0
- package/dist/env/production.js +7 -0
- package/dist/env/review.d.ts +8 -0
- package/dist/env/review.js +7 -0
- package/dist/env/staging.d.ts +8 -0
- package/dist/env/staging.js +7 -0
- package/dist/lib/api.d.ts +3 -3
- package/dist/lib/api.js +35 -35
- package/dist/lib/app-config.d.ts +2 -2
- package/dist/lib/app-config.js +12 -11
- package/dist/lib/apps/app-config.d.ts +19 -19
- package/dist/lib/apps/app-config.js +59 -65
- package/dist/lib/apps/index.d.ts +56 -56
- package/dist/lib/apps/index.js +40 -42
- package/dist/lib/apps/paths.d.ts +1 -1
- package/dist/lib/apps/paths.js +4 -4
- package/dist/lib/config.d.ts +4 -1
- package/dist/lib/config.js +35 -1
- package/dist/lib/constants.js +7 -8
- package/dist/lib/create/index.js +2 -2
- package/dist/lib/stores.d.ts +4 -2
- package/dist/lib/stores.js +4 -2
- package/dist/push-app-command.d.ts +34 -34
- package/dist/push-app-command.js +391 -402
- package/dist/remote-app-command.d.ts +24 -24
- package/dist/remote-app-command.js +245 -259
- package/oclif.manifest.json +152 -119
- package/package.json +2 -1
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
+
"env": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {
|
|
6
|
+
"name": {
|
|
7
|
+
"description": "name of the environment (production, staging, local, review)",
|
|
8
|
+
"name": "name"
|
|
9
|
+
},
|
|
10
|
+
"reviewBranch": {
|
|
11
|
+
"description": "name of a review branch",
|
|
12
|
+
"name": "reviewBranch"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"description": "Internal: Display the current environment configuration.",
|
|
16
|
+
"examples": [
|
|
17
|
+
"<%= config.bin %> <%= command.id %>"
|
|
18
|
+
],
|
|
19
|
+
"flags": {},
|
|
20
|
+
"hasDynamicHelp": false,
|
|
21
|
+
"hidden": true,
|
|
22
|
+
"hiddenAliases": [],
|
|
23
|
+
"id": "env",
|
|
24
|
+
"pluginAlias": "@swell/cli",
|
|
25
|
+
"pluginName": "@swell/cli",
|
|
26
|
+
"pluginType": "core",
|
|
27
|
+
"strict": true,
|
|
28
|
+
"enableJsonFlag": false,
|
|
29
|
+
"isESM": true,
|
|
30
|
+
"relativePath": [
|
|
31
|
+
"dist",
|
|
32
|
+
"commands",
|
|
33
|
+
"env.js"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
3
36
|
"login": {
|
|
4
37
|
"aliases": [],
|
|
5
38
|
"args": {},
|
|
@@ -326,6 +359,12 @@
|
|
|
326
359
|
"multiple": false,
|
|
327
360
|
"type": "option"
|
|
328
361
|
},
|
|
362
|
+
"no-push": {
|
|
363
|
+
"description": "skip pushing app files initially",
|
|
364
|
+
"name": "no-push",
|
|
365
|
+
"allowNo": false,
|
|
366
|
+
"type": "boolean"
|
|
367
|
+
},
|
|
329
368
|
"port": {
|
|
330
369
|
"char": "p",
|
|
331
370
|
"description": "override the default port to run the app locally",
|
|
@@ -334,12 +373,6 @@
|
|
|
334
373
|
"multiple": false,
|
|
335
374
|
"type": "option"
|
|
336
375
|
},
|
|
337
|
-
"no-push": {
|
|
338
|
-
"description": "skip pushing app files initially",
|
|
339
|
-
"name": "no-push",
|
|
340
|
-
"allowNo": false,
|
|
341
|
-
"type": "boolean"
|
|
342
|
-
},
|
|
343
376
|
"storefront-id": {
|
|
344
377
|
"description": "for storefront apps, identify a storefront to preview and push theme files to",
|
|
345
378
|
"name": "storefront-id",
|
|
@@ -362,10 +395,10 @@
|
|
|
362
395
|
"pluginType": "core",
|
|
363
396
|
"strict": true,
|
|
364
397
|
"summary": "Run an app in dev mode from your local machine.",
|
|
398
|
+
"delayOrientation": true,
|
|
365
399
|
"orientation": {
|
|
366
400
|
"env": "test"
|
|
367
401
|
},
|
|
368
|
-
"delayOrientation": true,
|
|
369
402
|
"isESM": true,
|
|
370
403
|
"relativePath": [
|
|
371
404
|
"dist",
|
|
@@ -441,13 +474,6 @@
|
|
|
441
474
|
}
|
|
442
475
|
],
|
|
443
476
|
"flags": {
|
|
444
|
-
"yes": {
|
|
445
|
-
"char": "y",
|
|
446
|
-
"description": "accept all default values",
|
|
447
|
-
"name": "yes",
|
|
448
|
-
"allowNo": false,
|
|
449
|
-
"type": "boolean"
|
|
450
|
-
},
|
|
451
477
|
"frontend": {
|
|
452
478
|
"description": "create a starter framework for a hosted frontend",
|
|
453
479
|
"name": "frontend",
|
|
@@ -465,6 +491,13 @@
|
|
|
465
491
|
"hasDynamicHelp": false,
|
|
466
492
|
"multiple": false,
|
|
467
493
|
"type": "option"
|
|
494
|
+
},
|
|
495
|
+
"yes": {
|
|
496
|
+
"char": "y",
|
|
497
|
+
"description": "accept all default values",
|
|
498
|
+
"name": "yes",
|
|
499
|
+
"allowNo": false,
|
|
500
|
+
"type": "boolean"
|
|
468
501
|
}
|
|
469
502
|
},
|
|
470
503
|
"hasDynamicHelp": false,
|
|
@@ -560,7 +593,7 @@
|
|
|
560
593
|
"name": "targetPath"
|
|
561
594
|
}
|
|
562
595
|
},
|
|
563
|
-
"description": "Pull all app files, a specific file, or a specific configuration\ntype from an app in your store's test environment to your local machine.\n\nIf APPID is not specified, you will be prompted with a list of apps to choose from.\n\nApp file directories:\nassets/\ncontent/\nfunctions/\nmodels/\nnotifications/\nsettings/\nwebhooks/\nfrontend
|
|
596
|
+
"description": "Pull all app files, a specific file, or a specific configuration\ntype from an app in your store's test environment to your local machine.\n\nIf APPID is not specified, you will be prompted with a list of apps to choose from.\n\nApp file directories:\nassets/\ncontent/\nfrontend/\nfunctions/\nmodels/\nnotifications/\nsettings/\ntheme/\nwebhooks/\nfrontend/",
|
|
564
597
|
"examples": [
|
|
565
598
|
"swell app pull",
|
|
566
599
|
"swell app pull example_app",
|
|
@@ -606,7 +639,7 @@
|
|
|
606
639
|
"name": "file"
|
|
607
640
|
}
|
|
608
641
|
},
|
|
609
|
-
"description": "Push all app files, a specific file, or a specific configuration\ntype to an app in your store's test environment.\n\nIf the app does not exist, it will be created and its global ID saved to a .swellrc file.\n\n- If no file is specified, all configuration files will be pushed to the store.\n This includes the app icon (assets/icon.png) and swell.json.\n- If a file is specified, only that file will be pushed to the store.\n- If a directory is specified, only files in that directory will be pushed.\n\nApp file directories:\nassets/\ncontent/\nfunctions/\nmodels/\nnotifications/\nsettings/\nwebhooks
|
|
642
|
+
"description": "Push all app files, a specific file, or a specific configuration\ntype to an app in your store's test environment.\n\nIf the app does not exist, it will be created and its global ID saved to a .swellrc file.\n\n- If no file is specified, all configuration files will be pushed to the store.\n This includes the app icon (assets/icon.png) and swell.json.\n- If a file is specified, only that file will be pushed to the store.\n- If a directory is specified, only files in that directory will be pushed.\n\nApp file directories:\nassets/\ncontent/\nfrontend/\nfunctions/\nmodels/\nnotifications/\nsettings/\ntheme/\nwebhooks/",
|
|
610
643
|
"examples": [
|
|
611
644
|
"swell app push",
|
|
612
645
|
"swell app push content",
|
|
@@ -641,10 +674,10 @@
|
|
|
641
674
|
"pluginType": "core",
|
|
642
675
|
"strict": true,
|
|
643
676
|
"summary": "Push local files to your Swell app.",
|
|
677
|
+
"delayOrientation": true,
|
|
644
678
|
"orientation": {
|
|
645
679
|
"env": "test"
|
|
646
680
|
},
|
|
647
|
-
"delayOrientation": true,
|
|
648
681
|
"isESM": true,
|
|
649
682
|
"relativePath": [
|
|
650
683
|
"dist",
|
|
@@ -675,12 +708,11 @@
|
|
|
675
708
|
"multiple": false,
|
|
676
709
|
"type": "option"
|
|
677
710
|
},
|
|
678
|
-
"
|
|
679
|
-
"description": "
|
|
680
|
-
"name": "
|
|
681
|
-
"
|
|
682
|
-
"
|
|
683
|
-
"type": "option"
|
|
711
|
+
"amend": {
|
|
712
|
+
"description": "amend the description or release notes of an existing release",
|
|
713
|
+
"name": "amend",
|
|
714
|
+
"allowNo": false,
|
|
715
|
+
"type": "boolean"
|
|
684
716
|
},
|
|
685
717
|
"message": {
|
|
686
718
|
"char": "m",
|
|
@@ -690,9 +722,9 @@
|
|
|
690
722
|
"multiple": false,
|
|
691
723
|
"type": "option"
|
|
692
724
|
},
|
|
693
|
-
"
|
|
694
|
-
"description": "
|
|
695
|
-
"name": "
|
|
725
|
+
"no-git-tag": {
|
|
726
|
+
"description": "if the version is being created, do not create a git tag",
|
|
727
|
+
"name": "no-git-tag",
|
|
696
728
|
"allowNo": false,
|
|
697
729
|
"type": "boolean"
|
|
698
730
|
},
|
|
@@ -702,11 +734,12 @@
|
|
|
702
734
|
"allowNo": false,
|
|
703
735
|
"type": "boolean"
|
|
704
736
|
},
|
|
705
|
-
"
|
|
706
|
-
"description": "
|
|
707
|
-
"name": "
|
|
708
|
-
"
|
|
709
|
-
"
|
|
737
|
+
"release-notes": {
|
|
738
|
+
"description": "relative path to a file containing release notes",
|
|
739
|
+
"name": "release-notes",
|
|
740
|
+
"hasDynamicHelp": false,
|
|
741
|
+
"multiple": false,
|
|
742
|
+
"type": "option"
|
|
710
743
|
}
|
|
711
744
|
},
|
|
712
745
|
"hasDynamicHelp": false,
|
|
@@ -747,6 +780,12 @@
|
|
|
747
780
|
"multiple": false,
|
|
748
781
|
"type": "option"
|
|
749
782
|
},
|
|
783
|
+
"amend": {
|
|
784
|
+
"description": "amend the description an existing version",
|
|
785
|
+
"name": "amend",
|
|
786
|
+
"allowNo": false,
|
|
787
|
+
"type": "boolean"
|
|
788
|
+
},
|
|
750
789
|
"message": {
|
|
751
790
|
"char": "m",
|
|
752
791
|
"description": "description of the changes in this version for internal use",
|
|
@@ -755,12 +794,6 @@
|
|
|
755
794
|
"multiple": false,
|
|
756
795
|
"type": "option"
|
|
757
796
|
},
|
|
758
|
-
"amend": {
|
|
759
|
-
"description": "amend the description an existing version",
|
|
760
|
-
"name": "amend",
|
|
761
|
-
"allowNo": false,
|
|
762
|
-
"type": "boolean"
|
|
763
|
-
},
|
|
764
797
|
"no-git-tag": {
|
|
765
798
|
"description": "do not create a git tag for this version",
|
|
766
799
|
"name": "no-git-tag",
|
|
@@ -857,13 +890,6 @@
|
|
|
857
890
|
}
|
|
858
891
|
],
|
|
859
892
|
"flags": {
|
|
860
|
-
"yes": {
|
|
861
|
-
"char": "y",
|
|
862
|
-
"description": "accept all default values",
|
|
863
|
-
"name": "yes",
|
|
864
|
-
"allowNo": false,
|
|
865
|
-
"type": "boolean"
|
|
866
|
-
},
|
|
867
893
|
"frontend": {
|
|
868
894
|
"description": "create a starter framework for a hosted frontend",
|
|
869
895
|
"name": "frontend",
|
|
@@ -882,19 +908,12 @@
|
|
|
882
908
|
"multiple": false,
|
|
883
909
|
"type": "option"
|
|
884
910
|
},
|
|
885
|
-
"
|
|
886
|
-
"char": "
|
|
887
|
-
"description": "
|
|
888
|
-
"name": "
|
|
889
|
-
"
|
|
890
|
-
"
|
|
891
|
-
"options": [
|
|
892
|
-
"admin",
|
|
893
|
-
"integration",
|
|
894
|
-
"storefront",
|
|
895
|
-
"theme"
|
|
896
|
-
],
|
|
897
|
-
"type": "option"
|
|
911
|
+
"yes": {
|
|
912
|
+
"char": "y",
|
|
913
|
+
"description": "accept all default values",
|
|
914
|
+
"name": "yes",
|
|
915
|
+
"allowNo": false,
|
|
916
|
+
"type": "boolean"
|
|
898
917
|
},
|
|
899
918
|
"pkg": {
|
|
900
919
|
"char": "p",
|
|
@@ -909,6 +928,20 @@
|
|
|
909
928
|
"none"
|
|
910
929
|
],
|
|
911
930
|
"type": "option"
|
|
931
|
+
},
|
|
932
|
+
"type": {
|
|
933
|
+
"char": "t",
|
|
934
|
+
"description": "create a specific app type",
|
|
935
|
+
"name": "type",
|
|
936
|
+
"hasDynamicHelp": false,
|
|
937
|
+
"multiple": false,
|
|
938
|
+
"options": [
|
|
939
|
+
"admin",
|
|
940
|
+
"integration",
|
|
941
|
+
"storefront",
|
|
942
|
+
"theme"
|
|
943
|
+
],
|
|
944
|
+
"type": "option"
|
|
912
945
|
}
|
|
913
946
|
},
|
|
914
947
|
"hasDynamicHelp": false,
|
|
@@ -1036,13 +1069,6 @@
|
|
|
1036
1069
|
}
|
|
1037
1070
|
],
|
|
1038
1071
|
"flags": {
|
|
1039
|
-
"yes": {
|
|
1040
|
-
"char": "y",
|
|
1041
|
-
"description": "accept all default values",
|
|
1042
|
-
"name": "yes",
|
|
1043
|
-
"allowNo": false,
|
|
1044
|
-
"type": "boolean"
|
|
1045
|
-
},
|
|
1046
1072
|
"frontend": {
|
|
1047
1073
|
"description": "create a starter framework for a hosted frontend",
|
|
1048
1074
|
"name": "frontend",
|
|
@@ -1061,6 +1087,13 @@
|
|
|
1061
1087
|
"multiple": false,
|
|
1062
1088
|
"type": "option"
|
|
1063
1089
|
},
|
|
1090
|
+
"yes": {
|
|
1091
|
+
"char": "y",
|
|
1092
|
+
"description": "accept all default values",
|
|
1093
|
+
"name": "yes",
|
|
1094
|
+
"allowNo": false,
|
|
1095
|
+
"type": "boolean"
|
|
1096
|
+
},
|
|
1064
1097
|
"pkg": {
|
|
1065
1098
|
"char": "p",
|
|
1066
1099
|
"description": "use npm or yarn to install default dependencies, or none to disable",
|
|
@@ -1434,16 +1467,9 @@
|
|
|
1434
1467
|
"multiple": false,
|
|
1435
1468
|
"type": "option"
|
|
1436
1469
|
},
|
|
1437
|
-
"
|
|
1438
|
-
"description": "
|
|
1439
|
-
"name": "
|
|
1440
|
-
"hasDynamicHelp": false,
|
|
1441
|
-
"multiple": false,
|
|
1442
|
-
"type": "option"
|
|
1443
|
-
},
|
|
1444
|
-
"storefront-select": {
|
|
1445
|
-
"description": "prompt to select a storefront to preview and push theme files to",
|
|
1446
|
-
"name": "storefront-select",
|
|
1470
|
+
"bundle": {
|
|
1471
|
+
"description": "bundle assets",
|
|
1472
|
+
"name": "bundle",
|
|
1447
1473
|
"allowNo": false,
|
|
1448
1474
|
"type": "boolean"
|
|
1449
1475
|
},
|
|
@@ -1453,17 +1479,24 @@
|
|
|
1453
1479
|
"allowNo": false,
|
|
1454
1480
|
"type": "boolean"
|
|
1455
1481
|
},
|
|
1456
|
-
"bundle": {
|
|
1457
|
-
"description": "bundle assets",
|
|
1458
|
-
"name": "bundle",
|
|
1459
|
-
"allowNo": false,
|
|
1460
|
-
"type": "boolean"
|
|
1461
|
-
},
|
|
1462
1482
|
"no-push": {
|
|
1463
1483
|
"description": "skip pushing theme files initially",
|
|
1464
1484
|
"name": "no-push",
|
|
1465
1485
|
"allowNo": false,
|
|
1466
1486
|
"type": "boolean"
|
|
1487
|
+
},
|
|
1488
|
+
"storefront-id": {
|
|
1489
|
+
"description": "identify a storefront to preview and push theme files to",
|
|
1490
|
+
"name": "storefront-id",
|
|
1491
|
+
"hasDynamicHelp": false,
|
|
1492
|
+
"multiple": false,
|
|
1493
|
+
"type": "option"
|
|
1494
|
+
},
|
|
1495
|
+
"storefront-select": {
|
|
1496
|
+
"description": "prompt to select a storefront to preview and push theme files to",
|
|
1497
|
+
"name": "storefront-select",
|
|
1498
|
+
"allowNo": false,
|
|
1499
|
+
"type": "boolean"
|
|
1467
1500
|
}
|
|
1468
1501
|
},
|
|
1469
1502
|
"hasDynamicHelp": false,
|
|
@@ -1506,13 +1539,6 @@
|
|
|
1506
1539
|
}
|
|
1507
1540
|
],
|
|
1508
1541
|
"flags": {
|
|
1509
|
-
"yes": {
|
|
1510
|
-
"char": "y",
|
|
1511
|
-
"description": "accept all default values",
|
|
1512
|
-
"name": "yes",
|
|
1513
|
-
"allowNo": false,
|
|
1514
|
-
"type": "boolean"
|
|
1515
|
-
},
|
|
1516
1542
|
"frontend": {
|
|
1517
1543
|
"description": "create a starter framework for a hosted frontend",
|
|
1518
1544
|
"name": "frontend",
|
|
@@ -1530,6 +1556,13 @@
|
|
|
1530
1556
|
"hasDynamicHelp": false,
|
|
1531
1557
|
"multiple": false,
|
|
1532
1558
|
"type": "option"
|
|
1559
|
+
},
|
|
1560
|
+
"yes": {
|
|
1561
|
+
"char": "y",
|
|
1562
|
+
"description": "accept all default values",
|
|
1563
|
+
"name": "yes",
|
|
1564
|
+
"allowNo": false,
|
|
1565
|
+
"type": "boolean"
|
|
1533
1566
|
}
|
|
1534
1567
|
},
|
|
1535
1568
|
"hasDynamicHelp": false,
|
|
@@ -1578,11 +1611,12 @@
|
|
|
1578
1611
|
"allowNo": false,
|
|
1579
1612
|
"type": "boolean"
|
|
1580
1613
|
},
|
|
1581
|
-
"
|
|
1582
|
-
"description": "
|
|
1583
|
-
"name": "
|
|
1584
|
-
"
|
|
1585
|
-
"
|
|
1614
|
+
"storefront-id": {
|
|
1615
|
+
"description": "identify a storefront to pull theme files from",
|
|
1616
|
+
"name": "storefront-id",
|
|
1617
|
+
"hasDynamicHelp": false,
|
|
1618
|
+
"multiple": false,
|
|
1619
|
+
"type": "option"
|
|
1586
1620
|
},
|
|
1587
1621
|
"storefront-select": {
|
|
1588
1622
|
"description": "prompt to select a storefront to pull theme files to",
|
|
@@ -1590,12 +1624,11 @@
|
|
|
1590
1624
|
"allowNo": false,
|
|
1591
1625
|
"type": "boolean"
|
|
1592
1626
|
},
|
|
1593
|
-
"
|
|
1594
|
-
"description": "
|
|
1595
|
-
"name": "
|
|
1596
|
-
"
|
|
1597
|
-
"
|
|
1598
|
-
"type": "option"
|
|
1627
|
+
"sync-app": {
|
|
1628
|
+
"description": "pull app files in addition to theme files to",
|
|
1629
|
+
"name": "sync-app",
|
|
1630
|
+
"allowNo": false,
|
|
1631
|
+
"type": "boolean"
|
|
1599
1632
|
}
|
|
1600
1633
|
},
|
|
1601
1634
|
"hasDynamicHelp": false,
|
|
@@ -1612,8 +1645,8 @@
|
|
|
1612
1645
|
"theme",
|
|
1613
1646
|
"pull.js"
|
|
1614
1647
|
],
|
|
1615
|
-
"
|
|
1616
|
-
"
|
|
1648
|
+
"delayOrientation": true,
|
|
1649
|
+
"orientation": {}
|
|
1617
1650
|
},
|
|
1618
1651
|
"theme:push": {
|
|
1619
1652
|
"aliases": [],
|
|
@@ -1640,11 +1673,12 @@
|
|
|
1640
1673
|
"allowNo": false,
|
|
1641
1674
|
"type": "boolean"
|
|
1642
1675
|
},
|
|
1643
|
-
"
|
|
1644
|
-
"description": "
|
|
1645
|
-
"name": "
|
|
1646
|
-
"
|
|
1647
|
-
"
|
|
1676
|
+
"storefront-id": {
|
|
1677
|
+
"description": "identify a storefront to push theme files to",
|
|
1678
|
+
"name": "storefront-id",
|
|
1679
|
+
"hasDynamicHelp": false,
|
|
1680
|
+
"multiple": false,
|
|
1681
|
+
"type": "option"
|
|
1648
1682
|
},
|
|
1649
1683
|
"storefront-select": {
|
|
1650
1684
|
"description": "prompt to select a storefront to push theme files to",
|
|
@@ -1652,12 +1686,11 @@
|
|
|
1652
1686
|
"allowNo": false,
|
|
1653
1687
|
"type": "boolean"
|
|
1654
1688
|
},
|
|
1655
|
-
"
|
|
1656
|
-
"description": "
|
|
1657
|
-
"name": "
|
|
1658
|
-
"
|
|
1659
|
-
"
|
|
1660
|
-
"type": "option"
|
|
1689
|
+
"sync-app": {
|
|
1690
|
+
"description": "push app files in addition to theme files",
|
|
1691
|
+
"name": "sync-app",
|
|
1692
|
+
"allowNo": false,
|
|
1693
|
+
"type": "boolean"
|
|
1661
1694
|
}
|
|
1662
1695
|
},
|
|
1663
1696
|
"hasDynamicHelp": false,
|
|
@@ -1667,8 +1700,8 @@
|
|
|
1667
1700
|
"pluginName": "@swell/cli",
|
|
1668
1701
|
"pluginType": "core",
|
|
1669
1702
|
"summary": "Push local files to your Swell theme.",
|
|
1670
|
-
"orientation": {},
|
|
1671
1703
|
"delayOrientation": true,
|
|
1704
|
+
"orientation": {},
|
|
1672
1705
|
"isESM": true,
|
|
1673
1706
|
"relativePath": [
|
|
1674
1707
|
"dist",
|
|
@@ -1753,6 +1786,12 @@
|
|
|
1753
1786
|
"multiple": false,
|
|
1754
1787
|
"type": "option"
|
|
1755
1788
|
},
|
|
1789
|
+
"no-push": {
|
|
1790
|
+
"description": "skip pushing app files initially",
|
|
1791
|
+
"name": "no-push",
|
|
1792
|
+
"allowNo": false,
|
|
1793
|
+
"type": "boolean"
|
|
1794
|
+
},
|
|
1756
1795
|
"port": {
|
|
1757
1796
|
"char": "p",
|
|
1758
1797
|
"description": "override the default port to run the app locally",
|
|
@@ -1761,12 +1800,6 @@
|
|
|
1761
1800
|
"multiple": false,
|
|
1762
1801
|
"type": "option"
|
|
1763
1802
|
},
|
|
1764
|
-
"no-push": {
|
|
1765
|
-
"description": "skip pushing app files initially",
|
|
1766
|
-
"name": "no-push",
|
|
1767
|
-
"allowNo": false,
|
|
1768
|
-
"type": "boolean"
|
|
1769
|
-
},
|
|
1770
1803
|
"storefront-id": {
|
|
1771
1804
|
"description": "identify a storefront to preview with and push theme files to",
|
|
1772
1805
|
"name": "storefront-id",
|
|
@@ -1802,5 +1835,5 @@
|
|
|
1802
1835
|
]
|
|
1803
1836
|
}
|
|
1804
1837
|
},
|
|
1805
|
-
"version": "2.0.1-alpha.
|
|
1838
|
+
"version": "2.0.1-alpha.18"
|
|
1806
1839
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swell/cli",
|
|
3
|
-
"version": "2.0.1-alpha.
|
|
3
|
+
"version": "2.0.1-alpha.18",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Swell's command line interface/utility",
|
|
6
6
|
"keywords": [
|
|
@@ -100,6 +100,7 @@
|
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
102
|
"scripts": {
|
|
103
|
+
"preinstall": "npm i -g ts-node",
|
|
103
104
|
"build": "shx rm -rf dist && shx rm -f tsconfig.tsbuildinfo && tsc -b",
|
|
104
105
|
"lint": "eslint . --ext .ts --config .eslintrc",
|
|
105
106
|
"postpack": "shx rm -f oclif.manifest.json",
|