@wix/create-app 0.0.230 → 0.0.232
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/{chunk-OJBASFIA.js → chunk-BLZB3Y74.js} +38 -3
- package/build/chunk-BLZB3Y74.js.map +1 -0
- package/build/{generator-NICF3ZGF.js → generator-LCJUKG2D.js} +2 -2
- package/build/index.js +24 -3
- package/build/index.js.map +1 -1
- package/package.json +2 -2
- package/build/chunk-OJBASFIA.js.map +0 -1
- /package/build/{generator-NICF3ZGF.js.map → generator-LCJUKG2D.js.map} +0 -0
|
@@ -14574,12 +14574,45 @@ function setupTestEnv() {
|
|
|
14574
14574
|
// ../cli-error/src/cli-error.ts
|
|
14575
14575
|
init_esm_shims();
|
|
14576
14576
|
var import_verror = __toESM(require_verror(), 1);
|
|
14577
|
+
|
|
14578
|
+
// ../cli-error/src/stringify-error.ts
|
|
14579
|
+
init_esm_shims();
|
|
14580
|
+
import { inspect } from "node:util";
|
|
14581
|
+
var UNPRINTABLE_ERROR = "<unprintable error>";
|
|
14582
|
+
function stringifyError(error) {
|
|
14583
|
+
try {
|
|
14584
|
+
if (error instanceof Error && typeof error.stack === "string") {
|
|
14585
|
+
return error.stack;
|
|
14586
|
+
}
|
|
14587
|
+
} catch {
|
|
14588
|
+
}
|
|
14589
|
+
if (typeof error === "string") {
|
|
14590
|
+
return error;
|
|
14591
|
+
}
|
|
14592
|
+
try {
|
|
14593
|
+
return inspect(error, {
|
|
14594
|
+
customInspect: false,
|
|
14595
|
+
getters: false,
|
|
14596
|
+
depth: 5
|
|
14597
|
+
});
|
|
14598
|
+
} catch {
|
|
14599
|
+
return UNPRINTABLE_ERROR;
|
|
14600
|
+
}
|
|
14601
|
+
}
|
|
14602
|
+
|
|
14603
|
+
// ../cli-error/src/cli-error.ts
|
|
14577
14604
|
var { WError } = import_verror.default;
|
|
14578
14605
|
function getNormalizedCause(cause) {
|
|
14579
14606
|
if (cause == null) {
|
|
14580
14607
|
return;
|
|
14581
14608
|
}
|
|
14582
|
-
|
|
14609
|
+
try {
|
|
14610
|
+
if (cause instanceof Error) {
|
|
14611
|
+
return cause;
|
|
14612
|
+
}
|
|
14613
|
+
} catch {
|
|
14614
|
+
}
|
|
14615
|
+
return new Error(stringifyError(cause));
|
|
14583
14616
|
}
|
|
14584
14617
|
var CliError = class extends WError {
|
|
14585
14618
|
cliCode;
|
|
@@ -14734,7 +14767,8 @@ var CliSystemErrorCode = (0, import_variant.variant)({
|
|
|
14734
14767
|
FailedToInitGitHubRepository: (0, import_variant.fields)(),
|
|
14735
14768
|
FailedToGenerateExtensionConfig: (0, import_variant.fields)(),
|
|
14736
14769
|
FailedToCreateCompanionApp: {},
|
|
14737
|
-
PluginHandlerFailed: (0, import_variant.fields)()
|
|
14770
|
+
PluginHandlerFailed: (0, import_variant.fields)(),
|
|
14771
|
+
InvalidExtensionsBuildMetadata: {}
|
|
14738
14772
|
});
|
|
14739
14773
|
var CliUserErrorCode = (0, import_variant.variant)({
|
|
14740
14774
|
LatestVersionOfCreateAppRequired: (0, import_variant.fields)(),
|
|
@@ -14784,6 +14818,7 @@ var CliUserErrorCode = (0, import_variant.variant)({
|
|
|
14784
14818
|
FailedToSaveDevelopmentSite: (0, import_variant.fields)(),
|
|
14785
14819
|
FailedToBuildApp: {},
|
|
14786
14820
|
FailedToBuildAstroApp: {},
|
|
14821
|
+
FailedToBuildExtensionsApp: {},
|
|
14787
14822
|
FailedToInitializeGitRepo: {},
|
|
14788
14823
|
FailedToInstallDependencies: {},
|
|
14789
14824
|
FailedToCommitChanges: {},
|
|
@@ -17600,4 +17635,4 @@ queue-microtask/index.js:
|
|
|
17600
17635
|
run-parallel/index.js:
|
|
17601
17636
|
(*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
17602
17637
|
*/
|
|
17603
|
-
//# sourceMappingURL=chunk-
|
|
17638
|
+
//# sourceMappingURL=chunk-BLZB3Y74.js.map
|