@wix/cli-app 1.1.137 → 1.1.139
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-5ZPNU4RW.js → AddPermissionCommand-7JSFSDHK.js} +2 -2
- package/build/{DevCommand-RNRIZRNX.js → DevCommand-2Q7AUUFO.js} +10 -10
- package/build/{GenerateCommand-ZWY5STMF.js → GenerateCommand-SGE7RW5B.js} +7 -7
- package/build/{LogsCommand-JP2XCEW6.js → LogsCommand-Z3ZFWXRZ.js} +3 -3
- package/build/PreviewCommand-OIQUGALX.js +19 -0
- package/build/ReleaseCommand-CFRWCWNC.js +23 -0
- package/build/{ServeCommand-XLDTYTV4.js → ServeCommand-LXDCHXMI.js} +3 -3
- package/build/{build-J535L444.js → build-5YGGI7BS.js} +6 -6
- package/build/{chunk-DX6HNG3M.js → chunk-3F37CLLG.js} +2 -2
- package/build/{chunk-RWS6JL43.js → chunk-4OEENWJ2.js} +6 -6
- package/build/{chunk-XXTM5XOZ.js → chunk-6Y76ODLQ.js} +6 -6
- package/build/{chunk-T2JE2YRN.js → chunk-77QRLTEW.js} +7 -7
- package/build/{chunk-AY24RS7F.js → chunk-BQP36DXK.js} +4 -4
- package/build/{chunk-C5LAIAXU.js → chunk-EA7P2QKZ.js} +2 -2
- package/build/{chunk-WWSYSG5T.js → chunk-KMAKXP7M.js} +2 -2
- package/build/{chunk-MEB5ZYDS.js → chunk-LYKHENNA.js} +2 -2
- package/build/{chunk-O53SJ3FD.js → chunk-NZLGBI2J.js} +4 -4
- package/build/{chunk-37DOWNJJ.js → chunk-QYPLCT5B.js} +2 -2
- package/build/{chunk-H4WFMY6L.js → chunk-RVBAYSWR.js} +2 -2
- package/build/{chunk-RZV7IOSI.js → chunk-TTFLIV5F.js} +2 -2
- package/build/{chunk-5LZDVOMI.js → chunk-UYQGHBTE.js} +2 -2
- package/build/{chunk-WOACYVDQ.js → chunk-VIMDBBS7.js} +2 -2
- package/build/chunk-VIMDBBS7.js.map +1 -0
- package/build/{chunk-RO5MMRHK.js → chunk-XVTQMWYF.js} +3 -3
- package/build/{chunk-J4GPGBLD.js → chunk-Z4YOWDFB.js} +2 -2
- package/build/{chunk-J4GPGBLD.js.map → chunk-Z4YOWDFB.js.map} +1 -1
- package/build/{chunk-FFIVT3M2.js → chunk-ZB45Z5HF.js} +3 -3
- package/build/index.js +23 -23
- package/build/{preview-2U2DEOMP.js → preview-NU6OB6KY.js} +12 -12
- package/build/{release-LQI5OXK6.js → release-LT2ZID2B.js} +14 -14
- package/build/{render-command-P4L2PWBF.js → render-command-6VCFCUBB.js} +5 -5
- package/package.json +2 -2
- package/build/PreviewCommand-D3DTILMX.js +0 -19
- package/build/ReleaseCommand-DMWZAIET.js +0 -23
- package/build/chunk-WOACYVDQ.js.map +0 -1
- /package/build/{AddPermissionCommand-5ZPNU4RW.js.map → AddPermissionCommand-7JSFSDHK.js.map} +0 -0
- /package/build/{DevCommand-RNRIZRNX.js.map → DevCommand-2Q7AUUFO.js.map} +0 -0
- /package/build/{GenerateCommand-ZWY5STMF.js.map → GenerateCommand-SGE7RW5B.js.map} +0 -0
- /package/build/{LogsCommand-JP2XCEW6.js.map → LogsCommand-Z3ZFWXRZ.js.map} +0 -0
- /package/build/{PreviewCommand-D3DTILMX.js.map → PreviewCommand-OIQUGALX.js.map} +0 -0
- /package/build/{ReleaseCommand-DMWZAIET.js.map → ReleaseCommand-CFRWCWNC.js.map} +0 -0
- /package/build/{ServeCommand-XLDTYTV4.js.map → ServeCommand-LXDCHXMI.js.map} +0 -0
- /package/build/{build-J535L444.js.map → build-5YGGI7BS.js.map} +0 -0
- /package/build/{chunk-DX6HNG3M.js.map → chunk-3F37CLLG.js.map} +0 -0
- /package/build/{chunk-RWS6JL43.js.map → chunk-4OEENWJ2.js.map} +0 -0
- /package/build/{chunk-XXTM5XOZ.js.map → chunk-6Y76ODLQ.js.map} +0 -0
- /package/build/{chunk-T2JE2YRN.js.map → chunk-77QRLTEW.js.map} +0 -0
- /package/build/{chunk-AY24RS7F.js.map → chunk-BQP36DXK.js.map} +0 -0
- /package/build/{chunk-C5LAIAXU.js.map → chunk-EA7P2QKZ.js.map} +0 -0
- /package/build/{chunk-WWSYSG5T.js.map → chunk-KMAKXP7M.js.map} +0 -0
- /package/build/{chunk-MEB5ZYDS.js.map → chunk-LYKHENNA.js.map} +0 -0
- /package/build/{chunk-O53SJ3FD.js.map → chunk-NZLGBI2J.js.map} +0 -0
- /package/build/{chunk-37DOWNJJ.js.map → chunk-QYPLCT5B.js.map} +0 -0
- /package/build/{chunk-H4WFMY6L.js.map → chunk-RVBAYSWR.js.map} +0 -0
- /package/build/{chunk-RZV7IOSI.js.map → chunk-TTFLIV5F.js.map} +0 -0
- /package/build/{chunk-5LZDVOMI.js.map → chunk-UYQGHBTE.js.map} +0 -0
- /package/build/{chunk-RO5MMRHK.js.map → chunk-XVTQMWYF.js.map} +0 -0
- /package/build/{chunk-FFIVT3M2.js.map → chunk-ZB45Z5HF.js.map} +0 -0
- /package/build/{preview-2U2DEOMP.js.map → preview-NU6OB6KY.js.map} +0 -0
- /package/build/{release-LQI5OXK6.js.map → release-LT2ZID2B.js.map} +0 -0
- /package/build/{render-command-P4L2PWBF.js.map → render-command-6VCFCUBB.js.map} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
useAsync,
|
|
9
9
|
useDevCenterClient,
|
|
10
10
|
useProjectModel
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Z4YOWDFB.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-7JSFSDHK.js.map
|
|
@@ -18,23 +18,23 @@ import {
|
|
|
18
18
|
useResolveDashboardExtensionDevUrl,
|
|
19
19
|
useResolvePlatformDevUrl,
|
|
20
20
|
useSite
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-77QRLTEW.js";
|
|
22
22
|
import {
|
|
23
23
|
useWixCliAppBi
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-UYQGHBTE.js";
|
|
25
25
|
import {
|
|
26
26
|
useBackendComponents
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-EA7P2QKZ.js";
|
|
28
|
+
import "./chunk-QYPLCT5B.js";
|
|
29
29
|
import "./chunk-P7IRRCF7.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-KMAKXP7M.js";
|
|
31
31
|
import {
|
|
32
32
|
createLogger
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-LYKHENNA.js";
|
|
34
34
|
import {
|
|
35
35
|
createCustomElementConfig
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-XVTQMWYF.js";
|
|
37
|
+
import "./chunk-TTFLIV5F.js";
|
|
38
38
|
import {
|
|
39
39
|
Alert,
|
|
40
40
|
Box_default,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
use_input_default,
|
|
77
77
|
userConfigSchema,
|
|
78
78
|
writeJson
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-Z4YOWDFB.js";
|
|
80
80
|
import {
|
|
81
81
|
__toESM,
|
|
82
82
|
init_esm_shims
|
|
@@ -1349,4 +1349,4 @@ var DevCommand = ({ https, origin, port }) => {
|
|
|
1349
1349
|
export {
|
|
1350
1350
|
DevCommand
|
|
1351
1351
|
};
|
|
1352
|
-
//# sourceMappingURL=DevCommand-
|
|
1352
|
+
//# sourceMappingURL=DevCommand-2Q7AUUFO.js.map
|
|
@@ -3,16 +3,16 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
createPackageManager,
|
|
5
5
|
getRepoType
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VIMDBBS7.js";
|
|
7
7
|
import {
|
|
8
8
|
createI18nT,
|
|
9
9
|
getGenerateFlowByDocsExtensionType,
|
|
10
10
|
useGenerateFlows
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3F37CLLG.js";
|
|
12
12
|
import "./chunk-3QFT6UQF.js";
|
|
13
13
|
import {
|
|
14
14
|
useWixCliAppBi
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UYQGHBTE.js";
|
|
16
16
|
import {
|
|
17
17
|
componentGenerator,
|
|
18
18
|
dependenciesUpdater,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
require_kebabCase,
|
|
21
21
|
require_toString,
|
|
22
22
|
useBackendComponents
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-EA7P2QKZ.js";
|
|
24
24
|
import "./chunk-P7IRRCF7.js";
|
|
25
25
|
import {
|
|
26
26
|
getEcomRequiredApps,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
require_setToArray,
|
|
38
38
|
require_toSource,
|
|
39
39
|
useExtensionDataClient
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-TTFLIV5F.js";
|
|
41
41
|
import {
|
|
42
42
|
AsyncCallbackStatus,
|
|
43
43
|
BACKEND_DIR,
|
|
@@ -114,7 +114,7 @@ import {
|
|
|
114
114
|
use_input_default,
|
|
115
115
|
uuidValidation,
|
|
116
116
|
writeJson
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-Z4YOWDFB.js";
|
|
118
118
|
import {
|
|
119
119
|
__commonJS,
|
|
120
120
|
__dirname,
|
|
@@ -5157,4 +5157,4 @@ var GenerateCommand = ({
|
|
|
5157
5157
|
export {
|
|
5158
5158
|
GenerateCommand
|
|
5159
5159
|
};
|
|
5160
|
-
//# sourceMappingURL=GenerateCommand-
|
|
5160
|
+
//# sourceMappingURL=GenerateCommand-SGE7RW5B.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-QYPLCT5B.js";
|
|
6
6
|
import "./chunk-P7IRRCF7.js";
|
|
7
7
|
import {
|
|
8
8
|
Box_default,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
useHttpClient,
|
|
24
24
|
useProjectModel,
|
|
25
25
|
useTranslation
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-Z4YOWDFB.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-Z3ZFWXRZ.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-4OEENWJ2.js";
|
|
6
|
+
import "./chunk-ZB45Z5HF.js";
|
|
7
|
+
import "./chunk-77QRLTEW.js";
|
|
8
|
+
import "./chunk-EA7P2QKZ.js";
|
|
9
|
+
import "./chunk-QYPLCT5B.js";
|
|
10
|
+
import "./chunk-P7IRRCF7.js";
|
|
11
|
+
import "./chunk-KMAKXP7M.js";
|
|
12
|
+
import "./chunk-XVTQMWYF.js";
|
|
13
|
+
import "./chunk-TTFLIV5F.js";
|
|
14
|
+
import "./chunk-Z4YOWDFB.js";
|
|
15
|
+
import "./chunk-4EFJZ3GQ.js";
|
|
16
|
+
export {
|
|
17
|
+
PreviewCommand
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=PreviewCommand-OIQUGALX.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-6Y76ODLQ.js";
|
|
7
|
+
import "./chunk-4OEENWJ2.js";
|
|
8
|
+
import "./chunk-ZB45Z5HF.js";
|
|
9
|
+
import "./chunk-77QRLTEW.js";
|
|
10
|
+
import "./chunk-UYQGHBTE.js";
|
|
11
|
+
import "./chunk-EA7P2QKZ.js";
|
|
12
|
+
import "./chunk-QYPLCT5B.js";
|
|
13
|
+
import "./chunk-P7IRRCF7.js";
|
|
14
|
+
import "./chunk-KMAKXP7M.js";
|
|
15
|
+
import "./chunk-XVTQMWYF.js";
|
|
16
|
+
import "./chunk-TTFLIV5F.js";
|
|
17
|
+
import "./chunk-Z4YOWDFB.js";
|
|
18
|
+
import "./chunk-4EFJZ3GQ.js";
|
|
19
|
+
export {
|
|
20
|
+
ReleaseCommand,
|
|
21
|
+
ReleaseVersionType
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=ReleaseCommand-CFRWCWNC.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-VIMDBBS7.js";
|
|
7
7
|
import "./chunk-P7IRRCF7.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError,
|
|
10
10
|
CliErrorCode,
|
|
11
11
|
useAsync,
|
|
12
12
|
useProjectModel
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-Z4YOWDFB.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-LXDCHXMI.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-ZB45Z5HF.js";
|
|
6
6
|
import {
|
|
7
7
|
createLogger
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LYKHENNA.js";
|
|
9
9
|
import {
|
|
10
10
|
createAppManifest,
|
|
11
11
|
getComponentBuildSourceBuilder,
|
|
@@ -16,15 +16,15 @@ import {
|
|
|
16
16
|
getViteConfig7 as getViteConfig5,
|
|
17
17
|
getViteConfig8 as getViteConfig6,
|
|
18
18
|
validateComponents
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-XVTQMWYF.js";
|
|
20
|
+
import "./chunk-TTFLIV5F.js";
|
|
21
21
|
import {
|
|
22
22
|
CliError,
|
|
23
23
|
CliErrorCode,
|
|
24
24
|
DevCenterComponent,
|
|
25
25
|
getDistFolder,
|
|
26
26
|
require_lib
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-Z4YOWDFB.js";
|
|
28
28
|
import {
|
|
29
29
|
__toESM,
|
|
30
30
|
init_esm_shims
|
|
@@ -182,4 +182,4 @@ async function build(projectModel) {
|
|
|
182
182
|
export {
|
|
183
183
|
build
|
|
184
184
|
};
|
|
185
|
-
//# sourceMappingURL=build-
|
|
185
|
+
//# sourceMappingURL=build-5YGGI7BS.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
require_lib,
|
|
11
11
|
require_react,
|
|
12
12
|
useTranslation
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-Z4YOWDFB.js";
|
|
14
14
|
import {
|
|
15
15
|
__toESM,
|
|
16
16
|
init_esm_shims
|
|
@@ -179,4 +179,4 @@ export {
|
|
|
179
179
|
docsExtensionTypeSchema,
|
|
180
180
|
getGenerateFlowByDocsExtensionType
|
|
181
181
|
};
|
|
182
|
-
//# sourceMappingURL=chunk-
|
|
182
|
+
//# sourceMappingURL=chunk-3F37CLLG.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
|
readAppManifestFile
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZB45Z5HF.js";
|
|
6
6
|
import {
|
|
7
7
|
ArmTagProvider,
|
|
8
8
|
ExtensionDataProvider,
|
|
@@ -16,16 +16,16 @@ import {
|
|
|
16
16
|
useResolvePlatformUrl,
|
|
17
17
|
useSite,
|
|
18
18
|
useSiteOverrideClient
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-77QRLTEW.js";
|
|
20
20
|
import {
|
|
21
21
|
useBackendComponents
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-EA7P2QKZ.js";
|
|
23
23
|
import {
|
|
24
24
|
getMonitoringProvider,
|
|
25
25
|
updateAppManifestComponents,
|
|
26
26
|
updateMonitoring,
|
|
27
27
|
updateTopology
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-XVTQMWYF.js";
|
|
29
29
|
import {
|
|
30
30
|
Alert,
|
|
31
31
|
Box_default,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
useHttpClient,
|
|
55
55
|
useProjectModel,
|
|
56
56
|
useTranslation
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-Z4YOWDFB.js";
|
|
58
58
|
import {
|
|
59
59
|
__toESM,
|
|
60
60
|
init_esm_shims
|
|
@@ -282,4 +282,4 @@ export {
|
|
|
282
282
|
assertBuildOutputExists,
|
|
283
283
|
PreviewCommand
|
|
284
284
|
};
|
|
285
|
-
//# sourceMappingURL=chunk-
|
|
285
|
+
//# sourceMappingURL=chunk-4OEENWJ2.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-4OEENWJ2.js";
|
|
7
7
|
import {
|
|
8
8
|
useARMClient
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-77QRLTEW.js";
|
|
10
10
|
import {
|
|
11
11
|
useWixCliAppBi
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UYQGHBTE.js";
|
|
13
13
|
import {
|
|
14
14
|
useBackendComponents
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EA7P2QKZ.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-Z4YOWDFB.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-6Y76ODLQ.js.map
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
componentGenerator,
|
|
5
5
|
require_kebabCase,
|
|
6
6
|
useBackendComponents
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EA7P2QKZ.js";
|
|
8
8
|
import {
|
|
9
9
|
useTunnel
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QYPLCT5B.js";
|
|
11
11
|
import {
|
|
12
12
|
useDebugLog
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KMAKXP7M.js";
|
|
14
14
|
import {
|
|
15
15
|
createAppManifest,
|
|
16
16
|
getComponentDevSourceBuilder,
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
getViteConfig3,
|
|
20
20
|
getViteServerUrl,
|
|
21
21
|
updateAppManifestComponents
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XVTQMWYF.js";
|
|
23
23
|
import {
|
|
24
24
|
useExtensionDataClient
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TTFLIV5F.js";
|
|
26
26
|
import {
|
|
27
27
|
APP_CONFIG_PATH,
|
|
28
28
|
Alert,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
use_input_default,
|
|
89
89
|
wixCliAction,
|
|
90
90
|
wixCliAppFlowStepsAnswers
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-Z4YOWDFB.js";
|
|
92
92
|
import {
|
|
93
93
|
__commonJS,
|
|
94
94
|
__dirname,
|
|
@@ -30434,4 +30434,4 @@ xmlhttprequest-ssl/lib/XMLHttpRequest.js:
|
|
|
30434
30434
|
* @license MIT
|
|
30435
30435
|
*)
|
|
30436
30436
|
*/
|
|
30437
|
-
//# sourceMappingURL=chunk-
|
|
30437
|
+
//# sourceMappingURL=chunk-77QRLTEW.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
|
addUserFields
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RVBAYSWR.js";
|
|
6
6
|
import {
|
|
7
7
|
messages_default
|
|
8
8
|
} from "./chunk-3QFT6UQF.js";
|
|
9
9
|
import {
|
|
10
10
|
DebugLogProvider
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KMAKXP7M.js";
|
|
12
12
|
import {
|
|
13
13
|
AccountAuthProvider,
|
|
14
14
|
BiProvider,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
getDebugLogFilePath,
|
|
23
23
|
isLoggedInToAccount,
|
|
24
24
|
require_react
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-Z4YOWDFB.js";
|
|
26
26
|
import {
|
|
27
27
|
__toESM,
|
|
28
28
|
init_esm_shims
|
|
@@ -64,4 +64,4 @@ export {
|
|
|
64
64
|
log,
|
|
65
65
|
executeCommand
|
|
66
66
|
};
|
|
67
|
-
//# sourceMappingURL=chunk-
|
|
67
|
+
//# sourceMappingURL=chunk-BQP36DXK.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
require_react,
|
|
18
18
|
useProjectModel,
|
|
19
19
|
writePackageJson
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-Z4YOWDFB.js";
|
|
21
21
|
import {
|
|
22
22
|
__commonJS,
|
|
23
23
|
__require,
|
|
@@ -4365,4 +4365,4 @@ ejs/lib/ejs.js:
|
|
|
4365
4365
|
* @license {@link http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0}
|
|
4366
4366
|
*)
|
|
4367
4367
|
*/
|
|
4368
|
-
//# sourceMappingURL=chunk-
|
|
4368
|
+
//# sourceMappingURL=chunk-EA7P2QKZ.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
require_index_node,
|
|
5
5
|
require_react,
|
|
6
6
|
require_verror
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Z4YOWDFB.js";
|
|
8
8
|
import {
|
|
9
9
|
__toESM,
|
|
10
10
|
init_esm_shims
|
|
@@ -99,4 +99,4 @@ export {
|
|
|
99
99
|
DebugLogProvider,
|
|
100
100
|
useDebugLog
|
|
101
101
|
};
|
|
102
|
-
//# sourceMappingURL=chunk-
|
|
102
|
+
//# sourceMappingURL=chunk-KMAKXP7M.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
createRendererToString,
|
|
6
6
|
isCliError,
|
|
7
7
|
require_react
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Z4YOWDFB.js";
|
|
9
9
|
import {
|
|
10
10
|
__toESM,
|
|
11
11
|
init_esm_shims
|
|
@@ -61,4 +61,4 @@ function createLogger({
|
|
|
61
61
|
export {
|
|
62
62
|
createLogger
|
|
63
63
|
};
|
|
64
|
-
//# sourceMappingURL=chunk-
|
|
64
|
+
//# sourceMappingURL=chunk-LYKHENNA.js.map
|
|
@@ -3,13 +3,13 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
addUserFields,
|
|
5
5
|
reportCommandStartEvent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RVBAYSWR.js";
|
|
7
7
|
import {
|
|
8
8
|
messages_default
|
|
9
9
|
} from "./chunk-3QFT6UQF.js";
|
|
10
10
|
import {
|
|
11
11
|
DebugLogProvider
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KMAKXP7M.js";
|
|
13
13
|
import {
|
|
14
14
|
AccountAuthProvider,
|
|
15
15
|
BiProvider,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
package_default,
|
|
27
27
|
render,
|
|
28
28
|
require_react
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-Z4YOWDFB.js";
|
|
30
30
|
import {
|
|
31
31
|
__toESM,
|
|
32
32
|
init_esm_shims
|
|
@@ -125,4 +125,4 @@ export {
|
|
|
125
125
|
renderCommand,
|
|
126
126
|
runCommand
|
|
127
127
|
};
|
|
128
|
-
//# sourceMappingURL=chunk-
|
|
128
|
+
//# sourceMappingURL=chunk-NZLGBI2J.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
useHttpClient,
|
|
19
19
|
usePanoramaMethodLogger,
|
|
20
20
|
wixCliAppsFlowTunnelCreationStatusSrc11Evid5233
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-Z4YOWDFB.js";
|
|
22
22
|
import {
|
|
23
23
|
__commonJS,
|
|
24
24
|
__dirname,
|
|
@@ -906,4 +906,4 @@ init_esm_shims();
|
|
|
906
906
|
export {
|
|
907
907
|
useTunnel
|
|
908
908
|
};
|
|
909
|
-
//# sourceMappingURL=chunk-
|
|
909
|
+
//# sourceMappingURL=chunk-QYPLCT5B.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
isCliSystemError,
|
|
6
6
|
wixCliCliCommand,
|
|
7
7
|
wixCliCliCommandStatus
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Z4YOWDFB.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-RVBAYSWR.js.map
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
toURLSearchParams,
|
|
16
16
|
useHttpClient,
|
|
17
17
|
usePanoramaMethodLogger
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Z4YOWDFB.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__toESM,
|
|
@@ -4794,4 +4794,4 @@ export {
|
|
|
4794
4794
|
getBackendEventSlug,
|
|
4795
4795
|
useExtensionDataClient
|
|
4796
4796
|
};
|
|
4797
|
-
//# sourceMappingURL=chunk-
|
|
4797
|
+
//# sourceMappingURL=chunk-TTFLIV5F.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
require_react,
|
|
5
5
|
useBiLogger,
|
|
6
6
|
wixCliAppBiEvents
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Z4YOWDFB.js";
|
|
8
8
|
import {
|
|
9
9
|
__toESM,
|
|
10
10
|
init_esm_shims
|
|
@@ -24,4 +24,4 @@ init_esm_shims();
|
|
|
24
24
|
export {
|
|
25
25
|
useWixCliAppBi
|
|
26
26
|
};
|
|
27
|
-
//# sourceMappingURL=chunk-
|
|
27
|
+
//# sourceMappingURL=chunk-UYQGHBTE.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
readJson,
|
|
12
12
|
require_lib,
|
|
13
13
|
writeJson
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-Z4YOWDFB.js";
|
|
15
15
|
import {
|
|
16
16
|
__toESM,
|
|
17
17
|
init_esm_shims
|
|
@@ -351,4 +351,4 @@ export {
|
|
|
351
351
|
getRepoType,
|
|
352
352
|
createPackageManager
|
|
353
353
|
};
|
|
354
|
-
//# sourceMappingURL=chunk-
|
|
354
|
+
//# sourceMappingURL=chunk-VIMDBBS7.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../package-manager/src/repo-type.ts","../../package-manager/src/git-service.ts","../../package-manager/src/shell/index.ts","../../package-manager/src/shell/shell-client.ts","../../package-manager/src/package-manager.ts","../../package-manager/src/adapters/npm.ts","../../package-manager/src/adapters/yarn.ts","../../package-manager/src/index.ts"],"sourcesContent":["import { readJson } from '@wix/cli-fs';\nimport { join } from 'node:path';\nimport { variant, fields } from 'variant';\nimport type { VariantOf } from 'variant';\nimport type { PackageJson } from 'type-fest';\nimport { getGitRoot, isInsideGitRepo } from './git-service.js';\n\nexport const RepoType = variant({\n None: {},\n Polyrepo: fields<{ rootDir: string }>(),\n Monorepo: fields<{ rootDir: string }>(),\n});\n\nexport type RepoType = VariantOf<typeof RepoType>;\n\nexport async function getRepoType(\n targetParentFolder: string\n): Promise<RepoType> {\n if (!(await isInsideGitRepo(targetParentFolder))) {\n return RepoType.None();\n }\n\n const rootDir = await getGitRoot(targetParentFolder);\n\n if (await isUsingWorkspaces(rootDir)) {\n return RepoType.Monorepo({\n rootDir,\n });\n }\n\n return RepoType.Polyrepo({\n rootDir,\n });\n}\n\nasync function isUsingWorkspaces(rootDir: string) {\n return readJson(join(rootDir, 'package.json'))\n .then((pkgJson) => Boolean((pkgJson as PackageJson).workspaces))\n .catch(() => false);\n}\n","import { runCommand } from './shell/index.js';\n\nexport function isInsideGitRepo(cwd: string) {\n return runCommand('git rev-parse --is-inside-work-tree', { cwd })\n .then(() => true)\n .catch(() => false);\n}\n\nexport async function getGitRoot(cwd: string) {\n return runCommand('git rev-parse --show-toplevel', { cwd });\n}\n\nexport async function getGitLatestCommitHash(cwd: string) {\n try {\n return await runCommand('git rev-parse --verify HEAD', { cwd });\n } catch {\n // This command can fail if there are no commits, so we can just return undefined\n }\n}\n\nexport async function gitInit(cwd: string) {\n await runCommand('git init', { cwd });\n}\n\nexport async function gitCommit(cwd: string) {\n await runCommand('git add -A', { cwd });\n await runCommand(\n `git commit -m Initial\\\\ commit\\\\ from\\\\ Create\\\\ Wix\\\\ App --no-verify`,\n { cwd }\n );\n}\n\nexport async function gitClone(url: string, path: string, branch?: string) {\n await runCommand(\n `git clone --depth 1 ${branch ? `-b ${branch}` : ''} ${url} ${path}`,\n {\n env: {\n /*\n * This is to prevent git from prompting for credentials.\n * `git clone` uses a subprocess for the authentication, so we can't attach the main process to its stdio.\n * This leads to:\n * - the spinners \"swallow\" its output.\n * - after answering with the username and pressing \"Enter\", the first line of the output is being duplicated.\n * That's why we're disabling the prompt, so user should be pre-authenticated.\n */\n GIT_TERMINAL_PROMPT: '0',\n },\n }\n );\n}\n","export { runCommand } from './shell-client.js';\n","import { execaCommand } from 'execa';\nimport type { Options } from './types.js';\n\nexport async function runCommand(command: string, opts?: Options) {\n const commandProcess = execaCommand(command, {\n /**\n * DO NOT USE `shell: true`!\n * It's a security risk that leads to injections and should be avoided.\n * ref: https://github.com/sindresorhus/execa/tree/main#shell\n */\n shell: false,\n cwd: opts?.cwd,\n env: opts?.env,\n });\n\n if (opts?.output) {\n commandProcess.stdout?.pipe(opts.output);\n }\n\n const { stdout } = await commandProcess;\n\n return stdout;\n}\n","import { env } from 'node:process';\nimport { pathExists } from '@wix/cli-fs';\nimport { join } from 'node:path';\nimport { CliError, CliErrorCode } from '@wix/cli-error';\nimport { matcher } from 'variant';\nimport { NPM } from './adapters/npm.js';\nimport { Yarn, resolveYarnVersion } from './adapters/yarn.js';\nimport type { IPackageManager, PackageManagerName } from './types.js';\nimport { RepoType } from './repo-type.js';\n\nexport async function createPackageManager(\n repoType: RepoType\n): Promise<IPackageManager> {\n const packageManagerName = await getPackageManagerName(repoType);\n\n switch (packageManagerName) {\n case 'yarn-berry':\n return new Yarn(repoType, 'yarn-berry');\n case 'yarn':\n return new Yarn(repoType, 'yarn');\n case 'npm':\n return new NPM(repoType);\n }\n}\n\nasync function getPackageManagerName(\n repoType: RepoType\n): Promise<PackageManagerName> {\n // In case of an existing repo we first check for relevant package manager files.\n // this is an extra layer of identification that should prevent errors when the\n // user runs create-app using a package manager other than the one used in the project\n\n const getByEnv = (): PackageManagerName => {\n if (env.npm_config_user_agent?.startsWith('yarn/1')) {\n return 'yarn';\n }\n\n // yarn v2+\n if (env.npm_config_user_agent?.startsWith('yarn')) {\n return 'yarn-berry';\n }\n\n if (env.npm_config_user_agent?.startsWith('npm')) {\n return 'npm';\n }\n\n throw new CliError({\n code: CliErrorCode.UnsupportedPackageManager({\n packageManagerName: env.npm_config_user_agent,\n }),\n cause: null,\n });\n };\n\n return matcher(repoType)\n .when(RepoType.None, getByEnv)\n .when(\n [RepoType.Polyrepo, RepoType.Monorepo],\n async ({ rootDir }): Promise<PackageManagerName> => {\n const [hasYarnRc, hasYarnLock, hasPackageLock] = await Promise.all([\n pathExists(join(rootDir, '.yarnrc.yml')),\n pathExists(join(rootDir, 'yarn.lock')),\n pathExists(join(rootDir, 'package-lock.json')),\n ]);\n\n if (hasYarnRc || hasYarnLock) {\n const yarnVersion = await resolveYarnVersion(rootDir);\n return yarnVersion.startsWith('1') ? 'yarn' : 'yarn-berry';\n }\n\n if (hasPackageLock) {\n return 'npm';\n }\n\n return getByEnv();\n }\n )\n .complete();\n}\n","import { CliError, CliErrorCode } from '@wix/cli-error';\nimport { isType } from 'variant';\nimport { runCommand } from '../shell/index.js';\nimport type { IPackageManager } from '../types.js';\nimport { RepoType } from '../repo-type.js';\n\nexport class NPM implements IPackageManager {\n readonly name = 'npm';\n\n constructor(private readonly repoType: RepoType) {}\n\n getUsage(name: string): string {\n return `npm init ${name.replace('create-', '')}`;\n }\n\n getInstallCmd(): string {\n return 'npm install';\n }\n\n getRunCmd(): string {\n return 'npm run';\n }\n\n getRunBinaryCmd(args: string[]): { file: string; args: string[] } {\n return {\n file: 'npx',\n args: ['--no-install'].concat(args),\n };\n }\n\n async setup(_cwd: string): Promise<void> {\n if (isType(this.repoType, RepoType.Monorepo)) {\n throw new CliError({\n code: CliErrorCode.UnsupportedPackageManagerWorkspaces({\n packageManagerName: this.name,\n }),\n cause: null,\n });\n }\n }\n\n async runInstall(cwd: string): Promise<void> {\n try {\n await runCommand(this.getInstallCmd(), { cwd });\n } catch (e) {\n throw new CliError({\n code: CliErrorCode.FailedToInstallPackages(),\n info: { packageManager: this.name },\n cause: e,\n });\n }\n }\n\n async runInstallPackage(cwd: string, packageName: string): Promise<void> {\n try {\n await runCommand(`npm install ${packageName}`, { cwd });\n } catch (e) {\n throw new CliError({\n code: CliErrorCode.FailedToInstallPackage({ packageName }),\n info: { packageManager: this.name },\n cause: e,\n });\n }\n }\n\n async runUninstallPackage(cwd: string, packageName: string): Promise<void> {\n try {\n await runCommand(`npm uninstall ${packageName}`, { cwd });\n } catch (e) {\n throw new CliError({\n code: CliErrorCode.FailedToUninstallPackage({ packageName }),\n info: { packageManager: this.name },\n cause: e,\n });\n }\n }\n}\n","import { CliError, CliErrorCode } from '@wix/cli-error';\nimport { readJson, writeJson } from '@wix/cli-fs';\nimport { join, relative } from 'node:path';\nimport { matcher } from 'variant';\nimport { EOL } from 'node:os';\nimport { z } from 'zod';\nimport { writeFile } from 'node:fs/promises';\nimport type { PackageJson } from 'type-fest';\nimport { runCommand } from '../shell/index.js';\nimport type { IPackageManager } from '../types.js';\nimport type { RepoType } from '../repo-type.js';\n\ntype YarnVersion = 'yarn' | 'yarn-berry';\n\nexport async function resolveYarnVersion(cwd: string) {\n const stdout = await runCommand('yarn --version', { cwd });\n return stdout.trim();\n}\n\nexport class Yarn implements IPackageManager {\n constructor(\n private readonly repoType: RepoType,\n readonly name: YarnVersion\n ) {}\n\n getUsage(name: string): string {\n return `yarn create ${name.replace('create-', '')}`;\n }\n\n getInstallCmd(): string {\n return 'yarn install';\n }\n\n getRunCmd(): string {\n return 'yarn';\n }\n\n getRunBinaryCmd(args: string[]): { file: string; args: string[] } {\n return {\n file: 'yarn',\n args: ['run'].concat(args),\n };\n }\n\n async setup(packageFolder: string): Promise<void> {\n return matcher(this.repoType)\n .when(['None', 'Polyrepo'], async () => {\n if (this.name === 'yarn-berry') {\n // if yarn berry encounters a package.json in a parent folder, it\n // complains that our project needs to be part of that parent project.\n // An official way to tell yarn that this is a standalone project is\n // to create an empty lockfile.\n // A similar thing was done in create-astro: https://github.com/withastro/astro/pull/8028\n await writeFile(join(packageFolder, 'yarn.lock'), '');\n }\n })\n .when('Monorepo', async ({ rootDir }) => {\n try {\n await addPackageToWorkspaces({\n rootDir,\n packageFolder,\n yarnVersion: this.name,\n });\n } catch (error) {\n throw new CliError({\n code: CliErrorCode.FailedAddingPackageToWorkspace(),\n cause: error,\n });\n }\n })\n .complete();\n }\n\n async runInstall(cwd: string): Promise<void> {\n try {\n await runCommand(this.getInstallCmd(), { cwd });\n } catch (e) {\n throw new CliError({\n code: CliErrorCode.FailedToInstallPackages(),\n info: { packageManager: this.name },\n cause: e,\n });\n }\n }\n\n async runInstallPackage(cwd: string, packageName: string): Promise<void> {\n try {\n await runCommand(`yarn add ${packageName}`, { cwd });\n } catch (e) {\n throw new CliError({\n code: CliErrorCode.FailedToInstallPackage({ packageName }),\n info: { packageManager: this.name },\n cause: e,\n });\n }\n }\n\n async runUninstallPackage(cwd: string, packageName: string): Promise<void> {\n try {\n await runCommand(`yarn remove ${packageName}`, { cwd });\n } catch (e) {\n throw new CliError({\n code: CliErrorCode.FailedToUninstallPackage({ packageName }),\n info: { packageManager: this.name },\n cause: e,\n });\n }\n }\n}\n\nasync function getPackagesRelativePaths(\n rootDir: string,\n yarnVersion: YarnVersion\n): Promise<string[]> {\n const workspacesSchema = z.array(\n z.object({\n location: z.string(),\n })\n );\n\n if (yarnVersion === 'yarn-berry') {\n const packages = await runCommand('yarn workspaces list --json', {\n cwd: rootDir,\n });\n\n const parsedPackages = workspacesSchema.parse(\n packages\n .split(EOL)\n .filter(Boolean)\n .map((pkg) => JSON.parse(pkg))\n );\n\n return parsedPackages.map((pkg) => pkg.location);\n }\n\n const packages = await runCommand('yarn --json workspaces info', {\n cwd: rootDir,\n });\n\n const parsedPackages = workspacesSchema.parse(\n Object.values(JSON.parse(JSON.parse(packages).data))\n );\n return parsedPackages.map((pkg) => pkg.location);\n}\n\nasync function addPackageToWorkspaces({\n rootDir,\n packageFolder,\n yarnVersion,\n}: {\n rootDir: string;\n packageFolder: string;\n yarnVersion: YarnVersion;\n}) {\n const relativePackagePath = relative(rootDir, packageFolder);\n const packages = await getPackagesRelativePaths(rootDir, yarnVersion);\n\n if (packages.includes(relativePackagePath)) {\n return;\n }\n\n const packageJson = (await readJson(\n join(rootDir, 'package.json')\n )) as PackageJson;\n\n if (Array.isArray(packageJson.workspaces)) {\n packageJson.workspaces.push(relativePackagePath);\n } else if (typeof packageJson.workspaces === 'object') {\n packageJson.workspaces = {\n ...packageJson.workspaces,\n packages: [\n ...(packageJson.workspaces.packages ?? []),\n relativePackagePath,\n ],\n };\n } else {\n throw new Error(\n `Failed to read workspaces structure. Expected an array or object but got ${JSON.stringify(\n packageJson.workspaces\n )}`\n );\n }\n\n await writeJson(join(rootDir, 'package.json'), packageJson, { spaces: 2 });\n}\n","export { createPackageManager } from './package-manager.js';\nexport { NPM } from './adapters/npm.js';\nexport { Yarn } from './adapters/yarn.js';\nexport type { IPackageManager } from './types.js';\nexport { getRepoType, RepoType } from './repo-type.js';\nexport {\n gitClone,\n gitCommit,\n gitInit,\n getGitLatestCommitHash,\n isInsideGitRepo,\n} from './git-service.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAEA,qBAAgC;AADhC,SAAS,YAAY;;;ACDrB;;;ACAA;;;ACAA;AAGA,eAAsB,WAAW,SAAiB,MAAgB;AAChE,QAAM,iBAAiB,aAAa,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAM3C,OAAO;AAAA,IACP,KAAK,MAAM;AAAA,IACX,KAAK,MAAM;AAAA,EACb,CAAC;AAED,MAAI,MAAM,QAAQ;AAChB,mBAAe,QAAQ,KAAK,KAAK,MAAM;AAAA,EACzC;AAEA,QAAM,EAAE,OAAO,IAAI,MAAM;AAEzB,SAAO;AACT;;;AFpBO,SAAS,gBAAgB,KAAa;AAC3C,SAAO,WAAW,uCAAuC,EAAE,IAAI,CAAC,EAC7D,KAAK,MAAM,IAAI,EACf,MAAM,MAAM,KAAK;AACtB;AAEA,eAAsB,WAAW,KAAa;AAC5C,SAAO,WAAW,iCAAiC,EAAE,IAAI,CAAC;AAC5D;;;ADHO,IAAM,eAAW,wBAAQ;AAAA,EAC9B,MAAM,CAAC;AAAA,EACP,cAAU,uBAA4B;AAAA,EACtC,cAAU,uBAA4B;AACxC,CAAC;AAID,eAAsB,YACpB,oBACmB;AACnB,MAAI,CAAE,MAAM,gBAAgB,kBAAkB,GAAI;AAChD,WAAO,SAAS,KAAK;AAAA,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A,IACC,CAAC,SAAS,UAAU,SAAS,QAAQ;AAAA,IACrC,OAAO,EAAE,QAAQ,MAAmC;AAClD,YAAM,CAAC,WAAW,aAAa,cAAc,IAAI,MAAM,QAAQ,IAAI;AAAA,QACjE,WAAWG,MAAK,SAAS,aAAa,CAAC;AAAA,QACvC,WAAWA,MAAK,SAAS,WAAW,CAAC;AAAA,QACrC,WAAWA,MAAK,SAAS,mBAAmB,CAAC;AAAA,MAC/C,CAAC;AAED,UAAI,aAAa,aAAa;AAC5B,cAAM,cAAc,MAAM,mBAAmB,OAAO;AACpD,eAAO,YAAY,WAAW,GAAG,IAAI,SAAS;AAAA,MAChD;AAEA,UAAI,gBAAgB;AAClB,eAAO;AAAA,MACT;AAEA,aAAO,SAAS;AAAA,IAClB;AAAA,EACF,EACC,SAAS;AACd;;;AG9EA;","names":["join","import_variant","import_variant","import_variant","join","join","packages","parsedPackages","join"]}
|
|
@@ -3,7 +3,7 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
getBackendEventSlug,
|
|
5
5
|
require_baseUniq
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TTFLIV5F.js";
|
|
7
7
|
import {
|
|
8
8
|
API_BASEURL_PLACEHOLDER,
|
|
9
9
|
AlgorithmType,
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
virtualSiteComponentPreviewScriptAssets,
|
|
95
95
|
virtualSiteComponentScriptAssets,
|
|
96
96
|
virtualSiteComponentSdkScriptAssets
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-Z4YOWDFB.js";
|
|
98
98
|
import {
|
|
99
99
|
__commonJS,
|
|
100
100
|
__esm,
|
|
@@ -42581,4 +42581,4 @@ export {
|
|
|
42581
42581
|
he/he.js:
|
|
42582
42582
|
(*! https://mths.be/he v1.2.0 by @mathias | MIT license *)
|
|
42583
42583
|
*/
|
|
42584
|
-
//# sourceMappingURL=chunk-
|
|
42584
|
+
//# sourceMappingURL=chunk-XVTQMWYF.js.map
|
|
@@ -145222,7 +145222,7 @@ var require_chokidar = __commonJS({
|
|
|
145222
145222
|
var package_default = {
|
|
145223
145223
|
name: "@wix/cli-app",
|
|
145224
145224
|
description: "CLI tool for Wix apps",
|
|
145225
|
-
version: "1.1.
|
|
145225
|
+
version: "1.1.139",
|
|
145226
145226
|
author: "Amit Dahan",
|
|
145227
145227
|
dependencies: {
|
|
145228
145228
|
esbuild: "^0.25.0",
|
|
@@ -181683,4 +181683,4 @@ mustache/mustache.mjs:
|
|
|
181683
181683
|
* http://github.com/janl/mustache.js
|
|
181684
181684
|
*)
|
|
181685
181685
|
*/
|
|
181686
|
-
//# sourceMappingURL=chunk-
|
|
181686
|
+
//# sourceMappingURL=chunk-Z4YOWDFB.js.map
|