@wix/cli-app 1.1.94 → 1.1.95
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/{AddPermissionCommand-AXLVGNDP.js → AddPermissionCommand-VXYCZVHZ.js} +2 -2
- package/build/{CreateVersionCommand-MHMSZXJO.js → CreateVersionCommand-PST4QR5L.js} +3 -3
- package/build/{DevCommand-ETWTQYZZ.js → DevCommand-6RTOVJUH.js} +10 -10
- package/build/{GenerateCommand-ADVORGD2.js → GenerateCommand-KOCD3AEK.js} +37 -132
- package/build/GenerateCommand-KOCD3AEK.js.map +1 -0
- package/build/{LogsCommand-5HYWLNI3.js → LogsCommand-AMXUWW6C.js} +3 -3
- package/build/PreviewCommand-5BX6FGEG.js +19 -0
- package/build/ReleaseCommand-K5RUNZDC.js +28 -0
- package/build/{ServeCommand-KGX3TQW5.js → ServeCommand-URV3YQWF.js} +3 -3
- package/build/{build-V4EACDEG.js → build-TWREZVJ7.js} +6 -6
- package/build/{chunk-C6X7AK6O.js → chunk-4CJ72ZNU.js} +2 -2
- package/build/{chunk-ND2MTD7W.js → chunk-A5Y3LQ5J.js} +7 -7
- package/build/{chunk-JTRDDDWV.js → chunk-ARQ5NTNC.js} +3 -3
- package/build/{chunk-JTRDDDWV.js.map → chunk-ARQ5NTNC.js.map} +1 -1
- package/build/{chunk-HRUPAIWY.js → chunk-BUO7YQRY.js} +7 -4
- package/build/{chunk-HRUPAIWY.js.map → chunk-BUO7YQRY.js.map} +1 -1
- package/build/{chunk-ZG3GPCY2.js → chunk-BVI6M7DP.js} +2 -2
- package/build/{chunk-HWUZNCED.js → chunk-CSIZDJYH.js} +2 -2
- package/build/chunk-CSIZDJYH.js.map +1 -0
- package/build/{chunk-4QESCZBS.js → chunk-J4RVCN5M.js} +4 -4
- package/build/{chunk-TKQESE4W.js → chunk-JHE6WPVO.js} +6 -6
- package/build/{chunk-OFHO26QT.js → chunk-MOSVF3L4.js} +6 -6
- package/build/{chunk-QV7L2RX5.js → chunk-S6ZXX2QO.js} +2 -2
- package/build/{chunk-UPIJ5D6V.js → chunk-S7JSY67L.js} +2 -2
- package/build/{chunk-2BOHMGS2.js → chunk-STSQTTLM.js} +2 -2
- package/build/{chunk-MNC3DWD3.js → chunk-TFAYQMMQ.js} +3 -3
- package/build/{chunk-2SJ43POD.js → chunk-VB7LSLKL.js} +2 -2
- package/build/{chunk-EEZ3TJNI.js → chunk-YGRTLMZO.js} +2 -2
- package/build/{chunk-HVPHIJ2J.js → chunk-YKSL7MAV.js} +4 -4
- package/build/{chunk-LEUSV6U4.js → chunk-YUBOT4GU.js} +2 -2
- package/build/index.js +25 -25
- package/build/{preview-UWCKT7UV.js → preview-AJSS4ISE.js} +12 -12
- package/build/{release-DN4SZ67B.js → release-LKVLDBHM.js} +14 -14
- package/build/{render-command-WQ6LN7SR.js → render-command-HP6OE46H.js} +5 -5
- package/package.json +3 -3
- package/build/GenerateCommand-ADVORGD2.js.map +0 -1
- package/build/PreviewCommand-HZYHBPAD.js +0 -19
- package/build/ReleaseCommand-AKGYR67X.js +0 -28
- package/build/chunk-HWUZNCED.js.map +0 -1
- /package/build/{AddPermissionCommand-AXLVGNDP.js.map → AddPermissionCommand-VXYCZVHZ.js.map} +0 -0
- /package/build/{CreateVersionCommand-MHMSZXJO.js.map → CreateVersionCommand-PST4QR5L.js.map} +0 -0
- /package/build/{DevCommand-ETWTQYZZ.js.map → DevCommand-6RTOVJUH.js.map} +0 -0
- /package/build/{LogsCommand-5HYWLNI3.js.map → LogsCommand-AMXUWW6C.js.map} +0 -0
- /package/build/{PreviewCommand-HZYHBPAD.js.map → PreviewCommand-5BX6FGEG.js.map} +0 -0
- /package/build/{ReleaseCommand-AKGYR67X.js.map → ReleaseCommand-K5RUNZDC.js.map} +0 -0
- /package/build/{ServeCommand-KGX3TQW5.js.map → ServeCommand-URV3YQWF.js.map} +0 -0
- /package/build/{build-V4EACDEG.js.map → build-TWREZVJ7.js.map} +0 -0
- /package/build/{chunk-C6X7AK6O.js.map → chunk-4CJ72ZNU.js.map} +0 -0
- /package/build/{chunk-ND2MTD7W.js.map → chunk-A5Y3LQ5J.js.map} +0 -0
- /package/build/{chunk-ZG3GPCY2.js.map → chunk-BVI6M7DP.js.map} +0 -0
- /package/build/{chunk-4QESCZBS.js.map → chunk-J4RVCN5M.js.map} +0 -0
- /package/build/{chunk-TKQESE4W.js.map → chunk-JHE6WPVO.js.map} +0 -0
- /package/build/{chunk-OFHO26QT.js.map → chunk-MOSVF3L4.js.map} +0 -0
- /package/build/{chunk-QV7L2RX5.js.map → chunk-S6ZXX2QO.js.map} +0 -0
- /package/build/{chunk-UPIJ5D6V.js.map → chunk-S7JSY67L.js.map} +0 -0
- /package/build/{chunk-2BOHMGS2.js.map → chunk-STSQTTLM.js.map} +0 -0
- /package/build/{chunk-MNC3DWD3.js.map → chunk-TFAYQMMQ.js.map} +0 -0
- /package/build/{chunk-2SJ43POD.js.map → chunk-VB7LSLKL.js.map} +0 -0
- /package/build/{chunk-EEZ3TJNI.js.map → chunk-YGRTLMZO.js.map} +0 -0
- /package/build/{chunk-HVPHIJ2J.js.map → chunk-YKSL7MAV.js.map} +0 -0
- /package/build/{chunk-LEUSV6U4.js.map → chunk-YUBOT4GU.js.map} +0 -0
- /package/build/{preview-UWCKT7UV.js.map → preview-AJSS4ISE.js.map} +0 -0
- /package/build/{release-DN4SZ67B.js.map → release-LKVLDBHM.js.map} +0 -0
- /package/build/{render-command-WQ6LN7SR.js.map → render-command-HP6OE46H.js.map} +0 -0
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
toURLSearchParams,
|
|
15
15
|
useHttpClient,
|
|
16
16
|
z
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ARQ5NTNC.js";
|
|
18
18
|
import {
|
|
19
19
|
__commonJS,
|
|
20
20
|
__toESM,
|
|
@@ -3499,4 +3499,4 @@ export {
|
|
|
3499
3499
|
getBackendEventSlug,
|
|
3500
3500
|
useExtensionDataClient
|
|
3501
3501
|
};
|
|
3502
|
-
//# sourceMappingURL=chunk-
|
|
3502
|
+
//# sourceMappingURL=chunk-BVI6M7DP.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
require_lib,
|
|
12
12
|
writeJson,
|
|
13
13
|
z
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ARQ5NTNC.js";
|
|
15
15
|
import {
|
|
16
16
|
__toESM,
|
|
17
17
|
init_esm_shims
|
|
@@ -351,4 +351,4 @@ export {
|
|
|
351
351
|
getRepoType,
|
|
352
352
|
createPackageManager
|
|
353
353
|
};
|
|
354
|
-
//# sourceMappingURL=chunk-
|
|
354
|
+
//# sourceMappingURL=chunk-CSIZDJYH.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../package-manager/src/repo-type.ts","../../package-manager/src/git-service.ts","../../package-manager/src/shell/index.ts","../../package-manager/src/shell/shell-client.ts","../../package-manager/src/package-manager.ts","../../package-manager/src/adapters/npm.ts","../../package-manager/src/adapters/yarn.ts","../../package-manager/src/index.ts"],"sourcesContent":["import { readJson } from '@wix/cli-fs';\nimport { join } from 'node:path';\nimport { variant, fields } from 'variant';\nimport type { VariantOf } from 'variant';\nimport type { PackageJson } from 'type-fest';\nimport { getGitRoot, isInsideGitRepo } from './git-service.js';\n\nexport const RepoType = variant({\n None: {},\n Polyrepo: fields<{ rootDir: string }>(),\n Monorepo: fields<{ rootDir: string }>(),\n});\n\nexport type RepoType = VariantOf<typeof RepoType>;\n\nexport async function getRepoType(\n targetParentFolder: string\n): Promise<RepoType> {\n if (!(await isInsideGitRepo(targetParentFolder))) {\n return RepoType.None();\n }\n\n const rootDir = await getGitRoot(targetParentFolder);\n\n if (await isUsingWorkspaces(rootDir)) {\n return RepoType.Monorepo({\n rootDir,\n });\n }\n\n return RepoType.Polyrepo({\n rootDir,\n });\n}\n\nasync function isUsingWorkspaces(rootDir: string) {\n return readJson(join(rootDir, 'package.json'))\n .then((pkgJson) => Boolean((pkgJson as PackageJson).workspaces))\n .catch(() => false);\n}\n","import { runCommand } from './shell/index.js';\n\nexport function isInsideGitRepo(cwd: string) {\n return runCommand('git rev-parse --is-inside-work-tree', { cwd })\n .then(() => true)\n .catch(() => false);\n}\n\nexport async function getGitRoot(cwd: string) {\n return runCommand('git rev-parse --show-toplevel', { cwd });\n}\n\nexport async function getGitLatestCommitHash(cwd: string) {\n try {\n return await runCommand('git rev-parse --verify HEAD', { cwd });\n } catch {\n // This command can fail if there are no commits, so we can just return undefined\n }\n}\n\nexport async function gitInit(cwd: string) {\n await runCommand('git init', { cwd });\n}\n\nexport async function gitCommit(cwd: string) {\n await runCommand('git add -A', { cwd });\n await runCommand(\n `git commit -m Initial\\\\ commit\\\\ from\\\\ Create\\\\ Wix\\\\ App --no-verify`,\n { cwd }\n );\n}\n\nexport async function gitClone(url: string, path: string) {\n await runCommand(`git clone --depth 1 ${url} ${path}`, {\n env: {\n /*\n * This is to prevent git from prompting for credentials.\n * `git clone` uses a subprocess for the authentication, so we can't attach the main process to its stdio.\n * This leads to:\n * - the spinners \"swallow\" its output.\n * - after answering with the username and pressing \"Enter\", the first line of the output is being duplicated.\n * That's why we're disabling the prompt, so user should be pre-authenticated.\n */\n GIT_TERMINAL_PROMPT: '0',\n },\n });\n}\n","export { runCommand } from './shell-client.js';\n","import { execaCommand } from 'execa';\nimport type { Options } from './types.js';\n\nexport async function runCommand(command: string, opts?: Options) {\n const commandProcess = execaCommand(command, {\n /**\n * DO NOT USE `shell: true`!\n * It's a security risk that leads to injections and should be avoided.\n * ref: https://github.com/sindresorhus/execa/tree/main#shell\n */\n shell: false,\n cwd: opts?.cwd,\n env: opts?.env,\n });\n\n if (opts?.output) {\n commandProcess.stdout?.pipe(opts.output);\n }\n\n const { stdout } = await commandProcess;\n\n return stdout;\n}\n","import { env } from 'node:process';\nimport { pathExists } from '@wix/cli-fs';\nimport { join } from 'node:path';\nimport { CliError, CliErrorCode } from '@wix/cli-error';\nimport { matcher } from 'variant';\nimport { NPM } from './adapters/npm.js';\nimport { Yarn, resolveYarnVersion } from './adapters/yarn.js';\nimport type { IPackageManager, PackageManagerName } from './types.js';\nimport { RepoType } from './repo-type.js';\n\nexport async function createPackageManager(\n repoType: RepoType\n): Promise<IPackageManager> {\n const packageManagerName = await getPackageManagerName(repoType);\n\n switch (packageManagerName) {\n case 'yarn-berry':\n return new Yarn(repoType, 'yarn-berry');\n case 'yarn':\n return new Yarn(repoType, 'yarn');\n case 'npm':\n return new NPM(repoType);\n }\n}\n\nasync function getPackageManagerName(\n repoType: RepoType\n): Promise<PackageManagerName> {\n // In case of an existing repo we first check for relevant package manager files.\n // this is an extra layer of identification that should prevent errors when the\n // user runs create-app using a package manager other than the one used in the project\n\n const getByEnv = (): PackageManagerName => {\n if (env.npm_config_user_agent?.startsWith('yarn/1')) {\n return 'yarn';\n }\n\n // yarn v2+\n if (env.npm_config_user_agent?.startsWith('yarn')) {\n return 'yarn-berry';\n }\n\n if (env.npm_config_user_agent?.startsWith('npm')) {\n return 'npm';\n }\n\n throw new CliError({\n code: CliErrorCode.UnsupportedPackageManager({\n packageManagerName: env.npm_config_user_agent,\n }),\n cause: null,\n });\n };\n\n return matcher(repoType)\n .when(RepoType.None, getByEnv)\n .when(\n [RepoType.Polyrepo, RepoType.Monorepo],\n async ({ rootDir }): Promise<PackageManagerName> => {\n const [hasYarnRc, hasYarnLock, hasPackageLock] = await Promise.all([\n pathExists(join(rootDir, '.yarnrc.yml')),\n pathExists(join(rootDir, 'yarn.lock')),\n pathExists(join(rootDir, 'package-lock.json')),\n ]);\n\n if (hasYarnRc || hasYarnLock) {\n const yarnVersion = await resolveYarnVersion(rootDir);\n return yarnVersion.startsWith('1') ? 'yarn' : 'yarn-berry';\n }\n\n if (hasPackageLock) {\n return 'npm';\n }\n\n return getByEnv();\n }\n )\n .complete();\n}\n","import { CliError, CliErrorCode } from '@wix/cli-error';\nimport { isType } from 'variant';\nimport { runCommand } from '../shell/index.js';\nimport type { IPackageManager } from '../types.js';\nimport { RepoType } from '../repo-type.js';\n\nexport class NPM implements IPackageManager {\n readonly name = 'npm';\n\n constructor(private readonly repoType: RepoType) {}\n\n getUsage(name: string): string {\n return `npm init ${name.replace('create-', '')}`;\n }\n\n getInstallCmd(): string {\n return 'npm install';\n }\n\n getRunCmd(): string {\n return 'npm run';\n }\n\n getRunBinaryCmd(args: string[]): { file: string; args: string[] } {\n return {\n file: 'npx',\n args: ['--no-install'].concat(args),\n };\n }\n\n async setup(_cwd: string): Promise<void> {\n if (isType(this.repoType, RepoType.Monorepo)) {\n throw new CliError({\n code: CliErrorCode.UnsupportedPackageManagerWorkspaces({\n packageManagerName: this.name,\n }),\n cause: null,\n });\n }\n }\n\n async runInstall(cwd: string): Promise<void> {\n try {\n await runCommand(this.getInstallCmd(), { cwd });\n } catch (e) {\n throw new CliError({\n code: CliErrorCode.FailedToInstallPackages(),\n info: { packageManager: this.name },\n cause: e,\n });\n }\n }\n\n async runInstallPackage(cwd: string, packageName: string): Promise<void> {\n try {\n await runCommand(`npm install ${packageName}`, { cwd });\n } catch (e) {\n throw new CliError({\n code: CliErrorCode.FailedToInstallPackage({ packageName }),\n info: { packageManager: this.name },\n cause: e,\n });\n }\n }\n\n async runUninstallPackage(cwd: string, packageName: string): Promise<void> {\n try {\n await runCommand(`npm uninstall ${packageName}`, { cwd });\n } catch (e) {\n throw new CliError({\n code: CliErrorCode.FailedToUninstallPackage({ packageName }),\n info: { packageManager: this.name },\n cause: e,\n });\n }\n }\n}\n","import { CliError, CliErrorCode } from '@wix/cli-error';\nimport { readJson, writeJson } from '@wix/cli-fs';\nimport { join, relative } from 'node:path';\nimport { matcher } from 'variant';\nimport { EOL } from 'node:os';\nimport { z } from 'zod';\nimport { writeFile } from 'node:fs/promises';\nimport type { PackageJson } from 'type-fest';\nimport { runCommand } from '../shell/index.js';\nimport type { IPackageManager } from '../types.js';\nimport type { RepoType } from '../repo-type.js';\n\ntype YarnVersion = 'yarn' | 'yarn-berry';\n\nexport async function resolveYarnVersion(cwd: string) {\n const stdout = await runCommand('yarn --version', { cwd });\n return stdout.trim();\n}\n\nexport class Yarn implements IPackageManager {\n constructor(\n private readonly repoType: RepoType,\n readonly name: YarnVersion\n ) {}\n\n getUsage(name: string): string {\n return `yarn create ${name.replace('create-', '')}`;\n }\n\n getInstallCmd(): string {\n return 'yarn install';\n }\n\n getRunCmd(): string {\n return 'yarn';\n }\n\n getRunBinaryCmd(args: string[]): { file: string; args: string[] } {\n return {\n file: 'yarn',\n args: ['run'].concat(args),\n };\n }\n\n async setup(packageFolder: string): Promise<void> {\n return matcher(this.repoType)\n .when(['None', 'Polyrepo'], async () => {\n if (this.name === 'yarn-berry') {\n // if yarn berry encounters a package.json in a parent folder, it\n // complains that our project needs to be part of that parent project.\n // An official way to tell yarn that this is a standalone project is\n // to create an empty lockfile.\n // A similar thing was done in create-astro: https://github.com/withastro/astro/pull/8028\n await writeFile(join(packageFolder, 'yarn.lock'), '');\n }\n })\n .when('Monorepo', async ({ rootDir }) => {\n try {\n await addPackageToWorkspaces({\n rootDir,\n packageFolder,\n yarnVersion: this.name,\n });\n } catch (error) {\n throw new CliError({\n code: CliErrorCode.FailedAddingPackageToWorkspace(),\n cause: error,\n });\n }\n })\n .complete();\n }\n\n async runInstall(cwd: string): Promise<void> {\n try {\n await runCommand(this.getInstallCmd(), { cwd });\n } catch (e) {\n throw new CliError({\n code: CliErrorCode.FailedToInstallPackages(),\n info: { packageManager: this.name },\n cause: e,\n });\n }\n }\n\n async runInstallPackage(cwd: string, packageName: string): Promise<void> {\n try {\n await runCommand(`yarn add ${packageName}`, { cwd });\n } catch (e) {\n throw new CliError({\n code: CliErrorCode.FailedToInstallPackage({ packageName }),\n info: { packageManager: this.name },\n cause: e,\n });\n }\n }\n\n async runUninstallPackage(cwd: string, packageName: string): Promise<void> {\n try {\n await runCommand(`yarn remove ${packageName}`, { cwd });\n } catch (e) {\n throw new CliError({\n code: CliErrorCode.FailedToUninstallPackage({ packageName }),\n info: { packageManager: this.name },\n cause: e,\n });\n }\n }\n}\n\nasync function getPackagesRelativePaths(\n rootDir: string,\n yarnVersion: YarnVersion\n): Promise<string[]> {\n const workspacesSchema = z.array(\n z.object({\n location: z.string(),\n })\n );\n\n if (yarnVersion === 'yarn-berry') {\n const packages = await runCommand('yarn workspaces list --json', {\n cwd: rootDir,\n });\n\n const parsedPackages = workspacesSchema.parse(\n packages\n .split(EOL)\n .filter(Boolean)\n .map((pkg) => JSON.parse(pkg))\n );\n\n return parsedPackages.map((pkg) => pkg.location);\n }\n\n const packages = await runCommand('yarn --json workspaces info', {\n cwd: rootDir,\n });\n\n const parsedPackages = workspacesSchema.parse(\n Object.values(JSON.parse(JSON.parse(packages).data))\n );\n return parsedPackages.map((pkg) => pkg.location);\n}\n\nasync function addPackageToWorkspaces({\n rootDir,\n packageFolder,\n yarnVersion,\n}: {\n rootDir: string;\n packageFolder: string;\n yarnVersion: YarnVersion;\n}) {\n const relativePackagePath = relative(rootDir, packageFolder);\n const packages = await getPackagesRelativePaths(rootDir, yarnVersion);\n\n if (packages.includes(relativePackagePath)) {\n return;\n }\n\n const packageJson = (await readJson(\n join(rootDir, 'package.json')\n )) as PackageJson;\n\n if (Array.isArray(packageJson.workspaces)) {\n packageJson.workspaces.push(relativePackagePath);\n } else if (typeof packageJson.workspaces === 'object') {\n packageJson.workspaces = {\n ...packageJson.workspaces,\n packages: [\n ...(packageJson.workspaces.packages ?? []),\n relativePackagePath,\n ],\n };\n } else {\n throw new Error(\n `Failed to read workspaces structure. Expected an array or object but got ${JSON.stringify(\n packageJson.workspaces\n )}`\n );\n }\n\n await writeJson(join(rootDir, 'package.json'), packageJson, { spaces: 2 });\n}\n","export { createPackageManager } from './package-manager.js';\nexport { NPM } from './adapters/npm.js';\nexport { Yarn } from './adapters/yarn.js';\nexport type { IPackageManager } from './types.js';\nexport { getRepoType, RepoType } from './repo-type.js';\nexport {\n gitClone,\n gitCommit,\n gitInit,\n getGitLatestC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AY,WAAW,GAAG,IAAI,SAAS;AAAA,MAChD;AAEA,UAAI,gBAAgB;AAClB,eAAO;AAAA,MACT;AAEA,aAAO,SAAS;AAAA,IAClB;AAAA,EACF,EACC,SAAS;AACd;;;AG9EA;","names":["join","import_variant","import_variant","import_variant","join","join","packages","parsedPackages","join"]}
|
|
@@ -2,13 +2,13 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
addUserFields
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-S7JSY67L.js";
|
|
6
6
|
import {
|
|
7
7
|
messages_default
|
|
8
8
|
} from "./chunk-6BTLX252.js";
|
|
9
9
|
import {
|
|
10
10
|
DebugLogProvider
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-STSQTTLM.js";
|
|
12
12
|
import {
|
|
13
13
|
AccountAuthProvider,
|
|
14
14
|
BiProvider,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
getDebugLogFilePath,
|
|
22
22
|
isLoggedInToAccount,
|
|
23
23
|
require_react
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ARQ5NTNC.js";
|
|
25
25
|
import {
|
|
26
26
|
__toESM,
|
|
27
27
|
init_esm_shims
|
|
@@ -63,4 +63,4 @@ export {
|
|
|
63
63
|
log,
|
|
64
64
|
executeCommand
|
|
65
65
|
};
|
|
66
|
-
//# sourceMappingURL=chunk-
|
|
66
|
+
//# sourceMappingURL=chunk-J4RVCN5M.js.map
|
|
@@ -2,7 +2,7 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
readAppManifestFile
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TFAYQMMQ.js";
|
|
6
6
|
import {
|
|
7
7
|
ArmTagProvider,
|
|
8
8
|
ExtensionDataProvider,
|
|
@@ -16,16 +16,16 @@ import {
|
|
|
16
16
|
useResolvePlatformUrl,
|
|
17
17
|
useSite,
|
|
18
18
|
useSiteOverrideClient
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-A5Y3LQ5J.js";
|
|
20
20
|
import {
|
|
21
21
|
useBackendComponents
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YGRTLMZO.js";
|
|
23
23
|
import {
|
|
24
24
|
getMonitoringProvider,
|
|
25
25
|
updateAppManifestComponents,
|
|
26
26
|
updateMonitoring,
|
|
27
27
|
updateTopology
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-BUO7YQRY.js";
|
|
29
29
|
import {
|
|
30
30
|
Alert,
|
|
31
31
|
BROWSER_STATICS_FOLDER,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
useHttpClient,
|
|
58
58
|
useProjectModel,
|
|
59
59
|
useTranslation
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-ARQ5NTNC.js";
|
|
61
61
|
import {
|
|
62
62
|
__toESM,
|
|
63
63
|
init_esm_shims
|
|
@@ -294,4 +294,4 @@ export {
|
|
|
294
294
|
assertBuildOutputExists,
|
|
295
295
|
PreviewCommand
|
|
296
296
|
};
|
|
297
|
-
//# sourceMappingURL=chunk-
|
|
297
|
+
//# sourceMappingURL=chunk-JHE6WPVO.js.map
|
|
@@ -3,16 +3,16 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PreviewCommand,
|
|
5
5
|
assertBuildOutputExists
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JHE6WPVO.js";
|
|
7
7
|
import {
|
|
8
8
|
useARMClient
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-A5Y3LQ5J.js";
|
|
10
10
|
import {
|
|
11
11
|
useWixCliAppBi
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VB7LSLKL.js";
|
|
13
13
|
import {
|
|
14
14
|
useBackendComponents
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YGRTLMZO.js";
|
|
16
16
|
import {
|
|
17
17
|
Alert,
|
|
18
18
|
Box_default,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
useDevCenterClient,
|
|
39
39
|
useProjectModel,
|
|
40
40
|
useTranslation
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ARQ5NTNC.js";
|
|
42
42
|
import {
|
|
43
43
|
__toESM,
|
|
44
44
|
init_esm_shims
|
|
@@ -418,4 +418,4 @@ export {
|
|
|
418
418
|
ReleaseVersionType,
|
|
419
419
|
ReleaseCommand
|
|
420
420
|
};
|
|
421
|
-
//# sourceMappingURL=chunk-
|
|
421
|
+
//# sourceMappingURL=chunk-MOSVF3L4.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
createRendererToString,
|
|
6
6
|
isCliError,
|
|
7
7
|
require_react
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ARQ5NTNC.js";
|
|
9
9
|
import {
|
|
10
10
|
__toESM,
|
|
11
11
|
init_esm_shims
|
|
@@ -58,4 +58,4 @@ function createLogger({
|
|
|
58
58
|
export {
|
|
59
59
|
createLogger
|
|
60
60
|
};
|
|
61
|
-
//# sourceMappingURL=chunk-
|
|
61
|
+
//# sourceMappingURL=chunk-S6ZXX2QO.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
require_is_ci,
|
|
7
7
|
wixCliCliCommand,
|
|
8
8
|
wixCliCliCommandStatus
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ARQ5NTNC.js";
|
|
10
10
|
import {
|
|
11
11
|
__toESM,
|
|
12
12
|
init_esm_shims
|
|
@@ -146,4 +146,4 @@ export {
|
|
|
146
146
|
addUserFields,
|
|
147
147
|
reportCommandStartEvent
|
|
148
148
|
};
|
|
149
|
-
//# sourceMappingURL=chunk-
|
|
149
|
+
//# sourceMappingURL=chunk-S7JSY67L.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
require_index_node,
|
|
5
5
|
require_react,
|
|
6
6
|
require_verror
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ARQ5NTNC.js";
|
|
8
8
|
import {
|
|
9
9
|
__toESM,
|
|
10
10
|
init_esm_shims
|
|
@@ -99,4 +99,4 @@ export {
|
|
|
99
99
|
DebugLogProvider,
|
|
100
100
|
useDebugLog
|
|
101
101
|
};
|
|
102
|
-
//# sourceMappingURL=chunk-
|
|
102
|
+
//# sourceMappingURL=chunk-STSQTTLM.js.map
|
|
@@ -2,11 +2,11 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
readAppManifest
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BUO7YQRY.js";
|
|
6
6
|
import {
|
|
7
7
|
getAppManifestPath,
|
|
8
8
|
writeJson
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ARQ5NTNC.js";
|
|
10
10
|
import {
|
|
11
11
|
init_esm_shims
|
|
12
12
|
} from "./chunk-PYIAC2GK.js";
|
|
@@ -29,4 +29,4 @@ export {
|
|
|
29
29
|
writeAppManifestFile,
|
|
30
30
|
readAppManifestFile
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=chunk-
|
|
32
|
+
//# sourceMappingURL=chunk-TFAYQMMQ.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
require_react,
|
|
5
5
|
useBiLogger,
|
|
6
6
|
wixCliAppBiEvents
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ARQ5NTNC.js";
|
|
8
8
|
import {
|
|
9
9
|
__toESM,
|
|
10
10
|
init_esm_shims
|
|
@@ -24,4 +24,4 @@ init_esm_shims();
|
|
|
24
24
|
export {
|
|
25
25
|
useWixCliAppBi
|
|
26
26
|
};
|
|
27
|
-
//# sourceMappingURL=chunk-
|
|
27
|
+
//# sourceMappingURL=chunk-VB7LSLKL.js.map
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
useProjectModel,
|
|
16
16
|
writePackageJson,
|
|
17
17
|
z
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ARQ5NTNC.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__require,
|
|
@@ -9381,4 +9381,4 @@ ejs/lib/ejs.js:
|
|
|
9381
9381
|
* @license {@link http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0}
|
|
9382
9382
|
*)
|
|
9383
9383
|
*/
|
|
9384
|
-
//# sourceMappingURL=chunk-
|
|
9384
|
+
//# sourceMappingURL=chunk-YGRTLMZO.js.map
|
|
@@ -3,13 +3,13 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
addUserFields,
|
|
5
5
|
reportCommandStartEvent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-S7JSY67L.js";
|
|
7
7
|
import {
|
|
8
8
|
messages_default
|
|
9
9
|
} from "./chunk-6BTLX252.js";
|
|
10
10
|
import {
|
|
11
11
|
DebugLogProvider
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-STSQTTLM.js";
|
|
13
13
|
import {
|
|
14
14
|
AccountAuthProvider,
|
|
15
15
|
BiProvider,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
package_default,
|
|
24
24
|
render,
|
|
25
25
|
require_react
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ARQ5NTNC.js";
|
|
27
27
|
import {
|
|
28
28
|
__toESM,
|
|
29
29
|
init_esm_shims
|
|
@@ -113,4 +113,4 @@ export {
|
|
|
113
113
|
renderCommand,
|
|
114
114
|
runCommand
|
|
115
115
|
};
|
|
116
|
-
//# sourceMappingURL=chunk-
|
|
116
|
+
//# sourceMappingURL=chunk-YKSL7MAV.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-6BTLX252.js";
|
|
6
6
|
import {
|
|
7
7
|
createI18n
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ARQ5NTNC.js";
|
|
9
9
|
import {
|
|
10
10
|
init_esm_shims
|
|
11
11
|
} from "./chunk-PYIAC2GK.js";
|
|
@@ -20,4 +20,4 @@ function createI18nT() {
|
|
|
20
20
|
export {
|
|
21
21
|
createI18nT
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=chunk-
|
|
23
|
+
//# sourceMappingURL=chunk-YUBOT4GU.js.map
|
package/build/index.js
CHANGED
|
@@ -2,18 +2,18 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
createI18nT
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YUBOT4GU.js";
|
|
6
6
|
import {
|
|
7
7
|
runCommand
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-YKSL7MAV.js";
|
|
9
|
+
import "./chunk-S7JSY67L.js";
|
|
10
10
|
import "./chunk-6BTLX252.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-STSQTTLM.js";
|
|
12
12
|
import {
|
|
13
13
|
package_default,
|
|
14
14
|
require_react,
|
|
15
15
|
z
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ARQ5NTNC.js";
|
|
17
17
|
import {
|
|
18
18
|
__commonJS,
|
|
19
19
|
__require,
|
|
@@ -3376,8 +3376,8 @@ var {
|
|
|
3376
3376
|
// src/commands/build.ts
|
|
3377
3377
|
init_esm_shims();
|
|
3378
3378
|
var buildCommand = (services) => createCommand("build").action(async (_, command) => {
|
|
3379
|
-
const { runCommand: runCommand2 } = await import("./render-command-
|
|
3380
|
-
const { build } = await import("./build-
|
|
3379
|
+
const { runCommand: runCommand2 } = await import("./render-command-HP6OE46H.js");
|
|
3380
|
+
const { build } = await import("./build-TWREZVJ7.js");
|
|
3381
3381
|
await runCommand2(command, services, build);
|
|
3382
3382
|
});
|
|
3383
3383
|
|
|
@@ -3387,8 +3387,8 @@ var import_react = __toESM(require_react(), 1);
|
|
|
3387
3387
|
var devCommand = (services) => {
|
|
3388
3388
|
const t = createI18nT();
|
|
3389
3389
|
return createCommand("dev").option("-s, --https", t("dev_command_def.option.https")).action(async (options, command) => {
|
|
3390
|
-
const { DevCommand } = await import("./DevCommand-
|
|
3391
|
-
const { renderCommand } = await import("./render-command-
|
|
3390
|
+
const { DevCommand } = await import("./DevCommand-6RTOVJUH.js");
|
|
3391
|
+
const { renderCommand } = await import("./render-command-HP6OE46H.js");
|
|
3392
3392
|
const { https = false } = options;
|
|
3393
3393
|
await renderCommand(command, services, /* @__PURE__ */ import_react.default.createElement(DevCommand, { https }), {
|
|
3394
3394
|
watchForModelChanges: true
|
|
@@ -3457,17 +3457,17 @@ var previewCommand = (services) => {
|
|
|
3457
3457
|
).hideHelp()
|
|
3458
3458
|
).action(async (options, command) => {
|
|
3459
3459
|
const { site, baseUrl, json } = options;
|
|
3460
|
-
const { renderCommand, runCommand: runCommand2 } = await import("./render-command-
|
|
3460
|
+
const { renderCommand, runCommand: runCommand2 } = await import("./render-command-HP6OE46H.js");
|
|
3461
3461
|
if (json) {
|
|
3462
3462
|
return runCommand2(command, services, async (model) => {
|
|
3463
|
-
const { nonInteractivePreview } = await import("./preview-
|
|
3463
|
+
const { nonInteractivePreview } = await import("./preview-AJSS4ISE.js");
|
|
3464
3464
|
return nonInteractivePreview(services, model, {
|
|
3465
3465
|
baseUrl,
|
|
3466
3466
|
siteId: site
|
|
3467
3467
|
});
|
|
3468
3468
|
});
|
|
3469
3469
|
}
|
|
3470
|
-
const { PreviewCommand } = await import("./PreviewCommand-
|
|
3470
|
+
const { PreviewCommand } = await import("./PreviewCommand-5BX6FGEG.js");
|
|
3471
3471
|
await renderCommand(
|
|
3472
3472
|
command,
|
|
3473
3473
|
services,
|
|
@@ -3498,8 +3498,8 @@ var createVersionCommand = (services) => {
|
|
|
3498
3498
|
t("create_version_command_def.option.base_url"),
|
|
3499
3499
|
validateBase
|
|
3500
3500
|
).action(async (options, command) => {
|
|
3501
|
-
const { renderCommand } = await import("./render-command-
|
|
3502
|
-
const { CreateVersionCommandDeprecated } = await import("./CreateVersionCommand-
|
|
3501
|
+
const { renderCommand } = await import("./render-command-HP6OE46H.js");
|
|
3502
|
+
const { CreateVersionCommandDeprecated } = await import("./CreateVersionCommand-PST4QR5L.js");
|
|
3503
3503
|
await renderCommand(
|
|
3504
3504
|
command,
|
|
3505
3505
|
services,
|
|
@@ -3516,8 +3516,8 @@ var addPermissionCommand = (services) => {
|
|
|
3516
3516
|
return createCommand("add-permission").description("adding a permission to the app").addOption(
|
|
3517
3517
|
new Option("-p, --permission-id <id>", t("the permission id to add"))
|
|
3518
3518
|
).action(async (options, command) => {
|
|
3519
|
-
const { renderCommand } = await import("./render-command-
|
|
3520
|
-
const { AddPermissionCommand } = await import("./AddPermissionCommand-
|
|
3519
|
+
const { renderCommand } = await import("./render-command-HP6OE46H.js");
|
|
3520
|
+
const { AddPermissionCommand } = await import("./AddPermissionCommand-VXYCZVHZ.js");
|
|
3521
3521
|
const { permissionId = "" } = options;
|
|
3522
3522
|
await renderCommand(
|
|
3523
3523
|
command,
|
|
@@ -3533,8 +3533,8 @@ var import_react5 = __toESM(require_react(), 1);
|
|
|
3533
3533
|
var serveCommand = (services) => {
|
|
3534
3534
|
const t = createI18nT();
|
|
3535
3535
|
return createCommand("serve").description(t("serve_command_def.description")).action(async (_, command) => {
|
|
3536
|
-
const { renderCommand } = await import("./render-command-
|
|
3537
|
-
const { ServeCommandDeprecated } = await import("./ServeCommand-
|
|
3536
|
+
const { renderCommand } = await import("./render-command-HP6OE46H.js");
|
|
3537
|
+
const { ServeCommandDeprecated } = await import("./ServeCommand-URV3YQWF.js");
|
|
3538
3538
|
await renderCommand(command, services, /* @__PURE__ */ import_react5.default.createElement(ServeCommandDeprecated, null));
|
|
3539
3539
|
});
|
|
3540
3540
|
};
|
|
@@ -3545,8 +3545,8 @@ var import_react6 = __toESM(require_react(), 1);
|
|
|
3545
3545
|
var generateCommand = (services) => {
|
|
3546
3546
|
const t = createI18nT();
|
|
3547
3547
|
return createCommand("generate").description(t("generate_command.description")).action(async (options, command) => {
|
|
3548
|
-
const { GenerateCommand } = await import("./GenerateCommand-
|
|
3549
|
-
const { renderCommand } = await import("./render-command-
|
|
3548
|
+
const { GenerateCommand } = await import("./GenerateCommand-KOCD3AEK.js");
|
|
3549
|
+
const { renderCommand } = await import("./render-command-HP6OE46H.js");
|
|
3550
3550
|
await renderCommand(command, services, /* @__PURE__ */ import_react6.default.createElement(GenerateCommand, null), {
|
|
3551
3551
|
skipProjectValidation: true
|
|
3552
3552
|
});
|
|
@@ -3564,8 +3564,8 @@ var logsCommand = (services) => {
|
|
|
3564
3564
|
validateVersion
|
|
3565
3565
|
).action(async (options, command) => {
|
|
3566
3566
|
const { version } = options;
|
|
3567
|
-
const { renderCommand } = await import("./render-command-
|
|
3568
|
-
const { LogsCommand } = await import("./LogsCommand-
|
|
3567
|
+
const { renderCommand } = await import("./render-command-HP6OE46H.js");
|
|
3568
|
+
const { LogsCommand } = await import("./LogsCommand-AMXUWW6C.js");
|
|
3569
3569
|
await renderCommand(command, services, /* @__PURE__ */ import_react7.default.createElement(LogsCommand, { version }));
|
|
3570
3570
|
});
|
|
3571
3571
|
};
|
|
@@ -3598,8 +3598,8 @@ var releaseCommand = (services) => {
|
|
|
3598
3598
|
t("app_preview_command_def.option.json")
|
|
3599
3599
|
).hideHelp()
|
|
3600
3600
|
).action(async (options, command) => {
|
|
3601
|
-
const { renderCommand } = await import("./render-command-
|
|
3602
|
-
const { ReleaseCommand, ReleaseVersionType } = await import("./ReleaseCommand-
|
|
3601
|
+
const { renderCommand } = await import("./render-command-HP6OE46H.js");
|
|
3602
|
+
const { ReleaseCommand, ReleaseVersionType } = await import("./ReleaseCommand-K5RUNZDC.js");
|
|
3603
3603
|
const { baseUrl, site, comment, json } = options;
|
|
3604
3604
|
const versionType = options.versionType ? {
|
|
3605
3605
|
major: ReleaseVersionType.MAJOR,
|
|
@@ -3613,7 +3613,7 @@ var releaseCommand = (services) => {
|
|
|
3613
3613
|
};
|
|
3614
3614
|
if (json) {
|
|
3615
3615
|
return runCommand(command, services, async (model) => {
|
|
3616
|
-
const { nonInteractiveRelease } = await import("./release-
|
|
3616
|
+
const { nonInteractiveRelease } = await import("./release-LKVLDBHM.js");
|
|
3617
3617
|
return nonInteractiveRelease(services, model, props);
|
|
3618
3618
|
});
|
|
3619
3619
|
}
|
|
@@ -3,25 +3,25 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
executeCommand,
|
|
5
5
|
log
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-J4RVCN5M.js";
|
|
7
7
|
import {
|
|
8
8
|
PreviewCommand
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-JHE6WPVO.js";
|
|
10
|
+
import "./chunk-S7JSY67L.js";
|
|
11
11
|
import "./chunk-6BTLX252.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-TFAYQMMQ.js";
|
|
13
|
+
import "./chunk-A5Y3LQ5J.js";
|
|
14
|
+
import "./chunk-YGRTLMZO.js";
|
|
15
|
+
import "./chunk-4CJ72ZNU.js";
|
|
16
16
|
import "./chunk-ZR3N5INU.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-STSQTTLM.js";
|
|
18
|
+
import "./chunk-BUO7YQRY.js";
|
|
19
|
+
import "./chunk-BVI6M7DP.js";
|
|
20
20
|
import {
|
|
21
21
|
CliError,
|
|
22
22
|
CliErrorCode,
|
|
23
23
|
require_react
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ARQ5NTNC.js";
|
|
25
25
|
import {
|
|
26
26
|
__toESM,
|
|
27
27
|
init_esm_shims
|
|
@@ -51,4 +51,4 @@ async function nonInteractivePreview(services, model, options) {
|
|
|
51
51
|
export {
|
|
52
52
|
nonInteractivePreview
|
|
53
53
|
};
|
|
54
|
-
//# sourceMappingURL=preview-
|
|
54
|
+
//# sourceMappingURL=preview-AJSS4ISE.js.map
|
|
@@ -3,28 +3,28 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
executeCommand,
|
|
5
5
|
log
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-J4RVCN5M.js";
|
|
7
7
|
import {
|
|
8
8
|
ReleaseCommand
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-MOSVF3L4.js";
|
|
10
|
+
import "./chunk-JHE6WPVO.js";
|
|
11
|
+
import "./chunk-S7JSY67L.js";
|
|
12
12
|
import "./chunk-6BTLX252.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-TFAYQMMQ.js";
|
|
14
|
+
import "./chunk-A5Y3LQ5J.js";
|
|
15
|
+
import "./chunk-VB7LSLKL.js";
|
|
16
|
+
import "./chunk-YGRTLMZO.js";
|
|
17
|
+
import "./chunk-4CJ72ZNU.js";
|
|
18
18
|
import "./chunk-ZR3N5INU.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-STSQTTLM.js";
|
|
20
|
+
import "./chunk-BUO7YQRY.js";
|
|
21
|
+
import "./chunk-BVI6M7DP.js";
|
|
22
22
|
import {
|
|
23
23
|
CliError,
|
|
24
24
|
CliErrorCode,
|
|
25
25
|
require_react,
|
|
26
26
|
toJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ARQ5NTNC.js";
|
|
28
28
|
import {
|
|
29
29
|
__toESM,
|
|
30
30
|
init_esm_shims
|
|
@@ -56,4 +56,4 @@ async function nonInteractiveRelease(services, model, releaseProps) {
|
|
|
56
56
|
export {
|
|
57
57
|
nonInteractiveRelease
|
|
58
58
|
};
|
|
59
|
-
//# sourceMappingURL=release-
|
|
59
|
+
//# sourceMappingURL=release-LKVLDBHM.js.map
|
|
@@ -3,14 +3,14 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
renderCommand,
|
|
5
5
|
runCommand
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-YKSL7MAV.js";
|
|
7
|
+
import "./chunk-S7JSY67L.js";
|
|
8
8
|
import "./chunk-6BTLX252.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-STSQTTLM.js";
|
|
10
|
+
import "./chunk-ARQ5NTNC.js";
|
|
11
11
|
import "./chunk-PYIAC2GK.js";
|
|
12
12
|
export {
|
|
13
13
|
renderCommand,
|
|
14
14
|
runCommand
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=render-command-
|
|
16
|
+
//# sourceMappingURL=render-command-HP6OE46H.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/cli-app",
|
|
3
3
|
"description": "CLI tool for Wix apps",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.95",
|
|
5
5
|
"author": "Amit Dahan",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"esbuild": "^0.21.3",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@wix/ambassador-cli-site-override-service-v1-site-override": "^1.0.9",
|
|
20
20
|
"@wix/ambassador-ctp-app-cloud-backend-service-v1-app-cloud-backend-deployment": "^1.0.10",
|
|
21
21
|
"@wix/ambassador-ctp-gradual-rollout-v1-app-config": "^1.0.78",
|
|
22
|
-
"@wix/ambassador-devcenter-apps-v1-app-old": "^1.0.
|
|
22
|
+
"@wix/ambassador-devcenter-apps-v1-app-old": "^1.0.25",
|
|
23
23
|
"@wix/app-cloud-uploader": "^1.18.0",
|
|
24
24
|
"@wix/arm-client": "0.0.0",
|
|
25
25
|
"@wix/bi-logger-dev-tools-data": "^1.111.0",
|
|
@@ -153,5 +153,5 @@
|
|
|
153
153
|
]
|
|
154
154
|
}
|
|
155
155
|
},
|
|
156
|
-
"falconPackageHash": "
|
|
156
|
+
"falconPackageHash": "9539a307532c38c8fec57f802e607562ee1727909733dc453ccc5c0f"
|
|
157
157
|
}
|