Passer de @nx/vite 23.x à 24.x
Comparaison de l’API publique de @nx/vite 23.3.1 et 24.0.0, calculée automatiquement à partir de leurs types TypeScript. Une signature modifiée est un changement incompatible possible, pas une certitude.
Résumé
| Chemins d’importation supprimés | 0 |
|---|---|
| Exports supprimés | 7 |
| Signatures modifiées | 3 |
| Membres de classes ou d’interfaces supprimés | 2 |
| Membres de classes ou d’interfaces modifiés | 1 |
| Nouvelles dépréciations | 0 |
| Changements d’exigences (engines, dépendances peer) | 0 |
| Nouveaux exports | 3 |
Exports supprimés
| import | export | kind | Avant |
|---|---|---|---|
@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> |
Signatures modifiées
| export | Avant | Après |
|---|---|---|
@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 |
Membres de classes ou d’interfaces supprimés
| member | import | Avant |
|---|---|---|
InitGeneratorSchema.addPlugin | @nx/vite | boolean | undefined |
ViteConfigurationGeneratorSchema.addPlugin | @nx/vite | boolean | undefined |
Membres de classes ou d’interfaces modifiés
| member | Avant | Après |
|---|---|---|
VitePluginOptions.typecheckTargetName | string | undefined | string | false | undefined |
Nouvelles dépréciations
Aucun détecté.
Changements d’exigences (engines, dépendances peer)
Aucun détecté.
Nouveaux exports (3)
| import | export | kind |
|---|---|---|
@nx/vite | viteStaticCopyVersion | variable |
@nx/vite | viteTsconfigPathsVersion | variable |
@nx/vite | assertNoRemovedExecutorTargets | function |
Donnez ces données à votre agent IA
Vigia est un serveur MCP gratuit : votre agent de code vérifie les versions, les changements incompatibles et les vulnérabilités avant d'écrire du code. Sans inscription ni clé d'API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Ajouter à CursorAjouter à VS Code★ Étoile sur GitHub
Tout autre client MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill pour agents (SKILL.md) : indique à l'agent quand utiliser Vigia · GitHub Action pour les pull requests
Questions fréquentes
Quels sont les changements incompatibles en passant de @nx/vite 23 à 24 ?
Entre @nx/vite 23.3.1 et 24.0.0, Vigia a trouvé 7 exports supprimés, 3 signatures modifiées et 3 membres de classes ou d’interfaces supprimés ou modifiés.
Qu’est-ce qui a été déprécié dans @nx/vite 24 ?
0 exports ou membres sont désormais marqués comme dépréciés dans @nx/vite 24.0.0.
Pour les agents
GET https://vigia.coredls.cloud/v1/packages/npm/@nx/vite/upgrade?from=23.3.1&to=24.0.0