vite-plus 0.1.19-alpha.2 → 0.1.19
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/bin/oxfmt +4 -2
- package/dist/{agent-Ctkv5amd.js → agent-iabUQh_f.js} +60 -2
- package/dist/{compat-CWdTi2kB.js → compat-DdC7fHjB.js} +1 -1
- package/dist/config/bin.js +1 -1
- package/dist/create/bin.js +5 -4
- package/dist/migration/bin.js +41 -5
- package/dist/{report-DHdnkZbA.js → report-DbrfjWiP.js} +1 -0
- package/dist/{workspace-BkYdJSyv.js → workspace-CbqYKgbm.js} +1 -1
- package/package.json +14 -14
package/bin/oxfmt
CHANGED
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
// This enables IDE extensions (e.g., oxc-vscode) to discover and start the LSP server.
|
|
5
5
|
// Binary resolution follows the same approach as `src/resolve-fmt.ts`.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const isLSP = process.argv.includes('--lsp');
|
|
8
|
+
const isStdin = process.argv.some((arg) => arg.startsWith('--stdin-filepath'));
|
|
9
|
+
if (!isLSP && !isStdin) {
|
|
10
|
+
console.error('This oxfmt wrapper is for IDE extension use only (lsp or stdin mode).');
|
|
9
11
|
console.error('To format your code, run: vp fmt');
|
|
10
12
|
process.exit(1);
|
|
11
13
|
}
|
|
@@ -4,7 +4,7 @@ import { a as require_cross_spawn, i as runCommandSilently, n as hasBaseUrlInTsc
|
|
|
4
4
|
import { t as accent } from "./terminal-P9aw9Fib.js";
|
|
5
5
|
import { t as require_dist } from "./dist-Dkzst9fl.js";
|
|
6
6
|
import { c as readJsonFile, n as detectPackageMetadata, o as editJsonFile, s as isJsonFile } from "./package-D_LD1iiI.js";
|
|
7
|
-
import { n as addMigrationWarning, t as addManualStep } from "./report-
|
|
7
|
+
import { n as addMigrationWarning, t as addManualStep } from "./report-DbrfjWiP.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import { downloadPackageManager, mergeJsonConfig, mergeTsdownConfig, rewriteEslint, rewriteImportsInDirectory, rewritePrettier, rewriteScripts } from "../binding/index.js";
|
|
10
10
|
import fs from "node:fs";
|
|
@@ -3744,6 +3744,64 @@ function cleanupDeprecatedTsconfigOptions(projectPath, silent = false, report) {
|
|
|
3744
3744
|
warnMigration(`Removed \`"${name}": false\` from ${displayRelative(filePath)} — this option has been deprecated. See https://github.com/oxc-project/tsgolint/issues/351, https://github.com/microsoft/TypeScript/issues/62529`, report);
|
|
3745
3745
|
}
|
|
3746
3746
|
}
|
|
3747
|
+
const FRAMEWORK_SHIMS = {
|
|
3748
|
+
vue: [
|
|
3749
|
+
"declare module '*.vue' {",
|
|
3750
|
+
" import type { DefineComponent } from 'vue';",
|
|
3751
|
+
" const component: DefineComponent<{}, {}, unknown>;",
|
|
3752
|
+
" export default component;",
|
|
3753
|
+
"}"
|
|
3754
|
+
].join("\n"),
|
|
3755
|
+
astro: "/// <reference types=\"astro/client\" />"
|
|
3756
|
+
};
|
|
3757
|
+
function detectFramework(projectPath) {
|
|
3758
|
+
const packageJsonPath = path.join(projectPath, "package.json");
|
|
3759
|
+
if (!fs.existsSync(packageJsonPath)) return [];
|
|
3760
|
+
const pkg = readJsonFile(packageJsonPath);
|
|
3761
|
+
const allDeps = {
|
|
3762
|
+
...pkg.dependencies,
|
|
3763
|
+
...pkg.devDependencies
|
|
3764
|
+
};
|
|
3765
|
+
return ["vue", "astro"].filter((framework) => !!allDeps[framework]);
|
|
3766
|
+
}
|
|
3767
|
+
function getEnvDtsPath(projectPath) {
|
|
3768
|
+
const srcEnvDts = path.join(projectPath, "src", "env.d.ts");
|
|
3769
|
+
const rootEnvDts = path.join(projectPath, "env.d.ts");
|
|
3770
|
+
for (const candidate of [srcEnvDts, rootEnvDts]) if (fs.existsSync(candidate)) return candidate;
|
|
3771
|
+
return fs.existsSync(path.join(projectPath, "src")) ? srcEnvDts : rootEnvDts;
|
|
3772
|
+
}
|
|
3773
|
+
function hasFrameworkShim(projectPath, framework) {
|
|
3774
|
+
const dirsToScan = [projectPath, path.join(projectPath, "src")];
|
|
3775
|
+
for (const dir of dirsToScan) {
|
|
3776
|
+
if (!fs.existsSync(dir)) continue;
|
|
3777
|
+
let entries;
|
|
3778
|
+
try {
|
|
3779
|
+
entries = fs.readdirSync(dir);
|
|
3780
|
+
} catch {
|
|
3781
|
+
continue;
|
|
3782
|
+
}
|
|
3783
|
+
for (const entry of entries) {
|
|
3784
|
+
if (!entry.endsWith(".d.ts")) continue;
|
|
3785
|
+
const content = fs.readFileSync(path.join(dir, entry), "utf-8");
|
|
3786
|
+
if (framework === "astro") {
|
|
3787
|
+
if (content.includes("astro/client")) return true;
|
|
3788
|
+
} else if (content.includes(`'*.${framework}'`) || content.includes(`"*.${framework}"`)) return true;
|
|
3789
|
+
}
|
|
3790
|
+
}
|
|
3791
|
+
return false;
|
|
3792
|
+
}
|
|
3793
|
+
function addFrameworkShim(projectPath, framework, report) {
|
|
3794
|
+
const envDtsPath = getEnvDtsPath(projectPath);
|
|
3795
|
+
const shim = FRAMEWORK_SHIMS[framework];
|
|
3796
|
+
if (fs.existsSync(envDtsPath)) {
|
|
3797
|
+
const existing = fs.readFileSync(envDtsPath, "utf-8");
|
|
3798
|
+
fs.writeFileSync(envDtsPath, `${existing.trimEnd()}\n\n${shim}\n`, "utf-8");
|
|
3799
|
+
} else {
|
|
3800
|
+
fs.mkdirSync(path.dirname(envDtsPath), { recursive: true });
|
|
3801
|
+
fs.writeFileSync(envDtsPath, `${shim}\n`, "utf-8");
|
|
3802
|
+
}
|
|
3803
|
+
if (report) report.frameworkShimAdded = true;
|
|
3804
|
+
}
|
|
3747
3805
|
/**
|
|
3748
3806
|
* Rewrite standalone project to add vite-plus dependencies
|
|
3749
3807
|
* @param projectPath - The path to the project
|
|
@@ -5003,4 +5061,4 @@ function getMarkedRange(content, startMarker, endMarker) {
|
|
|
5003
5061
|
};
|
|
5004
5062
|
}
|
|
5005
5063
|
//#endregion
|
|
5006
|
-
export {
|
|
5064
|
+
export { promptGitHooks as A, cancel as B, rewriteMonorepoProject as C, cancelAndExit as D, readYamlFile as E, displayRelative as F, outro as G, intro as H, templatesDir as I, text as J, select as K, DependencyType as L, runViteInstall as M, selectPackageManager as N, defaultInteractive as O, upgradeYarn as P, PackageManager as R, rewriteMonorepo as S, editYamlFile as T, log as U, confirm as V, multiselect as W, q as X, require_picocolors as Y, mergeViteConfigFiles as _, writeAgentInstructions as a, migratePrettierToOxfmt as b, checkVitestVersion as c, detectNodeVersionManagerFile as d, detectPrettierProject as f, installGitHooks as g, hasStagedConfigInViteConfig as h, updateExistingAgentInstructions as i, runViteFmt as j, downloadPackageManager$1 as k, detectEslintProject as l, hasFrameworkShim as m, detectExistingAgentTargetPaths as n, addFrameworkShim as o, ensurePreCommitHook as p, spinner as q, selectAgentTargetPaths as r, checkViteVersion as s, detectAgentConflicts as t, detectFramework as u, migrateEslintToOxlint as v, rewriteStandaloneProject as w, preflightGitHooksSetup as x, migrateNodeVersionManagerFile as y, require_semver as z };
|
package/dist/config/bin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as log } from "../terminal-P9aw9Fib.js";
|
|
2
|
-
import {
|
|
2
|
+
import { A as promptGitHooks, O as defaultInteractive, h as hasStagedConfigInViteConfig, i as updateExistingAgentInstructions, p as ensurePreCommitHook } from "../agent-iabUQh_f.js";
|
|
3
3
|
import { t as lib_default } from "../lib-BamM40b7.js";
|
|
4
4
|
import { t as renderCliDoc } from "../help-BtkjXtRM.js";
|
|
5
5
|
import { join } from "node:path";
|
package/dist/create/bin.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as __toESM, t as __commonJSMin } from "../chunk-q7NCDQ7-.js";
|
|
2
2
|
import { a as require_cross_spawn } from "../tsconfig-DQTf06oN.js";
|
|
3
3
|
import { a as success, i as muted, r as log, t as accent } from "../terminal-P9aw9Fib.js";
|
|
4
|
-
import { A as
|
|
4
|
+
import { A as promptGitHooks, B as cancel, C as rewriteMonorepoProject, F as displayRelative, H as intro, I as templatesDir, J as text, K as select, L as DependencyType, M as runViteInstall, N as selectPackageManager, O as defaultInteractive, R as PackageManager, S as rewriteMonorepo, U as log$1, V as confirm, W as multiselect, X as q, Y as require_picocolors, a as writeAgentInstructions, g as installGitHooks, j as runViteFmt, k as downloadPackageManager$1, m as hasFrameworkShim, n as detectExistingAgentTargetPaths, o as addFrameworkShim, q as spinner, r as selectAgentTargetPaths, u as detectFramework, w as rewriteStandaloneProject } from "../agent-iabUQh_f.js";
|
|
5
5
|
import { t as lib_default } from "../lib-BamM40b7.js";
|
|
6
6
|
import { c as readJsonFile, o as editJsonFile, t as checkNpmPackageExists } from "../package-D_LD1iiI.js";
|
|
7
|
-
import { a as detectExistingEditor, n as updatePackageJsonWithDeps, o as selectEditor, r as updateWorkspaceConfig, s as writeEditorConfigs, t as detectWorkspace$1 } from "../workspace-
|
|
7
|
+
import { a as detectExistingEditor, n as updatePackageJsonWithDeps, o as selectEditor, r as updateWorkspaceConfig, s as writeEditorConfigs, t as detectWorkspace$1 } from "../workspace-CbqYKgbm.js";
|
|
8
8
|
import { t as renderCliDoc } from "../help-BtkjXtRM.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import { runCommand, vitePlusHeader } from "../../binding/index.js";
|
|
@@ -110,13 +110,12 @@ function getPackageRunner(workspaceInfo) {
|
|
|
110
110
|
}
|
|
111
111
|
function formatDlxCommand(packageName, args, workspaceInfo) {
|
|
112
112
|
const runner = getPackageRunner(workspaceInfo);
|
|
113
|
-
const dlxArgs = runner.command === "npx" ? ["--", ...args] : args;
|
|
114
113
|
return {
|
|
115
114
|
command: runner.command,
|
|
116
115
|
args: [
|
|
117
116
|
...runner.args,
|
|
118
117
|
packageName,
|
|
119
|
-
...
|
|
118
|
+
...args
|
|
120
119
|
]
|
|
121
120
|
};
|
|
122
121
|
}
|
|
@@ -4242,6 +4241,7 @@ Use \`vp create --list\` to list all available templates, or run \`vp create --h
|
|
|
4242
4241
|
if (!compactOutput) log$1.step("Monorepo integration...");
|
|
4243
4242
|
updateCreateProgress("Integrating into monorepo");
|
|
4244
4243
|
rewriteMonorepoProject(fullPath, workspaceInfo.packageManager, void 0, compactOutput);
|
|
4244
|
+
for (const framework of detectFramework(fullPath)) if (!hasFrameworkShim(fullPath, framework)) addFrameworkShim(fullPath, framework);
|
|
4245
4245
|
if (workspaceInfo.packages.length > 0) {
|
|
4246
4246
|
if (options.interactive) {
|
|
4247
4247
|
pauseCreateProgress();
|
|
@@ -4281,6 +4281,7 @@ Use \`vp create --list\` to list all available templates, or run \`vp create --h
|
|
|
4281
4281
|
} else {
|
|
4282
4282
|
updateCreateProgress("Applying Vite+ project setup");
|
|
4283
4283
|
rewriteStandaloneProject(fullPath, workspaceInfo, void 0, compactOutput);
|
|
4284
|
+
for (const framework of detectFramework(fullPath)) if (!hasFrameworkShim(fullPath, framework)) addFrameworkShim(fullPath, framework);
|
|
4284
4285
|
if (shouldSetupHooks) installGitHooks(fullPath, compactOutput);
|
|
4285
4286
|
updateCreateProgress("Installing dependencies");
|
|
4286
4287
|
installSummary = await runViteInstall(fullPath, options.interactive, installArgs, { silent: compactOutput });
|
package/dist/migration/bin.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as __toESM } from "../chunk-q7NCDQ7-.js";
|
|
2
2
|
import { l as isForceOverrideMode } from "../main-A6UrSTYb.js";
|
|
3
3
|
import { i as muted, r as log, t as accent } from "../terminal-P9aw9Fib.js";
|
|
4
|
-
import { A as
|
|
4
|
+
import { A as promptGitHooks, D as cancelAndExit, F as displayRelative, G as outro, K as select, M as runViteInstall, N as selectPackageManager, O as defaultInteractive, P as upgradeYarn, R as PackageManager, S as rewriteMonorepo, U as log$1, V as confirm, X as q, _ as mergeViteConfigFiles, a as writeAgentInstructions, b as migratePrettierToOxfmt, c as checkVitestVersion, d as detectNodeVersionManagerFile, f as detectPrettierProject, g as installGitHooks, k as downloadPackageManager$1, l as detectEslintProject, m as hasFrameworkShim, n as detectExistingAgentTargetPaths, o as addFrameworkShim, q as spinner, r as selectAgentTargetPaths, s as checkViteVersion, t as detectAgentConflicts, u as detectFramework, v as migrateEslintToOxlint, w as rewriteStandaloneProject, x as preflightGitHooksSetup, y as migrateNodeVersionManagerFile, z as require_semver } from "../agent-iabUQh_f.js";
|
|
5
5
|
import { t as lib_default } from "../lib-BamM40b7.js";
|
|
6
6
|
import { a as readNearestPackageJson, i as hasVitePlusDependency } from "../package-D_LD1iiI.js";
|
|
7
|
-
import { r as createMigrationReport } from "../report-
|
|
8
|
-
import { i as detectEditorConflicts, o as selectEditor, s as writeEditorConfigs, t as detectWorkspace$1 } from "../workspace-
|
|
7
|
+
import { r as createMigrationReport } from "../report-DbrfjWiP.js";
|
|
8
|
+
import { i as detectEditorConflicts, o as selectEditor, s as writeEditorConfigs, t as detectWorkspace$1 } from "../workspace-CbqYKgbm.js";
|
|
9
9
|
import { t as renderCliDoc } from "../help-BtkjXtRM.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import { vitePlusHeader } from "../../binding/index.js";
|
|
@@ -85,6 +85,21 @@ async function confirmNodeVersionFileMigration(interactive, detection) {
|
|
|
85
85
|
}
|
|
86
86
|
return true;
|
|
87
87
|
}
|
|
88
|
+
async function confirmFrameworkShim(framework, interactive) {
|
|
89
|
+
const name = {
|
|
90
|
+
vue: "Vue",
|
|
91
|
+
astro: "Astro"
|
|
92
|
+
}[framework];
|
|
93
|
+
if (interactive) {
|
|
94
|
+
const confirmed = await confirm({
|
|
95
|
+
message: `Add TypeScript shim for ${name} component files (*.${framework})?\n ` + styleText("gray", `Lets TypeScript recognize .${framework} files until vp check fully supports them.`),
|
|
96
|
+
initialValue: true
|
|
97
|
+
});
|
|
98
|
+
if (q(confirmed)) cancelAndExit();
|
|
99
|
+
return confirmed;
|
|
100
|
+
}
|
|
101
|
+
return true;
|
|
102
|
+
}
|
|
88
103
|
const helpMessage = renderCliDoc({
|
|
89
104
|
usage: "vp migrate [PATH] [OPTIONS]",
|
|
90
105
|
summary: "Migrate standalone Vite, Vitest, Oxlint, Oxfmt, and Prettier projects to unified Vite+.",
|
|
@@ -291,6 +306,15 @@ async function collectMigrationPlan(rootDir, detectedPackageManager, options, pa
|
|
|
291
306
|
const nodeVersionDetection = detectNodeVersionManagerFile(rootDir);
|
|
292
307
|
let migrateNodeVersionFile = false;
|
|
293
308
|
if (nodeVersionDetection) migrateNodeVersionFile = await confirmNodeVersionFileMigration(options.interactive, nodeVersionDetection);
|
|
309
|
+
const allDetectedFrameworks = new Set(detectFramework(rootDir));
|
|
310
|
+
for (const pkg of packages ?? []) for (const framework of detectFramework(path.join(rootDir, pkg.path))) allDetectedFrameworks.add(framework);
|
|
311
|
+
const frameworkShimFrameworks = [];
|
|
312
|
+
for (const framework of allDetectedFrameworks) if (detectFramework(rootDir).includes(framework) && !hasFrameworkShim(rootDir, framework) || (packages ?? []).some((pkg) => {
|
|
313
|
+
const pkgPath = path.join(rootDir, pkg.path);
|
|
314
|
+
return detectFramework(pkgPath).includes(framework) && !hasFrameworkShim(pkgPath, framework);
|
|
315
|
+
})) {
|
|
316
|
+
if (await confirmFrameworkShim(framework, options.interactive)) frameworkShimFrameworks.push(framework);
|
|
317
|
+
}
|
|
294
318
|
return {
|
|
295
319
|
packageManager,
|
|
296
320
|
shouldSetupHooks,
|
|
@@ -303,7 +327,8 @@ async function collectMigrationPlan(rootDir, detectedPackageManager, options, pa
|
|
|
303
327
|
migratePrettier,
|
|
304
328
|
prettierConfigFile: prettierProject.configFile,
|
|
305
329
|
migrateNodeVersionFile,
|
|
306
|
-
nodeVersionDetection
|
|
330
|
+
nodeVersionDetection,
|
|
331
|
+
frameworkShimFrameworks: frameworkShimFrameworks.length > 0 ? frameworkShimFrameworks : void 0
|
|
307
332
|
};
|
|
308
333
|
}
|
|
309
334
|
function formatDuration(durationMs) {
|
|
@@ -329,6 +354,7 @@ function showMigrationSummary(options) {
|
|
|
329
354
|
if (report.prettierMigrated) log(`${styleText("gray", "•")} Prettier migrated to Oxfmt`);
|
|
330
355
|
if (report.nodeVersionFileMigrated) log(`${styleText("gray", "•")} Node version manager file migrated to .node-version`);
|
|
331
356
|
if (report.gitHooksConfigured) log(`${styleText("gray", "•")} Git hooks configured`);
|
|
357
|
+
if (report.frameworkShimAdded) log(`${styleText("gray", "•")} TypeScript shim added for framework component files`);
|
|
332
358
|
if (report.warnings.length > 0) {
|
|
333
359
|
log(`${styleText("yellow", "!")} Warnings:`);
|
|
334
360
|
for (const warning of report.warnings) log(` - ${warning}`);
|
|
@@ -341,7 +367,7 @@ function showMigrationSummary(options) {
|
|
|
341
367
|
async function checkRolldownCompatibility(rootDir, report) {
|
|
342
368
|
try {
|
|
343
369
|
const { resolveConfig } = await import("../index.js");
|
|
344
|
-
const { checkManualChunksCompat } = await import("../compat-
|
|
370
|
+
const { checkManualChunksCompat } = await import("../compat-DdC7fHjB.js");
|
|
345
371
|
checkManualChunksCompat((await resolveConfig({
|
|
346
372
|
root: rootDir,
|
|
347
373
|
logLevel: "silent",
|
|
@@ -453,6 +479,16 @@ async function executeMigrationPlan(workspaceInfoOptional, plan, interactive) {
|
|
|
453
479
|
conflictDecisions: plan.editorConflictDecisions,
|
|
454
480
|
silent: true
|
|
455
481
|
});
|
|
482
|
+
if (plan.frameworkShimFrameworks) {
|
|
483
|
+
updateMigrationProgress("Adding TypeScript shim");
|
|
484
|
+
for (const framework of plan.frameworkShimFrameworks) {
|
|
485
|
+
if (detectFramework(workspaceInfo.rootDir).includes(framework) && !hasFrameworkShim(workspaceInfo.rootDir, framework)) addFrameworkShim(workspaceInfo.rootDir, framework, report);
|
|
486
|
+
for (const pkg of workspaceInfo.packages) {
|
|
487
|
+
const pkgPath = path.join(workspaceInfo.rootDir, pkg.path);
|
|
488
|
+
if (detectFramework(pkgPath).includes(framework) && !hasFrameworkShim(pkgPath, framework)) addFrameworkShim(pkgPath, framework, report);
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
}
|
|
456
492
|
const installArgs = plan.packageManager === PackageManager.npm || plan.packageManager === PackageManager.bun ? ["--force"] : void 0;
|
|
457
493
|
updateMigrationProgress("Installing dependencies");
|
|
458
494
|
const finalInstallSummary = await runViteInstall(workspaceInfo.rootDir, interactive, installArgs, { silent: true });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as readYamlFile, K as select, R as PackageManager, T as editYamlFile, U as log, X as q } from "./agent-iabUQh_f.js";
|
|
2
2
|
import { t as require_dist } from "./dist-Dkzst9fl.js";
|
|
3
3
|
import { c as readJsonFile, l as writeJsonFile, o as editJsonFile, r as getScopeFromPackageName } from "./package-D_LD1iiI.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.19
|
|
3
|
+
"version": "0.1.19",
|
|
4
4
|
"description": "The Unified Toolchain for the Web",
|
|
5
5
|
"homepage": "https://viteplus.dev/guide",
|
|
6
6
|
"bugs": {
|
|
@@ -322,17 +322,16 @@
|
|
|
322
322
|
"oxfmt": "=0.45.0",
|
|
323
323
|
"oxlint": "=1.60.0",
|
|
324
324
|
"oxlint-tsgolint": "=0.21.1",
|
|
325
|
-
"@voidzero-dev/vite-plus-core": "0.1.19
|
|
326
|
-
"@voidzero-dev/vite-plus-test": "0.1.19
|
|
325
|
+
"@voidzero-dev/vite-plus-core": "0.1.19",
|
|
326
|
+
"@voidzero-dev/vite-plus-test": "0.1.19"
|
|
327
327
|
},
|
|
328
328
|
"devDependencies": {
|
|
329
329
|
"@napi-rs/cli": "^3.6.1",
|
|
330
330
|
"@nkzw/safe-word-list": "^3.1.0",
|
|
331
|
-
"@oxc-node/core": "^0.0
|
|
331
|
+
"@oxc-node/core": "^0.1.0",
|
|
332
332
|
"@types/cross-spawn": "^6.0.6",
|
|
333
333
|
"@types/semver": "^7.7.1",
|
|
334
334
|
"@types/validate-npm-package-name": "^4.0.2",
|
|
335
|
-
"@voidzero-dev/vite-plus-tools": "",
|
|
336
335
|
"cac": "^7.0.0",
|
|
337
336
|
"cross-spawn": "^7.0.5",
|
|
338
337
|
"detect-indent": "^7.0.2",
|
|
@@ -349,7 +348,8 @@
|
|
|
349
348
|
"validate-npm-package-name": "^7.0.2",
|
|
350
349
|
"yaml": "^2.8.1",
|
|
351
350
|
"@voidzero-dev/vite-plus-prompts": "0.0.0",
|
|
352
|
-
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.19
|
|
351
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.19",
|
|
352
|
+
"@voidzero-dev/vite-plus-tools": "0.0.0"
|
|
353
353
|
},
|
|
354
354
|
"napi": {
|
|
355
355
|
"binaryName": "vite-plus",
|
|
@@ -369,14 +369,14 @@
|
|
|
369
369
|
"node": "^20.19.0 || >=22.12.0"
|
|
370
370
|
},
|
|
371
371
|
"optionalDependencies": {
|
|
372
|
-
"@voidzero-dev/vite-plus-darwin-arm64": "0.1.19
|
|
373
|
-
"@voidzero-dev/vite-plus-darwin-x64": "0.1.19
|
|
374
|
-
"@voidzero-dev/vite-plus-linux-arm64-gnu": "0.1.19
|
|
375
|
-
"@voidzero-dev/vite-plus-linux-arm64-musl": "0.1.19
|
|
376
|
-
"@voidzero-dev/vite-plus-linux-x64-gnu": "0.1.19
|
|
377
|
-
"@voidzero-dev/vite-plus-linux-x64-musl": "0.1.19
|
|
378
|
-
"@voidzero-dev/vite-plus-win32-x64-msvc": "0.1.19
|
|
379
|
-
"@voidzero-dev/vite-plus-win32-arm64-msvc": "0.1.19
|
|
372
|
+
"@voidzero-dev/vite-plus-darwin-arm64": "0.1.19",
|
|
373
|
+
"@voidzero-dev/vite-plus-darwin-x64": "0.1.19",
|
|
374
|
+
"@voidzero-dev/vite-plus-linux-arm64-gnu": "0.1.19",
|
|
375
|
+
"@voidzero-dev/vite-plus-linux-arm64-musl": "0.1.19",
|
|
376
|
+
"@voidzero-dev/vite-plus-linux-x64-gnu": "0.1.19",
|
|
377
|
+
"@voidzero-dev/vite-plus-linux-x64-musl": "0.1.19",
|
|
378
|
+
"@voidzero-dev/vite-plus-win32-x64-msvc": "0.1.19",
|
|
379
|
+
"@voidzero-dev/vite-plus-win32-arm64-msvc": "0.1.19"
|
|
380
380
|
},
|
|
381
381
|
"scripts": {
|
|
382
382
|
"build": "oxnode -C dev ./build.ts",
|