-
-
Notifications
You must be signed in to change notification settings - Fork 3
feat: migrate to vue language tools v3 #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
354edbb
64b3079
7fe2034
5d3543b
e71ec56
37b1bf7
e6d64e5
7679777
31c9269
abb0f65
53ef4b7
b1dfd85
e08d6d0
6b1ec81
b03ae50
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,19 +10,20 @@ | |
| "prepublishOnly": "nr build", | ||
| "release": "bumpp package.json packages/*/package.json --commit --push --tag && pnpm publish -r --filter ./packages/*", | ||
| "test": "vitest", | ||
| "typecheck": "tsc --noEmit" | ||
| "typecheck": "tsgo --noEmit" | ||
| }, | ||
| "devDependencies": { | ||
| "@antfu/ni": "^25.0.0", | ||
| "@so1ve/eslint-config": "^3.7.0", | ||
| "@so1ve/prettier-config": "^3.7.0", | ||
| "@types/node": "^24.0.13", | ||
| "@typescript/native-preview": "7.0.0-dev.20250711.1", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainConsider the stability implications of using a dev preview package The addition of 🌐 Web query: 💡 Result: The @typescript/native-preview package is a preview build of the native TypeScript compiler and toolset, ported from JavaScript to Go, aimed at delivering significantly faster build times and lower memory usage compared to the traditional Node.js-based TypeScript compiler[1][3][6]. It provides a new executable, tsgo, which works similarly to tsc and is designed for use in testing and experimentation while development proceeds toward full feature parity and stability[1][2][5][6]. As of mid-2025, @typescript/native-preview remains in an early, experimental state. The project’s maintainers, including the TypeScript team at Microsoft, repeatedly emphasize that this package:
The 7.0.0-dev.20250711.1 version is a development/nightly build, as indicated by the In summary: Citations:
Avoid using the experimental @typescript/native-preview in production The
Suggested change: - "@typescript/native-preview": "7.0.0-dev.20250711.1",
+ "typescript": "^5.x" // use the official stable TypeScript compilerOptionally, if you still need to experiment with - (in "dependencies")
+ (move to "devDependencies")
"@typescript/native-preview": "7.0.0-dev.20250711.1",
🤖 Prompt for AI Agents |
||
| "@vue-macros/test-utils": "^2.0.0", | ||
| "bumpp": "^10.2.0", | ||
| "eslint": "^9.30.1", | ||
| "prettier": "^3.6.2", | ||
| "tsdown": "^0.12.9", | ||
| "typescript": "^5.8.3", | ||
| "unbuild": "^3.5.0", | ||
| "vite": "^7.0.4", | ||
| "vite-tsconfig-paths": "^5.1.4", | ||
| "vitest": "^3.2.4", | ||
|
|
||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export { default } from "../../tsdown.config.ts"; |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,16 @@ | ||
| import type { Options } from "./types"; | ||
| import unplugin from "."; | ||
| import { createVitePlugin } from "unplugin"; | ||
|
|
||
| import type { Options } from "./core/types"; | ||
| import { unpluginFactory } from "."; | ||
|
|
||
| export default (options: Options) => ({ | ||
| name: "@vue.ts/complex-types", | ||
| hooks: { | ||
| "astro:config:setup": async (astro: any) => { | ||
| astro.config.vite.plugins ??= []; | ||
| astro.config.vite.plugins.push(unplugin.vite(options)); | ||
| astro.config.vite.plugins.push( | ||
| createVitePlugin(unpluginFactory)(options), | ||
| ); | ||
| }, | ||
| }, | ||
| }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Verify the
tsgocommand exists and is intendedThe typecheck script was changed from
tsc --noEmittotsgo --noEmit. The commandtsgois not a standard TypeScript compiler command. This appears to be a typo or missing dependency.🏁 Script executed:
Length of output: 220
🏁 Script executed:
Length of output: 536
Invalid typecheck command:
tsgois not a published package"typecheck": "tsgo --noEmit"tsgodoes not exist on npm (E404). This is likely a typo for the standard TypeScript compiler command.@typescript/native-preview@7.0.0-dev.20250716.1: this is a preview build and may introduce instability. Confirm that a preview release is acceptable for your CI/type-checking pipeline or consider using a stable TypeScript version instead.📝 Committable suggestion
🤖 Prompt for AI Agents