@wix/create-app 0.0.148 → 0.0.150

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/build/index.js CHANGED
@@ -72425,6 +72425,7 @@ var Platform;
72425
72425
  Platform2["EditorSettings"] = "editor:settings";
72426
72426
  Platform2["Mobile"] = "mobile";
72427
72427
  Platform2["Standards"] = "standards";
72428
+ Platform2["DevPortal"] = "dev-portal";
72428
72429
  })(Platform || (Platform = {}));
72429
72430
  var ErrorSeverity;
72430
72431
  (function(ErrorSeverity2) {
@@ -73667,7 +73668,7 @@ function reportCommandStartEvent({
73667
73668
  var package_default = {
73668
73669
  name: "@wix/create-app",
73669
73670
  description: "Create Wix apps",
73670
- version: "0.0.148",
73671
+ version: "0.0.150",
73671
73672
  author: "Ihor Machuzhak",
73672
73673
  bin: "bin/index.cjs",
73673
73674
  devDependencies: {
@@ -75490,20 +75491,23 @@ async function gitCommit(cwd3) {
75490
75491
  { cwd: cwd3 }
75491
75492
  );
75492
75493
  }
75493
- async function gitClone(url2, path8) {
75494
- await runCommand(`git clone --depth 1 ${url2} ${path8}`, {
75495
- env: {
75496
- /*
75497
- * This is to prevent git from prompting for credentials.
75498
- * `git clone` uses a subprocess for the authentication, so we can't attach the main process to its stdio.
75499
- * This leads to:
75500
- * - the spinners "swallow" its output.
75501
- * - after answering with the username and pressing "Enter", the first line of the output is being duplicated.
75502
- * That's why we're disabling the prompt, so user should be pre-authenticated.
75503
- */
75504
- GIT_TERMINAL_PROMPT: "0"
75494
+ async function gitClone(url2, path8, branch) {
75495
+ await runCommand(
75496
+ `git clone --depth 1 ${branch ? `-b ${branch}` : ""} ${url2} ${path8}`,
75497
+ {
75498
+ env: {
75499
+ /*
75500
+ * This is to prevent git from prompting for credentials.
75501
+ * `git clone` uses a subprocess for the authentication, so we can't attach the main process to its stdio.
75502
+ * This leads to:
75503
+ * - the spinners "swallow" its output.
75504
+ * - after answering with the username and pressing "Enter", the first line of the output is being duplicated.
75505
+ * That's why we're disabling the prompt, so user should be pre-authenticated.
75506
+ */
75507
+ GIT_TERMINAL_PROMPT: "0"
75508
+ }
75505
75509
  }
75506
- });
75510
+ );
75507
75511
  }
75508
75512
 
75509
75513
  // ../package-manager/src/repo-type.ts
@@ -79371,6 +79375,7 @@ var ComponentType;
79371
79375
  ComponentType3["WIX_AI_GATEWAY_CALLBACK"] = "WIX_AI_GATEWAY_CALLBACK";
79372
79376
  ComponentType3["URL_MAPPER_PROVIDER"] = "URL_MAPPER_PROVIDER";
79373
79377
  ComponentType3["PROVIDER_SUPPRESSION_SERVICE_PLUGIN"] = "PROVIDER_SUPPRESSION_SERVICE_PLUGIN";
79378
+ ComponentType3["ECOM_FORMS"] = "ECOM_FORMS";
79374
79379
  })(ComponentType || (ComponentType = {}));
79375
79380
  var WidgetVertical;
79376
79381
  (function(WidgetVertical3) {
@@ -80089,6 +80094,7 @@ var DecorationType;
80089
80094
  DecorationType3["STRIKETHROUGH"] = "STRIKETHROUGH";
80090
80095
  DecorationType3["SUPERSCRIPT"] = "SUPERSCRIPT";
80091
80096
  DecorationType3["SUBSCRIPT"] = "SUBSCRIPT";
80097
+ DecorationType3["FONT_FAMILY"] = "FONT_FAMILY";
80092
80098
  })(DecorationType || (DecorationType = {}));
80093
80099
  var FontType;
80094
80100
  (function(FontType3) {
@@ -80192,6 +80198,7 @@ var TestEnum;
80192
80198
  (function(TestEnum3) {
80193
80199
  TestEnum3["UNKNOWN_TEST_ENUM"] = "UNKNOWN_TEST_ENUM";
80194
80200
  TestEnum3["FIRST_TEST"] = "FIRST_TEST";
80201
+ TestEnum3["SECOND_TEST"] = "SECOND_TEST";
80195
80202
  })(TestEnum || (TestEnum = {}));
80196
80203
  var CalendarType;
80197
80204
  (function(CalendarType3) {
@@ -81664,9 +81671,12 @@ var TimeConstraintType;
81664
81671
  TimeConstraintType3["LAST_DAYS"] = "LAST_DAYS";
81665
81672
  TimeConstraintType3["NEXT_DAYS"] = "NEXT_DAYS";
81666
81673
  TimeConstraintType3["BETWEEN"] = "BETWEEN";
81674
+ TimeConstraintType3["TODAY"] = "TODAY";
81667
81675
  TimeConstraintType3["THIS_MONTH"] = "THIS_MONTH";
81668
81676
  TimeConstraintType3["ON_OR_AFTER"] = "ON_OR_AFTER";
81669
81677
  TimeConstraintType3["ON_OR_BEFORE"] = "ON_OR_BEFORE";
81678
+ TimeConstraintType3["LAST_MONTHS"] = "LAST_MONTHS";
81679
+ TimeConstraintType3["NEXT_MONTHS"] = "NEXT_MONTHS";
81670
81680
  })(TimeConstraintType || (TimeConstraintType = {}));
81671
81681
  var ValueConstraintType;
81672
81682
  (function(ValueConstraintType3) {
@@ -81711,6 +81721,7 @@ var AssetType;
81711
81721
  AssetType3["RICOS"] = "RICOS";
81712
81722
  AssetType3["DOC"] = "DOC";
81713
81723
  AssetType3["SLIDE"] = "SLIDE";
81724
+ AssetType3["WIDGET"] = "WIDGET";
81714
81725
  })(AssetType || (AssetType = {}));
81715
81726
  var SaleType;
81716
81727
  (function(SaleType2) {
@@ -82155,6 +82166,7 @@ var ComponentType2;
82155
82166
  ComponentType3["WIX_AI_GATEWAY_CALLBACK"] = "WIX_AI_GATEWAY_CALLBACK";
82156
82167
  ComponentType3["URL_MAPPER_PROVIDER"] = "URL_MAPPER_PROVIDER";
82157
82168
  ComponentType3["PROVIDER_SUPPRESSION_SERVICE_PLUGIN"] = "PROVIDER_SUPPRESSION_SERVICE_PLUGIN";
82169
+ ComponentType3["ECOM_FORMS"] = "ECOM_FORMS";
82158
82170
  })(ComponentType2 || (ComponentType2 = {}));
82159
82171
  var WidgetVertical2;
82160
82172
  (function(WidgetVertical3) {
@@ -82873,6 +82885,7 @@ var DecorationType2;
82873
82885
  DecorationType3["STRIKETHROUGH"] = "STRIKETHROUGH";
82874
82886
  DecorationType3["SUPERSCRIPT"] = "SUPERSCRIPT";
82875
82887
  DecorationType3["SUBSCRIPT"] = "SUBSCRIPT";
82888
+ DecorationType3["FONT_FAMILY"] = "FONT_FAMILY";
82876
82889
  })(DecorationType2 || (DecorationType2 = {}));
82877
82890
  var FontType2;
82878
82891
  (function(FontType3) {
@@ -82976,6 +82989,7 @@ var TestEnum2;
82976
82989
  (function(TestEnum3) {
82977
82990
  TestEnum3["UNKNOWN_TEST_ENUM"] = "UNKNOWN_TEST_ENUM";
82978
82991
  TestEnum3["FIRST_TEST"] = "FIRST_TEST";
82992
+ TestEnum3["SECOND_TEST"] = "SECOND_TEST";
82979
82993
  })(TestEnum2 || (TestEnum2 = {}));
82980
82994
  var CalendarType2;
82981
82995
  (function(CalendarType3) {
@@ -84448,9 +84462,12 @@ var TimeConstraintType2;
84448
84462
  TimeConstraintType3["LAST_DAYS"] = "LAST_DAYS";
84449
84463
  TimeConstraintType3["NEXT_DAYS"] = "NEXT_DAYS";
84450
84464
  TimeConstraintType3["BETWEEN"] = "BETWEEN";
84465
+ TimeConstraintType3["TODAY"] = "TODAY";
84451
84466
  TimeConstraintType3["THIS_MONTH"] = "THIS_MONTH";
84452
84467
  TimeConstraintType3["ON_OR_AFTER"] = "ON_OR_AFTER";
84453
84468
  TimeConstraintType3["ON_OR_BEFORE"] = "ON_OR_BEFORE";
84469
+ TimeConstraintType3["LAST_MONTHS"] = "LAST_MONTHS";
84470
+ TimeConstraintType3["NEXT_MONTHS"] = "NEXT_MONTHS";
84454
84471
  })(TimeConstraintType2 || (TimeConstraintType2 = {}));
84455
84472
  var ValueConstraintType2;
84456
84473
  (function(ValueConstraintType3) {
@@ -84495,6 +84512,7 @@ var AssetType2;
84495
84512
  AssetType3["RICOS"] = "RICOS";
84496
84513
  AssetType3["DOC"] = "DOC";
84497
84514
  AssetType3["SLIDE"] = "SLIDE";
84515
+ AssetType3["WIDGET"] = "WIDGET";
84498
84516
  })(AssetType2 || (AssetType2 = {}));
84499
84517
  var OpenConsentIn2;
84500
84518
  (function(OpenConsentIn3) {