@wix/cli 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.
@@ -1,6 +1,6 @@
1
1
  import { createRequire as _createRequire } from 'node:module';
2
2
  const require = _createRequire(import.meta.url);
3
- import "./chunk-Z4TKBS7R.js";
3
+ import "./chunk-5O5XFTPW.js";
4
4
  import {
5
5
  addUserFields
6
6
  } from "./chunk-IC6K6CSD.js";
@@ -120,4 +120,4 @@ var LoginCommand = ({
120
120
  export {
121
121
  LoginCommand
122
122
  };
123
- //# sourceMappingURL=LoginCommand-XQFHRT7W.js.map
123
+ //# sourceMappingURL=LoginCommand-AETJTCZN.js.map
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-PYIAC2GK.js";
16
16
 
17
17
  // package.json
18
- var version = "1.1.65";
18
+ var version = "1.1.67";
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-Z4TKBS7R.js.map
151
+ //# sourceMappingURL=chunk-5O5XFTPW.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.65\",\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.1\"\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,I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AA,IACrB;AAAA,MACE,cAAc,WAAW;AAAA,IAC3B;AAAA,IACA;AAAA,EACF;AAEA,gBAAc,GAAG,iBAAiB,CAAC,UAAU;AAC3C,SAAK,SAAS;AAAA,MACZ,eAAe;AAAA,QACb,cAAc,MAAM;AAAA,QACpB,WAAW,MAAM;AAAA,QACjB,WAAW,iBAAiB,KAAK,IAAI,gBAAgB;AAAA,MACvD,CAAC;AAAA,IACH;AAAA,EACF,CAAC;AAED,SAAO;AAAA,IACL;AAAA,EACF;AACF;AAEO,IAAMC,2BAA0B,CACrC,UACA,YACG;AACH,SAAO,wBAAgC;AAAA,IACrC;AAAA,IACA,YAAY;AAAA,IACZ;AAAA,IACA,MAAM;AAAA,EACR,CAAC;AACH;","names":["createBiLogger","reportCommandStartEvent"]}
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.67\",\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.1\"\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,IAC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AAA,EACF;AACF;AAEO,IAAMC,2BAA0B,CACrC,UACA,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-Z4TKBS7R.js";
10
+ } from "./chunk-5O5XFTPW.js";
11
11
  import {
12
12
  Argument,
13
13
  Command,
@@ -4301,8 +4301,8 @@ var login = (services) => {
4301
4301
  return createCommand("login").description(i18n.t("login_command.description")).option("--api-key <token>", i18n.t("login_command.option.api_key")).action(async (options, command) => {
4302
4302
  const { apiKey } = options;
4303
4303
  const { getUserInfo: getUserInfo2 } = await import("./src-WZQSHEYJ.js");
4304
- const { LoginCommand } = await import("./LoginCommand-XQFHRT7W.js");
4305
- const { renderCommand } = await import("./render-command-IPDLSBIH.js");
4304
+ const { LoginCommand } = await import("./LoginCommand-AETJTCZN.js");
4305
+ const { renderCommand } = await import("./render-command-WC6M3AGD.js");
4306
4306
  const userInfo = await getUserInfo2();
4307
4307
  await renderCommand(
4308
4308
  command,
@@ -4320,7 +4320,7 @@ var logout = (services) => {
4320
4320
  return createCommand("logout").description(i18n.t("logout_command.description")).action(async (_, command) => {
4321
4321
  const { getUserInfo: getUserInfo2 } = await import("./src-WZQSHEYJ.js");
4322
4322
  const { LogoutCommand } = await import("./LogoutCommand-YY7MRKCM.js");
4323
- const { renderCommand } = await import("./render-command-IPDLSBIH.js");
4323
+ const { renderCommand } = await import("./render-command-WC6M3AGD.js");
4324
4324
  const userInfo = await getUserInfo2();
4325
4325
  await renderCommand(
4326
4326
  command,
@@ -4360,7 +4360,7 @@ var whoami = (services) => {
4360
4360
  return createCommand("whoami").description(i18n.t("whoami_command.description")).action(async (_, command) => {
4361
4361
  const { getUserInfo: getUserInfo2 } = await import("./src-WZQSHEYJ.js");
4362
4362
  const { WhoamiCommand } = await import("./WhoamiCommand-GWPNPHRL.js");
4363
- const { renderCommand } = await import("./render-command-IPDLSBIH.js");
4363
+ const { renderCommand } = await import("./render-command-WC6M3AGD.js");
4364
4364
  const userInfo = await getUserInfo2();
4365
4365
  await renderCommand(
4366
4366
  command,
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-F6VUNTGD.js";
6
6
  import {
7
7
  reportCommandStartEvent
8
- } from "./chunk-Z4TKBS7R.js";
8
+ } from "./chunk-5O5XFTPW.js";
9
9
  import "./chunk-IC6K6CSD.js";
10
10
  import {
11
11
  BiProvider,
@@ -54,4 +54,4 @@ async function runCommand(command, services, commandFn) {
54
54
  export {
55
55
  renderCommand
56
56
  };
57
- //# sourceMappingURL=render-command-IPDLSBIH.js.map
57
+ //# sourceMappingURL=render-command-WC6M3AGD.js.map
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.65",
4
+ "version": "1.1.67",
5
5
  "bin": {
6
6
  "wix": "bin/wix.cjs"
7
7
  },
@@ -88,5 +88,5 @@
88
88
  ]
89
89
  }
90
90
  },
91
- "falconPackageHash": "fd54a48acb4bfc91ad96bf5d38f1d3b1b6fe43dcf91d7f0e6b92361e"
91
+ "falconPackageHash": "9d5a670c18d26edb434cf7bdd07780edf609d3cec05c3a8abf7b190e"
92
92
  }