vite-plus 0.1.13-alpha.1 → 0.1.13-alpha.2
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/dist/global/{agent-BNlnCNoZ.js → agent-CyKninQe.js} +2 -2
- package/dist/global/config.js +1 -1
- package/dist/global/create.js +2 -2
- package/dist/global/migrate.js +2 -2
- package/dist/global/staged.js +2 -2
- package/dist/global/{workspace-DWmkrO8l.js → workspace-B_P_3mni.js} +1 -1
- package/package.json +11 -11
|
@@ -4,7 +4,7 @@ import path from "node:path";
|
|
|
4
4
|
import { stripVTControlCharacters, styleText } from "node:util";
|
|
5
5
|
import process$1, { stdin, stdout } from "node:process";
|
|
6
6
|
import * as k from "node:readline";
|
|
7
|
-
import
|
|
7
|
+
import c from "node:readline";
|
|
8
8
|
import { ReadStream } from "node:tty";
|
|
9
9
|
import color from "picocolors";
|
|
10
10
|
import fs from "node:fs";
|
|
@@ -356,7 +356,7 @@ var B = class {
|
|
|
356
356
|
this.state = "cancel", this.close();
|
|
357
357
|
}, { once: !0 });
|
|
358
358
|
}
|
|
359
|
-
this.rl =
|
|
359
|
+
this.rl = c.createInterface({
|
|
360
360
|
input: this.input,
|
|
361
361
|
tabSize: 2,
|
|
362
362
|
prompt: "",
|
package/dist/global/config.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as note, F as Ct, M as select, O as log, T as cancel, a as hasExistingAgentInstructions, i as getAgentById, n as detectAgents, o as replaceMarkedAgentInstructionsSection, p as promptGitHooks, u as defaultInteractive, y as pkgRoot } from "./agent-
|
|
1
|
+
import { A as note, F as Ct, M as select, O as log, T as cancel, a as hasExistingAgentInstructions, i as getAgentById, n as detectAgents, o as replaceMarkedAgentInstructionsSection, p as promptGitHooks, u as defaultInteractive, y as pkgRoot } from "./agent-CyKninQe.js";
|
|
2
2
|
import { t as lib_default } from "./lib-DxappLRQ.js";
|
|
3
3
|
import { i as writeJsonFile, o as VITE_PLUS_NAME, r as readJsonFile } from "./json-Cb66925x.js";
|
|
4
4
|
import { i as log$1, t as renderCliDoc } from "./help-CbTzUdXc.js";
|
package/dist/global/create.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as __toESM, t as __commonJSMin } from "./chunk-CgnkrU7a.js";
|
|
2
|
-
import { C as DependencyType, D as intro, E as confirm, F as Ct, M as select, N as spinner, O as log, P as text, T as cancel, c as writeAgentInstructions, d as downloadPackageManager$1, g as selectPackageManager, h as runViteInstall, k as multiselect, m as runViteFmt, p as promptGitHooks, r as detectExistingAgentTargetPaths, s as selectAgentTargetPaths, u as defaultInteractive, v as displayRelative, w as PackageManager, x as templatesDir } from "./agent-
|
|
2
|
+
import { C as DependencyType, D as intro, E as confirm, F as Ct, M as select, N as spinner, O as log, P as text, T as cancel, c as writeAgentInstructions, d as downloadPackageManager$1, g as selectPackageManager, h as runViteInstall, k as multiselect, m as runViteFmt, p as promptGitHooks, r as detectExistingAgentTargetPaths, s as selectAgentTargetPaths, u as defaultInteractive, v as displayRelative, w as PackageManager, x as templatesDir } from "./agent-CyKninQe.js";
|
|
3
3
|
import { t as lib_default } from "./lib-DxappLRQ.js";
|
|
4
|
-
import { _ as rewriteMonorepo, a as detectExistingEditor, f as installGitHooks, n as updatePackageJsonWithDeps, o as selectEditor, r as updateWorkspaceConfig, s as writeEditorConfigs, t as detectWorkspace$1, v as rewriteMonorepoProject, y as rewriteStandaloneProject } from "./workspace-
|
|
4
|
+
import { _ as rewriteMonorepo, a as detectExistingEditor, f as installGitHooks, n as updatePackageJsonWithDeps, o as selectEditor, r as updateWorkspaceConfig, s as writeEditorConfigs, t as detectWorkspace$1, v as rewriteMonorepoProject, y as rewriteStandaloneProject } from "./workspace-B_P_3mni.js";
|
|
5
5
|
import "./browser-CBapUTD0.js";
|
|
6
6
|
import { r as readJsonFile, t as editJsonFile } from "./json-Cb66925x.js";
|
|
7
7
|
import "./package-C5aXF8Gs.js";
|
package/dist/global/migrate.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as __toESM } from "./chunk-CgnkrU7a.js";
|
|
2
|
-
import { E as confirm, F as Ct, M as select, N as spinner, O as log, _ as upgradeYarn, c as writeAgentInstructions, d as downloadPackageManager$1, g as selectPackageManager, h as runViteInstall, j as outro, l as cancelAndExit, p as promptGitHooks, r as detectExistingAgentTargetPaths, s as selectAgentTargetPaths, t as detectAgentConflicts, u as defaultInteractive, v as displayRelative, w as PackageManager } from "./agent-
|
|
2
|
+
import { E as confirm, F as Ct, M as select, N as spinner, O as log, _ as upgradeYarn, c as writeAgentInstructions, d as downloadPackageManager$1, g as selectPackageManager, h as runViteInstall, j as outro, l as cancelAndExit, p as promptGitHooks, r as detectExistingAgentTargetPaths, s as selectAgentTargetPaths, t as detectAgentConflicts, u as defaultInteractive, v as displayRelative, w as PackageManager } from "./agent-CyKninQe.js";
|
|
3
3
|
import { t as lib_default } from "./lib-DxappLRQ.js";
|
|
4
|
-
import { _ as rewriteMonorepo, b as createMigrationReport, c as checkViteVersion, d as detectPrettierProject, f as installGitHooks, g as preflightGitHooksSetup, h as migratePrettierToOxfmt, i as detectEditorConflicts, l as checkVitestVersion, m as migrateEslintToOxlint, o as selectEditor, p as mergeViteConfigFiles, s as writeEditorConfigs, t as detectWorkspace$1, u as detectEslintProject, x as require_semver, y as rewriteStandaloneProject } from "./workspace-
|
|
4
|
+
import { _ as rewriteMonorepo, b as createMigrationReport, c as checkViteVersion, d as detectPrettierProject, f as installGitHooks, g as preflightGitHooksSetup, h as migratePrettierToOxfmt, i as detectEditorConflicts, l as checkVitestVersion, m as migrateEslintToOxlint, o as selectEditor, p as mergeViteConfigFiles, s as writeEditorConfigs, t as detectWorkspace$1, u as detectEslintProject, x as require_semver, y as rewriteStandaloneProject } from "./workspace-B_P_3mni.js";
|
|
5
5
|
import "./browser-CBapUTD0.js";
|
|
6
6
|
import "./json-Cb66925x.js";
|
|
7
7
|
import { i as readNearestPackageJson, r as hasVitePlusDependency } from "./package-C5aXF8Gs.js";
|
package/dist/global/staged.js
CHANGED
|
@@ -4,7 +4,7 @@ import { i as log, r as errorMsg, t as renderCliDoc } from "./help-CbTzUdXc.js";
|
|
|
4
4
|
import path, { delimiter, dirname, normalize, resolve } from "node:path";
|
|
5
5
|
import { formatWithOptions, inspect, promisify } from "node:util";
|
|
6
6
|
import { cwd } from "node:process";
|
|
7
|
-
import
|
|
7
|
+
import c from "node:readline";
|
|
8
8
|
import nodeTty from "node:tty";
|
|
9
9
|
import { constants } from "node:fs";
|
|
10
10
|
import { vitePlusHeader } from "../../binding/index.js";
|
|
@@ -637,7 +637,7 @@ var L = class {
|
|
|
637
637
|
if (this._streamErr) t.push(this._streamErr);
|
|
638
638
|
if (this._streamOut) t.push(this._streamOut);
|
|
639
639
|
const n = g(t);
|
|
640
|
-
const r =
|
|
640
|
+
const r = c.createInterface({ input: n });
|
|
641
641
|
for await (const e of r) yield e.toString();
|
|
642
642
|
await this._processClosed;
|
|
643
643
|
e.removeAllListeners();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as __toESM, t as __commonJSMin } from "./chunk-CgnkrU7a.js";
|
|
2
|
-
import { F as Ct, M as select, O as log, S as runCommandSilently, b as rulesDir, f as getSpinner, v as displayRelative, w as PackageManager } from "./agent-
|
|
2
|
+
import { F as Ct, M as select, O as log, S as runCommandSilently, b as rulesDir, f as getSpinner, v as displayRelative, w as PackageManager } from "./agent-CyKninQe.js";
|
|
3
3
|
import { _ as YAMLMap, g as YAMLSeq, i as parseDocument, n as parse, y as Scalar } from "./browser-CBapUTD0.js";
|
|
4
4
|
import { a as BASEURL_TSCONFIG_WARNING, c as VITE_PLUS_VERSION, i as writeJsonFile, n as isJsonFile, o as VITE_PLUS_NAME, r as readJsonFile, s as VITE_PLUS_OVERRIDE_PACKAGES, t as editJsonFile } from "./json-Cb66925x.js";
|
|
5
5
|
import { n as getScopeFromPackageName, t as detectPackageMetadata } from "./package-C5aXF8Gs.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite-plus",
|
|
3
|
-
"version": "0.1.13-alpha.
|
|
3
|
+
"version": "0.1.13-alpha.2",
|
|
4
4
|
"description": "The Unified Toolchain for the Web",
|
|
5
5
|
"homepage": "https://viteplus.dev/guide",
|
|
6
6
|
"bugs": {
|
|
@@ -314,8 +314,8 @@
|
|
|
314
314
|
"oxlint": "=1.56.0",
|
|
315
315
|
"oxlint-tsgolint": "=0.17.0",
|
|
316
316
|
"picocolors": "^1.1.1",
|
|
317
|
-
"@voidzero-dev/vite-plus-core": "0.1.13-alpha.
|
|
318
|
-
"@voidzero-dev/vite-plus-test": "0.1.13-alpha.
|
|
317
|
+
"@voidzero-dev/vite-plus-core": "0.1.13-alpha.2",
|
|
318
|
+
"@voidzero-dev/vite-plus-test": "0.1.13-alpha.2"
|
|
319
319
|
},
|
|
320
320
|
"devDependencies": {
|
|
321
321
|
"@napi-rs/cli": "^3.4.1",
|
|
@@ -336,9 +336,9 @@
|
|
|
336
336
|
"tsdown": "^0.21.4",
|
|
337
337
|
"validate-npm-package-name": "^7.0.2",
|
|
338
338
|
"yaml": "^2.8.1",
|
|
339
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.13-alpha.2",
|
|
339
340
|
"@voidzero-dev/vite-plus-prompts": "0.0.0",
|
|
340
|
-
"rolldown": "1.0.0-rc.9"
|
|
341
|
-
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.13-alpha.1"
|
|
341
|
+
"rolldown": "1.0.0-rc.9"
|
|
342
342
|
},
|
|
343
343
|
"napi": {
|
|
344
344
|
"binaryName": "vite-plus",
|
|
@@ -356,12 +356,12 @@
|
|
|
356
356
|
"node": "^20.19.0 || >=22.12.0"
|
|
357
357
|
},
|
|
358
358
|
"optionalDependencies": {
|
|
359
|
-
"@voidzero-dev/vite-plus-darwin-arm64": "0.1.13-alpha.
|
|
360
|
-
"@voidzero-dev/vite-plus-darwin-x64": "0.1.13-alpha.
|
|
361
|
-
"@voidzero-dev/vite-plus-linux-arm64-gnu": "0.1.13-alpha.
|
|
362
|
-
"@voidzero-dev/vite-plus-linux-x64-gnu": "0.1.13-alpha.
|
|
363
|
-
"@voidzero-dev/vite-plus-win32-x64-msvc": "0.1.13-alpha.
|
|
364
|
-
"@voidzero-dev/vite-plus-win32-arm64-msvc": "0.1.13-alpha.
|
|
359
|
+
"@voidzero-dev/vite-plus-darwin-arm64": "0.1.13-alpha.2",
|
|
360
|
+
"@voidzero-dev/vite-plus-darwin-x64": "0.1.13-alpha.2",
|
|
361
|
+
"@voidzero-dev/vite-plus-linux-arm64-gnu": "0.1.13-alpha.2",
|
|
362
|
+
"@voidzero-dev/vite-plus-linux-x64-gnu": "0.1.13-alpha.2",
|
|
363
|
+
"@voidzero-dev/vite-plus-win32-x64-msvc": "0.1.13-alpha.2",
|
|
364
|
+
"@voidzero-dev/vite-plus-win32-arm64-msvc": "0.1.13-alpha.2"
|
|
365
365
|
},
|
|
366
366
|
"scripts": {
|
|
367
367
|
"build": "oxnode -C dev ./build.ts",
|