Skip to content

Commit

Permalink
chore: update volar and vscode deps (#662)
Browse files Browse the repository at this point in the history
* chore: update volar and vscode deps

* fix: remove local override

* chore: changeset

---------

Co-authored-by: Princesseuh <[email protected]>
  • Loading branch information
johnsoncodehk and Princesseuh authored Oct 12, 2023
1 parent 06af685 commit 9381e1d
Show file tree
Hide file tree
Showing 7 changed files with 1,650 additions and 861 deletions.
8 changes: 8 additions & 0 deletions .changeset/chilly-pigs-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@astrojs/language-server': minor
'@astrojs/ts-plugin': minor
'astro-vscode': minor
'@astrojs/check': patch
---

Update dependencies
2 changes: 1 addition & 1 deletion packages/astro-check/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"test:match": "pnpm run test -g"
},
"dependencies": {
"@astrojs/language-server": "^2.3.2",
"@astrojs/language-server": "^2.3.3",
"chokidar": "^3.5.3",
"fast-glob": "^3.3.1",
"kleur": "^4.1.5",
Expand Down
38 changes: 19 additions & 19 deletions packages/language-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,36 +28,36 @@
"dependencies": {
"@astrojs/compiler": "1.5.7",
"@jridgewell/sourcemap-codec": "^1.4.15",
"@volar/kit": "~1.10.0",
"@volar/language-core": "~1.10.0",
"@volar/language-server": "~1.10.0",
"@volar/language-service": "~1.10.0",
"@volar/source-map": "~1.10.0",
"@volar/typescript": "~1.10.0",
"@volar/kit": "~1.10.3",
"@volar/language-core": "~1.10.3",
"@volar/language-server": "~1.10.3",
"@volar/language-service": "~1.10.3",
"@volar/source-map": "~1.10.3",
"@volar/typescript": "~1.10.3",
"fast-glob": "^3.2.12",
"muggle-string": "^0.3.1",
"volar-service-css": "0.0.13",
"volar-service-emmet": "0.0.13",
"volar-service-html": "0.0.13",
"volar-service-prettier": "0.0.13",
"volar-service-typescript": "0.0.13",
"volar-service-typescript-twoslash-queries": "0.0.13",
"vscode-html-languageservice": "^5.0.6",
"vscode-uri": "^3.0.7"
"volar-service-css": "0.0.14",
"volar-service-emmet": "0.0.14",
"volar-service-html": "0.0.14",
"volar-service-prettier": "0.0.14",
"volar-service-typescript": "0.0.14",
"volar-service-typescript-twoslash-queries": "0.0.14",
"vscode-html-languageservice": "^5.1.0",
"vscode-uri": "^3.0.8"
},
"devDependencies": {
"@astrojs/svelte": "^3.0.0",
"@astrojs/vue": "^2.2.1",
"@astrojs/svelte": "^4.0.3",
"@astrojs/vue": "^3.0.1",
"@types/chai": "^4.3.5",
"@types/mocha": "^10.0.1",
"@types/node": "^16.18.26",
"astro": "^2.6.2",
"astro": "^3.3.0",
"chai": "^4.3.7",
"mocha": "^10.2.0",
"tsx": "^3.12.7",
"typescript": "~5.1.3",
"vscode-languageserver-protocol": "^3.17.3",
"vscode-languageserver-textdocument": "^1.0.8"
"vscode-languageserver-protocol": "^3.17.5",
"vscode-languageserver-textdocument": "^1.0.11"
},
"peerDependencies": {
"prettier": "^3.0.0",
Expand Down
8 changes: 3 additions & 5 deletions packages/ts-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,16 @@
"author": "withastro",
"license": "MIT",
"dependencies": {
"@volar/language-core": "~1.10.0",
"@volar/typescript": "~1.10.0",
"@volar/language-core": "~1.10.3",
"@volar/typescript": "~1.10.3",
"@astrojs/compiler": "1.5.7",
"@jridgewell/sourcemap-codec": "^1.4.15",
"vscode-languageserver-textdocument": "^1.0.8"
"vscode-languageserver-textdocument": "^1.0.11"
},
"devDependencies": {
"@types/chai": "^4.3.5",
"@types/mocha": "^10.0.1",
"@types/node": "^16.18.26",
"@types/vscode": "1.67.0",
"@vscode/test-electron": "^2.3.2",
"chai": "^4.3.7",
"glob": "^8.0.3",
"mocha": "^10.2.0",
Expand Down
12 changes: 6 additions & 6 deletions packages/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"license": "MIT",
"publisher": "astro-build",
"engines": {
"vscode": "^1.67.0"
"vscode": "^1.82.0"
},
"activationEvents": [
"onLanguage:astro",
Expand Down Expand Up @@ -223,9 +223,9 @@
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "^16.18.26",
"@types/vscode": "1.67.0",
"@volar/language-server": "~1.10.0",
"@volar/vscode": "~1.10.0",
"@types/vscode": "^1.82.0",
"@volar/language-server": "~1.10.3",
"@volar/vscode": "~1.10.3",
"@vscode/test-electron": "^2.3.2",
"@vscode/vsce": "latest",
"esbuild": "^0.17.19",
Expand All @@ -234,8 +234,8 @@
"kleur": "^4.1.5",
"mocha": "^10.2.0",
"typescript": "~5.1.3",
"vscode-languageclient": "^8.1.0",
"vscode-tmgrammar-test": "^0.1.1"
"vscode-languageclient": "^9.0.1",
"vscode-tmgrammar-test": "^0.1.2"
},
"dependencies": {
"@astrojs/compiler": "1.5.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/vscode/scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default async function build() {
name: 'umd2esm',
setup(pluginBuild) {
pluginBuild.onResolve(
{ filter: /^(vscode-.*|estree-walker|jsonc-parser)/ },
{ filter: /^(vscode-.*-languageservice|jsonc-parser)/ },
(buildArgs) => {
const pathUmdMay = require.resolve(buildArgs.path, { paths: [buildArgs.resolveDir] });
// Call twice the replace is to solve the problem of the path in Windows
Expand Down
Loading

0 comments on commit 9381e1d

Please sign in to comment.