Vite+ is the unified toolchain and entry point for web development. It manages your runtime, package manager, and frontend toolchain in one place.
This report presents the forensic synthetic code analysis of voidzero-dev/vite-plus, a Rust project with 5,336 GitHub stars. SynthScan v2.0 examined 185,351 lines of code across 609 source files, recording 525 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 3.6 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 525 distinct pattern matches across 12 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/generate-license.ts | 213 | function collectBundledPackageNames(bundledPaths: string[]): Set<string> { | CODE |
| LOW | scripts/generate-license.ts | 323 | function resolvePackageDirInPnpmStore( | CODE |
| LOW | packages/tools/src/install-global-cli.ts | 225 | function isWindowsLockedExecutableError(err: unknown): boolean { | CODE |
| LOW | packages/tools/src/install-global-cli.ts | 284 | function getWindowsPowerShellCommand(): string { | CODE |
| LOW | packages/tools/src/merge-peer-deps.ts | 145 | function mergePeerDependenciesMeta( | CODE |
| LOW | packages/tools/src/local-npm-registry.ts | 227 | function readPackageJsonFromTarball(tgzBytes: Buffer, sourcePath: string): PackageManifest { | CODE |
| LOW | packages/tools/src/pack-local-vite-plus.ts | 16 | export async function packLocalVitePlusPackages( | CODE |
| LOW | packages/tools/src/sync-remote-deps.ts | 227 | function transformPluginutilsExport( | CODE |
| LOW | packages/tools/src/sync-remote-deps.ts | 547 | function mergeMinimumReleaseAgeExclude(entries: string[]): string[] { | CODE |
| LOW | packages/core/build.ts | 350 | async function bundleRolldownPluginutils() { | CODE |
| LOW | packages/core/build.ts | 617 | async function wireBundledTsdownExtensions() { | CODE |
| LOW | packages/core/build-support/build-cjs-deps.ts | 6 | export function createModuleEntryFileName(module: string) { | CODE |
| LOW | …ckages/core/build-support/rewrite-module-specifiers.ts | 197 | export function createRolldownRewriteRules(targetPackage: string): ReplacementRule[] { | CODE |
| LOW | packages/core/build-support/find-create-require.ts | 44 | export async function replaceThirdPartyCjsRequires( | CODE |
| LOW | packages/core/build-support/find-create-require.ts | 117 | function getLiteralRequireArgument(node: CallExpression): RequireCall | undefined { | CODE |
| LOW | packages/core/build-support/find-create-require.ts | 136 | function findDirectCreateRequireCalls( | CODE |
| LOW | packages/core/build-support/find-create-require.ts | 163 | function findCreateRequireInStaticImports(ast: ParseResult): RequireCall[] { | CODE |
| LOW | packages/core/build-support/find-create-require.ts | 268 | function findCreateRequireInGlobalModule(ast: ParseResult): RequireCall[] { | CODE |
| LOW | packages/cli/build.ts | 582 | async function createBrowserCompatExport(testDistDir: string): Promise<ExportValue> { | CODE |
| LOW | packages/cli/build.ts | 756 | async function writePrivateAtVitestBrowserShims(testDistDir: string): Promise<void> { | CODE |
| LOW | packages/cli/build.ts | 807 | async function createBrowserContextExport(testDistDir: string): Promise<ExportValue> { | CODE |
| LOW | packages/cli/src/resolve-vite-config.ts | 118 | export async function resolveUniversalViteConfig(err: null | Error, viteConfigCwd: string) { | CODE |
| LOW | packages/cli/src/define-config.ts | 233 | function vitePlusVitestResolverPlugin(): PluginOption { | CODE |
| LOW | packages/cli/src/define-config.ts | 339 | function vitePlusAutoInlineMatcherPlugin(): PluginOption { | CODE |
| LOW | packages/cli/src/define-config.ts | 388 | export function resolveCoverageProviderToCheck( | CODE |
| LOW | packages/cli/src/define-config.ts | 408 | export function assertCoverageProviderVersionMatch( | CODE |
| LOW | packages/cli/src/define-config.ts | 459 | function readInstalledCoverageProviderVersion( | CODE |
| LOW | packages/cli/src/define-config.ts | 492 | export function checkCoverageProviderVersion( | CODE |
| LOW | packages/cli/src/define-config.ts | 553 | function vitePlusCoverageVersionGuardPlugin(): PluginOption { | CODE |
| LOW | packages/cli/src/define-config.ts | 711 | function injectPluginIntoProjectExport(config: UserProjectConfigExport): UserProjectConfigExport { | CODE |
| LOW | packages/cli/src/pack-bin.ts | 58 | function externalDtsTypeOnlyPlugin() { | CODE |
| LOW | packages/cli/src/oxlint-plugin.ts | 19 | function isVitestFamilyDeclareModuleSpecifier(specifier: string): boolean { | CODE |
| LOW | packages/cli/src/oxlint-plugin.ts | 47 | function rewriteVitePlusImportSpecifier(specifier: string): string | null { | CODE |
| LOW | packages/cli/src/oxlint-plugin.ts | 131 | function isUpstreamVitestSpecifier(specifier: string): boolean { | CODE |
| LOW | packages/cli/src/oxlint-plugin.ts | 135 | function nearestPackageUsesNuxtTestUtils(filename: string): boolean { | CODE |
| LOW | packages/cli/src/init-config.ts | 92 | function resolveGeneratedConfigPath( | CODE |
| LOW | packages/cli/src/init-config.ts | 204 | export async function applyToolInitConfigToViteConfig( | CODE |
| LOW | packages/cli/src/version.ts | 42 | function isVitePlusDeclaredInAncestors(cwd: string): boolean { | CODE |
| LOW | packages/cli/src/oxlint-plugin-config.ts | 49 | export function createDefaultVitePlusLintConfig(options?: { | CODE |
| LOW | packages/cli/src/utils/editor.ts | 457 | function mergeAndWriteEditorConfig( | CODE |
| LOW | packages/cli/src/utils/workspace.ts | 29 | export function findPackageJsonFilesFromPatterns(patterns: string[], cwd: string): string[] { | CODE |
| LOW | packages/cli/src/utils/workspace.ts | 120 | export function discoverWorkspacePackages( | CODE |
| LOW | packages/cli/src/utils/workspace.ts | 164 | export function updatePackageJsonWithDeps( | CODE |
| LOW | packages/cli/src/utils/agent.ts | 177 | export function detectExistingAgentTargetPaths(projectRoot: string) { | CODE |
| LOW | packages/cli/src/utils/agent.ts | 193 | export function hasExistingAgentInstructions(projectRoot: string): boolean { | CODE |
| LOW | packages/cli/src/utils/agent.ts | 214 | export function updateExistingAgentInstructions(projectRoot: string): void { | CODE |
| LOW | packages/cli/src/utils/agent.ts | 521 | export async function writeCopilotSetupWorkflow({ | CODE |
| LOW | packages/cli/src/utils/agent.ts | 565 | export function replaceMarkedAgentInstructionsSection(existing: string, incoming: string) { | CODE |
| LOW | packages/cli/src/utils/approve-builds.ts | 205 | export function collectDirectDependencyNames( | CODE |
| LOW | packages/cli/src/utils/approve-builds.ts | 232 | export function filterToDirectDependencies(ignored: string[], direct: Set<string>): string[] { | CODE |
| LOW | packages/cli/src/utils/approve-builds.ts | 242 | export function pnpmSupportsPositionalApprove(version: string | undefined): boolean { | CODE |
| LOW | packages/cli/src/utils/approve-builds.ts | 265 | export function resolveApproveBuildTargets( | CODE |
| LOW | packages/cli/src/utils/approve-builds.ts | 328 | function printApproveBuildsGuidance( | CODE |
| LOW | packages/cli/src/utils/approve-builds.ts | 399 | export function addYarnBuiltDependenciesMeta( | CODE |
| LOW | packages/cli/src/utils/prompts.ts | 32 | export function shouldIgnoreScriptsForAutoInstall( | CODE |
| LOW | packages/cli/src/utils/constants.ts | 87 | export function createBaseUrlTsconfigFixArgs(target = BASEURL_TSCONFIG_FIX_DEFAULT_TARGET) { | CODE |
| LOW | packages/cli/src/utils/preview-registry.ts | 191 | export function reconcilePreviewBridgeRegistry( | CODE |
| LOW | packages/cli/src/utils/tsgolint-path.ts | 5 | export function resolveWindowsTsgolintExecutable( | CODE |
| LOW | packages/cli/src/utils/tsgolint-path.ts | 29 | export function resolveTsgolintExecutable(tsgolintBinPath: string, scriptUrl: string): string { | CODE |
| LOW | packages/cli/src/utils/tsconfig.ts | 47 | export function findTsconfigFilesWithBaseUrl(projectPath: string): string[] { | CODE |
| 147 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cargo.toml | 401 | rolldown_tracing = { path = "./rolldown/crates/rolldown_tracing" } | COMMENT |
| LOW | crates/vite_static_config/src/lib.rs | 21 | COMMENT | |
| LOW | crates/vite_static_config/src/lib.rs | 381 | Statement::ForOfStatement(s) => count_returns_in_stmt(&s.body), | COMMENT |
| LOW | crates/vite_setup/src/install.rs | 21 | COMMENT | |
| LOW | crates/vite_setup/src/install.rs | 161 | // This wrapper install path is pinned to pnpm via packageManager, so this | COMMENT |
| LOW | crates/vite_setup/src/install.rs | 481 | /// | COMMENT |
| LOW | crates/vite_installer/src/main.rs | 1 | //! Standalone Windows installer for the Vite+ CLI (`vp-setup.exe`). | COMMENT |
| LOW | crates/vite_installer/src/main.rs | 281 | COMMENT | |
| LOW | crates/vite_command/src/ps1_shim.rs | 1 | //! Windows-specific: when a vp-managed package-manager `.cmd` shim has a | COMMENT |
| LOW | crates/vite_command/src/ps1_shim.rs | 21 | //! policies on locked-down hosts. | COMMENT |
| LOW | crates/vite_command/src/ps1_shim.rs | 41 | /// "-File", <abs ps1 path>]`; callers prepend it to the user args and spawn | COMMENT |
| LOW | crates/vite_command/src/lib.rs | 141 | }); | COMMENT |
| LOW | crates/vite_command/src/lib.rs | 181 | cmd.args(&prefix_args).args(&args).envs(envs); | COMMENT |
| LOW | crates/vite_js_runtime/src/dev_engines.rs | 1 | //! `.node-version` file reading and writing utilities. | COMMENT |
| LOW | crates/vite_js_runtime/src/dev_engines.rs | 21 | /// - Two-part version: `20.5` (treated as `^20.5.0` for resolution) | COMMENT |
| LOW | crates/vite_js_runtime/src/dev_engines.rs | 61 | /// | COMMENT |
| LOW | crates/vite_js_runtime/src/runtime.rs | 161 | /// This is an expected, non-actionable condition for those sources, so it is a | COMMENT |
| LOW | crates/vite_js_runtime/src/runtime.rs | 321 | /// Resolved version information with source tracking. | COMMENT |
| LOW | crates/vite_js_runtime/src/runtime.rs | 341 | /// 3. `package.json#engines.node` | COMMENT |
| LOW | crates/vite_js_runtime/src/runtime.rs | 421 | // No version source found | COMMENT |
| LOW | crates/vite_js_runtime/src/runtime.rs | 441 | /// # Returns | COMMENT |
| LOW | crates/vite_js_runtime/src/runtime.rs | 1641 | /// Test that package.json in child directory takes priority over .node-version in parent. | COMMENT |
| LOW | crates/vite_js_runtime/src/pgp_verify.rs | 1 | //! PGP signature verification for runtime checksum files. | COMMENT |
| LOW | crates/vite_js_runtime/src/pgp_verify.rs | 21 | //! - **Key expiry is not enforced.** `gpgv` treats an expired key as advisory | COMMENT |
| LOW | crates/vite_js_runtime/src/pgp_verify.rs | 41 | composed::{CleartextSignedMessage, Deserializable, SignedPublicKey, SignedPublicSubKey}, | COMMENT |
| LOW | crates/vite_js_runtime/src/error.rs | 61 | /// IO error | COMMENT |
| LOW | crates/vite_js_runtime/src/lib.rs | 1 | //! JavaScript Runtime Management Library | COMMENT |
| LOW | crates/vite_js_runtime/src/lib.rs | 21 | //! | COMMENT |
| LOW | crates/vite_js_runtime/src/provider.rs | 61 | /// Information needed to download a runtime | COMMENT |
| LOW | crates/vite_js_runtime/src/provider.rs | 101 | /// Different runtimes may have different SHASUMS formats | COMMENT |
| LOW | crates/vite_js_runtime/src/platform.rs | 41 | /// | COMMENT |
| LOW | crates/vite_js_runtime/src/platform.rs | 81 | impl Arch { | COMMENT |
| LOW | crates/vite_js_runtime/src/providers/node.rs | 21 | /// Default Node.js distribution base URL | COMMENT |
| LOW | crates/vite_js_runtime/src/providers/node.rs | 81 | impl NodeProvider { | COMMENT |
| LOW | crates/vite_js_runtime/src/providers/node.rs | 101 | /// versions over non-LTS versions. | COMMENT |
| LOW | crates/vite_js_runtime/src/providers/node.rs | 321 | /// # Errors | COMMENT |
| LOW | crates/vite_js_runtime/src/providers/node.rs | 341 | /// | COMMENT |
| LOW | crates/vite_pm_cli/src/cli.rs | 21 | /// `vite_global_cli/src/cli.rs`. Aliases (`i`, `up`, `rm`, `un`, `uninstall`, | COMMENT |
| LOW | crates/vite_pm_cli/src/cli.rs | 201 | /// Remove packages from dependencies | COMMENT |
| LOW | crates/vite_pm_cli/src/cli.rs | 381 | /// Show why a package is installed | COMMENT |
| LOW | crates/vite_pm_cli/src/cli.rs | 561 | COMMENT | |
| LOW | crates/vite_pm_cli/src/cli.rs | 1181 | /// Remove a distribution tag | COMMENT |
| LOW | crates/vite_migration/src/ast_grep.rs | 1 | use ast_grep_config::{GlobalRules, RuleConfig, from_yaml_string}; | COMMENT |
| LOW | crates/vite_migration/src/import_rewriter.rs | 21 | /// - `require('vite/{name}')` → `require('vite-plus/{name}')` | COMMENT |
| LOW | crates/vite_migration/src/import_rewriter.rs | 221 | /// `exports` map, otherwise Node fails with `ERR_PACKAGE_PATH_NOT_EXPORTED`): | COMMENT |
| LOW | crates/vite_migration/src/import_rewriter.rs | 241 | /// - `import { ... } from '@vitest/browser-webdriverio'` → `import { ... } from 'vite-plus/test/browser-webdriverio'` | COMMENT |
| LOW | crates/vite_migration/src/import_rewriter.rs | 2001 | } | COMMENT |
| LOW | crates/vite_migration/src/import_rewriter.rs | 2141 | /// This function finds all TypeScript and JavaScript files in the specified directory | COMMENT |
| LOW | crates/vite_migration/src/import_rewriter.rs | 2241 | FileResult::Unchanged => batch_result.unchanged_files.push(file_path), | COMMENT |
| LOW | crates/vite_migration/src/import_rewriter.rs | 2261 | /// | COMMENT |
| LOW | crates/vite_migration/src/import_rewriter.rs | 5221 | COMMENT | |
| LOW | crates/vite_migration/src/vite_config.rs | 21 | COMMENT | |
| LOW | crates/vite_migration/src/vite_config.rs | 41 | /// - `uses_function_callback`: Whether the config uses a function callback | COMMENT |
| LOW | crates/vite_migration/src/vite_config.rs | 81 | } | COMMENT |
| LOW | crates/vite_migration/src/vite_config.rs | 121 | /// objects — `defineConfig({...})`, `defineConfig(() => ({...}))`, direct | COMMENT |
| LOW | crates/vite_migration/src/vite_config.rs | 281 | COMMENT | |
| LOW | crates/vite_migration/src/vite_config.rs | 701 | if root.find(matcher).is_some() { | COMMENT |
| LOW | crates/vite_migration/src/vite_config.rs | 821 | COMMENT | |
| LOW | crates/vite_migration/src/vite_config.rs | 841 | /// | COMMENT |
| LOW | crates/vite_migration/src/file_walker.rs | 21 | /// | COMMENT |
| 137 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | crates/vite_migration/src/package.rs | 21 | // Step 1: Replace "cross-env " with marker so ast-grep can see the actual commands | COMMENT |
| LOW⚡ | crates/vite_migration/src/package.rs | 28 | // Step 2: Rewrite commands behind bunx only when their inner command | COMMENT |
| LOW⚡ | crates/vite_migration/src/package.rs | 34 | // Step 3: Replace cross-env marker back with "cross-env " (only if we replaced it) | COMMENT |
| LOW | crates/vite_migration/src/vite_config.rs | 875 | // Step 1: Add import statement at the beginning | COMMENT |
| LOW | crates/vite_migration/src/vite_config.rs | 890 | // Step 2: Add pack: tsdownConfig to defineConfig | COMMENT |
| LOW⚡ | crates/vite_global_cli/src/commands/upgrade/mod.rs | 44 | // Step 1: Detect platform | COMMENT |
| LOW⚡ | crates/vite_global_cli/src/commands/upgrade/mod.rs | 48 | // Step 2: Determine version to resolve | COMMENT |
| LOW⚡ | crates/vite_global_cli/src/commands/upgrade/mod.rs | 55 | // Step 3: Resolve version from npm registry | COMMENT |
| LOW | crates/vite_global_cli/src/commands/upgrade/mod.rs | 69 | // Step 4: Handle --check (report and exit) | COMMENT |
| LOW | crates/vite_global_cli/src/commands/upgrade/mod.rs | 80 | // Step 5: Handle already up-to-date | COMMENT |
| LOW⚡ | crates/vite_global_cli/src/commands/upgrade/mod.rs | 95 | // Step 6: Download platform tarball (main package is installed via npm) | COMMENT |
| LOW⚡ | crates/vite_global_cli/src/commands/upgrade/mod.rs | 103 | // Step 7: Verify integrity | COMMENT |
| LOW⚡ | crates/vite_global_cli/src/commands/upgrade/mod.rs | 110 | // Step 8: Create version directory. | COMMENT |
| LOW | crates/vite_global_cli/src/commands/upgrade/mod.rs | 125 | // Step 9: Extract platform binary and install via npm | COMMENT |
| LOW | rfcs/upgrade-command.md | 170 | #### Step 1: Version Resolution | COMMENT |
| LOW | rfcs/upgrade-command.md | 187 | #### Step 2: Version Comparison | COMMENT |
| LOW | rfcs/upgrade-command.md | 194 | #### Step 3: Download and Verify | COMMENT |
| LOW | rfcs/upgrade-command.md | 256 | #### Step 4: Extract and Install | COMMENT |
| LOW | rfcs/upgrade-command.md | 265 | #### Step 5: Version Swap | COMMENT |
| LOW | rfcs/upgrade-command.md | 301 | #### Step 6: Post-Update (Non-Fatal) | COMMENT |
| LOW | rfcs/upgrade-command.md | 308 | #### Step 7: Running Binary Consideration | COMMENT |
| LOW | rfcs/implode-command.md | 139 | #### Step 1: Resolve Home Directory | COMMENT |
| LOW | rfcs/implode-command.md | 143 | #### Step 2: Scan Shell Profiles | COMMENT |
| LOW⚡ | rfcs/implode-command.md | 157 | #### Step 3: Confirmation | COMMENT |
| LOW⚡ | rfcs/implode-command.md | 165 | #### Step 4: Shell Profile Cleanup | COMMENT |
| LOW⚡ | rfcs/implode-command.md | 175 | #### Step 5: Windows PATH Cleanup | COMMENT |
| LOW⚡ | rfcs/implode-command.md | 185 | #### Step 6: Remove Directory | COMMENT |
| LOW⚡ | rfcs/code-generator.md | 730 | # Step 1: Create the generator scaffold | COMMENT |
| LOW⚡ | rfcs/code-generator.md | 733 | # Step 2: Customize the template | COMMENT |
| LOW⚡ | rfcs/code-generator.md | 737 | # Step 3: Test your generator | COMMENT |
| LOW⚡ | rfcs/code-generator.md | 740 | # Step 4: Run tests | COMMENT |
| LOW⚡ | .claude/agents/cargo-workspace-merger.md | 20 | ### Step 1: Analyze the Child Workspace | COMMENT |
| LOW⚡ | .claude/agents/cargo-workspace-merger.md | 26 | ### Step 2: Identify Crates to Add | COMMENT |
| LOW⚡ | .claude/agents/cargo-workspace-merger.md | 32 | ### Step 3: Analyze Dependency Usage | COMMENT |
| LOW⚡ | .claude/agents/cargo-workspace-merger.md | 39 | ### Step 4: Filter and Merge Dependencies | COMMENT |
| LOW⚡ | .claude/agents/cargo-workspace-merger.md | 47 | ### Step 5: Update Root Cargo.toml | COMMENT |
| LOW | .claude/skills/add-ecosystem-ci/SKILL.md | 11 | ## Step 1: Get Repository Information | COMMENT |
| LOW | .claude/skills/add-ecosystem-ci/SKILL.md | 22 | ## Step 2: Auto-detect Project Configuration | COMMENT |
| LOW | .claude/skills/add-ecosystem-ci/SKILL.md | 59 | ## Step 3: Update Files | COMMENT |
| LOW | .claude/skills/add-ecosystem-ci/SKILL.md | 85 | ## Step 4: Verify | COMMENT |
| LOW | packages/core/BUNDLING.md | 25 | ### Step 1: Bundle Rolldown Pluginutils (`bundleRolldownPluginutils`) | COMMENT |
| LOW | packages/core/BUNDLING.md | 38 | ### Step 2: Bundle Rolldown (`bundleRolldown`) | COMMENT |
| LOW | packages/core/BUNDLING.md | 51 | ### Step 3: Build Vite (`buildVite`) | COMMENT |
| LOW | packages/core/BUNDLING.md | 65 | ### Step 4: Bundle Tsdown (`bundleTsdown`) | COMMENT |
| LOW | packages/core/BUNDLING.md | 79 | ### Step 5: Bundle Vitepress (`bundleVitepress`) | COMMENT |
| LOW | packages/core/BUNDLING.md | 90 | ### Step 6: Merge Package.json (`mergePackageJson`) | COMMENT |
| LOW | packages/cli/BUNDLING.md | 18 | ### Step 1: tsdown Build (`buildWithTsdown`) | COMMENT |
| LOW | packages/cli/BUNDLING.md | 39 | ### Step 2: NAPI Binding Build (`buildNapiBinding`) | COMMENT |
| LOW | packages/cli/BUNDLING.md | 59 | ### Step 3: Core Package Export Sync (`syncCorePackageExports`) | COMMENT |
| LOW | packages/cli/BUNDLING.md | 91 | ### Step 4: Test Package Export Sync (`syncTestPackageExports`) | COMMENT |
| LOW | packages/cli/src/migration/migrator/prettier.ts | 116 | // Step 1: Generate .oxfmtrc.json from Prettier config | COMMENT |
| LOW⚡ | packages/cli/src/migration/migrator/prettier.ts | 160 | // Step 2: Delete all prettier config files at root | COMMENT |
| LOW⚡ | packages/cli/src/migration/migrator/prettier.ts | 163 | // Step 3: Remove prettier dependency and rewrite prettier scripts (root) | COMMENT |
| LOW⚡ | packages/cli/src/migration/migrator/prettier.ts | 173 | // Step 4: Rewrite prettier references in lint-staged config files | COMMENT |
| LOW⚡ | packages/cli/src/migration/migrator/prettier.ts | 176 | // Step 5: Warn about .prettierignore if it exists | COMMENT |
| LOW | packages/cli/src/migration/migrator/eslint.ts | 161 | // Step 1: Generate .oxlintrc.json from ESLint config | COMMENT |
| LOW | packages/cli/src/migration/migrator/eslint.ts | 177 | // Step 2: Replace eslint-disable comments with oxlint-disable | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | Cargo.toml | 407 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | Cargo.toml | 409 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | Cargo.toml | 416 | # ============================================================================= | COMMENT |
| MEDIUM | crates/vite_static_config/src/lib.rs | 546 | // ── Config file resolution ────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/vite_static_config/src/lib.rs | 596 | // ── resolve_static_config from a config file───────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/vite_static_config/src/lib.rs | 615 | // ── export default { ... } ────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/vite_static_config/src/lib.rs | 643 | // ── export default defineConfig({ ... }) ──────────────────────────── | COMMENT |
| MEDIUM | crates/vite_static_config/src/lib.rs | 700 | // ── module.exports = { ... } ─────────────────────────────────────── | COMMENT |
| MEDIUM | crates/vite_static_config/src/lib.rs | 774 | // ── Primitive values ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/vite_static_config/src/lib.rs | 820 | // ── Arrays ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/vite_static_config/src/lib.rs | 840 | // ── Nested objects ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/vite_static_config/src/lib.rs | 872 | // ── NonStatic fields ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/vite_static_config/src/lib.rs | 1030 | // ── Property key types ────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/vite_static_config/src/lib.rs | 1038 | // ── Real-world patterns ───────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/vite_static_config/src/lib.rs | 1128 | // ── defineConfig with function argument ──────────────────────────── | COMMENT |
| MEDIUM | crates/vite_static_config/src/lib.rs | 1226 | // ── Not analyzable cases ───────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/vite_migration/src/vite_config.rs | 905 | // ── has_config_key ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/vite_migration/src/vite_config.rs | 2399 | // ── upsert_json_config_content ──────────────────────────────────────── | COMMENT |
| MEDIUM | crates/vite_shared/src/env_vars.rs | 13 | // ── Config: read once at startup via EnvConfig ────────────────────────── | COMMENT |
| MEDIUM | crates/vite_shared/src/env_vars.rs | 52 | // ── Runtime: set/removed during shim dispatch for child processes ──────── | COMMENT |
| MEDIUM | crates/vite_shared/src/env_vars.rs | 83 | // ── HTTP client TLS / CA configuration ────────────────────────────────── | COMMENT |
| MEDIUM | crates/vite_shared/src/env_vars.rs | 109 | // ── Testing / Development ─────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | crates/vite_migration/src/package.rs | 21 | // Step 1: Replace "cross-env " with marker so ast-grep can see the actual commands | COMMENT |
| LOW⚡ | crates/vite_migration/src/package.rs | 28 | // Step 2: Rewrite commands behind bunx only when their inner command | COMMENT |
| LOW⚡ | crates/vite_migration/src/package.rs | 34 | // Step 3: Replace cross-env marker back with "cross-env " (only if we replaced it) | COMMENT |
| LOW | crates/vite_migration/src/vite_config.rs | 875 | // Step 1: Add import statement at the beginning | COMMENT |
| LOW | crates/vite_migration/src/vite_config.rs | 890 | // Step 2: Add pack: tsdownConfig to defineConfig | COMMENT |
| LOW⚡ | crates/vite_global_cli/src/commands/upgrade/mod.rs | 44 | // Step 1: Detect platform | COMMENT |
| LOW⚡ | crates/vite_global_cli/src/commands/upgrade/mod.rs | 48 | // Step 2: Determine version to resolve | COMMENT |
| LOW⚡ | crates/vite_global_cli/src/commands/upgrade/mod.rs | 55 | // Step 3: Resolve version from npm registry | COMMENT |
| LOW | crates/vite_global_cli/src/commands/upgrade/mod.rs | 69 | // Step 4: Handle --check (report and exit) | COMMENT |
| LOW | crates/vite_global_cli/src/commands/upgrade/mod.rs | 80 | // Step 5: Handle already up-to-date | COMMENT |
| LOW⚡ | crates/vite_global_cli/src/commands/upgrade/mod.rs | 95 | // Step 6: Download platform tarball (main package is installed via npm) | COMMENT |
| LOW⚡ | crates/vite_global_cli/src/commands/upgrade/mod.rs | 103 | // Step 7: Verify integrity | COMMENT |
| LOW⚡ | crates/vite_global_cli/src/commands/upgrade/mod.rs | 110 | // Step 8: Create version directory. | COMMENT |
| LOW | crates/vite_global_cli/src/commands/upgrade/mod.rs | 125 | // Step 9: Extract platform binary and install via npm | COMMENT |
| LOW | crates/vite_global_cli/src/shim/mod.rs | 94 | // For other tools, we need to check if they're package binaries | COMMENT |
| LOW | packages/cli/src/migration/migrator/prettier.ts | 116 | // Step 1: Generate .oxfmtrc.json from Prettier config | COMMENT |
| LOW⚡ | packages/cli/src/migration/migrator/prettier.ts | 160 | // Step 2: Delete all prettier config files at root | COMMENT |
| LOW⚡ | packages/cli/src/migration/migrator/prettier.ts | 163 | // Step 3: Remove prettier dependency and rewrite prettier scripts (root) | COMMENT |
| LOW⚡ | packages/cli/src/migration/migrator/prettier.ts | 173 | // Step 4: Rewrite prettier references in lint-staged config files | COMMENT |
| LOW⚡ | packages/cli/src/migration/migrator/prettier.ts | 176 | // Step 5: Warn about .prettierignore if it exists | COMMENT |
| LOW | packages/cli/src/migration/migrator/eslint.ts | 161 | // Step 1: Generate .oxlintrc.json from ESLint config | COMMENT |
| LOW | packages/cli/src/migration/migrator/eslint.ts | 177 | // Step 2: Replace eslint-disable comments with oxlint-disable | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | rfcs/js-runtime.md | 68 | └── runtime.rs # JsRuntime struct and download orchestration | CODE |
| MEDIUM | rfcs/global-cli-rust-binary.md | 123 | │ │ ├── new.rs # Project scaffolding | CODE |
| MEDIUM | rfcs/global-cli-rust-binary.md | 410 | - `crates/vite_global_cli/src/commands/new.rs` # Project scaffolding | CODE |
| MEDIUM | rfcs/code-generator.md | 608 | vp create vite:generator # Vite+ generator scaffold | CODE |
| MEDIUM⚡ | rfcs/code-generator.md | 730 | # Step 1: Create the generator scaffold | COMMENT |
| MEDIUM | packages/cli/src/create/org-picker.ts | 52 | // inside an existing monorepo (and would be rejected at scaffold time | COMMENT |
| MEDIUM | packages/cli/src/create/bin.ts | 1030 | // Ask up-front so the prompt isn't buried under scaffold output. | COMMENT |
| MEDIUM | packages/cli/src/create/templates/generator.ts | 13 | // Execute generator scaffold template | COMMENT |
| MEDIUM | …ages/cli/src/migration/migrator/vite-plus-bootstrap.ts | 542 | // are skipped. Shared scaffold for the workspace-wide catalog pending checks: a | COMMENT |
| MEDIUM | .github/workflows/test-vp-create.yml | 153 | # `vp create`: after scaffold, ESLint → oxlint and Prettier → oxfmt | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | .github/workflows/publish-preview.yml | 185 | const shortSha = context.payload.pull_request.head.sha.slice(0, 7); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/vite_migration/src/import_rewriter.rs | 5630 | // robust against rule-reordering or ast-grep conflict-resolution changes. | COMMENT |
| MEDIUM | crates/vite_install/src/package_manager.rs | 871 | // Use tempfile::TempDir for robust temporary directory creation | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/cli/src/config/hooks.ts | 58 | elif [ -n "\${HOME-}" ]; then | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/cli/install.sh | 488 | # Check if response is a plain error string (not a valid package object) | COMMENT |
| LOW | packages/cli/install.sh | 905 | # Check if Vite+ is already managing Node.js (bin/node or bin/node.exe exists) | COMMENT |
| LOW | packages/cli/install.sh | 923 | # Check if node is available on the system | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/verify-interactive-cli/interactive-cli-tmux-driver.sh | 5 | # Usage: | COMMENT |
| LOW | packages/cli/install.sh | 5 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/cli/src/create/bin.ts | 602 | ${muted('# Create a new application in non-interactive mode with a custom target directory')} | CODE |