From dc062f6695ce577dc569781fc0678c903012c336 Mon Sep 17 00:00:00 2001 From: Erika <3019731+Princesseuh@users.noreply.github.com> Date: Mon, 1 May 2023 16:41:21 +0200 Subject: [PATCH] Upgrade to version 1.0.0 of the language server (#6953) --- .changeset/tidy-points-do.md | 5 +++ package.json | 2 +- packages/astro/package.json | 4 +-- pnpm-lock.yaml | 61 ++++++++++++++---------------------- 4 files changed, 32 insertions(+), 40 deletions(-) create mode 100644 .changeset/tidy-points-do.md diff --git a/.changeset/tidy-points-do.md b/.changeset/tidy-points-do.md new file mode 100644 index 000000000..87f483cf4 --- /dev/null +++ b/.changeset/tidy-points-do.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Update `astro check` to use version 1.0.0 of the Astro language server diff --git a/package.json b/package.json index fabf01b44..2ce081cdc 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "eslint-plugin-prettier": "^4.2.1", "only-allow": "^1.1.1", "organize-imports-cli": "^0.10.0", - "prettier": "^2.8.7", + "prettier": "^2.8.8", "prettier-plugin-astro": "^0.8.0", "tiny-glob": "^0.2.9", "turbo": "^1.9.3", diff --git a/packages/astro/package.json b/packages/astro/package.json index 0c1cc0e32..2ecd564f9 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -106,8 +106,8 @@ "test:e2e:match": "playwright test -g" }, "dependencies": { - "@astrojs/compiler": "^1.3.1", - "@astrojs/language-server": "^0.28.3", + "@astrojs/compiler": "^1.3.2", + "@astrojs/language-server": "^1.0.0", "@astrojs/markdown-remark": "^2.1.4", "@astrojs/telemetry": "^2.1.0", "@astrojs/webapi": "^2.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 55576bdb1..d766afcdd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -50,7 +50,7 @@ importers: version: 2.6.0 eslint-plugin-prettier: specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.8.0)(eslint@8.38.0)(prettier@2.8.7) + version: 4.2.1(eslint-config-prettier@8.8.0)(eslint@8.38.0)(prettier@2.8.8) only-allow: specifier: ^1.1.1 version: 1.1.1 @@ -58,8 +58,8 @@ importers: specifier: ^0.10.0 version: 0.10.0 prettier: - specifier: ^2.8.7 - version: 2.8.7 + specifier: ^2.8.8 + version: 2.8.8 prettier-plugin-astro: specifier: ^0.8.0 version: 0.8.0 @@ -529,11 +529,11 @@ importers: packages/astro: dependencies: '@astrojs/compiler': - specifier: ^1.3.1 - version: 1.3.1 + specifier: ^1.3.2 + version: 1.3.2 '@astrojs/language-server': - specifier: ^0.28.3 - version: 0.28.3 + specifier: ^1.0.0 + version: 1.0.0 '@astrojs/markdown-remark': specifier: ^2.1.4 version: link:../markdown/remark @@ -5329,22 +5329,20 @@ packages: sisteransi: 1.0.5 dev: false - /@astrojs/compiler@0.31.4: - resolution: {integrity: sha512-6bBFeDTtPOn4jZaiD3p0f05MEGQL9pw2Zbfj546oFETNmjJFWO3nzHz6/m+P53calknCvyVzZ5YhoBLIvzn5iw==} - dev: false + /@astrojs/compiler@1.3.2: + resolution: {integrity: sha512-W/2Mdsq75ruK31dPVlXLdvAoknYDcm6+zXiFToSzQWI7wZqqR+51XTFgx90ojYbefk7z4VOJSVtZBz2pA82F5A==} - /@astrojs/compiler@1.3.1: - resolution: {integrity: sha512-xV/3r+Hrfpr4ECfJjRjeaMkJvU73KiOADowHjhkqidfNPVAWPzbqw1KePXuMK1TjzMvoAVE7E163oqfH3lDwSw==} - - /@astrojs/language-server@0.28.3: - resolution: {integrity: sha512-fPovAX/X46eE2w03jNRMpQ7W9m2mAvNt4Ay65lD9wl1Z5vIQYxlg7Enp9qP225muTr4jSVB5QiLumFJmZMAaVA==} + /@astrojs/language-server@1.0.0: + resolution: {integrity: sha512-oEw7AwJmzjgy6HC9f5IdrphZ1GVgfV/+7xQuyf52cpTiRWd/tJISK3MsKP0cDkVlfodmNABNFnAaAWuLZEiiiA==} hasBin: true dependencies: + '@astrojs/compiler': 1.3.2 + '@jridgewell/trace-mapping': 0.3.18 '@vscode/emmet-helper': 2.8.6 events: 3.3.0 - prettier: 2.8.7 - prettier-plugin-astro: 0.7.2 - source-map: 0.7.4 + prettier: 2.8.8 + prettier-plugin-astro: 0.8.0 + synckit: 0.8.5 vscode-css-languageservice: 6.2.4 vscode-html-languageservice: 5.0.4 vscode-languageserver: 8.1.0 @@ -6911,7 +6909,7 @@ packages: fs-extra: 7.0.1 lodash.startcase: 4.4.0 outdent: 0.5.0 - prettier: 2.8.7 + prettier: 2.8.8 resolve-from: 5.0.0 semver: 5.7.1 dev: true @@ -7099,7 +7097,7 @@ packages: '@changesets/types': 5.2.1 fs-extra: 7.0.1 human-id: 1.0.2 - prettier: 2.8.7 + prettier: 2.8.8 dev: true /@cloudflare/kv-asset-handler@0.2.0: @@ -11322,7 +11320,7 @@ packages: engines: {node: '>=4.0.0'} dev: true - /eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.8.0)(eslint@8.38.0)(prettier@2.8.7): + /eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.8.0)(eslint@8.38.0)(prettier@2.8.8): resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==} engines: {node: '>=12.0.0'} peerDependencies: @@ -11335,7 +11333,7 @@ packages: dependencies: eslint: 8.38.0 eslint-config-prettier: 8.8.0(eslint@8.38.0) - prettier: 2.8.7 + prettier: 2.8.8 prettier-linter-helpers: 1.0.0 dev: true @@ -15144,28 +15142,17 @@ packages: fast-diff: 1.2.0 dev: true - /prettier-plugin-astro@0.7.2: - resolution: {integrity: sha512-mmifnkG160BtC727gqoimoxnZT/dwr8ASxpoGGl6EHevhfblSOeu+pwH1LAm5Qu1MynizktztFujHHaijLCkww==} - engines: {node: ^14.15.0 || >=16.0.0, pnpm: '>=7.14.0'} - dependencies: - '@astrojs/compiler': 0.31.4 - prettier: 2.8.7 - sass-formatter: 0.7.6 - synckit: 0.8.5 - dev: false - /prettier-plugin-astro@0.8.0: resolution: {integrity: sha512-kt9wk33J7HvFGwFaHb8piwy4zbUmabC8Nu+qCw493jhe96YkpjscqGBPy4nJ9TPy9pd7+kEx1zM81rp+MIdrXg==} engines: {node: ^14.15.0 || >=16.0.0, pnpm: '>=7.14.0'} dependencies: - '@astrojs/compiler': 1.3.1 - prettier: 2.8.7 + '@astrojs/compiler': 1.3.2 + prettier: 2.8.8 sass-formatter: 0.7.6 synckit: 0.8.5 - dev: true - /prettier@2.8.7: - resolution: {integrity: sha512-yPngTo3aXUUmyuTjeTUT75txrf+aMh9FiD7q9ZE/i6r0bPb22g4FsE6Y338PQX1bmfy08i9QQCB7/rcUAVntfw==} + /prettier@2.8.8: + resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} engines: {node: '>=10.13.0'} hasBin: true