@vscode/tree-sitter-wasm 0.0.4 → 0.1.0
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/README.md +1 -1
- package/cgmanifest.json +1 -1
- package/package.json +10 -2
- package/wasm/tree-sitter-c-sharp.wasm +0 -0
- package/wasm/tree-sitter-cpp.wasm +0 -0
- package/wasm/tree-sitter-go.wasm +0 -0
- package/wasm/tree-sitter-java.wasm +0 -0
- package/wasm/tree-sitter-javascript.wasm +0 -0
- package/wasm/tree-sitter-python.wasm +0 -0
- package/wasm/tree-sitter-ruby.wasm +0 -0
- package/wasm/tree-sitter-rust.wasm +0 -0
- package/wasm/tree-sitter-tsx.wasm +0 -0
- package/wasm/tree-sitter.js +3993 -3197
- package/wasm/tree-sitter.wasm +0 -0
- package/wasm/web-tree-sitter.d.ts +1027 -0
- package/wasm/tree-sitter-web.d.ts +0 -241
package/README.md
CHANGED
@@ -18,7 +18,7 @@ contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additio
|
|
18
18
|
|
19
19
|
### Build steps
|
20
20
|
|
21
|
-
> Note: If you're using Windows, you'll need to use WSL.
|
21
|
+
> Note: If you're using Windows, you'll need to use WSL. Ensure Docker integration for WSL is enabled before attempting to build. Without this integration, the build process may encounter errors.
|
22
22
|
|
23
23
|
First, install all of the dependencies using `npm install`. You will also need to install [emscripten](https://emscripten.org/docs/getting_started/downloads.html).
|
24
24
|
|
package/cgmanifest.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vscode/tree-sitter-wasm",
|
3
|
-
"version": "0.0
|
3
|
+
"version": "0.1.0",
|
4
4
|
"description": "Pre-built WASM files for Tree-Sitter and Tree-Sitter languages that VS Code uses",
|
5
5
|
"scripts": {
|
6
6
|
"build-wasm": "ts-node ./build/main.ts",
|
@@ -16,11 +16,19 @@
|
|
16
16
|
"cgmanifest.json"
|
17
17
|
],
|
18
18
|
"main": "wasm/tree-sitter.js",
|
19
|
-
"types": "wasm/tree-sitter
|
19
|
+
"types": "wasm/web-tree-sitter.d.ts",
|
20
20
|
"devDependencies": {
|
21
21
|
"@types/node": "^20.14.6",
|
22
|
+
"tree-sitter-c-sharp": "^0.23.0",
|
22
23
|
"tree-sitter-cli": "^0.23.0",
|
24
|
+
"tree-sitter-cpp": "^0.23.1",
|
25
|
+
"tree-sitter-go": "^0.23.1",
|
26
|
+
"tree-sitter-java": "^0.23.2",
|
27
|
+
"tree-sitter-javascript": "^0.23.0",
|
28
|
+
"tree-sitter-python": "^0.23.2",
|
23
29
|
"tree-sitter-regex": "^0.23.0",
|
30
|
+
"tree-sitter-ruby": "^0.23.0",
|
31
|
+
"tree-sitter-rust": "^0.23.0",
|
24
32
|
"tree-sitter-typescript": "^0.23.0",
|
25
33
|
"ts-node": "^10.9.2"
|
26
34
|
},
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|