@nx/vite को 23.x से 24.x पर अपग्रेड करना
@nx/vite 23.3.1 और 24.0.0 के सार्वजनिक API की तुलना, उनके TypeScript टाइप से अपने-आप निकाली गई। बदला हुआ सिग्नेचर संभावित असंगत बदलाव है, निश्चितता नहीं।
सारांश
| हटाए गए इम्पोर्ट पाथ | 0 |
|---|---|
| हटाए गए एक्सपोर्ट | 7 |
| बदले गए सिग्नेचर | 3 |
| क्लास या इंटरफ़ेस के हटाए गए सदस्य | 2 |
| क्लास या इंटरफ़ेस के बदले गए सदस्य | 1 |
| नए डिप्रिकेटेड | 0 |
| आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ) | 0 |
| नए एक्सपोर्ट | 3 |
हटाए गए एक्सपोर्ट
| import | export | kind | पहले |
|---|---|---|---|
@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> |
बदले गए सिग्नेचर
| export | पहले | बाद में |
|---|---|---|
@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 |
क्लास या इंटरफ़ेस के हटाए गए सदस्य
| member | import | पहले |
|---|---|---|
InitGeneratorSchema.addPlugin | @nx/vite | boolean | undefined |
ViteConfigurationGeneratorSchema.addPlugin | @nx/vite | boolean | undefined |
क्लास या इंटरफ़ेस के बदले गए सदस्य
| member | पहले | बाद में |
|---|---|---|
VitePluginOptions.typecheckTargetName | string | undefined | string | false | undefined |
नए डिप्रिकेटेड
कुछ नहीं मिला।
आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ)
कुछ नहीं मिला।
नए एक्सपोर्ट (3)
| import | export | kind |
|---|---|---|
@nx/vite | viteStaticCopyVersion | variable |
@nx/vite | viteTsconfigPathsVersion | variable |
@nx/vite | assertNoRemovedExecutorTargets | function |
अपने AI एजेंट को ये तथ्य दें
Vigia एक मुफ़्त MCP सर्वर है: आपका कोडिंग एजेंट कोड लिखने से पहले वर्ज़न, ब्रेकिंग बदलाव और कमज़ोरियाँ जाँचता है। न साइनअप, न API कुंजी।
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Cursor में जोड़ेंVS Code में जोड़ें★ GitHub पर स्टार दें
कोई भी दूसरा MCP क्लाइंट
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }एजेंट स्किल (SKILL.md): एजेंट को बताती है कि Vigia कब इस्तेमाल करना है · पुल रिक्वेस्ट के लिए GitHub Action
अक्सर पूछे जाने वाले प्रश्न
@nx/vite को 23 से 24 पर अपग्रेड करने पर कौन-से असंगत बदलाव हैं?
@nx/vite 23.3.1 और 24.0.0 के बीच Vigia को 7 हटाए गए एक्सपोर्ट, 3 बदले गए सिग्नेचर और 3 हटाए या बदले गए क्लास/इंटरफ़ेस सदस्य मिले।
@nx/vite 24 में क्या डिप्रिकेट हुआ?
@nx/vite 24.0.0 में 0 एक्सपोर्ट या सदस्य नए रूप से डिप्रिकेटेड चिह्नित हैं।
एजेंटों के लिए
GET https://vigia.coredls.cloud/v1/packages/npm/@nx/vite/upgrade?from=23.3.1&to=24.0.0