@astrojs/language-server 0.8.6 → 0.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @astrojs/language-server
2
2
 
3
+ ## 0.8.7
4
+
5
+ ### Patch Changes
6
+
7
+ - 897ab35: Provide vite client types to Astro files
8
+
3
9
  ## 0.8.6
4
10
 
5
11
  ### Patch Changes
@@ -147,6 +147,8 @@ function getDefaultJsConfig() {
147
147
  maxNodeModuleJsDepth: 2,
148
148
  allowSyntheticDefaultImports: true,
149
149
  allowJs: true,
150
+ // By providing vite/client here, our users get proper typing on import.meta in .astro files
151
+ types: ['vite/client']
150
152
  };
151
153
  return {
152
154
  compilerOptions,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrojs/language-server",
3
- "version": "0.8.6",
3
+ "version": "0.8.7",
4
4
  "author": "Skypack",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",
@@ -23,7 +23,7 @@
23
23
  "lodash": "^4.17.21",
24
24
  "source-map": "^0.7.3",
25
25
  "ts-morph": "^12.0.0",
26
- "typescript": "^4.5.2",
26
+ "typescript": "^4.5.4",
27
27
  "vscode-css-languageservice": "^5.1.1",
28
28
  "vscode-emmet-helper": "2.1.2",
29
29
  "vscode-html-languageservice": "^3.0.3",