vite-plus 0.1.13-alpha.4 → 0.1.13

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,12 +1,12 @@
1
- import { i as __toESM, t as __commonJSMin } from "./chunk-CgnkrU7a.js";
2
- import { _ as YAMLMap, g as YAMLSeq, i as parseDocument, n as parse, y as Scalar } from "./browser-uvD86DGo.js";
1
+ import { r as __toESM, t as __commonJSMin } from "./chunk-BoAXSpZd.js";
2
+ import { _ as YAMLMap, g as YAMLSeq, i as parseDocument, n as parse, y as Scalar } from "./browser-09BZLUYM.js";
3
3
  import { a as editJsonFile, d as VITE_PLUS_OVERRIDE_PACKAGES, f as VITE_PLUS_VERSION, l as BASEURL_TSCONFIG_WARNING, o as isJsonFile, s as readJsonFile, t as detectPackageMetadata, u as VITE_PLUS_NAME } from "./package-D0VpX-8d.js";
4
4
  import { n as accent } from "./help-HviKaKAU.js";
5
5
  import path from "node:path";
6
6
  import { stripVTControlCharacters, styleText } from "node:util";
7
7
  import process$1, { stdin, stdout } from "node:process";
8
8
  import * as k from "node:readline";
9
- import ot from "node:readline";
9
+ import c from "node:readline";
10
10
  import { ReadStream } from "node:tty";
11
11
  import color from "picocolors";
12
12
  import fs from "node:fs";
@@ -358,7 +358,7 @@ var B = class {
358
358
  this.state = "cancel", this.close();
359
359
  }, { once: !0 });
360
360
  }
361
- this.rl = ot.createInterface({
361
+ this.rl = c.createInterface({
362
362
  input: this.input,
363
363
  tabSize: 2,
364
364
  prompt: "",
@@ -1,4 +1,4 @@
1
- import { n as __exportAll } from "./chunk-CgnkrU7a.js";
1
+ import { n as __exportAll } from "./chunk-BoAXSpZd.js";
2
2
  //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/identity.js
3
3
  const ALIAS = Symbol.for("yaml.alias");
4
4
  const DOC = Symbol.for("yaml.document");
@@ -1,2 +1,2 @@
1
- import { A as isSeq, C as isAlias, D as isNode, E as isMap, O as isPair, S as visitAsync, T as isDocument, _ as YAMLMap, a as stringify, b as Alias, c as Lexer, d as YAMLError, f as YAMLParseError, g as YAMLSeq, h as Schema, i as parseDocument, k as isScalar, l as cst_exports, m as Document, n as parse, o as Parser, p as YAMLWarning, r as parseAllDocuments, s as LineCounter, t as browser_default, u as Composer, v as Pair, w as isCollection, x as visit, y as Scalar } from "./browser-uvD86DGo.js";
1
+ import { A as isSeq, C as isAlias, D as isNode, E as isMap, O as isPair, S as visitAsync, T as isDocument, _ as YAMLMap, a as stringify, b as Alias, c as Lexer, d as YAMLError, f as YAMLParseError, g as YAMLSeq, h as Schema, i as parseDocument, k as isScalar, l as cst_exports, m as Document, n as parse, o as Parser, p as YAMLWarning, r as parseAllDocuments, s as LineCounter, t as browser_default, u as Composer, v as Pair, w as isCollection, x as visit, y as Scalar } from "./browser-09BZLUYM.js";
2
2
  export { Alias, cst_exports as CST, Composer, Document, Lexer, LineCounter, Pair, Parser, Scalar, Schema, YAMLError, YAMLMap, YAMLParseError, YAMLSeq, YAMLWarning, browser_default as default, isAlias, isCollection, isDocument, isMap, isNode, isPair, isScalar, isSeq, parse, parseAllDocuments, parseDocument, stringify, visit, visitAsync };
@@ -1,5 +1,3 @@
1
- import { createRequire as __createRequire } from "node:module";
2
- const require = __createRequire(import.meta.url);
3
1
  //#region \0rolldown/runtime.js
4
2
  var __create = Object.create;
5
3
  var __defProp = Object.defineProperty;
@@ -31,9 +29,5 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
31
29
  value: mod,
32
30
  enumerable: true
33
31
  }) : target, mod));
