Aktualizacja @nx/vite z 23.x do 24.x
Porównanie publicznego API @nx/vite 23.3.1 i 24.0.0, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.
Podsumowanie
| Usunięte ścieżki importu | 0 |
|---|---|
| Usunięte eksporty | 7 |
| Zmienione sygnatury | 3 |
| Usunięte składowe klas lub interfejsów | 2 |
| Zmienione składowe klas lub interfejsów | 1 |
| Nowo wycofane | 0 |
| Zmiany wymagań (engines, zależności peer) | 0 |
| Nowe eksporty | 3 |
Usunięte eksporty
| import | export | kind | Przed |
|---|---|---|---|
@nx/vite | addBuildTarget | function | (tree: Tree, options: ViteConfigurationGeneratorSchema, target: string): void |
@nx/vite | addServeTarget | function | (tree: Tree, options: ViteConfigurationGeneratorSchema, target: string): void |
@nx/vite | addPreviewTarget | function | (tree: Tree, options: ViteConfigurationGeneratorSchema, serveTarget: string): void |
@nx/vite/plugin | createDependencies | variable | CreateDependencies |
@nx/vite/executors | viteBuildExecutor | function | (options: Record<string, any> & ViteBuildExecutorOptions, context: ExecutorContext): AsyncGenerator<{ success: boolean; outfile?: string | undefined; }, any, any> |
@nx/vite/executors | viteDevServerExecutor | function | (options: ViteDevServerExecutorOptions, context: ExecutorContext): AsyncGenerator<{ success: boolean; baseUrl: string; }, any, any> |
@nx/vite/executors | vitePreviewServerExecutor | function | (options: VitePreviewServerExecutorOptions, context: ExecutorContext): AsyncGenerator<{ success: boolean; baseUrl: any; }, void, unknown> |
Zmienione sygnatury
| export | Przed | Po |
|---|---|---|
@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 |
Usunięte składowe klas lub interfejsów
| member | import | Przed |
|---|---|---|
InitGeneratorSchema.addPlugin | @nx/vite | boolean | undefined |
ViteConfigurationGeneratorSchema.addPlugin | @nx/vite | boolean | undefined |
Zmienione składowe klas lub interfejsów
| member | Przed | Po |
|---|---|---|
VitePluginOptions.typecheckTargetName | string | undefined | string | false | undefined |
Nowo wycofane
Nie wykryto.
Zmiany wymagań (engines, zależności peer)
Nie wykryto.
Nowe eksporty (3)
| import | export | kind |
|---|---|---|
@nx/vite | viteStaticCopyVersion | variable |
@nx/vite | viteTsconfigPathsVersion | variable |
@nx/vite | assertNoRemovedExecutorTargets | function |
Przekaż te dane swojemu agentowi AI
Vigia to darmowy serwer MCP: Twój agent programistyczny sprawdza wersje, zmiany łamiące zgodność i podatności, zanim napisze kod. Bez rejestracji i klucza API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Dodaj do CursorDodaj do VS Code★ Gwiazdka na GitHubie
Dowolny inny klient MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill dla agentów (SKILL.md): mówi agentowi, kiedy używać Vigii · GitHub Action dla pull requestów
Najczęściej zadawane pytania
Jakie są zmiany niekompatybilne przy aktualizacji @nx/vite z 23 do 24?
Między @nx/vite 23.3.1 a 24.0.0 Vigia znalazła 7 usuniętych eksportów, 3 zmienionych sygnatur i 3 usuniętych lub zmienionych składowych klas lub interfejsów.
Co zostało wycofane w @nx/vite 24?
0 eksportów lub składowych oznaczono w @nx/vite 24.0.0 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/@nx/vite/upgrade?from=23.3.1&to=24.0.0