@wix/cli-app 1.1.65 → 1.1.67
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/{CreateVersionCommand-3LCMV6MO.js → CreateVersionCommand-OCHQTS2X.js} +14 -14
- package/build/{DevCommand-AL5OJMFK.js → DevCommand-4IXIFS3I.js} +12 -12
- package/build/{GenerateCommand-P3WBZGMA.js → GenerateCommand-A3NZ4E7M.js} +8 -8
- package/build/{LogsCommand-27N3PFUW.js → LogsCommand-VI4SOYOF.js} +4 -4
- package/build/PreviewCommand-EDVLRBLK.js +23 -0
- package/build/{ReleaseCommand-JVRK6QOZ.js → ReleaseCommand-5JSMZ6UB.js} +17 -16
- package/build/ReleaseCommand-5JSMZ6UB.js.map +1 -0
- package/build/{ServeCommand-5BSAPNHC.js → ServeCommand-47UYGAUR.js} +13 -13
- package/build/{build-IONLFG5I.js → build-WH5DNJQG.js} +7 -7
- package/build/{chunk-WRJ57AC2.js → chunk-2APJDT7U.js} +3 -3
- package/build/{chunk-BMM7NKZM.js → chunk-2QNFVJOZ.js} +3 -3
- package/build/{chunk-YKTRDLGU.js → chunk-72RQ3EPK.js} +8 -8
- package/build/{chunk-KQ2A66PL.js → chunk-7KWGY5JA.js} +3 -3
- package/build/{chunk-CUVZAENC.js → chunk-FG7KTOQN.js} +2 -2
- package/build/{chunk-CUVZAENC.js.map → chunk-FG7KTOQN.js.map} +1 -1
- package/build/{chunk-T3OLHPLT.js → chunk-FGRGEANM.js} +3 -3
- package/build/{chunk-YCQJNAIT.js → chunk-HIP3A6XH.js} +3 -3
- package/build/{chunk-LVHX7JGR.js → chunk-JVYYEP4B.js} +35 -6
- package/build/{chunk-LVHX7JGR.js.map → chunk-JVYYEP4B.js.map} +1 -1
- package/build/{chunk-L2MHG5WV.js → chunk-L5ETMB4Z.js} +5 -5
- package/build/{chunk-4SH3UIG6.js → chunk-LEVI3PK6.js} +3 -3
- package/build/{chunk-PZGUE6SY.js → chunk-LTAUYL4H.js} +3 -3
- package/build/{chunk-HH64DLEE.js → chunk-NTI35N6X.js} +7 -7
- package/build/{chunk-HH64DLEE.js.map → chunk-NTI35N6X.js.map} +1 -1
- package/build/{chunk-HTJIY6JE.js → chunk-P4IYXOMH.js} +2 -2
- package/build/{chunk-HTJIY6JE.js.map → chunk-P4IYXOMH.js.map} +1 -1
- package/build/{chunk-7GJYEEDQ.js → chunk-RSMM6AJY.js} +624 -38
- package/build/{chunk-7GJYEEDQ.js.map → chunk-RSMM6AJY.js.map} +1 -1
- package/build/{chunk-JAGVJ3T4.js → chunk-VSBG2V5M.js} +3 -3
- package/build/{chunk-G2IJ2IWB.js → chunk-WRJRTFOI.js} +3 -3
- package/build/{chunk-FASUKQVL.js → chunk-YG3BFHRO.js} +2 -2
- package/build/{chunk-DWOAWAAA.js → chunk-ZRS3UMNA.js} +5 -5
- package/build/cloudflare-runtime/entry.js +5 -5
- package/build/cloudflare-runtime/getRegisteredExtensions.js +5 -5
- package/build/index.js +20 -20
- package/build/platform-sdk/chunk-42XIZ4MH.js +2 -0
- package/build/platform-sdk/chunk-42XIZ4MH.js.map +1 -0
- package/build/platform-sdk/chunk-CR7DIEFQ.js +2 -0
- package/build/platform-sdk/chunk-CR7DIEFQ.js.map +1 -0
- package/build/platform-sdk/{chunk-XYIDODIB.js → chunk-EERHWVVD.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-OF2W3WOE.js → preview-6X7F4EFT.js} +12 -12
- package/build/{render-command-MCDOFXCD.js → render-command-SSMPKWYD.js} +6 -6
- package/package.json +7 -7
- package/build/PreviewCommand-KWMT6GOO.js +0 -23
- package/build/ReleaseCommand-JVRK6QOZ.js.map +0 -1
- package/build/platform-sdk/chunk-BGTZ3RNN.js +0 -2
- package/build/platform-sdk/chunk-BGTZ3RNN.js.map +0 -1
- package/build/platform-sdk/chunk-RH4X5G4O.js +0 -2
- package/build/platform-sdk/chunk-RH4X5G4O.js.map +0 -1
- /package/build/{CreateVersionCommand-3LCMV6MO.js.map → CreateVersionCommand-OCHQTS2X.js.map} +0 -0
- /package/build/{DevCommand-AL5OJMFK.js.map → DevCommand-4IXIFS3I.js.map} +0 -0
- /package/build/{GenerateCommand-P3WBZGMA.js.map → GenerateCommand-A3NZ4E7M.js.map} +0 -0
- /package/build/{LogsCommand-27N3PFUW.js.map → LogsCommand-VI4SOYOF.js.map} +0 -0
- /package/build/{PreviewCommand-KWMT6GOO.js.map → PreviewCommand-EDVLRBLK.js.map} +0 -0
- /package/build/{ServeCommand-5BSAPNHC.js.map → ServeCommand-47UYGAUR.js.map} +0 -0
- /package/build/{build-IONLFG5I.js.map → build-WH5DNJQG.js.map} +0 -0
- /package/build/{chunk-WRJ57AC2.js.map → chunk-2APJDT7U.js.map} +0 -0
- /package/build/{chunk-BMM7NKZM.js.map → chunk-2QNFVJOZ.js.map} +0 -0
- /package/build/{chunk-YKTRDLGU.js.map → chunk-72RQ3EPK.js.map} +0 -0
- /package/build/{chunk-KQ2A66PL.js.map → chunk-7KWGY5JA.js.map} +0 -0
- /package/build/{chunk-T3OLHPLT.js.map → chunk-FGRGEANM.js.map} +0 -0
- /package/build/{chunk-YCQJNAIT.js.map → chunk-HIP3A6XH.js.map} +0 -0
- /package/build/{chunk-L2MHG5WV.js.map → chunk-L5ETMB4Z.js.map} +0 -0
- /package/build/{chunk-4SH3UIG6.js.map → chunk-LEVI3PK6.js.map} +0 -0
- /package/build/{chunk-PZGUE6SY.js.map → chunk-LTAUYL4H.js.map} +0 -0
- /package/build/{chunk-JAGVJ3T4.js.map → chunk-VSBG2V5M.js.map} +0 -0
- /package/build/{chunk-G2IJ2IWB.js.map → chunk-WRJRTFOI.js.map} +0 -0
- /package/build/{chunk-FASUKQVL.js.map → chunk-YG3BFHRO.js.map} +0 -0
- /package/build/{chunk-DWOAWAAA.js.map → chunk-ZRS3UMNA.js.map} +0 -0
- /package/build/platform-sdk/{chunk-XYIDODIB.js.map → chunk-EERHWVVD.js.map} +0 -0
- /package/build/{preview-OF2W3WOE.js.map → preview-6X7F4EFT.js.map} +0 -0
- /package/build/{render-command-MCDOFXCD.js.map → render-command-SSMPKWYD.js.map} +0 -0
|
@@ -2,27 +2,27 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
PreviewCommand
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-72RQ3EPK.js";
|
|
6
6
|
import {
|
|
7
7
|
VersionType
|
|
8
8
|
} from "./chunk-FH6U3Y37.js";
|
|
9
9
|
import {
|
|
10
10
|
assertBuildOutputExists
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-ZRS3UMNA.js";
|
|
12
|
+
import "./chunk-L5ETMB4Z.js";
|
|
13
|
+
import "./chunk-2QNFVJOZ.js";
|
|
14
|
+
import "./chunk-FGRGEANM.js";
|
|
15
15
|
import {
|
|
16
16
|
useARMClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NTI35N6X.js";
|
|
18
18
|
import {
|
|
19
19
|
useBackendComponents
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-WRJRTFOI.js";
|
|
21
|
+
import "./chunk-2APJDT7U.js";
|
|
22
22
|
import "./chunk-ZR3N5INU.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-LTAUYL4H.js";
|
|
24
|
+
import "./chunk-JVYYEP4B.js";
|
|
25
|
+
import "./chunk-YG3BFHRO.js";
|
|
26
26
|
import {
|
|
27
27
|
BackendDeploymentClient,
|
|
28
28
|
isHttpError,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
useDevCenterClient,
|
|
32
32
|
useHttpClient,
|
|
33
33
|
useProjectModel
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-RSMM6AJY.js";
|
|
35
35
|
import {
|
|
36
36
|
Alert,
|
|
37
37
|
Box_default,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
useAsync,
|
|
49
49
|
useAsyncCallback,
|
|
50
50
|
useTranslation
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-FG7KTOQN.js";
|
|
52
52
|
import {
|
|
53
53
|
__toESM,
|
|
54
54
|
init_esm_shims
|
|
@@ -266,4 +266,4 @@ var CreateVersionCommand = ({ baseUrl, siteIdOverride, preApprovePreview, versio
|
|
|
266
266
|
export {
|
|
267
267
|
CreateVersionCommand
|
|
268
268
|
};
|
|
269
|
-
//# sourceMappingURL=CreateVersionCommand-
|
|
269
|
+
//# sourceMappingURL=CreateVersionCommand-OCHQTS2X.js.map
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
SiteProvider,
|
|
5
5
|
SiteSelector,
|
|
6
6
|
usePlatform
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-L5ETMB4Z.js";
|
|
8
8
|
import {
|
|
9
9
|
useWixCliAppBi
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7KWGY5JA.js";
|
|
11
11
|
import {
|
|
12
12
|
createLogger
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LEVI3PK6.js";
|
|
14
14
|
import {
|
|
15
15
|
DevEnvironmentProvider,
|
|
16
16
|
redirectWithCSMv2FTs,
|
|
@@ -23,17 +23,17 @@ import {
|
|
|
23
23
|
useResolveDashboardExtensionDevUrl,
|
|
24
24
|
useResolvePlatformDevUrl,
|
|
25
25
|
useSite
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-NTI35N6X.js";
|
|
27
27
|
import {
|
|
28
28
|
useBackendComponents
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-WRJRTFOI.js";
|
|
30
|
+
import "./chunk-2APJDT7U.js";
|
|
31
31
|
import "./chunk-ZR3N5INU.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-LTAUYL4H.js";
|
|
33
33
|
import {
|
|
34
34
|
createCustomElementConfig
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-JVYYEP4B.js";
|
|
36
|
+
import "./chunk-YG3BFHRO.js";
|
|
37
37
|
import {
|
|
38
38
|
ComponentType,
|
|
39
39
|
ComponentType2,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
useProjectModel,
|
|
56
56
|
userConfigSchema,
|
|
57
57
|
writeJson
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-RSMM6AJY.js";
|
|
59
59
|
import {
|
|
60
60
|
Alert,
|
|
61
61
|
Box_default,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
useTranslation,
|
|
80
80
|
use_input_default,
|
|
81
81
|
z
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-FG7KTOQN.js";
|
|
83
83
|
import {
|
|
84
84
|
__toESM,
|
|
85
85
|
init_esm_shims
|
|
@@ -1388,4 +1388,4 @@ export {
|
|
|
1388
1388
|
DevCommand,
|
|
1389
1389
|
DevEnvironmentProvider
|
|
1390
1390
|
};
|
|
1391
|
-
//# sourceMappingURL=DevCommand-
|
|
1391
|
+
//# sourceMappingURL=DevCommand-4IXIFS3I.js.map
|
|
@@ -2,22 +2,22 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
createI18nT
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-HIP3A6XH.js";
|
|
6
|
+
import "./chunk-P4IYXOMH.js";
|
|
7
7
|
import {
|
|
8
8
|
useWixCliAppBi
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7KWGY5JA.js";
|
|
10
10
|
import {
|
|
11
11
|
componentGenerator,
|
|
12
12
|
require_lodash,
|
|
13
13
|
useBackendComponents
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WRJRTFOI.js";
|
|
15
15
|
import {
|
|
16
16
|
execaCommand
|
|
17
17
|
} from "./chunk-ZR3N5INU.js";
|
|
18
18
|
import {
|
|
19
19
|
require_baseUniq
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YG3BFHRO.js";
|
|
21
21
|
import {
|
|
22
22
|
ComponentType,
|
|
23
23
|
DASHBOARD_MENU_PLUGINS_DIR,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
useValidation,
|
|
66
66
|
uuidValidation,
|
|
67
67
|
writeJson
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-RSMM6AJY.js";
|
|
69
69
|
import {
|
|
70
70
|
AsyncCallbackStatus,
|
|
71
71
|
Box_default,
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
useAsyncCallback,
|
|
91
91
|
useTranslation,
|
|
92
92
|
z
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-FG7KTOQN.js";
|
|
94
94
|
import {
|
|
95
95
|
__commonJS,
|
|
96
96
|
__dirname,
|
|
@@ -3304,4 +3304,4 @@ var GenerateCommand = () => {
|
|
|
3304
3304
|
export {
|
|
3305
3305
|
GenerateCommand
|
|
3306
3306
|
};
|
|
3307
|
-
//# sourceMappingURL=GenerateCommand-
|
|
3307
|
+
//# sourceMappingURL=GenerateCommand-A3NZ4E7M.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-2APJDT7U.js";
|
|
6
6
|
import "./chunk-ZR3N5INU.js";
|
|
7
7
|
import {
|
|
8
8
|
ComponentType2 as ComponentType,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
useErrorReporter,
|
|
13
13
|
useHttpClient,
|
|
14
14
|
useProjectModel
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RSMM6AJY.js";
|
|
16
16
|
import {
|
|
17
17
|
Box_default,
|
|
18
18
|
CliError,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
useAsync,
|
|
26
26
|
useTranslation,
|
|
27
27
|
z
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-FG7KTOQN.js";
|
|
29
29
|
import {
|
|
30
30
|
__toESM,
|
|
31
31
|
init_esm_shims
|
|
@@ -281,4 +281,4 @@ var LogsCommand = ({ version }) => {
|
|
|
281
281
|
export {
|
|
282
282
|
LogsCommand
|
|
283
283
|
};
|
|
284
|
-
//# sourceMappingURL=LogsCommand-
|
|
284
|
+
//# sourceMappingURL=LogsCommand-VI4SOYOF.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { createRequire as _createRequire } from 'node:module';
|
|
2
|
+
const require = _createRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
PreviewCommand
|
|
5
|
+
} from "./chunk-72RQ3EPK.js";
|
|
6
|
+
import "./chunk-ZRS3UMNA.js";
|
|
7
|
+
import "./chunk-L5ETMB4Z.js";
|
|
8
|
+
import "./chunk-2QNFVJOZ.js";
|
|
9
|
+
import "./chunk-FGRGEANM.js";
|
|
10
|
+
import "./chunk-NTI35N6X.js";
|
|
11
|
+
import "./chunk-WRJRTFOI.js";
|
|
12
|
+
import "./chunk-2APJDT7U.js";
|
|
13
|
+
import "./chunk-ZR3N5INU.js";
|
|
14
|
+
import "./chunk-LTAUYL4H.js";
|
|
15
|
+
import "./chunk-JVYYEP4B.js";
|
|
16
|
+
import "./chunk-YG3BFHRO.js";
|
|
17
|
+
import "./chunk-RSMM6AJY.js";
|
|
18
|
+
import "./chunk-FG7KTOQN.js";
|
|
19
|
+
import "./chunk-PYIAC2GK.js";
|
|
20
|
+
export {
|
|
21
|
+
PreviewCommand
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=PreviewCommand-EDVLRBLK.js.map
|
|
@@ -2,36 +2,36 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
PreviewCommand
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-72RQ3EPK.js";
|
|
6
6
|
import {
|
|
7
7
|
VersionType
|
|
8
8
|
} from "./chunk-FH6U3Y37.js";
|
|
9
9
|
import {
|
|
10
10
|
assertBuildOutputExists
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-ZRS3UMNA.js";
|
|
12
|
+
import "./chunk-L5ETMB4Z.js";
|
|
13
13
|
import {
|
|
14
14
|
useWixCliAppBi
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-7KWGY5JA.js";
|
|
16
|
+
import "./chunk-2QNFVJOZ.js";
|
|
17
|
+
import "./chunk-FGRGEANM.js";
|
|
18
18
|
import {
|
|
19
19
|
useARMClient
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NTI35N6X.js";
|
|
21
21
|
import {
|
|
22
22
|
useBackendComponents
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-WRJRTFOI.js";
|
|
24
|
+
import "./chunk-2APJDT7U.js";
|
|
25
25
|
import "./chunk-ZR3N5INU.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-LTAUYL4H.js";
|
|
27
|
+
import "./chunk-JVYYEP4B.js";
|
|
28
|
+
import "./chunk-YG3BFHRO.js";
|
|
29
29
|
import {
|
|
30
30
|
VersionStatus,
|
|
31
31
|
require_parse,
|
|
32
32
|
useDevCenterClient,
|
|
33
33
|
useProjectModel
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-RSMM6AJY.js";
|
|
35
35
|
import {
|
|
36
36
|
Alert,
|
|
37
37
|
Box_default,
|
|
@@ -41,6 +41,7 @@ import {
|
|
|
41
41
|
ConfirmInput,
|
|
42
42
|
Learn,
|
|
43
43
|
Link,
|
|
44
|
+
Notification,
|
|
44
45
|
SelectInput,
|
|
45
46
|
SelectOptionAvailability,
|
|
46
47
|
Spinner,
|
|
@@ -53,7 +54,7 @@ import {
|
|
|
53
54
|
useAsync,
|
|
54
55
|
useAsyncCallback,
|
|
55
56
|
useTranslation
|
|
56
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-FG7KTOQN.js";
|
|
57
58
|
import {
|
|
58
59
|
__toESM,
|
|
59
60
|
init_esm_shims
|
|
@@ -96,7 +97,7 @@ var Warnings = () => {
|
|
|
96
97
|
if (backendComponentsByType.Event.length === 0) {
|
|
97
98
|
return null;
|
|
98
99
|
}
|
|
99
|
-
return /* @__PURE__ */ import_react2.default.createElement(Box_default, { flexDirection: "column", paddingBottom: 1 }, /* @__PURE__ */ import_react2.default.createElement(Alert, { type: "warning" }, /* @__PURE__ */ import_react2.default.createElement(Trans, { i18nKey: "release_command.confirm_version_events_warning" })));
|
|
100
|
+
return /* @__PURE__ */ import_react2.default.createElement(Box_default, { flexDirection: "column", paddingBottom: 1 }, /* @__PURE__ */ import_react2.default.createElement(Notification, null, /* @__PURE__ */ import_react2.default.createElement(Alert, { type: "warning" }, /* @__PURE__ */ import_react2.default.createElement(Trans, { i18nKey: "release_command.confirm_version_events_warning" }))));
|
|
100
101
|
};
|
|
101
102
|
|
|
102
103
|
// src/components/ReleaseCommand/Steps/ReleaseComment.tsx
|
|
@@ -426,4 +427,4 @@ export {
|
|
|
426
427
|
ReleaseCommand,
|
|
427
428
|
ReleaseVersionType
|
|
428
429
|
};
|
|
429
|
-
//# sourceMappingURL=ReleaseCommand-
|
|
430
|
+
//# sourceMappingURL=ReleaseCommand-5JSMZ6UB.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/ReleaseCommand/index.ts","../src/components/ReleaseCommand/ReleaseCommand.tsx","../src/components/ReleaseCommand/Release.tsx","../src/components/ReleaseCommand/Steps/CreatePreview.tsx","../src/components/ReleaseCommand/Steps/Warnings.tsx","../src/components/ReleaseCommand/Steps/ReleaseComment.tsx","../src/components/ReleaseCommand/Steps/ChooseVersion.tsx","../src/components/ReleaseCommand/types.ts","../src/components/ReleaseCommand/Steps/ConfirmMinorVersion.tsx","../src/components/ReleaseCommand/Steps/NextSteps.tsx"],"sourcesContent":["export { ReleaseCommand } from './ReleaseCommand.js';\nexport { ReleaseVersionType } from './types.js';\n","import React from 'react';\nimport type { FC } from 'react';\nimport { match } from 'variant';\nimport { useAsync, Spinner } from '@wix/cli-ui-kit';\nimport { Trans } from '@wix/cli-i18n';\nimport { VersionStatus } from '@wix/ambassador-devcenter-apps-v1-app/types';\nimport { useDevCenterClient } from '@wix/dev-center-client';\nimport { CliError, CliErrorCode } from '@wix/cli-error';\nimport parse from 'semver/functions/parse.js';\nimport { useProjectModel } from '../../model.js';\nimport { assertBuildOutputExists } from '../../files/assert-build-output-exists.js';\nimport { Release } from './Release.js';\nimport type { ReleaseVersionType } from './types.js';\n\nconst restrictedAppStatuses = new Set<string>([\n VersionStatus.IN_REVIEW,\n VersionStatus.SUBMITTED,\n]);\n\ninterface ReleaseCommandProps {\n baseUrl?: string;\n siteIdOverride?: string;\n preEnteredComment?: string;\n preApproveMinor: boolean;\n preSelectedVersionType?: ReleaseVersionType;\n}\n\nexport const ReleaseCommand: FC<ReleaseCommandProps> = (props) => {\n const {\n model: {\n projectFolder,\n config: { appId },\n },\n } = useProjectModel();\n\n const { getAppByVersion } = useDevCenterClient();\n\n const { status } = useAsync(async () => {\n await assertBuildOutputExists(projectFolder);\n const { appStatus, latestVersion } = await getAppByVersion({ appId });\n\n if (appStatus && restrictedAppStatuses.has(appStatus)) {\n throw new CliError({\n code: CliErrorCode.CannotReleaseApplicationInReview(),\n cause: undefined,\n });\n }\n\n const parsedLatestVersion = parse(latestVersion);\n if (!parsedLatestVersion) {\n throw new CliError({\n code: CliErrorCode.FailedToParseLatestVersion({\n version: latestVersion,\n }),\n cause: undefined,\n info: {\n latestVersion,\n },\n });\n }\n\n const isPublished = appStatus === VersionStatus.PUBLISHED;\n return { isPublished, latestVersion: parsedLatestVersion };\n }, []);\n\n return match(status, {\n Error: () => null,\n Loading: () => (\n <Spinner text={<Trans i18nKey=\"release_command.loading_app_details\" />} />\n ),\n Success: ({ result }) => <Release {...props} {...result} />,\n });\n};\n","import React, { useState } from 'react';\nimport type { FC } from 'react';\nimport { match } from 'variant';\nimport { Box, Text, Alert, Spinner, useAsyncCallback } from '@wix/cli-ui-kit';\nimport { Trans } from '@wix/cli-i18n';\nimport { useARMClient } from '@wix/arm-client';\nimport type { SemVer } from 'semver';\nimport { useProjectModel } from '../../model.js';\nimport { CreatePreview } from './Steps/CreatePreview.js';\nimport { Warnings } from './Steps/Warnings.js';\nimport { ReleaseComment } from './Steps/ReleaseComment.js';\nimport { ChooseVersion } from './Steps/ChooseVersion.js';\nimport { ConfirmMinorVersion } from './Steps/ConfirmMinorVersion.js';\nimport { NextSteps } from './Steps/NextSteps.js';\nimport { ReleaseVersionType } from './types.js';\n\ninterface ReleaseProps {\n baseUrl?: string;\n siteIdOverride?: string;\n preEnteredComment?: string;\n preApproveMinor: boolean;\n preSelectedVersionType?: ReleaseVersionType;\n isPublished: boolean;\n latestVersion: SemVer;\n}\n\nexport const Release: FC<ReleaseProps> = ({\n baseUrl,\n siteIdOverride,\n preEnteredComment,\n preApproveMinor,\n preSelectedVersionType,\n isPublished,\n latestVersion,\n}) => {\n const {\n model: {\n config: { appId },\n },\n } = useProjectModel();\n\n const { createDraftVersion, releaseDraftVersion } = useARMClient();\n\n const [tag, setTag] = useState<string>();\n const [comment, setComment] = useState<string | undefined>();\n const [versionType, setVersionType] = useState<ReleaseVersionType>();\n const [versionIsRequired, setVersionIsRequired] = useState<boolean>();\n\n const createDraftAction = useAsyncCallback(async (_, tag: string) => {\n const { nextMajor, nextMinor } = await createDraftVersion(appId, tag);\n\n const appWasNeverReleased =\n latestVersion.major === 0 && latestVersion.minor === 0;\n\n return {\n nextMinor,\n nextMajor,\n appWasNeverReleased,\n };\n });\n\n const releaseDraftAction = useAsyncCallback(\n async (_, versionType: ReleaseVersionType, comment: string) => {\n return releaseDraftVersion(appId, {\n createNewMajor: versionType === ReleaseVersionType.MAJOR,\n notes: comment,\n latestMajor: latestVersion.major,\n });\n }\n );\n\n function onPreviewCreated({ tag }: { tag: string }) {\n setTag(tag);\n\n if (isString(preEnteredComment)) {\n void onReleaseCommentEntered({ tag, comment: preEnteredComment });\n }\n }\n\n async function onReleaseCommentEntered({\n tag,\n comment,\n }: {\n tag: string;\n comment: string;\n }) {\n setComment(comment);\n\n const result = await createDraftAction.execute(tag).catch(() => null);\n if (!result) {\n return;\n }\n\n const { appWasNeverReleased, nextMajor, nextMinor } = result;\n\n const versionsMap = {\n [ReleaseVersionType.MINOR]: nextMinor,\n [ReleaseVersionType.MAJOR]: nextMajor,\n };\n\n const chosenVersion = appWasNeverReleased\n ? ReleaseVersionType.MAJOR\n : preSelectedVersionType;\n\n if (chosenVersion && versionsMap[chosenVersion]) {\n onVersionChosen(chosenVersion, comment);\n } else {\n setVersionIsRequired(true);\n }\n }\n\n function onVersionChosen(versionType: ReleaseVersionType, comment: string) {\n setVersionType(versionType);\n\n if (\n (versionType === ReleaseVersionType.MINOR && preApproveMinor) ||\n versionType === ReleaseVersionType.MAJOR\n ) {\n onVersionConfirmed(versionType, comment);\n }\n }\n\n function onVersionConfirmed(\n versionType: ReleaseVersionType,\n comment: string\n ) {\n void releaseDraftAction.execute(versionType, comment);\n }\n\n return (\n <>\n <CreatePreview\n baseUrl={baseUrl}\n siteIdOverride={siteIdOverride}\n onCreated={(tag) => onPreviewCreated({ tag })}\n />\n {tag && <Warnings />}\n {tag && !isString(preEnteredComment) && (\n <ReleaseComment\n onEntered={(comment) => onReleaseCommentEntered({ tag, comment })}\n />\n )}\n {isString(comment) &&\n match(createDraftAction.status, {\n NotRequested: () => null,\n Error: () => null,\n Loading: () => (\n <Spinner\n text={<Trans i18nKey=\"release_command.creating_draft\" />}\n />\n ),\n Success: ({ result: { nextMajor, nextMinor } }) => (\n <>\n {versionIsRequired && (\n <ChooseVersion\n nextMinor={nextMinor}\n nextMajor={nextMajor}\n onChosen={(selection) => onVersionChosen(selection, comment)}\n />\n )}\n {versionType === ReleaseVersionType.MINOR && !preApproveMinor && (\n <ConfirmMinorVersion\n onConfirmed={() => onVersionConfirmed(versionType, comment)}\n />\n )}\n </>\n ),\n })}\n {match(releaseDraftAction.status, {\n NotRequested: () => null,\n Error: () => null,\n Loading: () => (\n <Spinner text={<Trans i18nKey=\"release_command.releasing\" />} />\n ),\n Success: ({ result: { releasedVersion } }) => (\n <Box flexDirection=\"column\" gap={1}>\n <Alert type=\"success\">\n <Text bold>\n <Trans\n i18nKey=\"release_command.released\"\n values={{ version: releasedVersion }}\n />\n </Text>\n </Alert>\n <NextSteps isPublished={isPublished} />\n </Box>\n ),\n })}\n </>\n );\n};\n\nfunction isString(value: unknown): value is string {\n return typeof value === 'string';\n}\n","import React from 'react';\nimport type { FC } from 'react';\nimport { Box } from '@wix/cli-ui-kit';\nimport { Trans } from '@wix/cli-i18n';\nimport { PreviewCommand } from '../../PreviewCommand/index.js';\n\ninterface CreatePreviewProps {\n baseUrl?: string;\n siteIdOverride?: string;\n onCreated: (tag: string) => void;\n}\n\nexport const CreatePreview: FC<CreatePreviewProps> = (props) => {\n const { baseUrl, siteIdOverride, onCreated } = props;\n\n return (\n <Box flexDirection=\"column\" gap={1}>\n <Trans i18nKey=\"release_command.check_preview_before_version_release\" />\n <Box flexDirection=\"column\">\n <PreviewCommand\n baseUrl={baseUrl}\n siteIdOverride={siteIdOverride}\n onPreviewCreated={onCreated}\n />\n </Box>\n </Box>\n );\n};\n","import React from 'react';\nimport { Alert, Box, Notification } from '@wix/cli-ui-kit';\nimport { Trans } from '@wix/cli-i18n';\nimport { useBackendComponents } from '../../../backend/useBackendComponents.js';\n\nexport const Warnings = () => {\n const { backendComponentsByType } = useBackendComponents();\n\n if (backendComponentsByType.Event.length === 0) {\n return null;\n }\n\n return (\n <Box flexDirection=\"column\" paddingBottom={1}>\n <Notification>\n <Alert type=\"warning\">\n <Trans i18nKey=\"release_command.confirm_version_events_warning\" />\n </Alert>\n </Notification>\n </Box>\n );\n};\n","import React, { useCallback } from 'react';\nimport type { FC } from 'react';\nimport { TextInput } from '@wix/cli-ui-kit';\nimport { useTranslation } from '@wix/cli-i18n';\nimport { useWixCliAppBi } from '../../../bi/index.js';\n\ninterface ReleaseCommentProps {\n onEntered: (comment: string) => void;\n}\n\nexport const ReleaseComment: FC<ReleaseCommentProps> = (props) => {\n const { onEntered } = props;\n\n const { t } = useTranslation();\n const bi = useWixCliAppBi();\n\n const validate = useCallback(\n (value: string) => {\n if (value && value.length > 250) {\n return t('release_command.release_comment_requirement');\n }\n return true;\n },\n [t]\n );\n\n return (\n <TextInput\n label={t('release_command.enter_release_comment')}\n onSubmit={(answer) => {\n bi.cliFlowStepAnswered({\n question: t('release_command.enter_release_comment'),\n questionKey: 'release_command.enter_release_comment',\n answer,\n });\n onEntered(answer);\n }}\n validate={validate}\n />\n );\n};\n","import React from 'react';\nimport type { FC } from 'react';\nimport type { SelectOption } from '@wix/cli-ui-kit';\nimport { Link, SelectInput, SelectOptionAvailability } from '@wix/cli-ui-kit';\nimport { Trans, useTranslation } from '@wix/cli-i18n';\nimport { useWixCliAppBi } from '../../../bi/index.js';\nimport { ReleaseVersionType } from '../types.js';\n\ninterface ChooseVersionProps {\n nextMinor?: string;\n nextMajor: string;\n onChosen: (props: ReleaseVersionType) => void;\n}\n\nexport const ChooseVersion: FC<ChooseVersionProps> = (props) => {\n const { nextMinor, nextMajor, onChosen } = props;\n\n const bi = useWixCliAppBi();\n const { t } = useTranslation();\n\n const options: Array<SelectOption<ReleaseVersionType>> = [\n {\n title: nextMinor\n ? t('release_command.version.minor', {\n version: nextMinor,\n })\n : t('release_command.version.minor_disabled'),\n description: t('release_command.version.minor.description'),\n value: ReleaseVersionType.MINOR,\n availability: nextMinor\n ? SelectOptionAvailability.Enabled()\n : SelectOptionAvailability.Disabled({\n reason: (\n <Trans\n i18nKey=\"release_command.version.minor.disabled\"\n components={[\n // https://dev.wix.com/docs/build-apps/manage-your-app/versioning/about-app-versioning\n <Link url=\"https://wix.to/ZR80Y7p\" />,\n ]}\n />\n ),\n }),\n },\n {\n title: t('release_command.version.major', {\n version: nextMajor,\n }),\n description: t('release_command.version.major.description'),\n value: ReleaseVersionType.MAJOR,\n },\n ];\n\n return (\n <SelectInput<ReleaseVersionType>\n label={t('release_command.version_type_question')}\n options={options}\n initialIndex={nextMinor ? 0 : 1}\n onSubmit={({ value }) => {\n bi.cliFlowStepAnswered({\n question: t('release_command.version_type_question'),\n questionKey: 'release_command.version_type_question',\n answer: value,\n });\n onChosen(value);\n }}\n />\n );\n};\n","import { VersionType } from '@wix/ambassador-ctp-gradual-rollout-v1-app-config/types';\n\nexport enum ReleaseVersionType {\n MINOR = VersionType.MINOR,\n MAJOR = VersionType.MAJOR,\n}\n","import React from 'react';\nimport type { FC } from 'react';\nimport { Box, ConfirmInput } from '@wix/cli-ui-kit';\nimport { useTranslation } from '@wix/cli-i18n';\nimport { useWixCliAppBi } from '../../../bi/index.js';\n\ninterface ConfirmMinorVersionProps {\n onConfirmed: () => void;\n}\n\nexport const ConfirmMinorVersion: FC<ConfirmMinorVersionProps> = (props) => {\n const { onConfirmed } = props;\n\n const bi = useWixCliAppBi();\n const { t } = useTranslation();\n\n return (\n <Box flexDirection=\"column\" paddingBottom={1}>\n <ConfirmInput\n label={t('release_command.confirm_version_creation')}\n initialValue={true}\n onSubmit={(confirm) => {\n bi.cliFlowStepAnswered({\n question: t('release_command.confirm_version_creation'),\n questionKey: 'release_command.confirm_version_creation',\n answer: String(confirm),\n });\n\n if (confirm) {\n onConfirmed();\n }\n }}\n />\n </Box>\n );\n};\n","import React from 'react';\nimport type { FC } from 'react';\nimport { Box, Text, Link, Learn, Cart, Statistics } from '@wix/cli-ui-kit';\nimport { Trans } from '@wix/cli-i18n';\nimport { useProjectModel } from '../../../model.js';\n\ninterface NextStepsProps {\n isPublished: boolean;\n}\n\nexport const NextSteps: FC<NextStepsProps> = (props) => {\n const { isPublished } = props;\n\n const {\n model: {\n config: { appId },\n },\n } = useProjectModel();\n\n const homeUrl = `https://dev.wix.com/apps/${appId}/home?referralInfo=wix-cli`;\n const statisticsUrl = `https://dev.wix.com/apps/${appId}/statistics?referralInfo=wix-cli`;\n\n return (\n <Box flexDirection=\"column\" gap={1}>\n <Text bold>\n <Trans i18nKey=\"release_command.next_steps\" />\n </Text>\n {isPublished && (\n <Trans\n i18nKey=\"release_command.open_stats\"\n components={[<Statistics />, <Link url={statisticsUrl} />]}\n />\n )}\n {isPublished && (\n <Trans\n i18nKey={'release_command.distribute_other'}\n components={[<Learn />, <Link url={homeUrl} />]}\n />\n )}\n {!isPublished && (\n <Trans\n i18nKey={'release_command.distribute'}\n components={[<Cart />, <Link url={homeUrl} />]}\n />\n )}\n </Box>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;ACAA;AAAA,IAAAA,gBAAkB;AAElB,IAAAC,kBAAsB;AAMtB,mBAAkB;;;ACRlB;AAAA,IAAAC,gBAAgC;AAEhC,qBAAsB;;;ACFtB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,8BAAAA,QAAA,cAAC,WAAS,GAAG,OAAQ,GAAG,QAAQ;AAAA,EAC3D,CAAC;AACH;","names":["import_react","import_variant","import_react","React","import_react","React","import_react","React","import_react","ReleaseVersionType","React","import_react","React","import_react","React","tag","versionType","comment","React","parse","React"]}
|
|
@@ -3,16 +3,16 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PlatformViewer,
|
|
5
5
|
assertBuildOutputExists
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZRS3UMNA.js";
|
|
7
7
|
import {
|
|
8
8
|
SiteProvider
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-L5ETMB4Z.js";
|
|
10
10
|
import {
|
|
11
11
|
createLogger
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LEVI3PK6.js";
|
|
13
13
|
import {
|
|
14
14
|
readAppManifestFile
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FGRGEANM.js";
|
|
16
16
|
import {
|
|
17
17
|
ArmTagProvider,
|
|
18
18
|
SiteOverrideProvider,
|
|
@@ -22,21 +22,21 @@ import {
|
|
|
22
22
|
useBlocksClient,
|
|
23
23
|
useSite,
|
|
24
24
|
useSiteOverrideClient
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-NTI35N6X.js";
|
|
26
|
+
import "./chunk-WRJRTFOI.js";
|
|
27
|
+
import "./chunk-2APJDT7U.js";
|
|
28
28
|
import "./chunk-ZR3N5INU.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-LTAUYL4H.js";
|
|
30
30
|
import {
|
|
31
31
|
getViteConfig,
|
|
32
32
|
getViteServerUrl,
|
|
33
33
|
updateAppManifestWithBaseUrl,
|
|
34
34
|
updateBlocksComponents
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-JVYYEP4B.js";
|
|
36
|
+
import "./chunk-YG3BFHRO.js";
|
|
37
37
|
import {
|
|
38
38
|
useProjectModel
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-RSMM6AJY.js";
|
|
40
40
|
import {
|
|
41
41
|
Box_default,
|
|
42
42
|
InfoIcon,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
require_react,
|
|
51
51
|
useAsync,
|
|
52
52
|
useTranslation
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-FG7KTOQN.js";
|
|
54
54
|
import {
|
|
55
55
|
__toESM,
|
|
56
56
|
init_esm_shims
|
|
@@ -174,4 +174,4 @@ export {
|
|
|
174
174
|
ServeEnvironmentProvider,
|
|
175
175
|
useServeEnvironment
|
|
176
176
|
};
|
|
177
|
-
//# sourceMappingURL=ServeCommand-
|
|
177
|
+
//# sourceMappingURL=ServeCommand-47UYGAUR.js.map
|
|
@@ -2,27 +2,27 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
createLogger
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LEVI3PK6.js";
|
|
6
6
|
import {
|
|
7
7
|
writeAppManifestFile
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FGRGEANM.js";
|
|
9
9
|
import {
|
|
10
10
|
createAppManifest,
|
|
11
11
|
getComponentSourceBuilder,
|
|
12
12
|
getViteConfig,
|
|
13
13
|
getViteConfig2,
|
|
14
14
|
validateComponents
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-JVYYEP4B.js";
|
|
16
|
+
import "./chunk-YG3BFHRO.js";
|
|
17
17
|
import {
|
|
18
18
|
API_BASEURL_PLACEHOLDER,
|
|
19
19
|
DevCenterComponent
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-RSMM6AJY.js";
|
|
21
21
|
import {
|
|
22
22
|
CliError,
|
|
23
23
|
CliErrorCode,
|
|
24
24
|
require_lib
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-FG7KTOQN.js";
|
|
26
26
|
import {
|
|
27
27
|
__toESM,
|
|
28
28
|
init_esm_shims
|
|
@@ -94,4 +94,4 @@ async function build(projectModel) {
|
|
|
94
94
|
export {
|
|
95
95
|
build
|
|
96
96
|
};
|
|
97
|
-
//# sourceMappingURL=build-
|
|
97
|
+
//# sourceMappingURL=build-WH5DNJQG.js.map
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
useBiLogger,
|
|
13
13
|
useHttpClient,
|
|
14
14
|
wixCliAppsFlowTunnelCreationStatusSrc11Evid5233
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RSMM6AJY.js";
|
|
16
16
|
import {
|
|
17
17
|
CliError,
|
|
18
18
|
CliErrorCode,
|
|
19
19
|
getTestOverrides,
|
|
20
20
|
require_react,
|
|
21
21
|
z
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FG7KTOQN.js";
|
|
23
23
|
import {
|
|
24
24
|
__commonJS,
|
|
25
25
|
__dirname,
|
|
@@ -894,4 +894,4 @@ init_esm_shims();
|
|
|
894
894
|
export {
|
|
895
895
|
useTunnel
|
|
896
896
|
};
|
|
897
|
-
//# sourceMappingURL=chunk-
|
|
897
|
+
//# sourceMappingURL=chunk-2APJDT7U.js.map
|
|
@@ -2,13 +2,13 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
readAppManifestFile
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FGRGEANM.js";
|
|
6
6
|
import {
|
|
7
7
|
updateAppManifestWithBaseUrl,
|
|
8
8
|
updateBlocksComponents,
|
|
9
9
|
updateMonitoring,
|
|
10
10
|
updateTopology
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JVYYEP4B.js";
|
|
12
12
|
import {
|
|
13
13
|
init_esm_shims
|
|
14
14
|
} from "./chunk-PYIAC2GK.js";
|
|
@@ -49,4 +49,4 @@ var createPreviewTag = async ({
|
|
|
49
49
|
export {
|
|
50
50
|
createPreviewTag
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=chunk-
|
|
52
|
+
//# sourceMappingURL=chunk-2QNFVJOZ.js.map
|
|
@@ -3,13 +3,13 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PlatformViewer,
|
|
5
5
|
assertBuildOutputExists
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZRS3UMNA.js";
|
|
7
7
|
import {
|
|
8
8
|
SiteProvider
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-L5ETMB4Z.js";
|
|
10
10
|
import {
|
|
11
11
|
createPreviewTag
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2QNFVJOZ.js";
|
|
13
13
|
import {
|
|
14
14
|
ArmTagProvider,
|
|
15
15
|
SiteOverrideProvider,
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
useBlocksClient,
|
|
20
20
|
useSite,
|
|
21
21
|
useSiteOverrideClient
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NTI35N6X.js";
|
|
23
23
|
import {
|
|
24
24
|
useBackendComponents
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-WRJRTFOI.js";
|
|
26
26
|
import {
|
|
27
27
|
ComponentType2 as ComponentType,
|
|
28
28
|
saveAppConfig,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
useDevCenterClient,
|
|
32
32
|
useHttpClient,
|
|
33
33
|
useProjectModel
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-RSMM6AJY.js";
|
|
35
35
|
import {
|
|
36
36
|
Alert,
|
|
37
37
|
Box_default,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
useAsync,
|
|
45
45
|
useAsyncCallback,
|
|
46
46
|
useTranslation
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-FG7KTOQN.js";
|
|
48
48
|
import {
|
|
49
49
|
__toESM,
|
|
50
50
|
init_esm_shims
|
|
@@ -190,4 +190,4 @@ var PreviewCommand = ({ baseUrl, siteIdOverride, onPreviewCreated }) => {
|
|
|
190
190
|
export {
|
|
191
191
|
PreviewCommand
|
|
192
192
|
};
|
|
193
|
-
//# sourceMappingURL=chunk-
|
|
193
|
+
//# sourceMappingURL=chunk-72RQ3EPK.js.map
|
|
@@ -3,10 +3,10 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
useBiLogger,
|
|
5
5
|
wixCliAppBiEvents
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RSMM6AJY.js";
|
|
7
7
|
import {
|
|
8
8
|
require_react
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FG7KTOQN.js";
|
|
10
10
|
import {
|
|
11
11
|
__toESM,
|
|
12
12
|
init_esm_shims
|
|
@@ -26,4 +26,4 @@ init_esm_shims();
|
|
|
26
26
|
export {
|
|
27
27
|
useWixCliAppBi
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=chunk-
|
|
29
|
+
//# sourceMappingURL=chunk-7KWGY5JA.js.map
|
|
@@ -11518,7 +11518,7 @@ var init_tslib_es6 = __esm({
|
|
|
11518
11518
|
});
|
|
11519
11519
|
|
|
11520
11520
|
// package.json
|
|
11521
|
-
var version = "1.1.
|
|
11521
|
+
var version = "1.1.67";
|
|
11522
11522
|
|
|
11523
11523
|
// ../cli-error/src/cli-error.ts
|
|
11524
11524
|
init_esm_shims();
|
|
@@ -29292,4 +29292,4 @@ react-reconciler/cjs/react-reconciler-constants.production.min.js:
|
|
|
29292
29292
|
* LICENSE file in the root directory of this source tree.
|
|
29293
29293
|
*)
|
|
29294
29294
|
*/
|
|
29295
|
-
//# sourceMappingURL=chunk-
|
|
29295
|
+
//# sourceMappingURL=chunk-FG7KTOQN.js.map
|