@wix/cli 1.1.155 → 1.1.156
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/{LoginCommand-ETSD32AF.js → LoginCommand-2XIWD7RA.js} +2 -2
- package/build/{chunk-3GZY7X4Q.js → chunk-YCU7QSDF.js} +2 -2
- package/build/{chunk-3GZY7X4Q.js.map → chunk-YCU7QSDF.js.map} +1 -1
- package/build/index.js +5 -5
- package/build/{render-command-HGOJGSA7.js → render-command-W54VN3S4.js} +2 -2
- package/package.json +2 -2
- /package/build/{LoginCommand-ETSD32AF.js.map → LoginCommand-2XIWD7RA.js.map} +0 -0
- /package/build/{render-command-HGOJGSA7.js.map → render-command-W54VN3S4.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-YCU7QSDF.js";
|
|
4
4
|
import {
|
|
5
5
|
addUserFields
|
|
6
6
|
} from "./chunk-ZWLXMEDA.js";
|
|
@@ -105,4 +105,4 @@ var LoginCommand = ({
|
|
|
105
105
|
export {
|
|
106
106
|
LoginCommand
|
|
107
107
|
};
|
|
108
|
-
//# sourceMappingURL=LoginCommand-
|
|
108
|
+
//# sourceMappingURL=LoginCommand-2XIWD7RA.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.
|
|
21
|
+
version: "1.1.156",
|
|
22
22
|
bin: {
|
|
23
23
|
wix: "bin/wix.cjs"
|
|
24
24
|
},
|
|
@@ -160,4 +160,4 @@ export {
|
|
|
160
160
|
createBiLogger2 as createBiLogger,
|
|
161
161
|
reportCommandStartEvent2 as reportCommandStartEvent
|
|
162
162
|
};
|
|
163
|
-
//# sourceMappingURL=chunk-
|
|
163
|
+
//# sourceMappingURL=chunk-YCU7QSDF.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.156\",\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.48.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-http-client-react\": \"workspace:*\",\n \"@wix/cli-logger\": \"workspace:*\",\n \"@wix/cli-panorama\": \"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 \"templates\",\n \"agents\"\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 const environment = process.env.WIX_RUNTIME_ENVIRONMENT ?? '';\n\n if (environment) {\n errorReporter.setTag('environment', environment);\n biLogger.updateDefaults({ environment });\n }\n\n if (process.env.TRACKING_ID) {\n biLogger.updateDefaults({ tracking_id: process.env.TRACKING_ID });\n errorReporter.setTag('tracking_id', process.env.TRACKING_ID);\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,8BAA8B;AAAA,IAC9B,mBAAmB;AAAA,IACnB,qBAAqB;AAAA,IACrB,iBAAiB;AAAA,IACjB,sBAAsB;AAAA,IACtB,qBAAqB;AAAA,IACrB,sBAAsB;AAAA,IACtB,4BAA4B;AAAA,IAC5B,2BAA2B;AAAA,IAC3B,mBAAmB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AE,YAAY,CAAC;AAAA,EACzC;AAEA,MAAI,QAAQ,IAAI,aAAa;AAC3B,aAAS,eAAe,EAAE,aAAa,QAAQ,IAAI,YAAY,CAAC;AAChE,kBAAc,OAAO,eAAe,QAAQ,IAAI,WAAW;AAAA,EAC7D;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"]}
|
package/build/index.js
CHANGED
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
createBiLogger,
|
|
20
20
|
package_default
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YCU7QSDF.js";
|
|
22
22
|
import "./chunk-ZWLXMEDA.js";
|
|
23
23
|
import {
|
|
24
24
|
OutdatedVersionMessage,
|
|
@@ -4217,8 +4217,8 @@ var login = (services) => {
|
|
|
4217
4217
|
).action(async (options, command) => {
|
|
4218
4218
|
const { apiKey } = options;
|
|
4219
4219
|
const { getUserInfo: getUserInfo2 } = await import("./src-JEGHPCQO.js");
|
|
4220
|
-
const { LoginCommand } = await import("./LoginCommand-
|
|
4221
|
-
const { renderCommand } = await import("./render-command-
|
|
4220
|
+
const { LoginCommand } = await import("./LoginCommand-2XIWD7RA.js");
|
|
4221
|
+
const { renderCommand } = await import("./render-command-W54VN3S4.js");
|
|
4222
4222
|
const userInfo = await getUserInfo2();
|
|
4223
4223
|
await renderCommand(
|
|
4224
4224
|
command,
|
|
@@ -4235,7 +4235,7 @@ var logout = (services) => {
|
|
|
4235
4235
|
return createCommand("logout").description("Log out of your Wix account").action(async (_, command) => {
|
|
4236
4236
|
const { getUserInfo: getUserInfo2 } = await import("./src-JEGHPCQO.js");
|
|
4237
4237
|
const { LogoutCommand } = await import("./LogoutCommand-M7Z5SMNU.js");
|
|
4238
|
-
const { renderCommand } = await import("./render-command-
|
|
4238
|
+
const { renderCommand } = await import("./render-command-W54VN3S4.js");
|
|
4239
4239
|
const userInfo = await getUserInfo2();
|
|
4240
4240
|
await renderCommand(
|
|
4241
4241
|
command,
|
|
@@ -4275,7 +4275,7 @@ var whoami = (services) => {
|
|
|
4275
4275
|
return createCommand("whoami").description("Display the email of the logged in Wix user").action(async (_, command) => {
|
|
4276
4276
|
const { getUserInfo: getUserInfo2 } = await import("./src-JEGHPCQO.js");
|
|
4277
4277
|
const { WhoamiCommand } = await import("./WhoamiCommand-IHGDJSAV.js");
|
|
4278
|
-
const { renderCommand } = await import("./render-command-
|
|
4278
|
+
const { renderCommand } = await import("./render-command-W54VN3S4.js");
|
|
4279
4279
|
const userInfo = await getUserInfo2();
|
|
4280
4280
|
await renderCommand(
|
|
4281
4281
|
command,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
package_default,
|
|
12
12
|
reportCommandStartEvent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YCU7QSDF.js";
|
|
14
14
|
import "./chunk-ZWLXMEDA.js";
|
|
15
15
|
import {
|
|
16
16
|
BiProvider,
|
|
@@ -67,4 +67,4 @@ async function runCommand(command, services, commandFn) {
|
|
|
67
67
|
export {
|
|
68
68
|
renderCommand
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=render-command-
|
|
70
|
+
//# sourceMappingURL=render-command-W54VN3S4.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.
|
|
4
|
+
"version": "1.1.156",
|
|
5
5
|
"bin": {
|
|
6
6
|
"wix": "bin/wix.cjs"
|
|
7
7
|
},
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
]
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
|
-
"falconPackageHash": "
|
|
96
|
+
"falconPackageHash": "4eabdf453e1d43f86cae172b0c9b7c3a765221b9dd3181627385d889"
|
|
97
97
|
}
|
|
File without changes
|
|
File without changes
|