@wix/cli-app 1.1.112 → 1.1.113
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-RIVVDXC4.js → AddPermissionCommand-SEOAS5TX.js} +2 -2
- package/build/{DevCommand-GY6DKXUH.js → DevCommand-N4QONJ2W.js} +10 -10
- package/build/{GenerateCommand-CPGO6R37.js → GenerateCommand-BNHKAPCS.js} +7 -7
- package/build/{LogsCommand-XVRPCXAE.js → LogsCommand-DCABLROK.js} +3 -3
- package/build/PreviewCommand-MHLA6I3W.js +19 -0
- package/build/ReleaseCommand-CYCI4W72.js +23 -0
- package/build/{ServeCommand-KWRCXHVD.js → ServeCommand-QTGJMAUG.js} +3 -3
- package/build/{build-7PES2LC4.js → build-RXLTCBDW.js} +6 -6
- package/build/{chunk-2GDI2BMI.js → chunk-2VYJLYNN.js} +6 -6
- package/build/{chunk-AVHIXDUM.js → chunk-7HNCSH6O.js} +3 -3
- package/build/{chunk-STPMEWMP.js → chunk-7SS6N6O6.js} +2 -2
- package/build/{chunk-SD3OSUYH.js → chunk-BHZTKO6P.js} +99 -48
- package/build/{chunk-SD3OSUYH.js.map → chunk-BHZTKO6P.js.map} +1 -1
- package/build/{chunk-2Q4HJKWD.js → chunk-EB7WSKX3.js} +2 -2
- package/build/{chunk-BH2PU3YQ.js → chunk-I3CBHJ5A.js} +2 -2
- package/build/{chunk-SGGYLXCV.js → chunk-ICSSP3ZS.js} +13 -6
- package/build/chunk-ICSSP3ZS.js.map +1 -0
- package/build/{chunk-L7NCR5R6.js → chunk-LZM6XUZK.js} +2 -2
- package/build/{chunk-KIVZMD4F.js → chunk-MF3QTFM3.js} +3 -3
- package/build/{chunk-TTXXSYKT.js → chunk-MTTLQ7EM.js} +2 -2
- package/build/{chunk-UKMTQPFK.js → chunk-OOJK34O4.js} +2 -2
- package/build/{chunk-TRNYUOLJ.js → chunk-QWSJWFFL.js} +2 -2
- package/build/{chunk-MZHZ55TJ.js → chunk-RRNJJ4U5.js} +4 -4
- package/build/{chunk-NEQ333CG.js → chunk-S3ZUGH3L.js} +6 -6
- package/build/{chunk-6T4LUOZ5.js → chunk-T5Q7ZUXG.js} +2 -2
- package/build/{chunk-CO27LLCY.js → chunk-UQWF7KZO.js} +15 -3
- package/build/chunk-UQWF7KZO.js.map +1 -0
- package/build/{chunk-2ZO56W3Z.js → chunk-V62DEOBQ.js} +7 -7
- package/build/index.js +23 -23
- package/build/platform-sdk/editor.js +5 -5
- package/build/platform-sdk/editor.js.map +1 -1
- package/build/{preview-GSQ23GFG.js → preview-QKTXOCXO.js} +12 -12
- package/build/{release-GPB6J5T3.js → release-EQOMAQJK.js} +14 -14
- package/build/{render-command-IVVMEL3W.js → render-command-A62VE7KI.js} +5 -5
- package/package.json +4 -4
- package/build/PreviewCommand-BNG2VFY3.js +0 -19
- package/build/ReleaseCommand-KBPZ4KVG.js +0 -23
- package/build/chunk-CO27LLCY.js.map +0 -1
- package/build/chunk-SGGYLXCV.js.map +0 -1
- /package/build/{AddPermissionCommand-RIVVDXC4.js.map → AddPermissionCommand-SEOAS5TX.js.map} +0 -0
- /package/build/{DevCommand-GY6DKXUH.js.map → DevCommand-N4QONJ2W.js.map} +0 -0
- /package/build/{GenerateCommand-CPGO6R37.js.map → GenerateCommand-BNHKAPCS.js.map} +0 -0
- /package/build/{LogsCommand-XVRPCXAE.js.map → LogsCommand-DCABLROK.js.map} +0 -0
- /package/build/{PreviewCommand-BNG2VFY3.js.map → PreviewCommand-MHLA6I3W.js.map} +0 -0
- /package/build/{ReleaseCommand-KBPZ4KVG.js.map → ReleaseCommand-CYCI4W72.js.map} +0 -0
- /package/build/{ServeCommand-KWRCXHVD.js.map → ServeCommand-QTGJMAUG.js.map} +0 -0
- /package/build/{build-7PES2LC4.js.map → build-RXLTCBDW.js.map} +0 -0
- /package/build/{chunk-2GDI2BMI.js.map → chunk-2VYJLYNN.js.map} +0 -0
- /package/build/{chunk-AVHIXDUM.js.map → chunk-7HNCSH6O.js.map} +0 -0
- /package/build/{chunk-STPMEWMP.js.map → chunk-7SS6N6O6.js.map} +0 -0
- /package/build/{chunk-2Q4HJKWD.js.map → chunk-EB7WSKX3.js.map} +0 -0
- /package/build/{chunk-BH2PU3YQ.js.map → chunk-I3CBHJ5A.js.map} +0 -0
- /package/build/{chunk-L7NCR5R6.js.map → chunk-LZM6XUZK.js.map} +0 -0
- /package/build/{chunk-KIVZMD4F.js.map → chunk-MF3QTFM3.js.map} +0 -0
- /package/build/{chunk-TTXXSYKT.js.map → chunk-MTTLQ7EM.js.map} +0 -0
- /package/build/{chunk-UKMTQPFK.js.map → chunk-OOJK34O4.js.map} +0 -0
- /package/build/{chunk-TRNYUOLJ.js.map → chunk-QWSJWFFL.js.map} +0 -0
- /package/build/{chunk-MZHZ55TJ.js.map → chunk-RRNJJ4U5.js.map} +0 -0
- /package/build/{chunk-NEQ333CG.js.map → chunk-S3ZUGH3L.js.map} +0 -0
- /package/build/{chunk-6T4LUOZ5.js.map → chunk-T5Q7ZUXG.js.map} +0 -0
- /package/build/{chunk-2ZO56W3Z.js.map → chunk-V62DEOBQ.js.map} +0 -0
- /package/build/{preview-GSQ23GFG.js.map → preview-QKTXOCXO.js.map} +0 -0
- /package/build/{release-GPB6J5T3.js.map → release-EQOMAQJK.js.map} +0 -0
- /package/build/{render-command-IVVMEL3W.js.map → render-command-A62VE7KI.js.map} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
useAsync,
|
|
9
9
|
useDevCenterClient,
|
|
10
10
|
useProjectModel
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BHZTKO6P.js";
|
|
12
12
|
import {
|
|
13
13
|
__toESM,
|
|
14
14
|
init_esm_shims
|
|
@@ -40,4 +40,4 @@ var AddPermissionCommand = ({ permissionId }) => {
|
|
|
40
40
|
export {
|
|
41
41
|
AddPermissionCommand
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=AddPermissionCommand-
|
|
43
|
+
//# sourceMappingURL=AddPermissionCommand-SEOAS5TX.js.map
|
|
@@ -17,23 +17,23 @@ import {
|
|
|
17
17
|
useResolveDashboardExtensionDevUrl,
|
|
18
18
|
useResolvePlatformDevUrl,
|
|
19
19
|
useSite
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-V62DEOBQ.js";
|
|
21
21
|
import {
|
|
22
22
|
useWixCliAppBi
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-I3CBHJ5A.js";
|
|
24
24
|
import {
|
|
25
25
|
useBackendComponents
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-EB7WSKX3.js";
|
|
27
|
+
import "./chunk-T5Q7ZUXG.js";
|
|
28
28
|
import "./chunk-GWE3BRHX.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-QWSJWFFL.js";
|
|
30
30
|
import {
|
|
31
31
|
createLogger
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-OOJK34O4.js";
|
|
33
33
|
import {
|
|
34
34
|
createCustomElementConfig
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-MF3QTFM3.js";
|
|
36
|
+
import "./chunk-UQWF7KZO.js";
|
|
37
37
|
import {
|
|
38
38
|
Alert,
|
|
39
39
|
Box_default,
|
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
userConfigSchema,
|
|
79
79
|
writeJson,
|
|
80
80
|
z
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-BHZTKO6P.js";
|
|
82
82
|
import {
|
|
83
83
|
__toESM,
|
|
84
84
|
init_esm_shims
|
|
@@ -1530,4 +1530,4 @@ var DevCommand = ({ https, origin, port }) => {
|
|
|
1530
1530
|
export {
|
|
1531
1531
|
DevCommand
|
|
1532
1532
|
};
|
|
1533
|
-
//# sourceMappingURL=DevCommand-
|
|
1533
|
+
//# sourceMappingURL=DevCommand-N4QONJ2W.js.map
|
|
@@ -3,22 +3,22 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
createPackageManager,
|
|
5
5
|
getRepoType
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MTTLQ7EM.js";
|
|
7
7
|
import {
|
|
8
8
|
createI18nT,
|
|
9
9
|
getGenerateFlowByDocsExtensionType,
|
|
10
10
|
useGenerateFlows
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LZM6XUZK.js";
|
|
12
12
|
import "./chunk-ZHQREOZP.js";
|
|
13
13
|
import {
|
|
14
14
|
useWixCliAppBi
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-I3CBHJ5A.js";
|
|
16
16
|
import {
|
|
17
17
|
componentGenerator,
|
|
18
18
|
dependenciesUpdater,
|
|
19
19
|
require_lodash,
|
|
20
20
|
useBackendComponents
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-EB7WSKX3.js";
|
|
22
22
|
import "./chunk-GWE3BRHX.js";
|
|
23
23
|
import {
|
|
24
24
|
getEcomRequiredApps,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
require_setToArray,
|
|
36
36
|
require_toSource,
|
|
37
37
|
useExtensionDataClient
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-UQWF7KZO.js";
|
|
39
39
|
import {
|
|
40
40
|
AsyncCallbackStatus,
|
|
41
41
|
BACKEND_DIR,
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
use_input_default,
|
|
113
113
|
uuidValidation,
|
|
114
114
|
writeJson
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-BHZTKO6P.js";
|
|
116
116
|
import {
|
|
117
117
|
__commonJS,
|
|
118
118
|
__dirname,
|
|
@@ -5223,4 +5223,4 @@ var GenerateCommand = ({
|
|
|
5223
5223
|
export {
|
|
5224
5224
|
GenerateCommand
|
|
5225
5225
|
};
|
|
5226
|
-
//# sourceMappingURL=GenerateCommand-
|
|
5226
|
+
//# sourceMappingURL=GenerateCommand-BNHKAPCS.js.map
|
|
@@ -2,7 +2,7 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
useTunnel
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-T5Q7ZUXG.js";
|
|
6
6
|
import "./chunk-GWE3BRHX.js";
|
|
7
7
|
import {
|
|
8
8
|
Box_default,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
useProjectModel,
|
|
24
24
|
useTranslation,
|
|
25
25
|
z
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-BHZTKO6P.js";
|
|
27
27
|
import {
|
|
28
28
|
__toESM,
|
|
29
29
|
init_esm_shims
|
|
@@ -279,4 +279,4 @@ var LogsCommand = ({ version }) => {
|
|
|
279
279
|
export {
|
|
280
280
|
LogsCommand
|
|
281
281
|
};
|
|
282
|
-
//# sourceMappingURL=LogsCommand-
|
|
282
|
+
//# sourceMappingURL=LogsCommand-DCABLROK.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { createRequire as _createRequire } from 'node:module';
|
|
2
|
+
const require = _createRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
PreviewCommand
|
|
5
|
+
} from "./chunk-S3ZUGH3L.js";
|
|
6
|
+
import "./chunk-7HNCSH6O.js";
|
|
7
|
+
import "./chunk-V62DEOBQ.js";
|
|
8
|
+
import "./chunk-EB7WSKX3.js";
|
|
9
|
+
import "./chunk-T5Q7ZUXG.js";
|
|
10
|
+
import "./chunk-GWE3BRHX.js";
|
|
11
|
+
import "./chunk-QWSJWFFL.js";
|
|
12
|
+
import "./chunk-MF3QTFM3.js";
|
|
13
|
+
import "./chunk-UQWF7KZO.js";
|
|
14
|
+
import "./chunk-BHZTKO6P.js";
|
|
15
|
+
import "./chunk-4EFJZ3GQ.js";
|
|
16
|
+
export {
|
|
17
|
+
PreviewCommand
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=PreviewCommand-MHLA6I3W.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { createRequire as _createRequire } from 'node:module';
|
|
2
|
+
const require = _createRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
ReleaseCommand,
|
|
5
|
+
ReleaseVersionType
|
|
6
|
+
} from "./chunk-2VYJLYNN.js";
|
|
7
|
+
import "./chunk-S3ZUGH3L.js";
|
|
8
|
+
import "./chunk-7HNCSH6O.js";
|
|
9
|
+
import "./chunk-V62DEOBQ.js";
|
|
10
|
+
import "./chunk-I3CBHJ5A.js";
|
|
11
|
+
import "./chunk-EB7WSKX3.js";
|
|
12
|
+
import "./chunk-T5Q7ZUXG.js";
|
|
13
|
+
import "./chunk-GWE3BRHX.js";
|
|
14
|
+
import "./chunk-QWSJWFFL.js";
|
|
15
|
+
import "./chunk-MF3QTFM3.js";
|
|
16
|
+
import "./chunk-UQWF7KZO.js";
|
|
17
|
+
import "./chunk-BHZTKO6P.js";
|
|
18
|
+
import "./chunk-4EFJZ3GQ.js";
|
|
19
|
+
export {
|
|
20
|
+
ReleaseCommand,
|
|
21
|
+
ReleaseVersionType
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=ReleaseCommand-CYCI4W72.js.map
|
|
@@ -3,14 +3,14 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
createPackageManager,
|
|
5
5
|
getRepoType
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MTTLQ7EM.js";
|
|
7
7
|
import "./chunk-GWE3BRHX.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError,
|
|
10
10
|
CliErrorCode,
|
|
11
11
|
useAsync,
|
|
12
12
|
useProjectModel
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BHZTKO6P.js";
|
|
14
14
|
import {
|
|
15
15
|
init_esm_shims
|
|
16
16
|
} from "./chunk-4EFJZ3GQ.js";
|
|
@@ -40,4 +40,4 @@ var ServeCommandDeprecated = () => {
|
|
|
40
40
|
export {
|
|
41
41
|
ServeCommandDeprecated
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=ServeCommand-
|
|
43
|
+
//# sourceMappingURL=ServeCommand-QTGJMAUG.js.map
|
|
@@ -2,10 +2,10 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
writeAppManifestFile
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7HNCSH6O.js";
|
|
6
6
|
import {
|
|
7
7
|
createLogger
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OOJK34O4.js";
|
|
9
9
|
import {
|
|
10
10
|
createAppManifest,
|
|
11
11
|
getComponentBuildSourceBuilder,
|
|
@@ -14,15 +14,15 @@ import {
|
|
|
14
14
|
getViteConfig4 as getViteConfig3,
|
|
15
15
|
getViteConfig5 as getViteConfig4,
|
|
16
16
|
validateComponents
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-MF3QTFM3.js";
|
|
18
|
+
import "./chunk-UQWF7KZO.js";
|
|
19
19
|
import {
|
|
20
20
|
CliError,
|
|
21
21
|
CliErrorCode,
|
|
22
22
|
DevCenterComponent,
|
|
23
23
|
getDistFolder,
|
|
24
24
|
require_lib
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-BHZTKO6P.js";
|
|
26
26
|
import {
|
|
27
27
|
__toESM,
|
|
28
28
|
init_esm_shims
|
|
@@ -133,4 +133,4 @@ async function build(projectModel) {
|
|
|
133
133
|
export {
|
|
134
134
|
build
|
|
135
135
|
};
|
|
136
|
-
//# sourceMappingURL=build-
|
|
136
|
+
//# sourceMappingURL=build-RXLTCBDW.js.map
|
|
@@ -3,16 +3,16 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PreviewCommand,
|
|
5
5
|
assertBuildOutputExists
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-S3ZUGH3L.js";
|
|
7
7
|
import {
|
|
8
8
|
useARMClient
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-V62DEOBQ.js";
|
|
10
10
|
import {
|
|
11
11
|
useWixCliAppBi
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-I3CBHJ5A.js";
|
|
13
13
|
import {
|
|
14
14
|
useBackendComponents
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EB7WSKX3.js";
|
|
16
16
|
import {
|
|
17
17
|
Alert,
|
|
18
18
|
Box_default,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
useAsyncCallback,
|
|
37
37
|
useProjectModel,
|
|
38
38
|
useTranslation
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-BHZTKO6P.js";
|
|
40
40
|
import {
|
|
41
41
|
__toESM,
|
|
42
42
|
init_esm_shims
|
|
@@ -399,4 +399,4 @@ export {
|
|
|
399
399
|
ReleaseVersionType,
|
|
400
400
|
ReleaseCommand
|
|
401
401
|
};
|
|
402
|
-
//# sourceMappingURL=chunk-
|
|
402
|
+
//# sourceMappingURL=chunk-2VYJLYNN.js.map
|
|
@@ -2,11 +2,11 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
readAppManifest
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MF3QTFM3.js";
|
|
6
6
|
import {
|
|
7
7
|
getAppManifestPath,
|
|
8
8
|
writeJson
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BHZTKO6P.js";
|
|
10
10
|
import {
|
|
11
11
|
init_esm_shims
|
|
12
12
|
} from "./chunk-4EFJZ3GQ.js";
|
|
@@ -29,4 +29,4 @@ export {
|
|
|
29
29
|
writeAppManifestFile,
|
|
30
30
|
readAppManifestFile
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=chunk-
|
|
32
|
+
//# sourceMappingURL=chunk-7HNCSH6O.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
isCliSystemError,
|
|
6
6
|
wixCliCliCommand,
|
|
7
7
|
wixCliCliCommandStatus
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BHZTKO6P.js";
|
|
9
9
|
import {
|
|
10
10
|
__commonJS,
|
|
11
11
|
__toESM,
|
|
@@ -594,4 +594,4 @@ export {
|
|
|
594
594
|
addUserFields,
|
|
595
595
|
reportCommandStartEvent
|
|
596
596
|
};
|
|
597
|
-
//# sourceMappingURL=chunk-
|
|
597
|
+
//# sourceMappingURL=chunk-7SS6N6O6.js.map
|
|
@@ -112925,7 +112925,7 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
112925
112925
|
var import_path42 = __require("path");
|
|
112926
112926
|
var import_webpack_sources = __toESM22(require_lib26());
|
|
112927
112927
|
var import_acorn2 = require_acorn();
|
|
112928
|
-
function
|
|
112928
|
+
function createContext12(compilation) {
|
|
112929
112929
|
return {
|
|
112930
112930
|
parse(code, opts = {}) {
|
|
112931
112931
|
return import_acorn2.Parser.parse(code, {
|
|
@@ -113086,7 +113086,7 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
113086
113086
|
plugin.webpack(compiler);
|
|
113087
113087
|
if (plugin.watchChange || plugin.buildStart) {
|
|
113088
113088
|
compiler.hooks.make.tapPromise(plugin.name, async (compilation) => {
|
|
113089
|
-
const context =
|
|
113089
|
+
const context = createContext12(compilation);
|
|
113090
113090
|
if (plugin.watchChange && (compiler.modifiedFiles || compiler.removedFiles)) {
|
|
113091
113091
|
const promises = [];
|
|
113092
113092
|
if (compiler.modifiedFiles) {
|
|
@@ -113107,7 +113107,7 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
113107
113107
|
}
|
|
113108
113108
|
if (plugin.buildEnd) {
|
|
113109
113109
|
compiler.hooks.emit.tapPromise(plugin.name, async (compilation) => {
|
|
113110
|
-
await plugin.buildEnd.call(
|
|
113110
|
+
await plugin.buildEnd.call(createContext12(compilation));
|
|
113111
113111
|
});
|
|
113112
113112
|
}
|
|
113113
113113
|
if (plugin.writeBundle) {
|
|
@@ -143832,7 +143832,7 @@ var require_chokidar = __commonJS({
|
|
|
143832
143832
|
var package_default = {
|
|
143833
143833
|
name: "@wix/cli-app",
|
|
143834
143834
|
description: "CLI tool for Wix apps",
|
|
143835
|
-
version: "1.1.
|
|
143835
|
+
version: "1.1.113",
|
|
143836
143836
|
author: "Amit Dahan",
|
|
143837
143837
|
dependencies: {
|
|
143838
143838
|
esbuild: "^0.25.0",
|
|
@@ -143846,11 +143846,11 @@ var package_default = {
|
|
|
143846
143846
|
"@types/react": "^18.3.3",
|
|
143847
143847
|
"@types/semver": "^7.5.8",
|
|
143848
143848
|
"@wix/ambassador-blocks-v1-application-structure": "^1.0.8",
|
|
143849
|
-
"@wix/ambassador-blocks-v1-blocks-app": "^1.0.
|
|
143849
|
+
"@wix/ambassador-blocks-v1-blocks-app": "^1.0.68",
|
|
143850
143850
|
"@wix/ambassador-cli-site-override-service-v1-site-override": "^1.0.11",
|
|
143851
143851
|
"@wix/ambassador-ctp-app-cloud-backend-service-v1-app-cloud-backend-deployment": "^1.0.13",
|
|
143852
143852
|
"@wix/ambassador-ctp-gradual-rollout-v1-app-config": "^1.0.81",
|
|
143853
|
-
"@wix/ambassador-devcenter-apps-v1-app-old": "^1.0.
|
|
143853
|
+
"@wix/ambassador-devcenter-apps-v1-app-old": "^1.0.81",
|
|
143854
143854
|
"@wix/app-cloud-uploader": "^1.18.0",
|
|
143855
143855
|
"@wix/arm-client": "workspace:*",
|
|
143856
143856
|
"@wix/bi-logger-dev-tools-data": "^1.116.0",
|
|
@@ -163914,13 +163914,16 @@ function fixHostExceptions(host) {
|
|
|
163914
163914
|
}
|
|
163915
163915
|
function resolveMappingsByDomain(domain, domainToMappings) {
|
|
163916
163916
|
const mappings = domainToMappings[domain] || domainToMappings[USER_DOMAIN];
|
|
163917
|
-
if (
|
|
163917
|
+
if (mappings) {
|
|
163918
|
+
return mappings;
|
|
163919
|
+
}
|
|
163920
|
+
const rootDomainMappings = resolveRootDomain(domain, domainToMappings);
|
|
163921
|
+
if (!rootDomainMappings) {
|
|
163918
163922
|
if (isBaseDomain(domain)) {
|
|
163919
163923
|
return domainToMappings[wwwBaseDomain];
|
|
163920
163924
|
}
|
|
163921
163925
|
}
|
|
163922
|
-
|
|
163923
|
-
return mappings ?? rootDomainMappings;
|
|
163926
|
+
return rootDomainMappings ?? [];
|
|
163924
163927
|
}
|
|
163925
163928
|
function resolveRootDomain(domain, domainToMappings) {
|
|
163926
163929
|
return Object.entries(domainToMappings).find(([entryDomain]) => {
|
|
@@ -166318,6 +166321,58 @@ function getDebugLogFilePath(projectFolder) {
|
|
|
166318
166321
|
return join3(getGitIgnoredFolder(projectFolder), "debug.log");
|
|
166319
166322
|
}
|
|
166320
166323
|
|
|
166324
|
+
// ../cli-http-client-react/src/httpClientProvider.tsx
|
|
166325
|
+
init_esm_shims();
|
|
166326
|
+
var import_react90 = __toESM(require_react(), 1);
|
|
166327
|
+
var HttpClientContext = (0, import_react90.createContext)(null);
|
|
166328
|
+
var HttpClientProvider = ({
|
|
166329
|
+
children,
|
|
166330
|
+
headers
|
|
166331
|
+
}) => {
|
|
166332
|
+
return /* @__PURE__ */ import_react90.default.createElement(HttpClientContext.Provider, { value: { headers } }, children);
|
|
166333
|
+
};
|
|
166334
|
+
|
|
166335
|
+
// ../cli-http-client-react/src/buildHttpClientHeaders.ts
|
|
166336
|
+
init_esm_shims();
|
|
166337
|
+
var buildHttpClientHeaders = ({
|
|
166338
|
+
flow,
|
|
166339
|
+
command,
|
|
166340
|
+
cliVersion
|
|
166341
|
+
}) => {
|
|
166342
|
+
const buildWixBiGatewayHeader = (flow2, command2, cliVersion2) => [
|
|
166343
|
+
`environment=CLI-${flow2}`,
|
|
166344
|
+
`package-version=${cliVersion2}`,
|
|
166345
|
+
`package-name=${command2}`
|
|
166346
|
+
].join(",");
|
|
166347
|
+
return {
|
|
166348
|
+
"x-wix-bi-gateway": buildWixBiGatewayHeader(flow, command, cliVersion)
|
|
166349
|
+
};
|
|
166350
|
+
};
|
|
166351
|
+
|
|
166352
|
+
// ../cli-http-client-react/src/index.ts
|
|
166353
|
+
init_esm_shims();
|
|
166354
|
+
|
|
166355
|
+
// ../cli-http-client-react/src/useHttpClient.ts
|
|
166356
|
+
init_esm_shims();
|
|
166357
|
+
var import_react91 = __toESM(require_react(), 1);
|
|
166358
|
+
function useHttpClient({
|
|
166359
|
+
type
|
|
166360
|
+
}) {
|
|
166361
|
+
const context = (0, import_react91.useContext)(HttpClientContext);
|
|
166362
|
+
const { getAccessToken: getAppToken, getRequestHeaders: createAuthHeaders } = useAuth();
|
|
166363
|
+
return (0, import_react91.useMemo)(
|
|
166364
|
+
() => createHttpClient({
|
|
166365
|
+
type,
|
|
166366
|
+
getAppToken,
|
|
166367
|
+
createHeaders: () => ({
|
|
166368
|
+
...createAuthHeaders?.(),
|
|
166369
|
+
...context?.headers
|
|
166370
|
+
})
|
|
166371
|
+
}),
|
|
166372
|
+
[type, getAppToken, createAuthHeaders, context]
|
|
166373
|
+
);
|
|
166374
|
+
}
|
|
166375
|
+
|
|
166321
166376
|
// ../cli-app-definitions/src/index.ts
|
|
166322
166377
|
init_esm_shims();
|
|
166323
166378
|
var import_variant24 = __toESM(require_lib(), 1);
|
|
@@ -166545,6 +166600,7 @@ var ComponentType;
|
|
|
166545
166600
|
ComponentType3["RESTAURANTS_POS_PROVIDER_SETTINGS_SERVICE_PLUGIN"] = "RESTAURANTS_POS_PROVIDER_SETTINGS_SERVICE_PLUGIN";
|
|
166546
166601
|
ComponentType3["WIX_VIBE_CODING_INSTRUCTIONS"] = "WIX_VIBE_CODING_INSTRUCTIONS";
|
|
166547
166602
|
ComponentType3["TAX_EXEMPT_GROUPS_PROVIDER"] = "TAX_EXEMPT_GROUPS_PROVIDER";
|
|
166603
|
+
ComponentType3["BOOKING_AUTOMATIONS_CONFIGURATION"] = "BOOKING_AUTOMATIONS_CONFIGURATION";
|
|
166548
166604
|
})(ComponentType || (ComponentType = {}));
|
|
166549
166605
|
var WidgetVertical;
|
|
166550
166606
|
(function(WidgetVertical3) {
|
|
@@ -168284,6 +168340,7 @@ var DataType;
|
|
|
168284
168340
|
DataType3["arrayItems"] = "arrayItems";
|
|
168285
168341
|
DataType3["direction"] = "direction";
|
|
168286
168342
|
DataType3["menuItems"] = "menuItems";
|
|
168343
|
+
DataType3["data"] = "data";
|
|
168287
168344
|
})(DataType || (DataType = {}));
|
|
168288
168345
|
var A11yAttributes;
|
|
168289
168346
|
(function(A11yAttributes3) {
|
|
@@ -169363,7 +169420,7 @@ var DevCenterComponent = (0, import_variant25.variant)({
|
|
|
169363
169420
|
|
|
169364
169421
|
// src/model.tsx
|
|
169365
169422
|
init_esm_shims();
|
|
169366
|
-
var
|
|
169423
|
+
var import_react95 = __toESM(require_react(), 1);
|
|
169367
169424
|
|
|
169368
169425
|
// src/files/wix.config.ts
|
|
169369
169426
|
init_esm_shims();
|
|
@@ -170610,16 +170667,16 @@ function createEmbeddedScriptFolderValidation(embeddedScripts) {
|
|
|
170610
170667
|
|
|
170611
170668
|
// src/dev-center/components/validations/custom-element.ts
|
|
170612
170669
|
init_esm_shims();
|
|
170613
|
-
var
|
|
170670
|
+
var import_react93 = __toESM(require_react(), 1);
|
|
170614
170671
|
|
|
170615
170672
|
// src/components/extensions/useExtensions.tsx
|
|
170616
170673
|
init_esm_shims();
|
|
170617
|
-
var
|
|
170674
|
+
var import_react92 = __toESM(require_react(), 1);
|
|
170618
170675
|
var import_variant27 = __toESM(require_lib(), 1);
|
|
170619
170676
|
var _DevCenterComponentTypes = (0, import_variant27.typeCatalog)(DevCenterComponent);
|
|
170620
170677
|
function useExtensions() {
|
|
170621
170678
|
const { model } = useProjectModel();
|
|
170622
|
-
const extensionsByType = (0,
|
|
170679
|
+
const extensionsByType = (0, import_react92.useMemo)(() => {
|
|
170623
170680
|
const extensionsMap = model.components.reduce(
|
|
170624
170681
|
(acc, component) => {
|
|
170625
170682
|
acc[component.type].push(component);
|
|
@@ -170652,7 +170709,7 @@ function useExtensions() {
|
|
|
170652
170709
|
);
|
|
170653
170710
|
return extensionsMap;
|
|
170654
170711
|
}, [model.components]);
|
|
170655
|
-
const dashboardExtensions = (0,
|
|
170712
|
+
const dashboardExtensions = (0, import_react92.useMemo)(
|
|
170656
170713
|
() => [
|
|
170657
170714
|
...extensionsByType.DashboardPage,
|
|
170658
170715
|
...extensionsByType.DashboardMenuPlugin,
|
|
@@ -170661,11 +170718,11 @@ function useExtensions() {
|
|
|
170661
170718
|
],
|
|
170662
170719
|
[extensionsByType]
|
|
170663
170720
|
);
|
|
170664
|
-
const hasExtensions = (0,
|
|
170721
|
+
const hasExtensions = (0, import_react92.useCallback)(
|
|
170665
170722
|
(extensionType) => extensionType ? extensionsByType[extensionType].length > 0 : model.components.length > 0,
|
|
170666
170723
|
[extensionsByType, model.components]
|
|
170667
170724
|
);
|
|
170668
|
-
const getExtensions = (0,
|
|
170725
|
+
const getExtensions = (0, import_react92.useCallback)(
|
|
170669
170726
|
(extensionType) => extensionsByType[extensionType],
|
|
170670
170727
|
[extensionsByType]
|
|
170671
170728
|
);
|
|
@@ -170744,7 +170801,7 @@ var useCustomElementDirectoryValidation = (extensionType) => {
|
|
|
170744
170801
|
]
|
|
170745
170802
|
])
|
|
170746
170803
|
);
|
|
170747
|
-
return (0,
|
|
170804
|
+
return (0, import_react93.useCallback)(validation, [validation]);
|
|
170748
170805
|
};
|
|
170749
170806
|
var useCustomElementNameValidation = () => {
|
|
170750
170807
|
const { t: t3 } = useTranslation();
|
|
@@ -170756,7 +170813,7 @@ var useCustomElementNameValidation = () => {
|
|
|
170756
170813
|
]
|
|
170757
170814
|
])
|
|
170758
170815
|
);
|
|
170759
|
-
return (0,
|
|
170816
|
+
return (0, import_react93.useCallback)(validation, [validation]);
|
|
170760
170817
|
};
|
|
170761
170818
|
|
|
170762
170819
|
// src/dev-center/components/backend/config.ts
|
|
@@ -170943,7 +171000,11 @@ var _cssNumber = {
|
|
|
170943
171000
|
maximum: "google.protobuf.FloatValue",
|
|
170944
171001
|
multipleOf: "google.protobuf.FloatValue"
|
|
170945
171002
|
};
|
|
170946
|
-
var _dataItem = {
|
|
171003
|
+
var _dataItem = {
|
|
171004
|
+
number: "__Number",
|
|
171005
|
+
arrayItems: "_arrayItems",
|
|
171006
|
+
data: "_dataItems"
|
|
171007
|
+
};
|
|
170947
171008
|
var _dataItems = { items: "Map#_dataItem" };
|
|
170948
171009
|
var _dateInput = { description: "_richContent", media: "_mediaItem" };
|
|
170949
171010
|
var _datePicker = { description: "_richContent", media: "_mediaItem" };
|
|
@@ -172294,7 +172355,11 @@ var _cssNumber2 = {
|
|
|
172294
172355
|
maximum: "google.protobuf.FloatValue",
|
|
172295
172356
|
multipleOf: "google.protobuf.FloatValue"
|
|
172296
172357
|
};
|
|
172297
|
-
var _dataItem2 = {
|
|
172358
|
+
var _dataItem2 = {
|
|
172359
|
+
number: "_api_Number",
|
|
172360
|
+
arrayItems: "_apiArrayItems",
|
|
172361
|
+
data: "_dataItems"
|
|
172362
|
+
};
|
|
172298
172363
|
var _dataItems2 = { items: "Map#_dataItem" };
|
|
172299
172364
|
var _dateInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
172300
172365
|
var _datePicker2 = { description: "_richContent", media: "_mediaItem" };
|
|
@@ -173010,6 +173075,7 @@ var ComponentType2;
|
|
|
173010
173075
|
ComponentType3["RESTAURANTS_POS_PROVIDER_SETTINGS_SERVICE_PLUGIN"] = "RESTAURANTS_POS_PROVIDER_SETTINGS_SERVICE_PLUGIN";
|
|
173011
173076
|
ComponentType3["WIX_VIBE_CODING_INSTRUCTIONS"] = "WIX_VIBE_CODING_INSTRUCTIONS";
|
|
173012
173077
|
ComponentType3["TAX_EXEMPT_GROUPS_PROVIDER"] = "TAX_EXEMPT_GROUPS_PROVIDER";
|
|
173078
|
+
ComponentType3["BOOKING_AUTOMATIONS_CONFIGURATION"] = "BOOKING_AUTOMATIONS_CONFIGURATION";
|
|
173013
173079
|
})(ComponentType2 || (ComponentType2 = {}));
|
|
173014
173080
|
var WidgetVertical2;
|
|
173015
173081
|
(function(WidgetVertical3) {
|
|
@@ -174749,6 +174815,7 @@ var DataType2;
|
|
|
174749
174815
|
DataType3["arrayItems"] = "arrayItems";
|
|
174750
174816
|
DataType3["direction"] = "direction";
|
|
174751
174817
|
DataType3["menuItems"] = "menuItems";
|
|
174818
|
+
DataType3["data"] = "data";
|
|
174752
174819
|
})(DataType2 || (DataType2 = {}));
|
|
174753
174820
|
var A11yAttributes2;
|
|
174754
174821
|
(function(A11yAttributes3) {
|
|
@@ -176027,28 +176094,10 @@ var DevCenterClient = class {
|
|
|
176027
176094
|
|
|
176028
176095
|
// ../dev-center-client/src/useDevCenterClient.ts
|
|
176029
176096
|
init_esm_shims();
|
|
176030
|
-
var
|
|
176031
|
-
|
|
176032
|
-
// ../cli-http-client-react/src/index.ts
|
|
176033
|
-
init_esm_shims();
|
|
176034
|
-
|
|
176035
|
-
// ../cli-http-client-react/src/useHttpClient.ts
|
|
176036
|
-
init_esm_shims();
|
|
176037
|
-
var import_react92 = __toESM(require_react(), 1);
|
|
176038
|
-
function useHttpClient({
|
|
176039
|
-
type
|
|
176040
|
-
}) {
|
|
176041
|
-
const { getAccessToken: getAppToken, getRequestHeaders: createHeaders2 } = useAuth();
|
|
176042
|
-
return (0, import_react92.useMemo)(
|
|
176043
|
-
() => createHttpClient({ type, getAppToken, createHeaders: createHeaders2 }),
|
|
176044
|
-
[type, getAppToken, createHeaders2]
|
|
176045
|
-
);
|
|
176046
|
-
}
|
|
176047
|
-
|
|
176048
|
-
// ../dev-center-client/src/useDevCenterClient.ts
|
|
176097
|
+
var import_react94 = __toESM(require_react(), 1);
|
|
176049
176098
|
function useDevCenterClient() {
|
|
176050
176099
|
const httpClient = useHttpClient({ type: "backoffice" });
|
|
176051
|
-
return (0,
|
|
176100
|
+
return (0, import_react94.useMemo)(() => new DevCenterClient(httpClient), [httpClient]);
|
|
176052
176101
|
}
|
|
176053
176102
|
|
|
176054
176103
|
// src/hosting/hosting-service.ts
|
|
@@ -178867,11 +178916,11 @@ async function loadProjectModel(projectFolder) {
|
|
|
178867
178916
|
})
|
|
178868
178917
|
};
|
|
178869
178918
|
}
|
|
178870
|
-
var ProjectModelContext = (0,
|
|
178919
|
+
var ProjectModelContext = (0, import_react95.createContext)(null);
|
|
178871
178920
|
var ProjectModelProvider = (props) => {
|
|
178872
178921
|
const { reportError } = useErrorReporter();
|
|
178873
|
-
const [model, setModel] = (0,
|
|
178874
|
-
const [watcher] = (0,
|
|
178922
|
+
const [model, setModel] = (0, import_react95.useState)(props.value);
|
|
178923
|
+
const [watcher] = (0, import_react95.useState)(() => {
|
|
178875
178924
|
const watcher2 = new ProjectModelWatcher(model);
|
|
178876
178925
|
if (props.watchForChanges === true) {
|
|
178877
178926
|
watcher2.watch().onChange((newModel, changeType) => {
|
|
@@ -178882,15 +178931,15 @@ var ProjectModelProvider = (props) => {
|
|
|
178882
178931
|
}
|
|
178883
178932
|
return watcher2;
|
|
178884
178933
|
});
|
|
178885
|
-
(0,
|
|
178934
|
+
(0, import_react95.useEffect)(() => {
|
|
178886
178935
|
return () => {
|
|
178887
178936
|
watcher.close().catch(reportError);
|
|
178888
178937
|
};
|
|
178889
178938
|
}, [watcher, reportError]);
|
|
178890
|
-
return /* @__PURE__ */
|
|
178939
|
+
return /* @__PURE__ */ import_react95.default.createElement(ProjectModelContext.Provider, { value: { model, watcher } }, props.children);
|
|
178891
178940
|
};
|
|
178892
178941
|
function useProjectModel() {
|
|
178893
|
-
const context = (0,
|
|
178942
|
+
const context = (0, import_react95.useContext)(ProjectModelContext);
|
|
178894
178943
|
if (context == null) {
|
|
178895
178944
|
throw new Error(
|
|
178896
178945
|
"useProjectModel() cannot be used without an <ProjectModelProvider>"
|
|
@@ -178995,6 +179044,9 @@ export {
|
|
|
178995
179044
|
userConfigSchema,
|
|
178996
179045
|
getTSConfigFilePath,
|
|
178997
179046
|
getDebugLogFilePath,
|
|
179047
|
+
HttpClientProvider,
|
|
179048
|
+
useHttpClient,
|
|
179049
|
+
buildHttpClientHeaders,
|
|
178998
179050
|
ComponentType,
|
|
178999
179051
|
RegionType,
|
|
179000
179052
|
EmbeddedScriptPages,
|
|
@@ -179070,7 +179122,6 @@ export {
|
|
|
179070
179122
|
ServicePluginTypeToFolderName,
|
|
179071
179123
|
readAppConfig,
|
|
179072
179124
|
saveAppConfig,
|
|
179073
|
-
useHttpClient,
|
|
179074
179125
|
useDevCenterClient,
|
|
179075
179126
|
require_mime_types,
|
|
179076
179127
|
wixCliAppFlowStepsAnswers,
|
|
@@ -179296,4 +179347,4 @@ mustache/mustache.mjs:
|
|
|
179296
179347
|
* http://github.com/janl/mustache.js
|
|
179297
179348
|
*)
|
|
179298
179349
|
*/
|
|
179299
|
-
//# sourceMappingURL=chunk-
|
|
179350
|
+
//# sourceMappingURL=chunk-BHZTKO6P.js.map
|