34
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, { get: (a, b) => (typeof require !== "undefined" ? require : a)[b] }) : x)(function(x) {
35
- if (typeof require !== "undefined") return require.apply(this, arguments);
36
- throw Error("Calling `require` for \"" + x + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
37
- });
38
32
  //#endregion
39
- export { __toESM as i, __exportAll as n, __require as r, __commonJSMin as t };
33
+ export { __exportAll as n, __toESM as r, __commonJSMin as t };
@@ -1,6 +1,6 @@
1
- import { C as defaultInteractive, T as promptGitHooks, i as updateExistingAgentInstructions, u as ensurePreCommitHook } from "./agent-DJMFiDyo.js";
1
+ import { C as defaultInteractive, T as promptGitHooks, i as updateExistingAgentInstructions, u as ensurePreCommitHook } from "./agent-BuEmv_K7.js";
2
2
  import { t as lib_default } from "./lib-DxappLRQ.js";
3
- import "./browser-uvD86DGo.js";
3
+ import "./browser-09BZLUYM.js";
4
4
  import "./package-D0VpX-8d.js";
5
5
  import { i as log, t as renderCliDoc } from "./help-HviKaKAU.js";
6
6
  import { join } from "node:path";
@@ -1,10 +1,10 @@
1
- import { i as __toESM, t as __commonJSMin } from "./chunk-CgnkrU7a.js";
2
- import { A as displayRelative, C as defaultInteractive, D as runViteInstall, E as runViteFmt, F as cancel, H as spinner, I as confirm, L as intro, M as DependencyType, N as PackageManager, O as selectPackageManager, R as log, T as promptGitHooks, U as text, V as select, W as Ct, _ as rewriteMonorepoProject, a as writeAgentInstructions, d as installGitHooks, g as rewriteMonorepo, j as templatesDir, n as detectExistingAgentTargetPaths, r as selectAgentTargetPaths, v as rewriteStandaloneProject, w as downloadPackageManager$1, z as multiselect } from "./agent-DJMFiDyo.js";
1
+ import { r as __toESM, t as __commonJSMin } from "./chunk-BoAXSpZd.js";
2
+ import { A as displayRelative, C as defaultInteractive, D as runViteInstall, E as runViteFmt, F as cancel, H as spinner, I as confirm, L as intro, M as DependencyType, N as PackageManager, O as selectPackageManager, R as log, T as promptGitHooks, U as text, V as select, W as Ct, _ as rewriteMonorepoProject, a as writeAgentInstructions, d as installGitHooks, g as rewriteMonorepo, j as templatesDir, n as detectExistingAgentTargetPaths, r as selectAgentTargetPaths, v as rewriteStandaloneProject, w as downloadPackageManager$1, z as multiselect } from "./agent-BuEmv_K7.js";
3
3
  import { t as lib_default } from "./lib-DxappLRQ.js";
4
- import "./browser-uvD86DGo.js";
4
+ import "./browser-09BZLUYM.js";
5
5
  import { a as editJsonFile, s as readJsonFile } from "./package-D0VpX-8d.js";
6
6
  import { a as muted, i as log$1, n as accent, o as success, t as renderCliDoc } from "./help-HviKaKAU.js";
7
- import { a as detectExistingEditor, n as updatePackageJsonWithDeps, o as selectEditor, r as updateWorkspaceConfig, s as writeEditorConfigs, t as detectWorkspace$1 } from "./workspace-BXUHASR6.js";
7
+ import { a as detectExistingEditor, n as updatePackageJsonWithDeps, o as selectEditor, r as updateWorkspaceConfig, s as writeEditorConfigs, t as detectWorkspace$1 } from "./workspace-CVWspacc.js";
8
8
  import path from "node:path";
9
9
  import { styleText } from "node:util";
10
10
  import color from "picocolors";
@@ -1,10 +1,10 @@
1
- import { i as __toESM } from "./chunk-CgnkrU7a.js";
2
- import { A as displayRelative, B as outro, C as defaultInteractive, D as runViteInstall, H as spinner, I as confirm, N as PackageManager, O as selectPackageManager, P as require_semver, R as log, S as cancelAndExit, T as promptGitHooks, V as select, W as Ct, a as writeAgentInstructions, c as detectEslintProject, d as installGitHooks, f as mergeViteConfigFiles, g as rewriteMonorepo, h as preflightGitHooksSetup, k as upgradeYarn, l as detectPrettierProject, m as migratePrettierToOxfmt, n as detectExistingAgentTargetPaths, o as checkViteVersion, p as migrateEslintToOxlint, r as selectAgentTargetPaths, s as checkVitestVersion, t as detectAgentConflicts, v as rewriteStandaloneProject, w as downloadPackageManager$1, y as createMigrationReport } from "./agent-DJMFiDyo.js";
1
+ import { r as __toESM } from "./chunk-BoAXSpZd.js";
2
+ import { A as displayRelative, B as outro, C as defaultInteractive, D as runViteInstall, H as spinner, I as confirm, N as PackageManager, O as selectPackageManager, P as require_semver, R as log, S as cancelAndExit, T as promptGitHooks, V as select, W as Ct, a as writeAgentInstructions, c as detectEslintProject, d as installGitHooks, f as mergeViteConfigFiles, g as rewriteMonorepo, h as preflightGitHooksSetup, k as upgradeYarn, l as detectPrettierProject, m as migratePrettierToOxfmt, n as detectExistingAgentTargetPaths, o as checkViteVersion, p as migrateEslintToOxlint, r as selectAgentTargetPaths, s as checkVitestVersion, t as detectAgentConflicts, v as rewriteStandaloneProject, w as downloadPackageManager$1, y as createMigrationReport } from "./agent-BuEmv_K7.js";
3
3
  import { t as lib_default } from "./lib-DxappLRQ.js";
4
- import "./browser-uvD86DGo.js";
4
+ import "./browser-09BZLUYM.js";
5
5
  import { i as readNearestPackageJson, r as hasVitePlusDependency } from "./package-D0VpX-8d.js";
6
6
  import { a as muted, i as log$1, n as accent, t as renderCliDoc } from "./help-HviKaKAU.js";
7
- import { i as detectEditorConflicts, o as selectEditor, s as writeEditorConfigs, t as detectWorkspace$1 } from "./workspace-BXUHASR6.js";
7
+ import { i as detectEditorConflicts, o as selectEditor, s as writeEditorConfigs, t as detectWorkspace$1 } from "./workspace-CVWspacc.js";
8
8
  import path from "node:path";
9
9
  import { styleText } from "node:util";
10
10
  import { vitePlusHeader } from "../../binding/index.js";