@wix/cli 1.1.165 → 1.1.166
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-ZJEQL7S6.js → LoginCommand-2UWZVG3L.js} +2 -2
- package/build/{chunk-J6BZQ4QK.js → chunk-HBPVS7LG.js} +2 -2
- package/build/{chunk-J6BZQ4QK.js.map → chunk-HBPVS7LG.js.map} +1 -1
- package/build/index.js +5 -5
- package/build/{render-command-WUHQMQB6.js → render-command-JYQT5HS2.js} +2 -2
- package/package.json +2 -2
- package/templates/astro/dashboard-modal/dependencies.json +1 -1
- /package/build/{LoginCommand-ZJEQL7S6.js.map → LoginCommand-2UWZVG3L.js.map} +0 -0
- /package/build/{render-command-WUHQMQB6.js.map → render-command-JYQT5HS2.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-HBPVS7LG.js";
|
|
4
4
|
import {
|
|
5
5
|
addUserFields
|
|
6
6
|
} from "./chunk-OG42BXOB.js";
|
|
@@ -114,4 +114,4 @@ var LoginCommand = ({
|
|
|
114
114
|
export {
|
|
115
115
|
LoginCommand
|
|
116
116
|
};
|
|
117
|
-
//# sourceMappingURL=LoginCommand-
|
|
117
|
+
//# sourceMappingURL=LoginCommand-2UWZVG3L.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
var package_default = {
|
|
22
22
|
name: "@wix/cli",
|
|
23
23
|
description: "CLI tool for building Wix sites and applications",
|
|
24
|
-
version: "1.1.
|
|
24
|
+
version: "1.1.166",
|
|
25
25
|
bin: {
|
|
26
26
|
wix: "bin/wix.cjs"
|
|
27
27
|
},
|
|
@@ -156,4 +156,4 @@ export {
|
|
|
156
156
|
createBiLogger2 as createBiLogger,
|
|
157
157
|
reportCommandStartEvent2 as reportCommandStartEvent
|
|
158
158
|
};
|
|
159
|
-
//# sourceMappingURL=chunk-
|
|
159
|
+
//# sourceMappingURL=chunk-HBPVS7LG.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.166\",\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-dev-tools-data\": \"^1.144.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-env\": \"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 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-dev-tools-data/v2';\nimport { createEnv } from '@wix/cli-env';\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 cliSessionId: string,\n errorReporter: ErrorReporter,\n userId?: string\n) => {\n const biLogger = await createCliBiLogger({ cliSessionId }, userId);\n const { cliEnvName, cliTrackingId } = createEnv();\n\n if (cliEnvName) {\n biLogger.updateDefaults({ environment: cliEnvName });\n }\n\n if (cliTrackingId) {\n biLogger.updateDefaults({ tracking_id: cliTrackingId });\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,iCAAiC;AAAA,IACjC,2BAA2B;AAAA,IAC3B,iBAAiB;AAAA,IACjB,6BAA6B;AAAA,IAC7B,6BAA6B;AAAA,IAC7B,sBAAsB;AAAA,IACtB,gBAAgB;AAAA,IAChB,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;AAA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EAAE,aAAa,cAAc,CAAC;AAAA,EACxD;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
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
createBiLogger,
|
|
21
21
|
package_default
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HBPVS7LG.js";
|
|
23
23
|
import "./chunk-OG42BXOB.js";
|
|
24
24
|
import {
|
|
25
25
|
OutdatedVersionMessage,
|
|
@@ -4226,8 +4226,8 @@ var login = (services) => {
|
|
|
4226
4226
|
).action(async (options, command) => {
|
|
4227
4227
|
const { apiKey, refreshToken } = options;
|
|
4228
4228
|
const { getUserInfo: getUserInfo2 } = await import("./src-J4QVC3AN.js");
|
|
4229
|
-
const { LoginCommand } = await import("./LoginCommand-
|
|
4230
|
-
const { renderCommand } = await import("./render-command-
|
|
4229
|
+
const { LoginCommand } = await import("./LoginCommand-2UWZVG3L.js");
|
|
4230
|
+
const { renderCommand } = await import("./render-command-JYQT5HS2.js");
|
|
4231
4231
|
const userInfo = await getUserInfo2();
|
|
4232
4232
|
await renderCommand(
|
|
4233
4233
|
command,
|
|
@@ -4251,7 +4251,7 @@ var logout = (services) => {
|
|
|
4251
4251
|
return createCommand("logout").description("Log out of your Wix account").action(async (_, command) => {
|
|
4252
4252
|
const { getUserInfo: getUserInfo2 } = await import("./src-J4QVC3AN.js");
|
|
4253
4253
|
const { LogoutCommand } = await import("./LogoutCommand-G47JBBFS.js");
|
|
4254
|
-
const { renderCommand } = await import("./render-command-
|
|
4254
|
+
const { renderCommand } = await import("./render-command-JYQT5HS2.js");
|
|
4255
4255
|
const userInfo = await getUserInfo2();
|
|
4256
4256
|
await renderCommand(
|
|
4257
4257
|
command,
|
|
@@ -4291,7 +4291,7 @@ var whoami = (services) => {
|
|
|
4291
4291
|
return createCommand("whoami").description("Display the email of the logged in Wix user").action(async (_, command) => {
|
|
4292
4292
|
const { getUserInfo: getUserInfo2 } = await import("./src-J4QVC3AN.js");
|
|
4293
4293
|
const { WhoamiCommand } = await import("./WhoamiCommand-DF33ENPJ.js");
|
|
4294
|
-
const { renderCommand } = await import("./render-command-
|
|
4294
|
+
const { renderCommand } = await import("./render-command-JYQT5HS2.js");
|
|
4295
4295
|
const userInfo = await getUserInfo2();
|
|
4296
4296
|
await renderCommand(
|
|
4297
4297
|
command,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
package_default,
|
|
12
12
|
reportCommandStartEvent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HBPVS7LG.js";
|
|
14
14
|
import "./chunk-OG42BXOB.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-JYQT5HS2.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.166",
|
|
5
5
|
"bin": {
|
|
6
6
|
"wix": "bin/wix.cjs"
|
|
7
7
|
},
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
]
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
|
-
"falconPackageHash": "
|
|
97
|
+
"falconPackageHash": "f4eefc6a0e17ecdc821da6020808aa4adedcb0b50e5e46cfc9071b90"
|
|
98
98
|
}
|
|
File without changes
|
|
File without changes
|