@wix/create-app 0.0.123 → 0.0.124
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 +112 -13
- package/build/index.js.map +1 -1
- package/package.json +3 -3
package/build/index.js
CHANGED
|
@@ -58110,7 +58110,8 @@ var CliUserErrorCode = (0, import_variant11.variant)({
|
|
|
58110
58110
|
FailedToSyncVeloCLIServerDocumentUpdate: {},
|
|
58111
58111
|
AppReleaseConfigViolations: (0, import_variant11.fields)(),
|
|
58112
58112
|
ProjectIsAlreadyLinked: {},
|
|
58113
|
-
ProjectIsNotLinkable: {}
|
|
58113
|
+
ProjectIsNotLinkable: {},
|
|
58114
|
+
MissingPresetCssForSiteComponent: (0, import_variant11.fields)()
|
|
58114
58115
|
});
|
|
58115
58116
|
var CliErrorCode = (0, import_variant11.variant)({
|
|
58116
58117
|
...CliSystemErrorCode,
|
|
@@ -68722,6 +68723,14 @@ ${errorMessage2}`
|
|
|
68722
68723
|
},
|
|
68723
68724
|
ProjectIsNotLinkable: () => {
|
|
68724
68725
|
return () => /* @__PURE__ */ import_react77.default.createElement(ErrorMessage, { message: "Only Astro projects can be linked to Wix. The current project is missing an Astro configuration file." });
|
|
68726
|
+
},
|
|
68727
|
+
MissingPresetCssForSiteComponent: ({ componentId, presetName }) => {
|
|
68728
|
+
return () => /* @__PURE__ */ import_react77.default.createElement(
|
|
68729
|
+
ErrorMessage,
|
|
68730
|
+
{
|
|
68731
|
+
message: `Site component "${componentId}" is missing preset CSS file for the preset key "${presetName}".`
|
|
68732
|
+
}
|
|
68733
|
+
);
|
|
68725
68734
|
}
|
|
68726
68735
|
});
|
|
68727
68736
|
}
|
|
@@ -71402,13 +71411,13 @@ var reportError = (scope, originalError, { data } = {}) => {
|
|
|
71402
71411
|
captureContext: (localScope) => {
|
|
71403
71412
|
const httpError = extractHttpError(error);
|
|
71404
71413
|
if (httpError) {
|
|
71405
|
-
localScope.setTag("
|
|
71406
|
-
localScope.setContext("
|
|
71414
|
+
localScope.setTag("request.id", httpError.requestId);
|
|
71415
|
+
localScope.setContext("Request Info", getHttpErrorInfo(httpError));
|
|
71407
71416
|
}
|
|
71408
71417
|
if (error instanceof Error) {
|
|
71409
|
-
localScope.setContext("
|
|
71410
|
-
|
|
71411
|
-
|
|
71418
|
+
localScope.setContext("Error Details", {
|
|
71419
|
+
Info: import_verror5.default.info(error),
|
|
71420
|
+
"Full Stack": import_verror5.default.fullStack(error)
|
|
71412
71421
|
});
|
|
71413
71422
|
}
|
|
71414
71423
|
localScope.setTag("ci", yesOrNo(import_ci_info.default.isCI));
|
|
@@ -72257,7 +72266,7 @@ function reportCommandStartEvent({
|
|
|
72257
72266
|
var package_default = {
|
|
72258
72267
|
name: "@wix/create-app",
|
|
72259
72268
|
description: "Create Wix apps",
|
|
72260
|
-
version: "0.0.
|
|
72269
|
+
version: "0.0.124",
|
|
72261
72270
|
author: "Ihor Machuzhak",
|
|
72262
72271
|
bin: "bin/index.cjs",
|
|
72263
72272
|
devDependencies: {
|
|
@@ -72267,7 +72276,7 @@ var package_default = {
|
|
|
72267
72276
|
"@types/react": "^18.3.3",
|
|
72268
72277
|
"@types/semver": "^7.5.8",
|
|
72269
72278
|
"@types/validate-npm-package-name": "^4.0.2",
|
|
72270
|
-
"@wix/bi-logger-dev-tools-data": "^1.
|
|
72279
|
+
"@wix/bi-logger-dev-tools-data": "^1.114.0",
|
|
72271
72280
|
"@wix/cli-auth": "workspace:*",
|
|
72272
72281
|
"@wix/cli-error": "workspace:*",
|
|
72273
72282
|
"@wix/cli-error-reporting": "workspace:*",
|
|
@@ -77859,6 +77868,7 @@ var ComponentType;
|
|
|
77859
77868
|
ComponentType3["VIEWER_SERVICE"] = "VIEWER_SERVICE";
|
|
77860
77869
|
ComponentType3["WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN"] = "WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN";
|
|
77861
77870
|
ComponentType3["CONTACTS_SEGMENTS_V2_FILTER_PROVIDER"] = "CONTACTS_SEGMENTS_V2_FILTER_PROVIDER";
|
|
77871
|
+
ComponentType3["ANALYTICS_PRODUCT_CATALOG"] = "ANALYTICS_PRODUCT_CATALOG";
|
|
77862
77872
|
})(ComponentType || (ComponentType = {}));
|
|
77863
77873
|
var WidgetVertical;
|
|
77864
77874
|
(function(WidgetVertical3) {
|
|
@@ -78251,6 +78261,7 @@ var Tag;
|
|
|
78251
78261
|
Tag3["ECOM_DELIVERY_PROFILES"] = "ECOM_DELIVERY_PROFILES";
|
|
78252
78262
|
Tag3["ADD_TO_CATEGORY"] = "ADD_TO_CATEGORY";
|
|
78253
78263
|
Tag3["MY_BUSINESS"] = "MY_BUSINESS";
|
|
78264
|
+
Tag3["PIPELINE_LINKED_ENTITY"] = "PIPELINE_LINKED_ENTITY";
|
|
78254
78265
|
})(Tag || (Tag = {}));
|
|
78255
78266
|
var FilterSelectionType;
|
|
78256
78267
|
(function(FilterSelectionType3) {
|
|
@@ -78511,6 +78522,43 @@ var FontType;
|
|
|
78511
78522
|
FontType3["PX"] = "PX";
|
|
78512
78523
|
FontType3["EM"] = "EM";
|
|
78513
78524
|
})(FontType || (FontType = {}));
|
|
78525
|
+
var ImageStylesPosition;
|
|
78526
|
+
(function(ImageStylesPosition3) {
|
|
78527
|
+
ImageStylesPosition3["START"] = "START";
|
|
78528
|
+
ImageStylesPosition3["END"] = "END";
|
|
78529
|
+
ImageStylesPosition3["TOP"] = "TOP";
|
|
78530
|
+
})(ImageStylesPosition || (ImageStylesPosition = {}));
|
|
78531
|
+
var AspectRatio;
|
|
78532
|
+
(function(AspectRatio3) {
|
|
78533
|
+
AspectRatio3["SQUARE"] = "SQUARE";
|
|
78534
|
+
AspectRatio3["RECTANGLE"] = "RECTANGLE";
|
|
78535
|
+
})(AspectRatio || (AspectRatio = {}));
|
|
78536
|
+
var Resizing;
|
|
78537
|
+
(function(Resizing3) {
|
|
78538
|
+
Resizing3["FILL"] = "FILL";
|
|
78539
|
+
Resizing3["FIT"] = "FIT";
|
|
78540
|
+
})(Resizing || (Resizing = {}));
|
|
78541
|
+
var Placement;
|
|
78542
|
+
(function(Placement3) {
|
|
78543
|
+
Placement3["IMAGE"] = "IMAGE";
|
|
78544
|
+
Placement3["PRODUCT_INFO"] = "PRODUCT_INFO";
|
|
78545
|
+
})(Placement || (Placement = {}));
|
|
78546
|
+
var CardStylesType;
|
|
78547
|
+
(function(CardStylesType3) {
|
|
78548
|
+
CardStylesType3["CONTAINED"] = "CONTAINED";
|
|
78549
|
+
CardStylesType3["FRAMELESS"] = "FRAMELESS";
|
|
78550
|
+
})(CardStylesType || (CardStylesType = {}));
|
|
78551
|
+
var CardStylesAlignment;
|
|
78552
|
+
(function(CardStylesAlignment3) {
|
|
78553
|
+
CardStylesAlignment3["START"] = "START";
|
|
78554
|
+
CardStylesAlignment3["CENTER"] = "CENTER";
|
|
78555
|
+
CardStylesAlignment3["END"] = "END";
|
|
78556
|
+
})(CardStylesAlignment || (CardStylesAlignment = {}));
|
|
78557
|
+
var CardStylesLayout;
|
|
78558
|
+
(function(CardStylesLayout3) {
|
|
78559
|
+
CardStylesLayout3["STACKED"] = "STACKED";
|
|
78560
|
+
CardStylesLayout3["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
|
|
78561
|
+
})(CardStylesLayout || (CardStylesLayout = {}));
|
|
78514
78562
|
var AppType;
|
|
78515
78563
|
(function(AppType4) {
|
|
78516
78564
|
AppType4["PRODUCT"] = "PRODUCT";
|
|
@@ -79524,6 +79572,11 @@ var InteractionsTrigger;
|
|
|
79524
79572
|
InteractionsTrigger3["pointerMove"] = "pointerMove";
|
|
79525
79573
|
InteractionsTrigger3["animationEnd"] = "animationEnd";
|
|
79526
79574
|
})(InteractionsTrigger || (InteractionsTrigger = {}));
|
|
79575
|
+
var EffectGroup;
|
|
79576
|
+
(function(EffectGroup3) {
|
|
79577
|
+
EffectGroup3["UNKNOWN_EFFECT_GROUP"] = "UNKNOWN_EFFECT_GROUP";
|
|
79578
|
+
EffectGroup3["background"] = "background";
|
|
79579
|
+
})(EffectGroup || (EffectGroup = {}));
|
|
79527
79580
|
var RestrictionLevel;
|
|
79528
79581
|
(function(RestrictionLevel3) {
|
|
79529
79582
|
RestrictionLevel3["UNKNOWN_RESTRICTION_TYPE"] = "UNKNOWN_RESTRICTION_TYPE";
|
|
@@ -79923,6 +79976,7 @@ var ComponentType2;
|
|
|
79923
79976
|
ComponentType3["VIEWER_SERVICE"] = "VIEWER_SERVICE";
|
|
79924
79977
|
ComponentType3["WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN"] = "WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN";
|
|
79925
79978
|
ComponentType3["CONTACTS_SEGMENTS_V2_FILTER_PROVIDER"] = "CONTACTS_SEGMENTS_V2_FILTER_PROVIDER";
|
|
79979
|
+
ComponentType3["ANALYTICS_PRODUCT_CATALOG"] = "ANALYTICS_PRODUCT_CATALOG";
|
|
79926
79980
|
})(ComponentType2 || (ComponentType2 = {}));
|
|
79927
79981
|
var WidgetVertical2;
|
|
79928
79982
|
(function(WidgetVertical3) {
|
|
@@ -80315,6 +80369,7 @@ var Tag2;
|
|
|
80315
80369
|
Tag3["ECOM_DELIVERY_PROFILES"] = "ECOM_DELIVERY_PROFILES";
|
|
80316
80370
|
Tag3["ADD_TO_CATEGORY"] = "ADD_TO_CATEGORY";
|
|
80317
80371
|
Tag3["MY_BUSINESS"] = "MY_BUSINESS";
|
|
80372
|
+
Tag3["PIPELINE_LINKED_ENTITY"] = "PIPELINE_LINKED_ENTITY";
|
|
80318
80373
|
})(Tag2 || (Tag2 = {}));
|
|
80319
80374
|
var FilterSelectionType2;
|
|
80320
80375
|
(function(FilterSelectionType3) {
|
|
@@ -80575,6 +80630,43 @@ var FontType2;
|
|
|
80575
80630
|
FontType3["PX"] = "PX";
|
|
80576
80631
|
FontType3["EM"] = "EM";
|
|
80577
80632
|
})(FontType2 || (FontType2 = {}));
|
|
80633
|
+
var ImageStylesPosition2;
|
|
80634
|
+
(function(ImageStylesPosition3) {
|
|
80635
|
+
ImageStylesPosition3["START"] = "START";
|
|
80636
|
+
ImageStylesPosition3["END"] = "END";
|
|
80637
|
+
ImageStylesPosition3["TOP"] = "TOP";
|
|
80638
|
+
})(ImageStylesPosition2 || (ImageStylesPosition2 = {}));
|
|
80639
|
+
var AspectRatio2;
|
|
80640
|
+
(function(AspectRatio3) {
|
|
80641
|
+
AspectRatio3["SQUARE"] = "SQUARE";
|
|
80642
|
+
AspectRatio3["RECTANGLE"] = "RECTANGLE";
|
|
80643
|
+
})(AspectRatio2 || (AspectRatio2 = {}));
|
|
80644
|
+
var Resizing2;
|
|
80645
|
+
(function(Resizing3) {
|
|
80646
|
+
Resizing3["FILL"] = "FILL";
|
|
80647
|
+
Resizing3["FIT"] = "FIT";
|
|
80648
|
+
})(Resizing2 || (Resizing2 = {}));
|
|
80649
|
+
var Placement2;
|
|
80650
|
+
(function(Placement3) {
|
|
80651
|
+
Placement3["IMAGE"] = "IMAGE";
|
|
80652
|
+
Placement3["PRODUCT_INFO"] = "PRODUCT_INFO";
|
|
80653
|
+
})(Placement2 || (Placement2 = {}));
|
|
80654
|
+
var CardStylesType2;
|
|
80655
|
+
(function(CardStylesType3) {
|
|
80656
|
+
CardStylesType3["CONTAINED"] = "CONTAINED";
|
|
80657
|
+
CardStylesType3["FRAMELESS"] = "FRAMELESS";
|
|
80658
|
+
})(CardStylesType2 || (CardStylesType2 = {}));
|
|
80659
|
+
var CardStylesAlignment2;
|
|
80660
|
+
(function(CardStylesAlignment3) {
|
|
80661
|
+
CardStylesAlignment3["START"] = "START";
|
|
80662
|
+
CardStylesAlignment3["CENTER"] = "CENTER";
|
|
80663
|
+
CardStylesAlignment3["END"] = "END";
|
|
80664
|
+
})(CardStylesAlignment2 || (CardStylesAlignment2 = {}));
|
|
80665
|
+
var CardStylesLayout2;
|
|
80666
|
+
(function(CardStylesLayout3) {
|
|
80667
|
+
CardStylesLayout3["STACKED"] = "STACKED";
|
|
80668
|
+
CardStylesLayout3["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
|
|
80669
|
+
})(CardStylesLayout2 || (CardStylesLayout2 = {}));
|
|
80578
80670
|
var AppType2;
|
|
80579
80671
|
(function(AppType4) {
|
|
80580
80672
|
AppType4["PRODUCT"] = "PRODUCT";
|
|
@@ -81512,6 +81604,7 @@ var ActionName2;
|
|
|
81512
81604
|
ActionName3["manageItems"] = "manageItems";
|
|
81513
81605
|
ActionName3["dashboard"] = "dashboard";
|
|
81514
81606
|
ActionName3["custom"] = "custom";
|
|
81607
|
+
ActionName3["manageMenu"] = "manageMenu";
|
|
81515
81608
|
})(ActionName2 || (ActionName2 = {}));
|
|
81516
81609
|
var SizingType2;
|
|
81517
81610
|
(function(SizingType3) {
|
|
@@ -81588,6 +81681,11 @@ var InteractionsTrigger2;
|
|
|
81588
81681
|
InteractionsTrigger3["pointerMove"] = "pointerMove";
|
|
81589
81682
|
InteractionsTrigger3["animationEnd"] = "animationEnd";
|
|
81590
81683
|
})(InteractionsTrigger2 || (InteractionsTrigger2 = {}));
|
|
81684
|
+
var EffectGroup2;
|
|
81685
|
+
(function(EffectGroup3) {
|
|
81686
|
+
EffectGroup3["UNKNOWN_EFFECT_GROUP"] = "UNKNOWN_EFFECT_GROUP";
|
|
81687
|
+
EffectGroup3["background"] = "background";
|
|
81688
|
+
})(EffectGroup2 || (EffectGroup2 = {}));
|
|
81591
81689
|
var RestrictionLevel2;
|
|
81592
81690
|
(function(RestrictionLevel3) {
|
|
81593
81691
|
RestrictionLevel3["UNKNOWN_RESTRICTION_TYPE"] = "UNKNOWN_RESTRICTION_TYPE";
|
|
@@ -81903,7 +82001,8 @@ var managedAppsSchema = z.object({
|
|
|
81903
82001
|
z.object({
|
|
81904
82002
|
appId: z.string(),
|
|
81905
82003
|
installationDetails: z.object({
|
|
81906
|
-
group: z.nativeEnum(AppGroup)
|
|
82004
|
+
group: z.nativeEnum(AppGroup),
|
|
82005
|
+
incompleteSetupReason: z.nativeEnum(IncompleteSetupReason)
|
|
81907
82006
|
})
|
|
81908
82007
|
})
|
|
81909
82008
|
)
|
|
@@ -82349,7 +82448,7 @@ var DevCenterClient = class {
|
|
|
82349
82448
|
};
|
|
82350
82449
|
isAppInstalledInEditor = async (appId) => {
|
|
82351
82450
|
const installationDetails = await this.getAppInstallationDetails(appId);
|
|
82352
|
-
return installationDetails?.group === AppGroup.INSTALLED;
|
|
82451
|
+
return installationDetails?.group === AppGroup.INSTALLED && installationDetails.incompleteSetupReason !== IncompleteSetupReason.PENDING_EDITOR;
|
|
82353
82452
|
};
|
|
82354
82453
|
};
|
|
82355
82454
|
|
|
@@ -83816,9 +83915,9 @@ var program2 = new Command().name(package_default.name).description("Create Wix
|
|
|
83816
83915
|
"Additional template parameters to be provided to the app template should be formatted as a JSON string. These parameters can be accessed through the templateParams variable."
|
|
83817
83916
|
).argParser(validateTemplateParams).hideHelp()
|
|
83818
83917
|
).version(package_default.version, "-v, --version").action(async (options, command) => {
|
|
83819
|
-
errorReporter.setContext("
|
|
83820
|
-
|
|
83821
|
-
|
|
83918
|
+
errorReporter.setContext("Command Info", {
|
|
83919
|
+
Arguments: command.args,
|
|
83920
|
+
Options: command.opts()
|
|
83822
83921
|
});
|
|
83823
83922
|
const { biLogger, reportCommandStartEvent: reportCommandStartEvent2 } = await createBiLogger2(
|
|
83824
83923
|
errorReporter,
|