@wix/cli 1.1.78 → 1.1.79
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-WWEO6WT4.js → DevCommand-NJ6THMY4.js} +2 -1
- package/build/{DevCommand-WWEO6WT4.js.map → DevCommand-NJ6THMY4.js.map} +1 -1
- package/build/{LoginCommand-U4KJ4GD4.js → LoginCommand-NLH7OCLP.js} +2 -2
- package/build/{chunk-VGH2WOQG.js → chunk-4BWILWXX.js} +2 -2
- package/build/{chunk-VGH2WOQG.js.map → chunk-4BWILWXX.js.map} +1 -1
- package/build/index.js +7 -7
- package/build/index.js.map +1 -1
- package/build/{render-command-4Z5GYACI.js → render-command-LAH4TCW4.js} +2 -2
- package/build/{src-WY6KW6NB.js → src-T3DZBBXE.js} +2 -2
- package/package.json +2 -2
- /package/build/{LoginCommand-U4KJ4GD4.js.map → LoginCommand-NLH7OCLP.js.map} +0 -0
- /package/build/{render-command-4Z5GYACI.js.map → render-command-LAH4TCW4.js.map} +0 -0
- /package/build/{src-WY6KW6NB.js.map → src-T3DZBBXE.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as _createRequire } from 'node:module';
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
|
-
import "./chunk-
|
|
3
|
+
import "./chunk-4BWILWXX.js";
|
|
4
4
|
import {
|
|
5
5
|
addUserFields
|
|
6
6
|
} from "./chunk-T2TARSVP.js";
|
|
@@ -121,4 +121,4 @@ var LoginCommand = ({
|
|
|
121
121
|
export {
|
|
122
122
|
LoginCommand
|
|
123
123
|
};
|
|
124
|
-
//# sourceMappingURL=LoginCommand-
|
|
124
|
+
//# sourceMappingURL=LoginCommand-NLH7OCLP.js.map
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-PYIAC2GK.js";
|
|
16
16
|
|
|
17
17
|
// package.json
|
|
18
|
-
var version = "1.1.
|
|
18
|
+
var version = "1.1.79";
|
|
19
19
|
var package_default = {
|
|
20
20
|
name: "@wix/cli",
|
|
21
21
|
description: "CLI tool for building Wix sites and applications",
|
|
@@ -148,4 +148,4 @@ export {
|
|
|
148
148
|
createBiLogger2 as createBiLogger,
|
|
149
149
|
reportCommandStartEvent2 as reportCommandStartEvent
|
|
150
150
|
};
|
|
151
|
-
//# sourceMappingURL=chunk-
|
|
151
|
+
//# sourceMappingURL=chunk-4BWILWXX.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../package.json","../src/bi.ts"],"sourcesContent":["{\n \"name\": \"@wix/cli\",\n \"description\": \"CLI tool for building Wix sites and applications\",\n \"version\": \"1.1.
|
|
1
|
+
{"version":3,"sources":["../package.json","../src/bi.ts"],"sourcesContent":["{\n \"name\": \"@wix/cli\",\n \"description\": \"CLI tool for building Wix sites and applications\",\n \"version\": \"1.1.79\",\n \"bin\": {\n \"wix\": \"bin/wix.cjs\"\n },\n \"dependencies\": {\n \"node-gyp\": \"^8.4.1\"\n },\n \"devDependencies\": {\n \"@commander-js/extra-typings\": \"^13.0.0\",\n \"@types/columnify\": \"^1.5.4\",\n \"@types/react\": \"^18.3.3\",\n \"@types/semver\": \"^7.5.8\",\n \"@wix/bi-logger-wix-cli\": \"^1.44.0\",\n \"@wix/cli-auth\": \"workspace:*\",\n \"@wix/cli-command-contract\": \"workspace:*\",\n \"@wix/cli-core-definitions\": \"workspace:*\",\n \"@wix/cli-debug-log\": \"workspace:*\",\n \"@wix/cli-error\": \"workspace:*\",\n \"@wix/cli-error-reporting\": \"workspace:*\",\n \"@wix/cli-fs\": \"workspace:*\",\n \"@wix/cli-i18n\": \"workspace:*\",\n \"@wix/cli-logger\": \"workspace:*\",\n \"@wix/cli-site\": \"workspace:*\",\n \"@wix/cli-site-live\": \"workspace:*\",\n \"@wix/cli-site-old\": \"workspace:*\",\n \"@wix/cli-telemetry\": \"workspace:*\",\n \"@wix/cli-telemetry-react\": \"workspace:*\",\n \"@wix/cli-test-overrides\": \"workspace:*\",\n \"@wix/cli-ui-kit\": \"workspace:*\",\n \"@wix/cli-user-config\": \"workspace:*\",\n \"@wix/cli-version-manager\": \"workspace:*\",\n \"@wix/tsup-configs\": \"workspace:*\",\n \"chalk\": \"^5.4.1\",\n \"columnify\": \"^1.6.0\",\n \"commander\": \"^13.0.0\",\n \"react\": \"^18.3.1\",\n \"semver\": \"^7.6.3\",\n \"variant\": \"^3.0.0-dev.27\",\n \"zod\": \"^3.24.2\"\n },\n \"engines\": {\n \"node\": \">= 18.16\"\n },\n \"files\": [\n \"bin\",\n \"build\"\n ],\n \"keywords\": [\n \"wix\",\n \"wix-cli\"\n ],\n \"optionalDependencies\": {\n \"fsevents\": \"^2.3.2\"\n },\n \"perfer\": {\n \"bundleSize\": {\n \"files\": [\n {\n \"glob\": \"./build/index.js\",\n \"maxSize\": \"985kb\"\n }\n ]\n }\n },\n \"publishConfig\": {\n \"registry\": \"https://registry.npmjs.org/\",\n \"access\": \"public\",\n \"versionBumpStrategy\": \"manual\",\n \"logLevel\": \"verbose\"\n },\n \"scripts\": {\n \"build\": \"run -T tsup\",\n \"build:watch\": \"run -T build:watch --filter='@wix/cli'\",\n \"test\": \"yarn workspace @wix/cli-core-spec run test\",\n \"test:watch\": \"yarn workspace @wix/cli-core-spec run test:watch\",\n \"typecheck\": \"run -T tsc --noEmit\"\n },\n \"type\": \"module\",\n \"wix\": {\n \"artifact\": {\n \"groupId\": \"com.wixpress.npm\",\n \"artifactId\": \"wix-cli\"\n },\n \"validations\": {\n \"postBuild\": [\n \"typecheck\"\n ]\n }\n }\n}\n","import { randomUUID } from 'node:crypto';\nimport type { Command } from '@commander-js/extra-typings';\nimport type { ErrorReporter } from '@wix/cli-error-reporting';\nimport type { BiLogger } from '@wix/cli-telemetry';\nimport { wixCliCliError } from '@wix/bi-logger-wix-cli/v2';\nimport { isCliSystemError } from '@wix/cli-error';\nimport {\n createBiLogger as createCliBiLogger,\n reportCommandStartEvent as originalReportCommandStartEvent,\n} from '@wix/cli-telemetry';\nimport { version } from '../package.json';\n\nexport { addUserFields } from '@wix/cli-telemetry';\n\nexport const createBiLogger = async (\n errorReporter: ErrorReporter,\n userId?: string\n) => {\n const biLogger = await createCliBiLogger(\n {\n cliSessionId: randomUUID(),\n },\n userId\n );\n\n errorReporter.on('errorReported', (error) => {\n void biLogger.report(\n wixCliCliError({\n errorMessage: error.message,\n errorName: error.name,\n errorType: isCliSystemError(error) ? 'SystemError' : 'UserError',\n })\n );\n });\n\n return {\n biLogger,\n };\n};\n\nexport const reportCommandStartEvent = (\n biLogger: BiLogger,\n command: Command<unknown[]>\n) => {\n return originalReportCommandStartEvent({\n biLogger,\n cliVersion: version,\n command,\n flow: null,\n });\n};\n"],"mappings":";;;;;;;;;;;;;;;;;AAGE,cAAW;AAHb;AAAA,EACE,MAAQ;AAAA,EACR,aAAe;AAAA,EACf;AAAA,EACA,KAAO;AAAA,IACL,KAAO;AAAA,EACT;AAAA,EACA,cAAgB;AAAA,IACd,YAAY;AAAA,EACd;AAAA,EACA,iBAAmB;AAAA,IACjB,+BAA+B;AAAA,IAC/B,oBAAoB;AAAA,IACpB,gBAAgB;AAAA,IAChB,iBAAiB;AAAA,IACjB,0BAA0B;AAAA,IAC1B,iBAAiB;AAAA,IACjB,6BAA6B;AAAA,IAC7B,6BAA6B;AAAA,IAC7B,sBAAsB;AAAA,IACtB,kBAAkB;AAAA,IAClB,4BAA4B;AAAA,IAC5B,eAAe;AAAA,IACf,iBAAiB;AAAA,IACjB,mBAAmB;AAAA,IACnB,iBAAiB;AAAA,IACjB,sBAAsB;AAAA,IACtB,qBAAqB;AAAA,IACrB,sBAAsB;AAAA,IACtB,4BAA4B;AAAA,IAC5B,2BAA2B;AAAA,IAC3B,mBAAmB;AAAA,IACnB,wBAAwB;AAAA,IACxB,4BAA4B;AAAA,IAC5B,qBAAqB;AAAA,IACrB,OAAS;AAAA,IACT,WAAa;AAAA,IACb,WAAa;AAAA,IACb,OAAS;AAAA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YACG;AACH,SAAO,wBAAgC;AAAA,IACrC;AAAA,IACA,YAAY;AAAA,IACZ;AAAA,IACA,MAAM;AAAA,EACR,CAAC;AACH;","names":["createBiLogger","reportCommandStartEvent"]}
|
package/build/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
createBiLogger,
|
|
8
8
|
package_default,
|
|
9
9
|
version
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4BWILWXX.js";
|
|
11
11
|
import {
|
|
12
12
|
Argument,
|
|
13
13
|
Command,
|
|
@@ -4280,8 +4280,8 @@ async function importCliSite(projectFolder2) {
|
|
|
4280
4280
|
if (env.WIX_CLI_SITE_LIVE === "true" && Object.hasOwn(config, "veloAppId")) {
|
|
4281
4281
|
return import("./src-45KK47A7.js");
|
|
4282
4282
|
}
|
|
4283
|
-
if (
|
|
4284
|
-
return import("./src-
|
|
4283
|
+
if (!Object.hasOwn(config, "uiVersion")) {
|
|
4284
|
+
return import("./src-T3DZBBXE.js");
|
|
4285
4285
|
}
|
|
4286
4286
|
return import("./src-QKJMBEHM.js");
|
|
4287
4287
|
}
|
|
@@ -4306,8 +4306,8 @@ var login = (services) => {
|
|
|
4306
4306
|
return createCommand("login").description(i18n.t("login_command.description")).option("--api-key <token>", i18n.t("login_command.option.api_key")).action(async (options, command) => {
|
|
4307
4307
|
const { apiKey } = options;
|
|
4308
4308
|
const { getUserInfo: getUserInfo2 } = await import("./src-PEZ7FCVG.js");
|
|
4309
|
-
const { LoginCommand } = await import("./LoginCommand-
|
|
4310
|
-
const { renderCommand } = await import("./render-command-
|
|
4309
|
+
const { LoginCommand } = await import("./LoginCommand-NLH7OCLP.js");
|
|
4310
|
+
const { renderCommand } = await import("./render-command-LAH4TCW4.js");
|
|
4311
4311
|
const userInfo = await getUserInfo2();
|
|
4312
4312
|
await renderCommand(
|
|
4313
4313
|
command,
|
|
@@ -4325,7 +4325,7 @@ var logout = (services) => {
|
|
|
4325
4325
|
return createCommand("logout").description(i18n.t("logout_command.description")).action(async (_, command) => {
|
|
4326
4326
|
const { getUserInfo: getUserInfo2 } = await import("./src-PEZ7FCVG.js");
|
|
4327
4327
|
const { LogoutCommand } = await import("./LogoutCommand-VHQCOUCO.js");
|
|
4328
|
-
const { renderCommand } = await import("./render-command-
|
|
4328
|
+
const { renderCommand } = await import("./render-command-LAH4TCW4.js");
|
|
4329
4329
|
const userInfo = await getUserInfo2();
|
|
4330
4330
|
await renderCommand(
|
|
4331
4331
|
command,
|
|
@@ -4365,7 +4365,7 @@ var whoami = (services) => {
|
|
|
4365
4365
|
return createCommand("whoami").description(i18n.t("whoami_command.description")).action(async (_, command) => {
|
|
4366
4366
|
const { getUserInfo: getUserInfo2 } = await import("./src-PEZ7FCVG.js");
|
|
4367
4367
|
const { WhoamiCommand } = await import("./WhoamiCommand-QEGMSHQ2.js");
|
|
4368
|
-
const { renderCommand } = await import("./render-command-
|
|
4368
|
+
const { renderCommand } = await import("./render-command-LAH4TCW4.js");
|
|
4369
4369
|
const userInfo = await getUserInfo2();
|
|
4370
4370
|
await renderCommand(
|
|
4371
4371
|
command,
|