@tinta-lang/types 0.1.0-dev.0 → 0.1.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/README.md +11 -0
- package/dist/version.js +1 -1
- package/package.json +11 -2
package/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# @tinta-lang/types
|
|
2
|
+
|
|
3
|
+
Shared TypeScript types for tinta documents and the tools that read them. Use this package when building on the parser, engine or reader APIs and you need their source, diagnostic, document or session types.
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
import type { SourceInput, Result, Diagnostic } from "@tinta-lang/types";
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
It also provides explicit subpaths for UTF-8, assets, editor messages and version identifiers. This package does not parse or render documents.
|
|
10
|
+
|
|
11
|
+
See the [API contracts](https://github.com/planta7/tinta/blob/main/contracts/public-api.d.ts) and [project overview](https://github.com/planta7/tinta#readme).
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const implementationVersion = "0.1.
|
|
1
|
+
export const implementationVersion = "0.1.3";
|
package/package.json
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinta-lang/types",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"description": "Shared types and validation helpers for tinta documents and tools.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"tinta",
|
|
7
|
+
"typescript",
|
|
8
|
+
"types",
|
|
9
|
+
"documents"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://github.com/planta7/tinta/blob/main/packages/types/README.md",
|
|
4
12
|
"private": false,
|
|
5
13
|
"type": "module",
|
|
6
14
|
"license": "MIT",
|
|
@@ -9,7 +17,7 @@
|
|
|
9
17
|
},
|
|
10
18
|
"publishConfig": {
|
|
11
19
|
"access": "public",
|
|
12
|
-
"tag": "
|
|
20
|
+
"tag": "latest"
|
|
13
21
|
},
|
|
14
22
|
"exports": {
|
|
15
23
|
".": {
|
|
@@ -47,6 +55,7 @@
|
|
|
47
55
|
},
|
|
48
56
|
"files": [
|
|
49
57
|
"LICENSE",
|
|
58
|
+
"README.md",
|
|
50
59
|
"THIRD_PARTY_NOTICES.txt",
|
|
51
60
|
"dist/assets.d.ts",
|
|
52
61
|
"dist/assets.js",
|