Vigia

Upgrading @nx/vite from 23.x to 24.x

Comparison of the public API of @nx/vite 23.3.1 and 24.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.

Summary

Removed import paths0
Removed exports7
Changed signatures3
Removed class or interface members2
Changed class or interface members1
Newly deprecated0
Requirement changes (engines, peer dependencies)0
New exports3

Removed exports

importexportkindBefore
@nx/viteaddBuildTargetfunction(tree: Tree, options: ViteConfigurationGeneratorSchema, target: string): void
@nx/viteaddServeTargetfunction(tree: Tree, options: ViteConfigurationGeneratorSchema, target: string): void
@nx/viteaddPreviewTargetfunction(tree: Tree, options: ViteConfigurationGeneratorSchema, serveTarget: string): void
@nx/vite/plugincreateDependenciesvariableCreateDependencies
@nx/vite/executorsviteBuildExecutorfunction(options: Record<string, any> & ViteBuildExecutorOptions, context: ExecutorContext): AsyncGenerator<{ success: boolean; outfile?: string | undefined; }, any, any>
@nx/vite/executorsviteDevServerExecutorfunction(options: ViteDevServerExecutorOptions, context: ExecutorContext): AsyncGenerator<{ success: boolean; baseUrl: string; }, any, any>
@nx/vite/executorsvitePreviewServerExecutorfunction(options: VitePreviewServerExecutorOptions, context: ExecutorContext): AsyncGenerator<{ success: boolean; baseUrl: any; }, void, unknown>

Changed signatures

exportBeforeAfter
@nx/vite · getViteE2EWebServerInfo(tree: Tree, projectName: string, configFilePath: string, isPluginBeingAdded: boolean, e2ePortOverride?: number | undefined, e2eCIPortOverride?: number | undefined): Promise<any>(tree: Tree, projectName: string, configFilePath: string, e2ePortOverride?: number | undefined, e2eCIPortOverride?: number | undefined): Promise<any>
@nx/vite · getReactRouterE2EWebServerInfo(tree: Tree, projectName: string, configFilePath: string, isPluginBeingAdded: boolean, e2ePortOverride?: number | undefined, e2eCIPortOverride?: number | undefined): Promise<any>(tree: Tree, projectName: string, configFilePath: string, e2ePortOverride?: number | undefined, e2eCIPortOverride?: number | undefined): Promise<any>
@nx/vite/plugins/nx-tsconfig-paths.plugin · nxViteTsPaths(options?: nxViteTsPathsOptions | undefined): Plugin(_options?: nxViteTsPathsOptions | undefined): Plugin

Removed class or interface members

memberimportBefore
InitGeneratorSchema.addPlugin@nx/viteboolean | undefined
ViteConfigurationGeneratorSchema.addPlugin@nx/viteboolean | undefined

Changed class or interface members

memberBeforeAfter
VitePluginOptions.typecheckTargetNamestring | undefinedstring | false | undefined

Newly deprecated

None detected.

Requirement changes (engines, peer dependencies)

None detected.

New exports (3)
importexportkind
@nx/viteviteStaticCopyVersionvariable
@nx/viteviteTsconfigPathsVersionvariable
@nx/viteassertNoRemovedExecutorTargetsfunction

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

Frequently asked questions

What are the breaking changes when upgrading @nx/vite from 23 to 24?

Between @nx/vite 23.3.1 and 24.0.0, Vigia found 7 removed exports, 3 changed signatures and 3 removed or changed class or interface members.

What became deprecated in @nx/vite 24?

0 exports or members are newly marked as deprecated in @nx/vite 24.0.0.

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/@nx/vite/upgrade?from=23.3.1&to=24.0.0