Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit 8fda35f

Browse files
committed
feat(web-tree-sitter): create package
This will allow easier management of the tree-sitter-ruby WASM file
1 parent 2f5887c commit 8fda35f

File tree

5 files changed

+35
-1
lines changed

5 files changed

+35
-1
lines changed

packages/web-tree-sitter-ruby/README.md

Whitespace-only changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
declare const _default: string;
2+
export default _default;
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
"use strict";
2+
Object.defineProperty(exports, "__esModule", { value: true });
3+
const path = require('path');
4+
exports.default = path.resolve(__dirname, 'tree-sitter-ruby.wasm');
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "web-tree-sitter-ruby",
3+
"version": "0.17.0",
4+
"description": "Tree-sitter bindings for the web",
5+
"main": "index.js",
6+
"types": "index.d.ts",
7+
"repository": {
8+
"type": "git",
9+
"url": "git+https://github.com/rubyide/vscode-ruby"
10+
},
11+
"scripts": {
12+
"build": "tree-sitter build-wasm ../../node_modules/tree-sitter-ruby"
13+
},
14+
"keywords": [
15+
"incremental",
16+
"parsing"
17+
],
18+
"author": "Stafford Brunk <[email protected]>",
19+
"license": "MIT",
20+
"bugs": {
21+
"url": "https://github.com/rubyide/vscode-ruby/issues"
22+
},
23+
"homepage": "https://github.com/rubyide/vscode-ruby",
24+
"devDependencies": {
25+
"tree-sitter-cli": "^0.17.3",
26+
"tree-sitter-ruby": "0.17.0"
27+
}
28+
}

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10365,7 +10365,7 @@ tree-sitter-cli@^0.17.3:
1036510365
resolved "https://registry.yarnpkg.com/tree-sitter-cli/-/tree-sitter-cli-0.17.3.tgz#ea03ee93216b0cf3187503d8a4dbff15df4dfc0a"
1036610366
integrity sha512-AsQhjwRwWK5wtymwVc2H5E8/Q7yzMebSj7CQyeSg50k4h7m8HHwao1i/eKlh8aGTJ3IWbGjSwBAUZTSbzcSW6Q==
1036710367

10368-
tree-sitter-ruby@^0.17.0:
10368+
tree-sitter-ruby@0.17.0, tree-sitter-ruby@^0.17.0:
1036910369
version "0.17.0"
1037010370
resolved "https://registry.yarnpkg.com/tree-sitter-ruby/-/tree-sitter-ruby-0.17.0.tgz#3da62b5cfdfe62ac2e0e2e04ca7220161e40cea6"
1037110371
integrity sha512-Hpjnp7vfRjRsULeYWtDcwR6nb/lPeQfaY2jo9V3npUiaSlqYFJxlC5d45FfZ60aHxv74CI3ziocs9kMfjPS2oQ==

0 commit comments

Comments
 (0)