vite-plus 0.1.15-alpha.7 → 0.1.15
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-CWLDLdxX.js → agent-Dq7R_VUV.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-bFOexoT6.js → workspace-BCuLuHte.js} +1 -1
- package/package.json +13 -13
|
@@ -7,7 +7,7 @@ import path from "node:path";
|
|
|
7
7
|
import { stripVTControlCharacters, styleText } from "node:util";
|
|
8
8
|
import process$1, { stdin, stdout } from "node:process";
|
|
9
9
|
import * as k from "node:readline";
|
|
10
|
-
import
|
|
10
|
+
import c from "node:readline";
|
|
11
11
|
import { ReadStream } from "node:tty";
|
|
12
12
|
import color from "picocolors";
|
|
13
13
|
import fs from "node:fs";
|
|
@@ -359,7 +359,7 @@ var B = class {
|
|
|
359
359
|
this.state = "cancel", this.close();
|
|
360
360
|
}, { once: !0 });
|
|
361
361
|
}
|
|
362
|
-
this.rl =
|
|
362
|
+
this.rl = c.createInterface({
|
|
363
363
|
input: this.input,
|
|
364
364
|
tabSize: 2,
|
|
365
365
|
prompt: "",
|
package/dist/global/config.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as promptGitHooks, T as defaultInteractive, d as ensurePreCommitHook, f as hasStagedConfigInViteConfig, i as updateExistingAgentInstructions } from "./agent-
|
|
1
|
+
import { D as promptGitHooks, T as defaultInteractive, d as ensurePreCommitHook, f as hasStagedConfigInViteConfig, i as updateExistingAgentInstructions } from "./agent-Dq7R_VUV.js";
|
|
2
2
|
import { t as lib_default } from "./lib-DxappLRQ.js";
|
|
3
3
|
import { i as log, t as renderCliDoc } from "./help-HviKaKAU.js";
|
|
4
4
|
import { join } from "node:path";
|
package/dist/global/create.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as __toESM, t as __commonJSMin } from "./chunk-BoAXSpZd.js";
|
|
2
|
-
import { A as selectPackageManager, B as log, D as promptGitHooks, E as downloadPackageManager$1, F as PackageManager, G as text, K as Ct, L as cancel, M as displayRelative, N as templatesDir, O as runViteFmt, P as DependencyType, R as confirm, T as defaultInteractive, U as select, V as multiselect, W as spinner, a as writeAgentInstructions, b as rewriteMonorepoProject, k as runViteInstall, n as detectExistingAgentTargetPaths, p as installGitHooks, r as selectAgentTargetPaths, x as rewriteStandaloneProject, y as rewriteMonorepo, z as intro } from "./agent-
|
|
2
|
+
import { A as selectPackageManager, B as log, D as promptGitHooks, E as downloadPackageManager$1, F as PackageManager, G as text, K as Ct, L as cancel, M as displayRelative, N as templatesDir, O as runViteFmt, P as DependencyType, R as confirm, T as defaultInteractive, U as select, V as multiselect, W as spinner, a as writeAgentInstructions, b as rewriteMonorepoProject, k as runViteInstall, n as detectExistingAgentTargetPaths, p as installGitHooks, r as selectAgentTargetPaths, x as rewriteStandaloneProject, y as rewriteMonorepo, z as intro } from "./agent-Dq7R_VUV.js";
|
|
3
3
|
import { t as lib_default } from "./lib-DxappLRQ.js";
|
|
4
4
|
import { c as readJsonFile, o as editJsonFile, t as checkNpmPackageExists } from "./package-2ArHHFnA.js";
|
|
5
5
|
import { a as muted, i as log$1, n as accent, o as success, t as renderCliDoc } from "./help-HviKaKAU.js";
|
|
6
|
-
import { a as detectExistingEditor, n as updatePackageJsonWithDeps, o as selectEditor, r as updateWorkspaceConfig, s as writeEditorConfigs, t as detectWorkspace$1 } from "./workspace-
|
|
6
|
+
import { a as detectExistingEditor, n as updatePackageJsonWithDeps, o as selectEditor, r as updateWorkspaceConfig, s as writeEditorConfigs, t as detectWorkspace$1 } from "./workspace-BCuLuHte.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { styleText } from "node:util";
|
|
9
9
|
import color from "picocolors";
|
package/dist/global/migrate.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as __toESM } from "./chunk-BoAXSpZd.js";
|
|
2
|
-
import { A as selectPackageManager, B as log, D as promptGitHooks, E as downloadPackageManager$1, F as PackageManager, H as outro, I as require_semver, K as Ct, M as displayRelative, R as confirm, T as defaultInteractive, U as select, W as spinner, _ as migratePrettierToOxfmt, a as writeAgentInstructions, c as detectEslintProject, g as migrateNodeVersionManagerFile, h as migrateEslintToOxlint, j as upgradeYarn, k as runViteInstall, l as detectNodeVersionManagerFile, m as mergeViteConfigFiles, n as detectExistingAgentTargetPaths, o as checkViteVersion, p as installGitHooks, r as selectAgentTargetPaths, s as checkVitestVersion, t as detectAgentConflicts, u as detectPrettierProject, v as preflightGitHooksSetup, w as cancelAndExit, x as rewriteStandaloneProject, y as rewriteMonorepo } from "./agent-
|
|
2
|
+
import { A as selectPackageManager, B as log, D as promptGitHooks, E as downloadPackageManager$1, F as PackageManager, H as outro, I as require_semver, K as Ct, M as displayRelative, R as confirm, T as defaultInteractive, U as select, W as spinner, _ as migratePrettierToOxfmt, a as writeAgentInstructions, c as detectEslintProject, g as migrateNodeVersionManagerFile, h as migrateEslintToOxlint, j as upgradeYarn, k as runViteInstall, l as detectNodeVersionManagerFile, m as mergeViteConfigFiles, n as detectExistingAgentTargetPaths, o as checkViteVersion, p as installGitHooks, r as selectAgentTargetPaths, s as checkVitestVersion, t as detectAgentConflicts, u as detectPrettierProject, v as preflightGitHooksSetup, w as cancelAndExit, x as rewriteStandaloneProject, y as rewriteMonorepo } from "./agent-Dq7R_VUV.js";
|
|
3
3
|
import { t as lib_default } from "./lib-DxappLRQ.js";
|
|
4
4
|
import { _ as isForceOverrideMode, a as readNearestPackageJson, i as hasVitePlusDependency } from "./package-2ArHHFnA.js";
|
|
5
5
|
import { a as muted, i as log$1, n as accent, t as renderCliDoc } from "./help-HviKaKAU.js";
|
|
6
6
|
import { r as createMigrationReport } from "./report-DGaKL5VQ.js";
|
|
7
|
-
import { i as detectEditorConflicts, o as selectEditor, s as writeEditorConfigs, t as detectWorkspace$1 } from "./workspace-
|
|
7
|
+
import { i as detectEditorConflicts, o as selectEditor, s as writeEditorConfigs, t as detectWorkspace$1 } from "./workspace-BCuLuHte.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import { styleText } from "node:util";
|
|
10
10
|
import { vitePlusHeader } from "../../binding/index.js";
|
package/dist/global/staged.js
CHANGED
|
@@ -4,7 +4,7 @@ import { i as log, r as errorMsg, t as renderCliDoc } from "./help-HviKaKAU.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 fs, { 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,4 +1,4 @@
|
|
|
1
|
-
import { B as log, C as readYamlFile, F as PackageManager, K as Ct, S as editYamlFile, U as select } from "./agent-
|
|
1
|
+
import { B as log, C as readYamlFile, F as PackageManager, K as Ct, S as editYamlFile, U as select } from "./agent-Dq7R_VUV.js";
|
|
2
2
|
import { g as YAMLSeq, y as Scalar } from "./browser-09BZLUYM.js";
|
|
3
3
|
import { c as readJsonFile, l as writeJsonFile, o as editJsonFile, r as getScopeFromPackageName } from "./package-2ArHHFnA.js";
|
|
4
4
|
import path, { posix, win32 } from "node:path";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite-plus",
|
|
3
|
-
"version": "0.1.15
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"description": "The Unified Toolchain for the Web",
|
|
5
5
|
"homepage": "https://viteplus.dev/guide",
|
|
6
6
|
"bugs": {
|
|
@@ -326,8 +326,8 @@
|
|
|
326
326
|
"oxlint": "=1.58.0",
|
|
327
327
|
"oxlint-tsgolint": "=0.18.1",
|
|
328
328
|
"picocolors": "^1.1.1",
|
|
329
|
-
"@voidzero-dev/vite-plus-core": "0.1.15
|
|
330
|
-
"@voidzero-dev/vite-plus-test": "0.1.15
|
|
329
|
+
"@voidzero-dev/vite-plus-core": "0.1.15",
|
|
330
|
+
"@voidzero-dev/vite-plus-test": "0.1.15"
|
|
331
331
|
},
|
|
332
332
|
"devDependencies": {
|
|
333
333
|
"@napi-rs/cli": "^3.4.1",
|
|
@@ -349,8 +349,8 @@
|
|
|
349
349
|
"validate-npm-package-name": "^7.0.2",
|
|
350
350
|
"yaml": "^2.8.1",
|
|
351
351
|
"@voidzero-dev/vite-plus-prompts": "0.0.0",
|
|
352
|
-
"
|
|
353
|
-
"
|
|
352
|
+
"rolldown": "1.0.0-rc.12",
|
|
353
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.15"
|
|
354
354
|
},
|
|
355
355
|
"napi": {
|
|
356
356
|
"binaryName": "vite-plus",
|
|
@@ -370,14 +370,14 @@
|
|
|
370
370
|
"node": "^20.19.0 || >=22.12.0"
|
|
371
371
|
},
|
|
372
372
|
"optionalDependencies": {
|
|
373
|
-
"@voidzero-dev/vite-plus-darwin-arm64": "0.1.15
|
|
374
|
-
"@voidzero-dev/vite-plus-darwin-x64": "0.1.15
|
|
375
|
-
"@voidzero-dev/vite-plus-linux-arm64-gnu": "0.1.15
|
|
376
|
-
"@voidzero-dev/vite-plus-linux-arm64-musl": "0.1.15
|
|
377
|
-
"@voidzero-dev/vite-plus-linux-x64-gnu": "0.1.15
|
|
378
|
-
"@voidzero-dev/vite-plus-linux-x64-musl": "0.1.15
|
|
379
|
-
"@voidzero-dev/vite-plus-win32-x64-msvc": "0.1.15
|
|
380
|
-
"@voidzero-dev/vite-plus-win32-arm64-msvc": "0.1.15
|
|
373
|
+
"@voidzero-dev/vite-plus-darwin-arm64": "0.1.15",
|
|
374
|
+
"@voidzero-dev/vite-plus-darwin-x64": "0.1.15",
|
|
375
|
+
"@voidzero-dev/vite-plus-linux-arm64-gnu": "0.1.15",
|
|
376
|
+
"@voidzero-dev/vite-plus-linux-arm64-musl": "0.1.15",
|
|
377
|
+
"@voidzero-dev/vite-plus-linux-x64-gnu": "0.1.15",
|
|
378
|
+
"@voidzero-dev/vite-plus-linux-x64-musl": "0.1.15",
|
|
379
|
+
"@voidzero-dev/vite-plus-win32-x64-msvc": "0.1.15",
|
|
380
|
+
"@voidzero-dev/vite-plus-win32-arm64-msvc": "0.1.15"
|
|
381
381
|
},
|
|
382
382
|
"scripts": {
|
|
383
383
|
"build": "oxnode -C dev ./build.ts",
|