@wix/cli 1.1.60 → 1.1.62
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/{DevCommand-AEGLMQVP.js → DevCommand-NWZ75YTP.js} +16 -16
- package/build/{DevCommand-GO3Z73V7.js → DevCommand-ZNHBPCVV.js} +26 -876
- package/build/DevCommand-ZNHBPCVV.js.map +1 -0
- package/build/{LoginCommand-SGLKXJF6.js → LoginCommand-AQIYGH36.js} +11 -11
- package/build/{LogoutCommand-YL6M6BT7.js → LogoutCommand-LPI7NUZJ.js} +7 -7
- package/build/PreviewCommand-666UOTAN.js +471 -0
- package/build/PreviewCommand-666UOTAN.js.map +1 -0
- package/build/{WhoamiCommand-4EJZYY4W.js → WhoamiCommand-BWXA3TXF.js} +4 -4
- package/build/{chunk-LPA74SM5.js → chunk-45UEHUOD.js} +7 -7
- package/build/{chunk-WVS26NCB.js → chunk-4YD2W3LA.js} +470 -470
- package/build/chunk-4YD2W3LA.js.map +1 -0
- package/build/{chunk-XWFG3TRU.js → chunk-4ZQFECEW.js} +84 -17
- package/build/{chunk-XWFG3TRU.js.map → chunk-4ZQFECEW.js.map} +1 -1
- package/build/{chunk-CRXPC3TE.js → chunk-55EFTE5M.js} +2 -2
- package/build/chunk-6LI4WGAW.js +43 -0
- package/build/chunk-6LI4WGAW.js.map +1 -0
- package/build/chunk-6XRFJZTQ.js +74 -0
- package/build/chunk-6XRFJZTQ.js.map +1 -0
- package/build/{chunk-XANTHYQG.js → chunk-A6TCWKZD.js} +4 -4
- package/build/{chunk-XANTHYQG.js.map → chunk-A6TCWKZD.js.map} +1 -1
- package/build/{chunk-PGR3OZNK.js → chunk-D6HNYFE6.js} +6 -6
- package/build/{chunk-GFSMOEGG.js → chunk-DTRL25IG.js} +49 -18
- package/build/chunk-DTRL25IG.js.map +1 -0
- package/build/{chunk-VNZYI6OK.js → chunk-DVR2CMCO.js} +3 -3
- package/build/{chunk-EDNJGHVN.js → chunk-ETAVRPIY.js} +22 -7
- package/build/chunk-ETAVRPIY.js.map +1 -0
- package/build/{chunk-J2FXQRPG.js → chunk-G34I4OXF.js} +4 -4
- package/build/{chunk-SELJR2HV.js → chunk-IPI4IXDD.js} +12 -73
- package/build/chunk-IPI4IXDD.js.map +1 -0
- package/build/chunk-JIH3GSZJ.js +901 -0
- package/build/chunk-JIH3GSZJ.js.map +1 -0
- package/build/{chunk-LCYX5MZA.js → chunk-LWQGSEXR.js} +3 -3
- package/build/{chunk-DWEFYET4.js → chunk-NLMXNKQO.js} +14 -132
- package/build/chunk-NLMXNKQO.js.map +1 -0
- package/build/{chunk-2DE7QM5C.js → chunk-OEYFKLWJ.js} +2 -2
- package/build/chunk-OOWNEBOM.js +135 -0
- package/build/chunk-OOWNEBOM.js.map +1 -0
- package/build/{chunk-YQ2ZYOKK.js → chunk-OSWRZGLN.js} +6 -6
- package/build/{chunk-QZJC3FP3.js → chunk-PF4VD6IT.js} +5 -5
- package/build/{chunk-BNWDAMAL.js → chunk-PX2L3CCA.js} +2 -2
- package/build/chunk-PX2L3CCA.js.map +1 -0
- package/build/{chunk-5XUFGBCU.js → chunk-SEOIN2A6.js} +7 -3
- package/build/chunk-SEOIN2A6.js.map +1 -0
- package/build/{chunk-B23S4M74.js → chunk-TCSPCAZI.js} +4 -4
- package/build/{chunk-B23S4M74.js.map → chunk-TCSPCAZI.js.map} +1 -1
- package/build/{chunk-VRDC2KLN.js → chunk-VXGNI7CP.js} +5 -2
- package/build/{chunk-VRDC2KLN.js.map → chunk-VXGNI7CP.js.map} +1 -1
- package/build/{chunk-P5FUKDOS.js → chunk-WJQFCMN3.js} +6 -6
- package/build/{chunk-24KEFD7K.js → chunk-XOFZJ3JQ.js} +6 -6
- package/build/{chunk-G6TDIUNY.js → chunk-Y4ZVXLXY.js} +2 -2
- package/build/{chunk-OISYBAR4.js → chunk-Y5LMYOCJ.js} +606 -115
- package/build/chunk-Y5LMYOCJ.js.map +1 -0
- package/build/{chunk-GG7YZNYL.js → chunk-YQW75RJ5.js} +17 -7
- package/build/{chunk-GG7YZNYL.js.map → chunk-YQW75RJ5.js.map} +1 -1
- package/build/{chunk-GIS574I5.js → chunk-YYH6VZI3.js} +3 -14
- package/build/{chunk-GIS574I5.js.map → chunk-YYH6VZI3.js.map} +1 -1
- package/build/{chunk-BVAC4BZH.js → chunk-ZIXYUOVJ.js} +5 -5
- package/build/{chunk-RNMVLLSA.js → chunk-ZR5EKZZ3.js} +6 -6
- package/build/{dev-72CJF6Z6.js → dev-B7FMRZWG.js} +30 -30
- package/build/dev-B7FMRZWG.js.map +1 -0
- package/build/index.js +3551 -10600
- package/build/index.js.map +1 -1
- package/build/{install-7NZK44CY.js → install-B37NJYMG.js} +20 -19
- package/build/{install-7NZK44CY.js.map → install-B37NJYMG.js.map} +1 -1
- package/build/{preview-NIPXK2PL.js → preview-W5ZYLI5U.js} +22 -20
- package/build/{preview-NIPXK2PL.js.map → preview-W5ZYLI5U.js.map} +1 -1
- package/build/{publish-Z3WVKI47.js → publish-KZKBMTND.js} +28 -25
- package/build/publish-KZKBMTND.js.map +1 -0
- package/build/{render-command-OTTR4HS4.js → render-command-FWDU3W5M.js} +11 -11
- package/build/{render-command-I6OSOLTK.js → render-command-S7D3MWYC.js} +10 -10
- package/build/{render-command-GJLP3KAJ.js → render-command-TKO7PYVO.js} +12 -12
- package/build/{run-command-BR7STFFP.js → run-command-YYML7BJX.js} +9 -9
- package/build/{src-U45WATPX.js → src-5VO6B75Q.js} +17 -17
- package/build/{src-U7SGKJCW.js → src-DVFFJLN5.js} +2 -2
- package/build/{src-7HIQOGPY.js → src-GQFPGSHL.js} +7 -7
- package/build/{src-IRKCACSZ.js → src-IMPYJZRW.js} +20 -8
- package/build/src-IMPYJZRW.js.map +1 -0
- package/build/{src-QCND6FA3.js → src-SCGDSQRH.js} +6 -6
- package/build/{src-QJJ7EIYT.js → src-WV4RZ4FT.js} +6 -6
- package/build/sync-types-M76E2RFC.js +30 -0
- package/build/{uninstall-KQDD5ADQ.js → uninstall-LDNBVTQR.js} +19 -18
- package/build/{uninstall-KQDD5ADQ.js.map → uninstall-LDNBVTQR.js.map} +1 -1
- package/package.json +2 -2
- package/build/DevCommand-GO3Z73V7.js.map +0 -1
- package/build/chunk-5XUFGBCU.js.map +0 -1
- package/build/chunk-BNWDAMAL.js.map +0 -1
- package/build/chunk-DWEFYET4.js.map +0 -1
- package/build/chunk-EDNJGHVN.js.map +0 -1
- package/build/chunk-GFSMOEGG.js.map +0 -1
- package/build/chunk-OISYBAR4.js.map +0 -1
- package/build/chunk-SELJR2HV.js.map +0 -1
- package/build/chunk-WVS26NCB.js.map +0 -1
- package/build/chunk-YXFEXGAH.js +0 -479
- package/build/chunk-YXFEXGAH.js.map +0 -1
- package/build/dev-72CJF6Z6.js.map +0 -1
- package/build/publish-Z3WVKI47.js.map +0 -1
- package/build/src-IRKCACSZ.js.map +0 -1
- package/build/sync-types-JLBBFIOB.js +0 -30
- /package/build/{DevCommand-AEGLMQVP.js.map → DevCommand-NWZ75YTP.js.map} +0 -0
- /package/build/{LoginCommand-SGLKXJF6.js.map → LoginCommand-AQIYGH36.js.map} +0 -0
- /package/build/{LogoutCommand-YL6M6BT7.js.map → LogoutCommand-LPI7NUZJ.js.map} +0 -0
- /package/build/{WhoamiCommand-4EJZYY4W.js.map → WhoamiCommand-BWXA3TXF.js.map} +0 -0
- /package/build/{chunk-LPA74SM5.js.map → chunk-45UEHUOD.js.map} +0 -0
- /package/build/{chunk-CRXPC3TE.js.map → chunk-55EFTE5M.js.map} +0 -0
- /package/build/{chunk-PGR3OZNK.js.map → chunk-D6HNYFE6.js.map} +0 -0
- /package/build/{chunk-VNZYI6OK.js.map → chunk-DVR2CMCO.js.map} +0 -0
- /package/build/{chunk-J2FXQRPG.js.map → chunk-G34I4OXF.js.map} +0 -0
- /package/build/{chunk-LCYX5MZA.js.map → chunk-LWQGSEXR.js.map} +0 -0
- /package/build/{chunk-2DE7QM5C.js.map → chunk-OEYFKLWJ.js.map} +0 -0
- /package/build/{chunk-YQ2ZYOKK.js.map → chunk-OSWRZGLN.js.map} +0 -0
- /package/build/{chunk-QZJC3FP3.js.map → chunk-PF4VD6IT.js.map} +0 -0
- /package/build/{chunk-P5FUKDOS.js.map → chunk-WJQFCMN3.js.map} +0 -0
- /package/build/{chunk-24KEFD7K.js.map → chunk-XOFZJ3JQ.js.map} +0 -0
- /package/build/{chunk-G6TDIUNY.js.map → chunk-Y4ZVXLXY.js.map} +0 -0
- /package/build/{chunk-BVAC4BZH.js.map → chunk-ZIXYUOVJ.js.map} +0 -0
- /package/build/{chunk-RNMVLLSA.js.map → chunk-ZR5EKZZ3.js.map} +0 -0
- /package/build/{render-command-OTTR4HS4.js.map → render-command-FWDU3W5M.js.map} +0 -0
- /package/build/{render-command-I6OSOLTK.js.map → render-command-S7D3MWYC.js.map} +0 -0
- /package/build/{render-command-GJLP3KAJ.js.map → render-command-TKO7PYVO.js.map} +0 -0
- /package/build/{run-command-BR7STFFP.js.map → run-command-YYML7BJX.js.map} +0 -0
- /package/build/{src-U45WATPX.js.map → src-5VO6B75Q.js.map} +0 -0
- /package/build/{src-7HIQOGPY.js.map → src-DVFFJLN5.js.map} +0 -0
- /package/build/{src-QCND6FA3.js.map → src-GQFPGSHL.js.map} +0 -0
- /package/build/{src-U7SGKJCW.js.map → src-SCGDSQRH.js.map} +0 -0
- /package/build/{src-QJJ7EIYT.js.map → src-WV4RZ4FT.js.map} +0 -0
- /package/build/{sync-types-JLBBFIOB.js.map → sync-types-M76E2RFC.js.map} +0 -0
|
@@ -10,17 +10,17 @@ import {
|
|
|
10
10
|
isLoggedInToAccount,
|
|
11
11
|
logout,
|
|
12
12
|
useAuth
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-XOFZJ3JQ.js";
|
|
14
|
+
import "./chunk-4ZQFECEW.js";
|
|
15
|
+
import "./chunk-4YD2W3LA.js";
|
|
16
16
|
import "./chunk-WN3D6AOY.js";
|
|
17
17
|
import "./chunk-W423UTD3.js";
|
|
18
18
|
import "./chunk-2NWGTFAC.js";
|
|
19
19
|
import "./chunk-YU54OBFT.js";
|
|
20
20
|
import "./chunk-XMTHMR2B.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-ETAVRPIY.js";
|
|
22
|
+
import "./chunk-PX2L3CCA.js";
|
|
23
|
+
import "./chunk-YQW75RJ5.js";
|
|
24
24
|
import "./chunk-PYIAC2GK.js";
|
|
25
25
|
export {
|
|
26
26
|
AccountAuthProvider,
|
|
@@ -33,4 +33,4 @@ export {
|
|
|
33
33
|
logout,
|
|
34
34
|
useAuth
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=src-
|
|
36
|
+
//# sourceMappingURL=src-GQFPGSHL.js.map
|
|
@@ -2,18 +2,18 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
messages_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VXGNI7CP.js";
|
|
6
6
|
import {
|
|
7
7
|
createCommand
|
|
8
8
|
} from "./chunk-KCTZ5EX4.js";
|
|
9
9
|
import {
|
|
10
10
|
createI18n,
|
|
11
11
|
require_react
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4YD2W3LA.js";
|
|
13
13
|
import "./chunk-W423UTD3.js";
|
|
14
14
|
import "./chunk-2NWGTFAC.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-PX2L3CCA.js";
|
|
16
|
+
import "./chunk-YQW75RJ5.js";
|
|
17
17
|
import {
|
|
18
18
|
__toESM,
|
|
19
19
|
init_esm_shims
|
|
@@ -40,17 +40,29 @@ function createI18nT() {
|
|
|
40
40
|
var devCommand = (services, cliVersion) => {
|
|
41
41
|
const t = createI18nT();
|
|
42
42
|
return createCommand("dev").description(t("site_dev_command_def.description")).action(async (options, command) => {
|
|
43
|
-
const { renderCommand } = await import("./render-command-
|
|
44
|
-
const { DevCommand } = await import("./DevCommand-
|
|
43
|
+
const { renderCommand } = await import("./render-command-TKO7PYVO.js");
|
|
44
|
+
const { DevCommand } = await import("./DevCommand-ZNHBPCVV.js");
|
|
45
45
|
await renderCommand(command, services, cliVersion, /* @__PURE__ */ import_react.default.createElement(DevCommand, null));
|
|
46
46
|
});
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
+
// ../cli-site/src/commands/preview.tsx
|
|
50
|
+
init_esm_shims();
|
|
51
|
+
var import_react2 = __toESM(require_react(), 1);
|
|
52
|
+
var previewCommand = (services, cliVersion) => {
|
|
53
|
+
const t = createI18nT();
|
|
54
|
+
return createCommand("preview").description(t("site_preview_command_def.description")).action(async (options, command) => {
|
|
55
|
+
const { renderCommand } = await import("./render-command-TKO7PYVO.js");
|
|
56
|
+
const { PreviewCommand } = await import("./PreviewCommand-666UOTAN.js");
|
|
57
|
+
await renderCommand(command, services, cliVersion, /* @__PURE__ */ import_react2.default.createElement(PreviewCommand, null));
|
|
58
|
+
});
|
|
59
|
+
};
|
|
60
|
+
|
|
49
61
|
// ../cli-site/src/commands/root-command.ts
|
|
50
62
|
var getRootCommand = async function getRootCommand2(services, cliVersion) {
|
|
51
|
-
return createCommand("site").addCommand(devCommand(services, cliVersion));
|
|
63
|
+
return createCommand("site").addCommand(devCommand(services, cliVersion)).addCommand(previewCommand(services, cliVersion));
|
|
52
64
|
};
|
|
53
65
|
export {
|
|
54
66
|
getRootCommand
|
|
55
67
|
};
|
|
56
|
-
//# sourceMappingURL=src-
|
|
68
|
+
//# sourceMappingURL=src-IMPYJZRW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../cli-site/src/index.ts","../../cli-site/src/commands/root-command.ts","../../cli-site/src/commands/dev.tsx","../../cli-site/src/i18n.ts","../../cli-site/src/commands/preview.tsx"],"sourcesContent":["export { getRootCommand } from './commands/root-command.js';\n","import { createCommand } from '@commander-js/extra-typings';\nimport type { GetRootCommandFn } from '@wix/cli-command-contract';\nimport { devCommand } from './dev.js';\nimport { previewCommand } from './preview.js';\n\nexport const getRootCommand: GetRootCommandFn = async function getRootCommand(\n services,\n cliVersion\n) {\n return createCommand('site')\n .addCommand(devCommand(services, cliVersion))\n .addCommand(previewCommand(services, cliVersion));\n};\n","import React from 'react';\nimport { createCommand } from '@commander-js/extra-typings';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport { createI18nT } from '../i18n.js';\n\nexport const devCommand = (services: CommandServices, cliVersion: string) => {\n const t = createI18nT();\n\n return createCommand('dev')\n .description(t('site_dev_command_def.description'))\n .action(async (options, command) => {\n const { renderCommand } = await import('./render-command.js');\n const { DevCommand } = await import(\n '../components/DevCommand/DevCommand.js'\n );\n\n await renderCommand(command, services, cliVersion, <DevCommand />);\n });\n};\n","import { createI18n as externalCreate } from '@wix/cli-i18n';\nimport messages from './messages.json';\n\nexport function createI18nT() {\n const i18n = externalCreate(messages);\n\n return i18n.t.bind(i18n);\n}\n","import React from 'react';\nimport { createCommand } from '@commander-js/extra-typings';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport { createI18nT } from '../i18n.js';\n\nexport const previewCommand = (\n services: CommandServices,\n cliVersion: string\n) => {\n const t = createI18nT();\n\n return createCommand('preview')\n .description(t('site_preview_command_def.description'))\n .action(async (options, command) => {\n const { renderCommand } = await import('./render-command.js');\n const { PreviewCommand } = await import(\n '../components/PreviewCommand/PreviewCommand.js'\n );\n\n await renderCommand(command, services, cliVersion, <PreviewCommand />);\n });\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA;;;ACAA;;;ACAA;AAAA,mBAAkB;;;ACAlB;AAGO,SAAS,cAAc;AAC5B,QAAM,OAAO,WAAe,gBAAQ;AAEpC,SAAO,KAAK,EAAE,KAAK,IAAI;AACzB;;;ADFO,IAAM,aAAa,CAAC,UAA2B,eAAuB;AAC3E,QAAM,IAAI,YAAY;AAEtB,SAAO,cAAc,KAAK,EACvB,YAAY,EAAE,kCAAkC,CAAC,EACjD,OAAO,OAAO,SAAS,YAAY;AAClC,UAAM,EAAE,cAAc,IAAI,MAAM,OAAO,8BAAqB;AAC5D,UAAM,EAAE,WAAW,IAAI,MAAM,OAC3B,0BACF;AAEA,UAAM,cAAc,SAAS,UAAU,YAAY,6BAAAA,QAAA,cAAC,gBAAW,CAAE;AAAA,EACnE,CAAC;AACL;;;AElBA;AAAA,IAAAC,gBAAkB;AAKX,IAAM,iBAAiB,CAC5B,UACA,eACG;AACH,QAAM,IAAI,YAAY;AAEtB,SAAO,cAAc,SAAS,EAC3B,YAAY,EAAE,sCAAsC,CAAC,EACrD,OAAO,OAAO,SAAS,YAAY;AAClC,UAAM,EAAE,cAAc,IAAI,MAAM,OAAO,8BAAqB;AAC5D,UAAM,EAAE,eAAe,IAAI,MAAM,OAC/B,8BACF;AAEA,UAAM,cAAc,SAAS,UAAU,YAAY,8BAAAC,QAAA,cAAC,oBAAe,CAAE;AAAA,EACvE,CAAC;AACL;;;AHhBO,IAAM,iBAAmC,eAAeC,gBAC7D,UACA,YACA;AACA,SAAO,cAAc,MAAM,EACxB,WAAW,WAAW,UAAU,UAAU,CAAC,EAC3C,WAAW,eAAe,UAAU,UAAU,CAAC;AACpD;","names":["React","import_react","React","getRootCommand"]}
|
|
@@ -3,14 +3,14 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
readUserConfig,
|
|
5
5
|
updateUserConfig
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-LWQGSEXR.js";
|
|
7
|
+
import "./chunk-SEOIN2A6.js";
|
|
8
|
+
import "./chunk-ETAVRPIY.js";
|
|
9
|
+
import "./chunk-PX2L3CCA.js";
|
|
10
|
+
import "./chunk-YQW75RJ5.js";
|
|
11
11
|
import "./chunk-PYIAC2GK.js";
|
|
12
12
|
export {
|
|
13
13
|
readUserConfig,
|
|
14
14
|
updateUserConfig
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=src-
|
|
16
|
+
//# sourceMappingURL=src-SCGDSQRH.js.map
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
createI18n,
|
|
11
11
|
require_react
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4YD2W3LA.js";
|
|
13
13
|
import "./chunk-W423UTD3.js";
|
|
14
14
|
import "./chunk-2NWGTFAC.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-PX2L3CCA.js";
|
|
16
|
+
import "./chunk-YQW75RJ5.js";
|
|
17
17
|
import {
|
|
18
18
|
__toESM,
|
|
19
19
|
init_esm_shims
|
|
@@ -40,8 +40,8 @@ function createI18nT() {
|
|
|
40
40
|
var devCommand = (services, cliVersion) => {
|
|
41
41
|
const t = createI18nT();
|
|
42
42
|
return createCommand("dev").description(t("site_dev_command_def.description")).action(async (options, command) => {
|
|
43
|
-
const { renderCommand } = await import("./render-command-
|
|
44
|
-
const { DevCommand } = await import("./DevCommand-
|
|
43
|
+
const { renderCommand } = await import("./render-command-FWDU3W5M.js");
|
|
44
|
+
const { DevCommand } = await import("./DevCommand-NWZ75YTP.js");
|
|
45
45
|
await renderCommand(command, services, cliVersion, /* @__PURE__ */ import_react.default.createElement(DevCommand, null));
|
|
46
46
|
});
|
|
47
47
|
};
|
|
@@ -53,4 +53,4 @@ var getRootCommand = async function getRootCommand2(services, cliVersion) {
|
|
|
53
53
|
export {
|
|
54
54
|
getRootCommand
|
|
55
55
|
};
|
|
56
|
-
//# sourceMappingURL=src-
|
|
56
|
+
//# sourceMappingURL=src-WV4RZ4FT.js.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { createRequire as _createRequire } from 'node:module';
|
|
2
|
+
const require = _createRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
syncTypes,
|
|
5
|
+
syncTypesWithAuth
|
|
6
|
+
} from "./chunk-PF4VD6IT.js";
|
|
7
|
+
import "./chunk-DVR2CMCO.js";
|
|
8
|
+
import "./chunk-Y5LMYOCJ.js";
|
|
9
|
+
import "./chunk-OJHDGJWP.js";
|
|
10
|
+
import "./chunk-6LI4WGAW.js";
|
|
11
|
+
import "./chunk-G34I4OXF.js";
|
|
12
|
+
import "./chunk-XOFZJ3JQ.js";
|
|
13
|
+
import "./chunk-4ZQFECEW.js";
|
|
14
|
+
import "./chunk-4YD2W3LA.js";
|
|
15
|
+
import "./chunk-WN3D6AOY.js";
|
|
16
|
+
import "./chunk-W423UTD3.js";
|
|
17
|
+
import "./chunk-2NWGTFAC.js";
|
|
18
|
+
import "./chunk-YU54OBFT.js";
|
|
19
|
+
import "./chunk-XMTHMR2B.js";
|
|
20
|
+
import "./chunk-LWQGSEXR.js";
|
|
21
|
+
import "./chunk-SEOIN2A6.js";
|
|
22
|
+
import "./chunk-ETAVRPIY.js";
|
|
23
|
+
import "./chunk-PX2L3CCA.js";
|
|
24
|
+
import "./chunk-YQW75RJ5.js";
|
|
25
|
+
import "./chunk-PYIAC2GK.js";
|
|
26
|
+
export {
|
|
27
|
+
syncTypes,
|
|
28
|
+
syncTypesWithAuth
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=sync-types-M76E2RFC.js.map
|
|
@@ -4,36 +4,37 @@ import {
|
|
|
4
4
|
getDefaultPackageManager,
|
|
5
5
|
resolveNpmDependencies,
|
|
6
6
|
uninstallNpmPackage
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-45UEHUOD.js";
|
|
8
|
+
import "./chunk-IPI4IXDD.js";
|
|
9
9
|
import {
|
|
10
10
|
createLogger
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import {
|
|
13
|
-
createI18nT
|
|
14
|
-
} from "./chunk-CRXPC3TE.js";
|
|
15
|
-
import "./chunk-BGKFJNUK.js";
|
|
11
|
+
} from "./chunk-WJQFCMN3.js";
|
|
16
12
|
import {
|
|
17
13
|
authenticate
|
|
18
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DVR2CMCO.js";
|
|
15
|
+
import {
|
|
16
|
+
createI18nT
|
|
17
|
+
} from "./chunk-55EFTE5M.js";
|
|
19
18
|
import "./chunk-OJHDGJWP.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-6XRFJZTQ.js";
|
|
20
|
+
import "./chunk-BGKFJNUK.js";
|
|
21
|
+
import "./chunk-G34I4OXF.js";
|
|
22
|
+
import "./chunk-XOFZJ3JQ.js";
|
|
23
|
+
import "./chunk-4ZQFECEW.js";
|
|
24
|
+
import "./chunk-4YD2W3LA.js";
|
|
24
25
|
import "./chunk-WN3D6AOY.js";
|
|
25
26
|
import "./chunk-W423UTD3.js";
|
|
26
27
|
import "./chunk-2NWGTFAC.js";
|
|
27
28
|
import "./chunk-YU54OBFT.js";
|
|
28
29
|
import "./chunk-XMTHMR2B.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-LWQGSEXR.js";
|
|
31
|
+
import "./chunk-SEOIN2A6.js";
|
|
32
|
+
import "./chunk-ETAVRPIY.js";
|
|
33
|
+
import "./chunk-PX2L3CCA.js";
|
|
33
34
|
import {
|
|
34
35
|
CliError,
|
|
35
36
|
CliErrorCode
|
|
36
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-YQW75RJ5.js";
|
|
37
38
|
import {
|
|
38
39
|
init_esm_shims
|
|
39
40
|
} from "./chunk-PYIAC2GK.js";
|
|
@@ -82,4 +83,4 @@ async function uninstall(model, services, options, initialPackageName) {
|
|
|
82
83
|
export {
|
|
83
84
|
uninstall
|
|
84
85
|
};
|
|
85
|
-
//# sourceMappingURL=uninstall-
|
|
86
|
+
//# sourceMappingURL=uninstall-LDNBVTQR.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../cli-site-old/src/uninstall/index.ts","../../cli-site-old/src/uninstall/uninstall.ts"],"sourcesContent":["export { uninstall } from './uninstall.js';\n","import { CliError, CliErrorCode } from '@wix/cli-error';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport {\n uninstallNpmPackage,\n getDefaultPackageManager,\n resolveNpmDependencies,\n} from '../dependency-manager/index.js';\nimport type { PackageManager } from '../dependency-manager/index.js';\nimport { createLogger } from '../logger.js';\nimport { createI18nT } from '../i18n.js';\nimport type { ProjectModel } from '../model.js';\nimport { authenticate } from '../authentication.js';\n\nexport async function uninstall(\n model: ProjectModel,\n services: CommandServices,\n options: {\n yarn?: boolean;\n npm?: boolean;\n },\n initialPackageName: string\n) {\n const t = createI18nT();\n const logger = createLogger({ t });\n\n const authState = await authenticate({\n metaSiteId: model.metaSiteId,\n biLogger: services.biLogger,\n errorReporter: services.errorReporter,\n });\n\n const packageName = initialPackageName.trim();\n\n if (!packageName) {\n throw new CliError({\n code: CliErrorCode.WixUninstallMissingPackageName(),\n cause: null,\n });\n }\n\n let packageManager: PackageManager;\n if (options.yarn) {\n packageManager = 'yarn';\n } else if (options.npm) {\n packageManager = 'npm';\n } else {\n packageManager = await getDefaultPackageManager(model.projectFolder);\n }\n\n const logDependencyUninstalled =\n logger.logDependencyUninstalling(packageName);\n\n try {\n await uninstallNpmPackage(packageName, model.projectFolder, packageManager);\n await resolveNpmDependencies(model.projectFolder, { authState });\n } catch (e) {\n throw new CliError({\n code: CliErrorCode.FailedToUninstallPackage({ packageName }),\n cause: e,\n info: { model },\n });\n }\n\n logDependencyUninstalled();\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../cli-site-old/src/uninstall/index.ts","../../cli-site-old/src/uninstall/uninstall.ts"],"sourcesContent":["export { uninstall } from './uninstall.js';\n","import { CliError, CliErrorCode } from '@wix/cli-error';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport {\n uninstallNpmPackage,\n getDefaultPackageManager,\n resolveNpmDependencies,\n} from '../dependency-manager/index.js';\nimport type { PackageManager } from '../dependency-manager/index.js';\nimport { createLogger } from '../logger.js';\nimport { createI18nT } from '../i18n.js';\nimport type { ProjectModel } from '../model.js';\nimport { authenticate } from '../authentication.js';\n\nexport async function uninstall(\n model: ProjectModel,\n services: CommandServices,\n options: {\n yarn?: boolean;\n npm?: boolean;\n },\n initialPackageName: string\n) {\n const t = createI18nT();\n const logger = createLogger({ t });\n\n const authState = await authenticate({\n metaSiteId: model.metaSiteId,\n biLogger: services.biLogger,\n errorReporter: services.errorReporter,\n });\n\n const packageName = initialPackageName.trim();\n\n if (!packageName) {\n throw new CliError({\n code: CliErrorCode.WixUninstallMissingPackageName(),\n cause: null,\n });\n }\n\n let packageManager: PackageManager;\n if (options.yarn) {\n packageManager = 'yarn';\n } else if (options.npm) {\n packageManager = 'npm';\n } else {\n packageManager = await getDefaultPackageManager(model.projectFolder);\n }\n\n const logDependencyUninstalled =\n logger.logDependencyUninstalling(packageName);\n\n try {\n await uninstallNpmPackage(packageName, model.projectFolder, packageManager);\n await resolveNpmDependencies(model.projectFolder, { authState });\n } catch (e) {\n throw new CliError({\n code: CliErrorCode.FailedToUninstallPackage({ packageName }),\n cause: e,\n info: { model },\n });\n }\n\n logDependencyUninstalled();\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;ACAA;AAaA,eAAsB,UACpB,OACA,UACA,SAIA,oBACA;AACA,QAAM,IAAI,YAAY;AACtB,QAAM,SAAS,aAAa,EAAE,EAAE,CAAC;AAEjC,QAAM,YAAY,MAAM,aAAa;AAAA,IACnC,YAAY,MAAM;AAAA,IAClB,UAAU,SAAS;AAAA,IACnB,eAAe,SAAS;AAAA,EAC1B,CAAC;AAED,QAAM,cAAc,mBAAmB,KAAK;AAE5C,MAAI,CAAC,aAAa;AAChB,UAAM,IAAI,SAAS;AAAA,MACjB,MAAM,aAAa,+BAA+B;AAAA,MAClD,OAAO;AAAA,IACT,CAAC;AAAA,EACH;AAEA,MAAI;AACJ,MAAI,QAAQ,MAAM;AAChB,qBAAiB;AAAA,EACnB,WAAW,QAAQ,KAAK;AACtB,qBAAiB;AAAA,EACnB,OAAO;AACL,qBAAiB,MAAM,yBAAyB,MAAM,aAAa;AAAA,EACrE;AAEA,QAAM,2BACJ,OAAO,0BAA0B,WAAW;AAE9C,MAAI;AACF,UAAM,oBAAoB,aAAa,MAAM,eAAe,cAAc;AAC1E,UAAM,uBAAuB,MAAM,eAAe,EAAE,UAAU,CAAC;AAAA,EACjE,SAAS,GAAG;AACV,UAAM,IAAI,SAAS;AAAA,MACjB,MAAM,aAAa,yBAAyB,EAAE,YAAY,CAAC;AAAA,MAC3D,OAAO;AAAA,MACP,MAAM,EAAE,MAAM;AAAA,IAChB,CAAC;AAAA,EACH;AAEA,2BAAyB;AAC3B;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/cli",
|
|
3
3
|
"description": "CLI tool for building Wix sites and applications",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.62",
|
|
5
5
|
"bin": {
|
|
6
6
|
"wix": "bin/wix.cjs"
|
|
7
7
|
},
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
]
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
|
-
"falconPackageHash": "
|
|
91
|
+
"falconPackageHash": "d79919b1358193c30764e6c999ba00d09aab1077947b19b5f37d0871"
|
|
92
92
|
}
|