@wix/cli 1.1.86 → 1.1.87

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-AGKBY3K2.js";
3
+ import "./chunk-4EBW6Y52.js";
4
4
  import {
5
5
  addUserFields
6
6
  } from "./chunk-Q35JN7B7.js";
@@ -106,4 +106,4 @@ var LoginCommand = ({
106
106
  export {
107
107
  LoginCommand
108
108
  };
109
- //# sourceMappingURL=LoginCommand-WCUDINVD.js.map
109
+ //# sourceMappingURL=LoginCommand-6L33EWLY.js.map
@@ -18,7 +18,7 @@ import {
18
18
  var package_default = {
19
19
  name: "@wix/cli",
20
20
  description: "CLI tool for building Wix sites and applications",
21
- version: "1.1.86",
21
+ version: "1.1.87",
22
22
  bin: {
23
23
  wix: "bin/wix.cjs"
24
24
  },
@@ -147,4 +147,4 @@ export {
147
147
  createBiLogger2 as createBiLogger,
148
148
  reportCommandStartEvent2 as reportCommandStartEvent
149
149
  };
150
- //# sourceMappingURL=chunk-AGKBY3K2.js.map
150
+ //# sourceMappingURL=chunk-4EBW6Y52.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.86\",\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-astro-commands\": \"workspace:*\",\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-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 \"globby\": \"^14.1.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\": \">= 20.11.0\"\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 packageJson from '../package.json' with { type: '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: packageJson.version,\n command,\n flow: null,\n });\n};\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA,EACE,MAAQ;AAAA,EACR,aAAe;AAAA,EACf,SAAW;AAAA,EACX,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,2BAA2B;AAAA,IAC3B,iBAAiB;AAAA,IACjB,6BAA6B;AAAA,IAC7B,6BAA6B;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iB,OAC5B,eACA,WACG;AACH,QAAM,WAAW,MAAM;AAAA,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,gBAAY;AAAA,IACxB;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.87\",\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-astro-commands\": \"workspace:*\",\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-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 \"globby\": \"^14.1.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\": \">= 20.11.0\"\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 packageJson from '../package.json' with { type: '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: packageJson.version,\n command,\n flow: null,\n });\n};\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA,EACE,MAAQ;AAAA,EACR,aAAe;AAAA,EACf,SAAW;AAAA,EACX,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,2BAA2B;AAAA,IAC3B,iBAAiB;AAAA,IACjB,6BAA6B;AAAA,IAC7B,6BAA6B;AAAA,IAC7B,sBAAsB;AAAA,IACtB,kBAAkB;AAAA,IAClB,4BAA4B;AAAA,IAC5B,eAAe;AAAA,IACf,mBAAmB;AAAA,IACnB,iBAAiB;AAAA,IACjB,sBAAsB;AAAA,IACtB,qBAAqB;AAAA,IACrB,sBAAsB;AAAA,IACtB,4BAA4B;AAAA,IAC5B,2BAA2B;AAAA,IAC3B,mBAA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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,gBAAY;AAAA,IACxB;AAAA,IACA,MAAM;AAAA,EACR,CAAC;AACH;","names":["createBiLogger","reportCommandStartEvent"]}
package/build/index.js CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  createBiLogger,
16
16
  package_default
17
- } from "./chunk-AGKBY3K2.js";
17
+ } from "./chunk-4EBW6Y52.js";
18
18
  import "./chunk-Q35JN7B7.js";
19
19
  import {
20
20
  getUserInfo,
@@ -7447,8 +7447,8 @@ var login = (services) => {
7447
7447
  ).action(async (options, command) => {
7448
7448
  const { apiKey } = options;
7449
7449
  const { getUserInfo: getUserInfo2 } = await import("./src-IM374B5V.js");
7450
- const { LoginCommand } = await import("./LoginCommand-WCUDINVD.js");
7451
- const { renderCommand } = await import("./render-command-TUP2HHMC.js");
7450
+ const { LoginCommand } = await import("./LoginCommand-6L33EWLY.js");
7451
+ const { renderCommand } = await import("./render-command-UIJELJ22.js");
7452
7452
  const userInfo = await getUserInfo2();
7453
7453
  await renderCommand(
7454
7454
  command,
@@ -7465,7 +7465,7 @@ var logout = (services) => {
7465
7465
  return createCommand("logout").description("Log out of your Wix account").action(async (_, command) => {
7466
7466
  const { getUserInfo: getUserInfo2 } = await import("./src-IM374B5V.js");
7467
7467
  const { LogoutCommand } = await import("./LogoutCommand-LKLIYJ4J.js");
7468
- const { renderCommand } = await import("./render-command-TUP2HHMC.js");
7468
+ const { renderCommand } = await import("./render-command-UIJELJ22.js");
7469
7469
  const userInfo = await getUserInfo2();
7470
7470
  await renderCommand(
7471
7471
  command,
@@ -7505,7 +7505,7 @@ var whoami = (services) => {
7505
7505
  return createCommand("whoami").description("Display the email of the logged in Wix user").action(async (_, command) => {
7506
7506
  const { getUserInfo: getUserInfo2 } = await import("./src-IM374B5V.js");
7507
7507
  const { WhoamiCommand } = await import("./WhoamiCommand-LPJGYXSP.js");
7508
- const { renderCommand } = await import("./render-command-TUP2HHMC.js");
7508
+ const { renderCommand } = await import("./render-command-UIJELJ22.js");
7509
7509
  const userInfo = await getUserInfo2();
7510
7510
  await renderCommand(
7511
7511
  command,
@@ -2,7 +2,7 @@ import { createRequire as _createRequire } from 'node:module';
2
2
  const require = _createRequire(import.meta.url);
3
3
  import {
4
4
  reportCommandStartEvent
5
- } from "./chunk-AGKBY3K2.js";
5
+ } from "./chunk-4EBW6Y52.js";
6
6
  import "./chunk-Q35JN7B7.js";
7
7
  import {
8
8
  BiProvider,
@@ -53,4 +53,4 @@ async function runCommand(command, services, commandFn) {
53
53
  export {
54
54
  renderCommand
55
55
  };
56
- //# sourceMappingURL=render-command-TUP2HHMC.js.map
56
+ //# sourceMappingURL=render-command-UIJELJ22.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.86",
4
+ "version": "1.1.87",
5
5
  "bin": {
6
6
  "wix": "bin/wix.cjs"
7
7
  },
@@ -89,5 +89,5 @@
89
89
  ]
90
90
  }
91
91
  },
92
- "falconPackageHash": "b1197dbbcca7fdc5582472356e04ea62e54605c7f20b9ff1ff2b697f"
92
+ "falconPackageHash": "22ff30d909b07546edaabf0d0706e667f8838d1583e986067a262057"
93
93
  }