@mmd-toolkit/ast 0.3.0 → 0.3.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.ja.md CHANGED
@@ -2,14 +2,18 @@
2
2
 
3
3
  英語版: [README.md](./README.md)
4
4
 
5
- [`@mmd-toolkit/parser`](../parser) が返す構文木の TypeScript の型です。
5
+ [`@mmd-toolkit/parser`](../parser) が返す、
6
+ [Mermaid](https://mermaid.js.org/) の図の構文木の TypeScript の型です。
6
7
  `Root`、`FlowchartVertex`、`Identifier` など、すべてのノードの型と、
7
8
  図種 id の合併型 `DiagramType` を持ちます。
8
9
  名前と欄は、仕様の [`ast.md`](../spec/docs/ast.ja.md) のものです。
9
10
 
10
11
  このパッケージは型だけを持ち、実行するコードはありません。
11
12
 
12
- mermaid-js とは関係のない、第三者のプロジェクトです。
13
+ [mermaid-js](https://mermaid.js.org/) とは関係のない、第三者のプロジェクトです。
14
+
15
+ 文書:
16
+ [パーサーの API](https://mmd-toolkit.github.io/mmd-toolkit/ja/parser/api.html)。
13
17
 
14
18
  ## 導入
15
19
 
package/README.md CHANGED
@@ -2,14 +2,19 @@
2
2
 
3
3
  Japanese version: [README.ja.md](./README.ja.md)
4
4
 
5
- The TypeScript types of the syntax tree that [`@mmd-toolkit/parser`](../parser)
6
- returns: a type for every node, such as `Root`, `FlowchartVertex`, and
7
- `Identifier`, and `DiagramType`, the union of the diagram type ids. The names
8
- and fields are those of the specification's [`ast.md`](../spec/docs/ast.md).
5
+ The TypeScript types of the syntax tree of a [Mermaid](https://mermaid.js.org/)
6
+ diagram that [`@mmd-toolkit/parser`](../parser) returns: a type for every node,
7
+ such as `Root`, `FlowchartVertex`, and `Identifier`, and `DiagramType`, the
8
+ union of the diagram type ids. The names and fields are those of the
9
+ specification's [`ast.md`](../spec/docs/ast.md).
9
10
 
10
11
  The package holds types only and no code that runs.
11
12
 
12
- It is a third-party project, not affiliated with mermaid-js.
13
+ It is a third-party project, not affiliated with
14
+ [mermaid-js](https://mermaid.js.org/).
15
+
16
+ Documentation:
17
+ [Parser API](https://mmd-toolkit.github.io/mmd-toolkit/parser/api.html).
13
18
 
14
19
  ## Installation
15
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mmd-toolkit/ast",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "TypeScript types of the abstract syntax tree of @mmd-toolkit/parser",
5
5
  "license": "MIT",
6
6
  "repository": {