Skip to content

Commit

Permalink
Update Volar
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Jun 5, 2024
1 parent b399fce commit df6e97a
Show file tree
Hide file tree
Showing 5 changed files with 87 additions and 408 deletions.
12 changes: 6 additions & 6 deletions packages/language-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
"dependencies": {
"@astrojs/compiler": "^2.7.0",
"@jridgewell/sourcemap-codec": "^1.4.15",
"@volar/kit": "~2.3.0-alpha.5",
"@volar/language-core": "~2.3.0-alpha.5",
"@volar/language-server": "~2.3.0-alpha.5",
"@volar/language-service": "~2.3.0-alpha.5",
"@volar/typescript": "~2.3.0-alpha.5",
"@volar/kit": "~2.3.0-alpha.7",
"@volar/language-core": "~2.3.0-alpha.7",
"@volar/language-server": "~2.3.0-alpha.7",
"@volar/language-service": "~2.3.0-alpha.7",
"@volar/typescript": "~2.3.0-alpha.7",
"fast-glob": "^3.2.12",
"volar-service-css": "0.0.50",
"volar-service-emmet": "0.0.50",
Expand All @@ -45,7 +45,7 @@
"@types/chai": "^4.3.5",
"@types/mocha": "^10.0.1",
"@types/node": "^18.17.8",
"@volar/test-utils": "~2.3.0-alpha.5",
"@volar/test-utils": "~2.3.0-alpha.7",
"astro": "^4.3.5",
"chai": "^4.3.7",
"mocha": "^10.2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/language-server/src/nodeServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ connection.onInitialize((params) => {

return server.initialize(
params,
getLanguageServicePlugins(connection, typescript),
createTypeScriptProject(typescript, diagnosticMessages, (env, project) =>
getLanguagePlugins(connection, typescript, env, project.configFileName)
)
),
getLanguageServicePlugins(connection, typescript)
);
});

Expand Down
4 changes: 2 additions & 2 deletions packages/ts-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"author": "withastro",
"license": "MIT",
"dependencies": {
"@volar/language-core": "~2.3.0-alpha.5",
"@volar/typescript": "~2.3.0-alpha.5",
"@volar/language-core": "~2.3.0-alpha.7",
"@volar/typescript": "~2.3.0-alpha.7",
"@astrojs/compiler": "^2.7.0",
"@jridgewell/sourcemap-codec": "^1.4.15",
"semver": "^7.3.8",
Expand Down
4 changes: 2 additions & 2 deletions packages/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@
"@types/mocha": "^10.0.1",
"@types/node": "^18.17.8",
"@types/vscode": "^1.82.0",
"@volar/language-server": "~2.3.0-alpha.5",
"@volar/vscode": "~2.3.0-alpha.5",
"@volar/language-server": "~2.3.0-alpha.7",
"@volar/vscode": "~2.3.0-alpha.7",
"@vscode/test-electron": "^2.3.2",
"@vscode/vsce": "latest",
"esbuild": "^0.17.19",
Expand Down
Loading

0 comments on commit df6e97a

Please sign in to comment.