@wix/cli-app 1.1.82 → 1.1.83
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/{AddPermissionCommand-SXPAYSAF.js → AddPermissionCommand-5X3K4KUG.js} +2 -2
- package/build/{CreateVersionCommand-CL7JTSHV.js → CreateVersionCommand-XWWXAFOX.js} +3 -3
- package/build/{DevCommand-NKKM4UEH.js → DevCommand-EOEGQX2B.js} +10 -10
- package/build/{GenerateCommand-EK35R76L.js → GenerateCommand-IOFKL3RC.js} +8 -8
- package/build/{LogsCommand-NCV5AKYF.js → LogsCommand-23QQRT3D.js} +3 -3
- package/build/PreviewCommand-FBODGF7Y.js +19 -0
- package/build/ReleaseCommand-SNCMQQXK.js +28 -0
- package/build/{ReleaseCommand-FJKPKE3Y.js.map → ReleaseCommand-SNCMQQXK.js.map} +1 -1
- package/build/ServeCommand-SGREOUDA.js +43 -0
- package/build/ServeCommand-SGREOUDA.js.map +1 -0
- package/build/{build-VSYNDSED.js → build-PYB5PAZO.js} +6 -6
- package/build/{chunk-K4IODCQP.js → chunk-3X2VYRBF.js} +3 -5
- package/build/chunk-3X2VYRBF.js.map +1 -0
- package/build/{chunk-3GSDI3OJ.js → chunk-4PXJSX4C.js} +2 -2
- package/build/{chunk-FGCBIHDS.js → chunk-5TP6T6QK.js} +84 -17
- package/build/chunk-5TP6T6QK.js.map +1 -0
- package/build/{chunk-HR6CTO67.js → chunk-63VDDLLQ.js} +2 -2
- package/build/{chunk-VARU4VGB.js → chunk-AN77SZN2.js} +7 -9
- package/build/{chunk-VARU4VGB.js.map → chunk-AN77SZN2.js.map} +1 -1
- package/build/{chunk-FTEVVMFS.js → chunk-E4UNGBQY.js} +2 -2
- package/build/{chunk-OGO22IKX.js → chunk-GGDJQXOX.js} +3 -3
- package/build/{chunk-KU4PN6UU.js → chunk-KLBXSZ6R.js} +3 -3
- package/build/{chunk-75BL4FR5.js → chunk-QREADZZF.js} +5 -5
- package/build/{chunk-PGKXOCZN.js → chunk-SIJDKP2Q.js} +242 -85
- package/build/chunk-SIJDKP2Q.js.map +1 -0
- package/build/{chunk-3LJH5WAS.js → chunk-TJFERWU7.js} +5 -5
- package/build/{chunk-WBXDIEUS.js → chunk-VB3AXXRP.js} +2 -2
- package/build/{chunk-XDWVTYW3.js → chunk-VLQG5SQF.js} +20 -2
- package/build/{chunk-XDWVTYW3.js.map → chunk-VLQG5SQF.js.map} +1 -1
- package/build/{chunk-5LGI6O3F.js → chunk-WNR36YTI.js} +2 -2
- package/build/{chunk-I2PLZT4A.js → chunk-Y4GJ3NS4.js} +2 -2
- package/build/{chunk-QSLRE7OK.js → chunk-ZCUJ356B.js} +2 -2
- package/build/{chunk-GGQMSU4O.js → chunk-ZLLXHWZF.js} +588 -249
- package/build/{chunk-GGQMSU4O.js.map → chunk-ZLLXHWZF.js.map} +1 -1
- package/build/{chunk-IB2KM2Q7.js → chunk-ZOZ5LJV7.js} +7 -7
- package/build/cloudflare-runtime/entry.js +1 -1
- package/build/cloudflare-runtime/getRegisteredExtensions.js +1 -1
- package/build/index.js +34 -31
- package/build/index.js.map +1 -1
- package/build/platform-sdk/chunk-6NLQHDP6.js +2 -0
- package/build/platform-sdk/chunk-6NLQHDP6.js.map +1 -0
- package/build/platform-sdk/chunk-BGTZ3RNN.js +2 -0
- package/build/platform-sdk/chunk-BGTZ3RNN.js.map +1 -0
- package/build/platform-sdk/{chunk-3WHQP2RD.js → chunk-MM2KVUBI.js} +2 -2
- package/build/platform-sdk/dashboard.js +1 -1
- package/build/platform-sdk/editor.js +1 -1
- package/build/platform-sdk/sdk-context.js +1 -1
- package/build/platform-sdk/sdk-context.js.map +1 -1
- package/build/platform-sdk/site.js +1 -1
- package/build/{preview-CLBQELU3.js → preview-PIFWQKW3.js} +13 -14
- package/build/{preview-CLBQELU3.js.map → preview-PIFWQKW3.js.map} +1 -1
- package/build/{release-VZ2GWJE2.js → release-6Z6LMTRW.js} +15 -16
- package/build/{release-VZ2GWJE2.js.map → release-6Z6LMTRW.js.map} +1 -1
- package/build/{render-command-OT7HQRPA.js → render-command-3G25G5MU.js} +6 -6
- package/package.json +6 -6
- package/build/PreviewCommand-KCCZ4ECQ.js +0 -20
- package/build/ReleaseCommand-FJKPKE3Y.js +0 -29
- package/build/ServeCommand-B4GJL65A.js +0 -169
- package/build/ServeCommand-B4GJL65A.js.map +0 -1
- package/build/chunk-FGCBIHDS.js.map +0 -1
- package/build/chunk-K4IODCQP.js.map +0 -1
- package/build/chunk-PGKXOCZN.js.map +0 -1
- package/build/chunk-PS7R6MWD.js +0 -92
- package/build/chunk-PS7R6MWD.js.map +0 -1
- package/build/platform-sdk/chunk-42XIZ4MH.js +0 -2
- package/build/platform-sdk/chunk-42XIZ4MH.js.map +0 -1
- package/build/platform-sdk/chunk-MQEY2AKT.js +0 -2
- package/build/platform-sdk/chunk-MQEY2AKT.js.map +0 -1
- /package/build/{AddPermissionCommand-SXPAYSAF.js.map → AddPermissionCommand-5X3K4KUG.js.map} +0 -0
- /package/build/{CreateVersionCommand-CL7JTSHV.js.map → CreateVersionCommand-XWWXAFOX.js.map} +0 -0
- /package/build/{DevCommand-NKKM4UEH.js.map → DevCommand-EOEGQX2B.js.map} +0 -0
- /package/build/{GenerateCommand-EK35R76L.js.map → GenerateCommand-IOFKL3RC.js.map} +0 -0
- /package/build/{LogsCommand-NCV5AKYF.js.map → LogsCommand-23QQRT3D.js.map} +0 -0
- /package/build/{PreviewCommand-KCCZ4ECQ.js.map → PreviewCommand-FBODGF7Y.js.map} +0 -0
- /package/build/{build-VSYNDSED.js.map → build-PYB5PAZO.js.map} +0 -0
- /package/build/{chunk-3GSDI3OJ.js.map → chunk-4PXJSX4C.js.map} +0 -0
- /package/build/{chunk-HR6CTO67.js.map → chunk-63VDDLLQ.js.map} +0 -0
- /package/build/{chunk-FTEVVMFS.js.map → chunk-E4UNGBQY.js.map} +0 -0
- /package/build/{chunk-OGO22IKX.js.map → chunk-GGDJQXOX.js.map} +0 -0
- /package/build/{chunk-KU4PN6UU.js.map → chunk-KLBXSZ6R.js.map} +0 -0
- /package/build/{chunk-75BL4FR5.js.map → chunk-QREADZZF.js.map} +0 -0
- /package/build/{chunk-3LJH5WAS.js.map → chunk-TJFERWU7.js.map} +0 -0
- /package/build/{chunk-WBXDIEUS.js.map → chunk-VB3AXXRP.js.map} +0 -0
- /package/build/{chunk-5LGI6O3F.js.map → chunk-WNR36YTI.js.map} +0 -0
- /package/build/{chunk-I2PLZT4A.js.map → chunk-Y4GJ3NS4.js.map} +0 -0
- /package/build/{chunk-QSLRE7OK.js.map → chunk-ZCUJ356B.js.map} +0 -0
- /package/build/{chunk-IB2KM2Q7.js.map → chunk-ZOZ5LJV7.js.map} +0 -0
- /package/build/platform-sdk/{chunk-3WHQP2RD.js.map → chunk-MM2KVUBI.js.map} +0 -0
- /package/build/{render-command-OT7HQRPA.js.map → render-command-3G25G5MU.js.map} +0 -0
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
componentGenerator,
|
|
5
5
|
require_lodash,
|
|
6
6
|
useBackendComponents
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-63VDDLLQ.js";
|
|
8
8
|
import {
|
|
9
9
|
useTunnel
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4PXJSX4C.js";
|
|
11
11
|
import {
|
|
12
12
|
useDebugLog
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WNR36YTI.js";
|
|
14
14
|
import {
|
|
15
15
|
createAppManifest,
|
|
16
16
|
getComponentDevSourceBuilder,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
getViteConfig2,
|
|
19
19
|
getViteServerUrl,
|
|
20
20
|
updateAppManifestComponents
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-SIJDKP2Q.js";
|
|
22
22
|
import {
|
|
23
23
|
useExtensionDataClient
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-VLQG5SQF.js";
|
|
25
25
|
import {
|
|
26
26
|
APP_CONFIG_PATH,
|
|
27
27
|
Alert,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
wixCliAction,
|
|
80
80
|
wixCliAppFlowStepsAnswers,
|
|
81
81
|
z
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-ZLLXHWZF.js";
|
|
83
83
|
import {
|
|
84
84
|
__commonJS,
|
|
85
85
|
__dirname,
|
|
@@ -29342,4 +29342,4 @@ xmlhttprequest-ssl/lib/XMLHttpRequest.js:
|
|
|
29342
29342
|
* @license MIT
|
|
29343
29343
|
*)
|
|
29344
29344
|
*/
|
|
29345
|
-
//# sourceMappingURL=chunk-
|
|
29345
|
+
//# sourceMappingURL=chunk-ZOZ5LJV7.js.map
|
|
@@ -4594,7 +4594,7 @@ function objectToKeyValue(input) {
|
|
|
4594
4594
|
return Object.entries(input).filter(([_, value]) => Boolean(value)).map(([key, value]) => `${key}=${value}`).join(",");
|
|
4595
4595
|
}
|
|
4596
4596
|
|
|
4597
|
-
// ../../node_modules/@wix/sdk-runtime/build/context.js
|
|
4597
|
+
// ../../node_modules/@wix/sdk/node_modules/@wix/sdk-runtime/build/context.js
|
|
4598
4598
|
function runWithoutContext(fn) {
|
|
4599
4599
|
const globalContext = globalThis.__wix_context__;
|
|
4600
4600
|
const moduleContext = {
|
|
@@ -4437,7 +4437,7 @@ function objectToKeyValue(input) {
|
|
|
4437
4437
|
return Object.entries(input).filter(([_, value]) => Boolean(value)).map(([key, value]) => `${key}=${value}`).join(",");
|
|
4438
4438
|
}
|
|
4439
4439
|
|
|
4440
|
-
// ../../node_modules/@wix/sdk-runtime/build/context.js
|
|
4440
|
+
// ../../node_modules/@wix/sdk/node_modules/@wix/sdk-runtime/build/context.js
|
|
4441
4441
|
function runWithoutContext(fn) {
|
|
4442
4442
|
const globalContext = globalThis.__wix_context__;
|
|
4443
4443
|
const moduleContext = {
|
package/build/index.js
CHANGED
|
@@ -2,18 +2,18 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
createI18nT
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KLBXSZ6R.js";
|
|
6
6
|
import {
|
|
7
7
|
runCommand
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-QREADZZF.js";
|
|
9
|
+
import "./chunk-Y4GJ3NS4.js";
|
|
10
|
+
import "./chunk-3X2VYRBF.js";
|
|
11
|
+
import "./chunk-WNR36YTI.js";
|
|
12
12
|
import {
|
|
13
13
|
package_default,
|
|
14
14
|
require_react,
|
|
15
15
|
z
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZLLXHWZF.js";
|
|
17
17
|
import {
|
|
18
18
|
__commonJS,
|
|
19
19
|
__require,
|
|
@@ -3376,8 +3376,8 @@ var {
|
|
|
3376
3376
|
// src/commands/build.ts
|
|
3377
3377
|
init_esm_shims();
|
|
3378
3378
|
var buildCommand = (services) => createCommand("build").action(async (_, command) => {
|
|
3379
|
-
const { runCommand: runCommand2 } = await import("./render-command-
|
|
3380
|
-
const { build } = await import("./build-
|
|
3379
|
+
const { runCommand: runCommand2 } = await import("./render-command-3G25G5MU.js");
|
|
3380
|
+
const { build } = await import("./build-PYB5PAZO.js");
|
|
3381
3381
|
await runCommand2(command, services, build);
|
|
3382
3382
|
});
|
|
3383
3383
|
|
|
@@ -3387,8 +3387,8 @@ var import_react = __toESM(require_react(), 1);
|
|
|
3387
3387
|
var devCommand = (services) => {
|
|
3388
3388
|
const t = createI18nT();
|
|
3389
3389
|
return createCommand("dev").option("-s, --https", t("dev_command_def.option.https")).action(async (options, command) => {
|
|
3390
|
-
const { DevCommand } = await import("./DevCommand-
|
|
3391
|
-
const { renderCommand } = await import("./render-command-
|
|
3390
|
+
const { DevCommand } = await import("./DevCommand-EOEGQX2B.js");
|
|
3391
|
+
const { renderCommand } = await import("./render-command-3G25G5MU.js");
|
|
3392
3392
|
const { https = false } = options;
|
|
3393
3393
|
await renderCommand(command, services, /* @__PURE__ */ import_react.default.createElement(DevCommand, { https }), {
|
|
3394
3394
|
watchForModelChanges: true
|
|
@@ -3457,17 +3457,17 @@ var previewCommand = (services) => {
|
|
|
3457
3457
|
).hideHelp()
|
|
3458
3458
|
).action(async (options, command) => {
|
|
3459
3459
|
const { site, baseUrl, json } = options;
|
|
3460
|
-
const { renderCommand, runCommand: runCommand2 } = await import("./render-command-
|
|
3460
|
+
const { renderCommand, runCommand: runCommand2 } = await import("./render-command-3G25G5MU.js");
|
|
3461
3461
|
if (json) {
|
|
3462
3462
|
return runCommand2(command, services, async (model) => {
|
|
3463
|
-
const { nonInteractivePreview } = await import("./preview-
|
|
3463
|
+
const { nonInteractivePreview } = await import("./preview-PIFWQKW3.js");
|
|
3464
3464
|
return nonInteractivePreview(services, model, {
|
|
3465
3465
|
baseUrl,
|
|
3466
3466
|
siteId: site
|
|
3467
3467
|
});
|
|
3468
3468
|
});
|
|
3469
3469
|
}
|
|
3470
|
-
const { PreviewCommand } = await import("./PreviewCommand-
|
|
3470
|
+
const { PreviewCommand } = await import("./PreviewCommand-FBODGF7Y.js");
|
|
3471
3471
|
await renderCommand(
|
|
3472
3472
|
command,
|
|
3473
3473
|
services,
|
|
@@ -3481,7 +3481,7 @@ init_esm_shims();
|
|
|
3481
3481
|
var import_react3 = __toESM(require_react(), 1);
|
|
3482
3482
|
var createVersionCommand = (services) => {
|
|
3483
3483
|
const t = createI18nT();
|
|
3484
|
-
return createCommand("create-version").description(t("
|
|
3484
|
+
return createCommand("create-version").description(t("create_version_command_def.description")).addOption(
|
|
3485
3485
|
new Option(
|
|
3486
3486
|
"-t, --version-type <type>",
|
|
3487
3487
|
t("create_version_command_def.option.version_type")
|
|
@@ -3498,8 +3498,8 @@ var createVersionCommand = (services) => {
|
|
|
3498
3498
|
t("create_version_command_def.option.base_url"),
|
|
3499
3499
|
validateBase
|
|
3500
3500
|
).action(async (options, command) => {
|
|
3501
|
-
const { renderCommand } = await import("./render-command-
|
|
3502
|
-
const { CreateVersionCommandDeprecated } = await import("./CreateVersionCommand-
|
|
3501
|
+
const { renderCommand } = await import("./render-command-3G25G5MU.js");
|
|
3502
|
+
const { CreateVersionCommandDeprecated } = await import("./CreateVersionCommand-XWWXAFOX.js");
|
|
3503
3503
|
await renderCommand(
|
|
3504
3504
|
command,
|
|
3505
3505
|
services,
|
|
@@ -3516,8 +3516,8 @@ var addPermissionCommand = (services) => {
|
|
|
3516
3516
|
return createCommand("add-permission").description("adding a permission to the app").addOption(
|
|
3517
3517
|
new Option("-p, --permission-id <id>", t("the permission id to add"))
|
|
3518
3518
|
).action(async (options, command) => {
|
|
3519
|
-
const { renderCommand } = await import("./render-command-
|
|
3520
|
-
const { AddPermissionCommand } = await import("./AddPermissionCommand-
|
|
3519
|
+
const { renderCommand } = await import("./render-command-3G25G5MU.js");
|
|
3520
|
+
const { AddPermissionCommand } = await import("./AddPermissionCommand-5X3K4KUG.js");
|
|
3521
3521
|
const { permissionId = "" } = options;
|
|
3522
3522
|
await renderCommand(
|
|
3523
3523
|
command,
|
|
@@ -3530,11 +3530,14 @@ var addPermissionCommand = (services) => {
|
|
|
3530
3530
|
// src/commands/serve.tsx
|
|
3531
3531
|
init_esm_shims();
|
|
3532
3532
|
var import_react5 = __toESM(require_react(), 1);
|
|
3533
|
-
var serveCommand = (services) =>
|
|
3534
|
-
const
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
});
|
|
3533
|
+
var serveCommand = (services) => {
|
|
3534
|
+
const t = createI18nT();
|
|
3535
|
+
return createCommand("serve").description(t("serve_command_def.description")).action(async (_, command) => {
|
|
3536
|
+
const { renderCommand } = await import("./render-command-3G25G5MU.js");
|
|
3537
|
+
const { ServeCommandDeprecated } = await import("./ServeCommand-SGREOUDA.js");
|
|
3538
|
+
await renderCommand(command, services, /* @__PURE__ */ import_react5.default.createElement(ServeCommandDeprecated, null));
|
|
3539
|
+
});
|
|
3540
|
+
};
|
|
3538
3541
|
|
|
3539
3542
|
// src/commands/generate.tsx
|
|
3540
3543
|
init_esm_shims();
|
|
@@ -3542,8 +3545,8 @@ var import_react6 = __toESM(require_react(), 1);
|
|
|
3542
3545
|
var generateCommand = (services) => {
|
|
3543
3546
|
const t = createI18nT();
|
|
3544
3547
|
return createCommand("generate").description(t("generate_command.description")).action(async (options, command) => {
|
|
3545
|
-
const { GenerateCommand } = await import("./GenerateCommand-
|
|
3546
|
-
const { renderCommand } = await import("./render-command-
|
|
3548
|
+
const { GenerateCommand } = await import("./GenerateCommand-IOFKL3RC.js");
|
|
3549
|
+
const { renderCommand } = await import("./render-command-3G25G5MU.js");
|
|
3547
3550
|
await renderCommand(command, services, /* @__PURE__ */ import_react6.default.createElement(GenerateCommand, null), {
|
|
3548
3551
|
skipProjectValidation: true
|
|
3549
3552
|
});
|
|
@@ -3561,8 +3564,8 @@ var logsCommand = (services) => {
|
|
|
3561
3564
|
validateVersion
|
|
3562
3565
|
).action(async (options, command) => {
|
|
3563
3566
|
const { version } = options;
|
|
3564
|
-
const { renderCommand } = await import("./render-command-
|
|
3565
|
-
const { LogsCommand } = await import("./LogsCommand-
|
|
3567
|
+
const { renderCommand } = await import("./render-command-3G25G5MU.js");
|
|
3568
|
+
const { LogsCommand } = await import("./LogsCommand-23QQRT3D.js");
|
|
3566
3569
|
await renderCommand(command, services, /* @__PURE__ */ import_react7.default.createElement(LogsCommand, { version }));
|
|
3567
3570
|
});
|
|
3568
3571
|
};
|
|
@@ -3595,8 +3598,8 @@ var releaseCommand = (services) => {
|
|
|
3595
3598
|
t("app_preview_command_def.option.json")
|
|
3596
3599
|
).hideHelp()
|
|
3597
3600
|
).action(async (options, command) => {
|
|
3598
|
-
const { renderCommand } = await import("./render-command-
|
|
3599
|
-
const { ReleaseCommand, ReleaseVersionType } = await import("./ReleaseCommand-
|
|
3601
|
+
const { renderCommand } = await import("./render-command-3G25G5MU.js");
|
|
3602
|
+
const { ReleaseCommand, ReleaseVersionType } = await import("./ReleaseCommand-SNCMQQXK.js");
|
|
3600
3603
|
const { baseUrl, site, comment, json } = options;
|
|
3601
3604
|
const versionType = options.versionType ? {
|
|
3602
3605
|
major: ReleaseVersionType.MAJOR,
|
|
@@ -3610,7 +3613,7 @@ var releaseCommand = (services) => {
|
|
|
3610
3613
|
};
|
|
3611
3614
|
if (json) {
|
|
3612
3615
|
return runCommand(command, services, async (model) => {
|
|
3613
|
-
const { nonInteractiveRelease } = await import("./release-
|
|
3616
|
+
const { nonInteractiveRelease } = await import("./release-6Z6LMTRW.js");
|
|
3614
3617
|
return nonInteractiveRelease(services, model, props);
|
|
3615
3618
|
});
|
|
3616
3619
|
}
|
|
@@ -3624,7 +3627,7 @@ var getRootCommand2 = async (services) => {
|
|
|
3624
3627
|
package_default.version,
|
|
3625
3628
|
"-v, --version",
|
|
3626
3629
|
"Output the version number"
|
|
3627
|
-
).enablePositionalOptions(true).helpOption("-h, --help", "Display help for command").helpCommand(false).addCommand(devCommand(services)).addCommand(buildCommand(services)).addCommand(serveCommand(services)).addCommand(previewCommand(services)).addCommand(createVersionCommand(services), { hidden: true }).addCommand(generateCommand(services)).addCommand(logsCommand(services)).addCommand(releaseCommand(services)).addCommand(addPermissionCommand(services), { hidden: true });
|
|
3630
|
+
).enablePositionalOptions(true).helpOption("-h, --help", "Display help for command").helpCommand(false).addCommand(devCommand(services)).addCommand(buildCommand(services)).addCommand(serveCommand(services), { hidden: true }).addCommand(previewCommand(services)).addCommand(createVersionCommand(services), { hidden: true }).addCommand(generateCommand(services)).addCommand(logsCommand(services)).addCommand(releaseCommand(services)).addCommand(addPermissionCommand(services), { hidden: true });
|
|
3628
3631
|
};
|
|
3629
3632
|
export {
|
|
3630
3633
|
getRootCommand2 as getRootCommand
|