@kerebron/wasm 0.4.31 → 0.5.1

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 CHANGED
@@ -26,9 +26,17 @@ number of output npm modules.
26
26
 
27
27
  **Work in progress**
28
28
 
29
-
30
29
  ## Build
31
30
 
31
+ ###
32
+
33
+ Update git submodules
34
+
35
+ ```sh
36
+ git submodule init
37
+ git submodule update
38
+ ```
39
+
32
40
  ### Build static examples and `.wasm` files
33
41
 
34
42
  ```sh
@@ -72,12 +80,12 @@ docker run -it -p 8000:8000 -v $PWD:/usr/src/app editor-test
72
80
 
73
81
  Install deno
74
82
 
75
- ```
83
+ ```sh
76
84
  npm install -g deno
77
85
  ```
78
86
 
79
87
  Install rust
80
88
 
81
- ```
89
+ ```sh
82
90
  curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
83
91
  ```
@@ -1,4 +1,4 @@
1
- ;; From nvim-treesitter/nvim-treesitter
1
+ ; From nvim-treesitter/nvim-treesitter
2
2
  [
3
3
  (code_span)
4
4
  (link_title)
@@ -29,9 +29,28 @@
29
29
  (hard_line_break)
30
30
  ] @string.escape
31
31
 
32
- (image ["!" "[" "]" "(" ")"] @punctuation.delimiter)
33
- (inline_link ["[" "]" "(" ")"] @punctuation.delimiter)
34
- (shortcut_link ["[" "]"] @punctuation.delimiter)
32
+ (image
33
+ [
34
+ "!"
35
+ "["
36
+ "]"
37
+ "("
38
+ ")"
39
+ ] @punctuation.delimiter)
40
+
41
+ (inline_link
42
+ [
43
+ "["
44
+ "]"
45
+ "("
46
+ ")"
47
+ ] @punctuation.delimiter)
48
+
49
+ (shortcut_link
50
+ [
51
+ "["
52
+ "]"
53
+ ] @punctuation.delimiter)
35
54
 
36
55
  ; NOTE: extension not enabled by default
37
56
  ; (wiki_link ["[" "|" "]"] @punctuation.delimiter)
@@ -1,6 +1,9 @@
1
1
  ;From nvim-treesitter/nvim-treesitter
2
- (atx_heading (inline) @text.title)
3
- (setext_heading (paragraph) @text.title)
2
+ (atx_heading
3
+ (inline) @text.title)
4
+
5
+ (setext_heading
6
+ (paragraph) @text.title)
4
7
 
5
8
  [
6
9
  (atx_h1_marker)
@@ -19,19 +22,13 @@
19
22
  (fenced_code_block)
20
23
  ] @text.literal
21
24
 
22
- [
23
- (fenced_code_block_delimiter)
24
- ] @punctuation.delimiter
25
+ (fenced_code_block_delimiter) @punctuation.delimiter
25
26
 
26
27
  (code_fence_content) @none
27
28
 
28
- [
29
- (link_destination)
30
- ] @text.uri
29
+ (link_destination) @text.uri
31
30
 
32
- [
33
- (link_label)
34
- ] @text.reference
31
+ (link_label) @text.reference
35
32
 
36
33
  [
37
34
  (list_marker_plus)
@@ -47,6 +44,4 @@
47
44
  (block_quote_marker)
48
45
  ] @punctuation.special
49
46
 
50
- [
51
- (backslash_escape)
52
- ] @string.escape
47
+ (backslash_escape) @string.escape
@@ -1,2 +1,5 @@
1
- ((html_tag) @injection.content (#set! injection.language "html"))
2
- ((latex_block) @injection.content (#set! injection.language "latex"))
1
+ ((html_tag) @injection.content
2
+ (#set! injection.language "html"))
3
+
4
+ ((latex_block) @injection.content
5
+ (#set! injection.language "latex"))
@@ -3,12 +3,23 @@
3
3
  (language) @injection.language)
4
4
  (code_fence_content) @injection.content)
5
5
 
6
- ((html_block) @injection.content (#set! injection.language "html"))
6
+ ((html_block) @injection.content
7
+ (#set! injection.language "html"))
7
8
 
8
- (document . (section . (thematic_break) (_) @injection.content (thematic_break)) (#set! injection.language "yaml"))
9
+ (document
10
+ .
11
+ (section
12
+ .
13
+ (thematic_break)
14
+ (_) @injection.content
15
+ (thematic_break))
16
+ (#set! injection.language "yaml"))
9
17
 
10
- ((minus_metadata) @injection.content (#set! injection.language "yaml"))
18
+ ((minus_metadata) @injection.content
19
+ (#set! injection.language "yaml"))
11
20
 
12
- ((plus_metadata) @injection.content (#set! injection.language "toml"))
21
+ ((plus_metadata) @injection.content
22
+ (#set! injection.language "toml"))
13
23
 
14
- ((inline) @injection.content (#set! injection.language "markdown_inline"))
24
+ ((inline) @injection.content
25
+ (#set! injection.language "markdown_inline"))
@@ -1,15 +1,20 @@
1
1
  {
2
- "version": "v0.5.1",
2
+ "version": "v0.5.2",
3
3
  "assets": [
4
+ {
5
+ "name": "tree-sitter-markdown.tar.gz",
6
+ "url": "https://github.com/tree-sitter-grammars/tree-sitter-markdown/releases/download/v0.5.2/tree-sitter-markdown.tar.gz",
7
+ "size": 419868
8
+ },
4
9
  {
5
10
  "name": "tree-sitter-markdown.wasm",
6
- "url": "https://github.com/tree-sitter-grammars/tree-sitter-markdown/releases/download/v0.5.1/tree-sitter-markdown.wasm",
7
- "size": 421534
11
+ "url": "https://github.com/tree-sitter-grammars/tree-sitter-markdown/releases/download/v0.5.2/tree-sitter-markdown.wasm",
12
+ "size": 421585
8
13
  },
9
14
  {
10
15
  "name": "tree-sitter-markdown_inline.wasm",
11
- "url": "https://github.com/tree-sitter-grammars/tree-sitter-markdown/releases/download/v0.5.1/tree-sitter-markdown_inline.wasm",
12
- "size": 426020
16
+ "url": "https://github.com/tree-sitter-grammars/tree-sitter-markdown/releases/download/v0.5.2/tree-sitter-markdown_inline.wasm",
17
+ "size": 426117
13
18
  }
14
19
  ]
15
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kerebron/wasm",
3
- "version": "0.4.31",
3
+ "version": "0.5.1",
4
4
  "description": "Mirror of https://github.com/tree-sitter-grammars and other wasm files",
5
5
  "license": "MIT",
6
6
  "module": "./esm/mod.js",