astro-vscode 2.6.1 → 2.6.3
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/dist/node/server.js +102 -102
- package/dist/types/astro-jsx.d.ts +1497 -0
- package/dist/types/env.d.ts +22 -0
- package/dist/types/jsx-runtime-augment.d.ts +5 -0
- package/dist/types/jsx-runtime-fallback.d.ts +5 -0
- package/package.json +3 -2
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Astro global available in all contexts in .astro files
|
|
3
|
+
*
|
|
4
|
+
* [Astro documentation](https://docs.astro.build/reference/api-reference/#astro-global)
|
|
5
|
+
*/
|
|
6
|
+
declare const Astro: any;
|
|
7
|
+
declare const Fragment: any;
|
|
8
|
+
|
|
9
|
+
declare module '*.md' {
|
|
10
|
+
const md: any;
|
|
11
|
+
export default md;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare module '*.mdx' {
|
|
15
|
+
const mdx: any;
|
|
16
|
+
export default mdx;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
declare module '*.html' {
|
|
20
|
+
const html: any;
|
|
21
|
+
export default html;
|
|
22
|
+
}
|
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"color": "#17191E",
|
|
25
25
|
"theme": "dark"
|
|
26
26
|
},
|
|
27
|
-
"version": "2.6.
|
|
27
|
+
"version": "2.6.3",
|
|
28
28
|
"author": "withastro",
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"publisher": "astro-build",
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
]
|
|
209
209
|
},
|
|
210
210
|
"devDependencies": {
|
|
211
|
-
"@astrojs/language-server": "^2.6.
|
|
211
|
+
"@astrojs/language-server": "^2.6.3",
|
|
212
212
|
"@astrojs/ts-plugin": "^1.4.0",
|
|
213
213
|
"@types/glob": "^8.1.0",
|
|
214
214
|
"@types/mocha": "^10.0.1",
|
|
@@ -219,6 +219,7 @@
|
|
|
219
219
|
"@vscode/test-electron": "^2.3.2",
|
|
220
220
|
"@vscode/vsce": "latest",
|
|
221
221
|
"esbuild": "^0.17.19",
|
|
222
|
+
"esbuild-plugin-copy": "^2.1.1",
|
|
222
223
|
"glob": "^8.0.3",
|
|
223
224
|
"js-yaml": "^4.1.0",
|
|
224
225
|
"kleur": "^4.1.5",
|