@wix/cli-app 1.1.241 → 1.1.242
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-EXAMYKWO.js → AddPermissionCommand-NLUR2C32.js} +2 -2
- package/build/{DevCommand-R23G6UTT.js → DevCommand-Q2FYB3XY.js} +10 -10
- package/build/{GenerateCommand-OTRSC2NT.js → GenerateCommand-F52FFNBI.js} +7 -7
- package/build/{LogsCommand-4TZYGELU.js → LogsCommand-5UYLBRQZ.js} +3 -3
- package/build/PreviewCommand-IQAJTIVR.js +19 -0
- package/build/ReleaseCommand-XQSVZICW.js +23 -0
- package/build/{ServeCommand-EVBJOVXM.js → ServeCommand-SPJHLK7U.js} +3 -3
- package/build/{build-JDUCIKJ2.js → build-2T5BFUWM.js} +6 -6
- package/build/{chunk-M725V2BP.js → chunk-63VFX6QK.js} +2 -2
- package/build/{chunk-M725V2BP.js.map → chunk-63VFX6QK.js.map} +1 -1
- package/build/{chunk-OJQOLF4E.js → chunk-7DXNLVMY.js} +2 -2
- package/build/{chunk-B64K5FKJ.js → chunk-B3XIOUQT.js} +2 -2
- package/build/{chunk-TZ7X2I5N.js → chunk-BMVS42XS.js} +3 -3
- package/build/{chunk-HENQQRJN.js → chunk-C42KLSNW.js} +2 -2
- package/build/{chunk-W24C74UN.js → chunk-GTSFGE5V.js} +3 -3
- package/build/{chunk-IVRA2IZR.js → chunk-JK7EYVDW.js} +11 -7
- package/build/{chunk-IVRA2IZR.js.map → chunk-JK7EYVDW.js.map} +1 -1
- package/build/{chunk-GM5XQE3F.js → chunk-KF4Y7AR3.js} +2 -2
- package/build/{chunk-N5MAFI5Q.js → chunk-KGCNOH2C.js} +2 -2
- package/build/{chunk-3XBYUP7S.js → chunk-LUVRH4ML.js} +7 -7
- package/build/{chunk-GC7YN32K.js → chunk-QK72TUIO.js} +3 -3
- package/build/{chunk-ZGWXSNBN.js → chunk-QSLY47CE.js} +6 -6
- package/build/{chunk-CCQDCA72.js → chunk-R52Q3OHG.js} +2 -2
- package/build/{chunk-H6VA7EKH.js → chunk-V5F6GGW4.js} +3 -3
- package/build/{chunk-2FJ7244F.js → chunk-YO7FIWQY.js} +6 -6
- package/build/{chunk-QU4G4IND.js → chunk-ZQAW4UYV.js} +2 -2
- package/build/index.js +22 -22
- package/build/{preview-MDRX7LHH.js → preview-KPMG263Y.js} +11 -11
- package/build/{release-3DX7FTMB.js → release-EOP3M5P7.js} +13 -13
- package/build/{render-command-GYWTXECX.js → render-command-YNOAIR7C.js} +4 -4
- package/package.json +2 -2
- package/build/PreviewCommand-MJ3VGRQV.js +0 -19
- package/build/ReleaseCommand-W2KAGMRD.js +0 -23
- /package/build/{AddPermissionCommand-EXAMYKWO.js.map → AddPermissionCommand-NLUR2C32.js.map} +0 -0
- /package/build/{DevCommand-R23G6UTT.js.map → DevCommand-Q2FYB3XY.js.map} +0 -0
- /package/build/{GenerateCommand-OTRSC2NT.js.map → GenerateCommand-F52FFNBI.js.map} +0 -0
- /package/build/{LogsCommand-4TZYGELU.js.map → LogsCommand-5UYLBRQZ.js.map} +0 -0
- /package/build/{PreviewCommand-MJ3VGRQV.js.map → PreviewCommand-IQAJTIVR.js.map} +0 -0
- /package/build/{ReleaseCommand-W2KAGMRD.js.map → ReleaseCommand-XQSVZICW.js.map} +0 -0
- /package/build/{ServeCommand-EVBJOVXM.js.map → ServeCommand-SPJHLK7U.js.map} +0 -0
- /package/build/{build-JDUCIKJ2.js.map → build-2T5BFUWM.js.map} +0 -0
- /package/build/{chunk-OJQOLF4E.js.map → chunk-7DXNLVMY.js.map} +0 -0
- /package/build/{chunk-B64K5FKJ.js.map → chunk-B3XIOUQT.js.map} +0 -0
- /package/build/{chunk-TZ7X2I5N.js.map → chunk-BMVS42XS.js.map} +0 -0
- /package/build/{chunk-HENQQRJN.js.map → chunk-C42KLSNW.js.map} +0 -0
- /package/build/{chunk-W24C74UN.js.map → chunk-GTSFGE5V.js.map} +0 -0
- /package/build/{chunk-GM5XQE3F.js.map → chunk-KF4Y7AR3.js.map} +0 -0
- /package/build/{chunk-N5MAFI5Q.js.map → chunk-KGCNOH2C.js.map} +0 -0
- /package/build/{chunk-3XBYUP7S.js.map → chunk-LUVRH4ML.js.map} +0 -0
- /package/build/{chunk-GC7YN32K.js.map → chunk-QK72TUIO.js.map} +0 -0
- /package/build/{chunk-ZGWXSNBN.js.map → chunk-QSLY47CE.js.map} +0 -0
- /package/build/{chunk-CCQDCA72.js.map → chunk-R52Q3OHG.js.map} +0 -0
- /package/build/{chunk-H6VA7EKH.js.map → chunk-V5F6GGW4.js.map} +0 -0
- /package/build/{chunk-2FJ7244F.js.map → chunk-YO7FIWQY.js.map} +0 -0
- /package/build/{chunk-QU4G4IND.js.map → chunk-ZQAW4UYV.js.map} +0 -0
- /package/build/{preview-MDRX7LHH.js.map → preview-KPMG263Y.js.map} +0 -0
- /package/build/{release-3DX7FTMB.js.map → release-EOP3M5P7.js.map} +0 -0
- /package/build/{render-command-GYWTXECX.js.map → render-command-YNOAIR7C.js.map} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
extractHttpError,
|
|
5
5
|
require_react,
|
|
6
6
|
require_verror
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-63VFX6QK.js";
|
|
8
8
|
import {
|
|
9
9
|
__toESM,
|
|
10
10
|
init_esm_shims
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
DebugLogProvider,
|
|
88
88
|
useDebugLog
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=chunk-
|
|
90
|
+
//# sourceMappingURL=chunk-7DXNLVMY.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
readJson,
|
|
12
12
|
require_lib,
|
|
13
13
|
writeJson
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-63VFX6QK.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-B3XIOUQT.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-QBRIDBYB.js";
|
|
6
6
|
import {
|
|
7
7
|
DebugLogProvider
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7DXNLVMY.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthProvider,
|
|
11
11
|
BiProvider,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
getDebugLogFilePath,
|
|
22
22
|
isLoggedInToAccount,
|
|
23
23
|
require_react
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-63VFX6QK.js";
|
|
25
25
|
import {
|
|
26
26
|
__toESM,
|
|
27
27
|
init_esm_shims
|
|
@@ -63,4 +63,4 @@ export {
|
|
|
63
63
|
log,
|
|
64
64
|
executeCommand
|
|
65
65
|
};
|
|
66
|
-
//# sourceMappingURL=chunk-
|
|
66
|
+
//# sourceMappingURL=chunk-BMVS42XS.js.map
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
toURLSearchParams,
|
|
16
16
|
useHttpClient,
|
|
17
17
|
usePanoramaMethodLogger
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-63VFX6QK.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__toESM,
|
|
@@ -4806,4 +4806,4 @@ export {
|
|
|
4806
4806
|
getBackendEventSlug,
|
|
4807
4807
|
useExtensionDataClient
|
|
4808
4808
|
};
|
|
4809
|
-
//# sourceMappingURL=chunk-
|
|
4809
|
+
//# sourceMappingURL=chunk-C42KLSNW.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-QBRIDBYB.js";
|
|
6
6
|
import {
|
|
7
7
|
DebugLogProvider
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7DXNLVMY.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthProvider,
|
|
11
11
|
BiProvider,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
render,
|
|
27
27
|
reportCommandStartEvent,
|
|
28
28
|
require_react
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-63VFX6QK.js";
|
|
30
30
|
import {
|
|
31
31
|
__toESM,
|
|
32
32
|
init_esm_shims
|
|
@@ -135,4 +135,4 @@ export {
|
|
|
135
135
|
renderCommand,
|
|
136
136
|
runCommand
|
|
137
137
|
};
|
|
138
|
-
//# sourceMappingURL=chunk-
|
|
138
|
+
//# sourceMappingURL=chunk-GTSFGE5V.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
require_semver,
|
|
17
17
|
useProjectModel,
|
|
18
18
|
writePackageJson
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-63VFX6QK.js";
|
|
20
20
|
import {
|
|
21
21
|
__commonJS,
|
|
22
22
|
__require,
|
|
@@ -3842,10 +3842,11 @@ function syncDependencies(packageJson, section, dependencies, updatedDependencie
|
|
|
3842
3842
|
async function dependenciesUpdater(opts) {
|
|
3843
3843
|
const { projectFolder, dependenciesJsonPath, dynamicPackages } = opts;
|
|
3844
3844
|
const updatedDependencies = /* @__PURE__ */ new Set();
|
|
3845
|
-
|
|
3845
|
+
const hasDependenciesJson = await pathExists(dependenciesJsonPath);
|
|
3846
|
+
if (!hasDependenciesJson && !dynamicPackages) {
|
|
3846
3847
|
return [];
|
|
3847
3848
|
}
|
|
3848
|
-
const dependenciesConfig = await readDependenciesJson(dependenciesJsonPath);
|
|
3849
|
+
const dependenciesConfig = hasDependenciesJson ? await readDependenciesJson(dependenciesJsonPath) : {};
|
|
3849
3850
|
const packageJson = await readPackageJson(projectFolder);
|
|
3850
3851
|
syncDependencies(
|
|
3851
3852
|
packageJson,
|
|
@@ -3900,6 +3901,7 @@ async function componentGenerator(opts) {
|
|
|
3900
3901
|
projectFolder,
|
|
3901
3902
|
assetsOutputPath,
|
|
3902
3903
|
assetsPrefix,
|
|
3904
|
+
dynamicPackages,
|
|
3903
3905
|
...generatorOpts
|
|
3904
3906
|
} = opts;
|
|
3905
3907
|
const newFiles = await generator({
|
|
@@ -3912,12 +3914,14 @@ async function componentGenerator(opts) {
|
|
|
3912
3914
|
outputPath: assetsOutputPath,
|
|
3913
3915
|
assetsPrefix
|
|
3914
3916
|
});
|
|
3917
|
+
const packagesToEnsure = {
|
|
3918
|
+
...dynamicPackages,
|
|
3919
|
+
...opts.importData?.packageName ? { [opts.importData.packageName]: "^1.0.0" } : {}
|
|
3920
|
+
};
|
|
3915
3921
|
const updatedDependencies = await dependenciesUpdater({
|
|
3916
3922
|
projectFolder,
|
|
3917
3923
|
dependenciesJsonPath: join2(template, "dependencies.json"),
|
|
3918
|
-
...
|
|
3919
|
-
dynamicPackages: { [opts.importData.packageName]: "^1.0.0" }
|
|
3920
|
-
} : {}
|
|
3924
|
+
...Object.keys(packagesToEnsure).length ? { dynamicPackages: packagesToEnsure } : {}
|
|
3921
3925
|
});
|
|
3922
3926
|
return { updatedDependencies, newFiles };
|
|
3923
3927
|
}
|
|
@@ -3941,4 +3945,4 @@ ejs/lib/ejs.js:
|
|
|
3941
3945
|
* @license {@link http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0}
|
|
3942
3946
|
*)
|
|
3943
3947
|
*/
|
|
3944
|
-
//# sourceMappingURL=chunk-
|
|
3948
|
+
//# sourceMappingURL=chunk-JK7EYVDW.js.map
|