@younndai/yon-textmate 0.1.0 → 0.1.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/CHANGELOG.md +22 -0
- package/LICENSE +1 -1
- package/NOTICE +23 -0
- package/README.md +42 -8
- package/TRADEMARK.md +64 -0
- package/dist/shiki.d.ts +1666 -1654
- package/dist/shiki.d.ts.map +1 -1
- package/dist/shiki.js +17 -3
- package/dist/shiki.js.map +1 -1
- package/package.json +45 -31
package/dist/shiki.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shiki.d.ts","sourceRoot":"","sources":["../src/shiki.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shiki.d.ts","sourceRoot":"","sources":["../src/shiki.ts"],"names":[],"mappings":"AAkBA;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIvB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/dist/shiki.js
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 MARLINK TRADING SRL (YounndAI)
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import grammar from '../syntaxes/yon.tmLanguage.json' with { type: 'json' };
|
|
2
17
|
/**
|
|
3
18
|
* YON language definition for Shiki.
|
|
@@ -16,9 +31,8 @@ import grammar from '../syntaxes/yon.tmLanguage.json' with { type: 'json' };
|
|
|
16
31
|
* ```
|
|
17
32
|
*/
|
|
18
33
|
export const yonLanguage = {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
grammar,
|
|
34
|
+
...grammar,
|
|
35
|
+
name: 'yon',
|
|
22
36
|
aliases: ['YON', 'younndai'],
|
|
23
37
|
};
|
|
24
38
|
export default yonLanguage;
|
package/dist/shiki.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shiki.js","sourceRoot":"","sources":["../src/shiki.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,iCAAiC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAE5E;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,
|
|
1
|
+
{"version":3,"file":"shiki.js","sourceRoot":"","sources":["../src/shiki.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,OAAO,MAAM,iCAAiC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAE5E;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,GAAG,OAAO;IACV,IAAI,EAAE,KAAK;IACX,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC;CAC7B,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,49 +1,63 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@younndai/yon-textmate",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
"description": "TextMate grammar and Shiki integration for YON™ syntax highlighting — editor support for the stream-first YON data format.",
|
|
4
|
+
"version": "0.1.1",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "MARLINK TRADING SRL (YounndAI)",
|
|
7
|
+
"url": "https://younndai.com"
|
|
8
|
+
},
|
|
9
|
+
"contributors": [
|
|
10
|
+
{
|
|
11
|
+
"name": "Alexandru Mareș",
|
|
12
|
+
"url": "https://allemaar.com"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"typescript": "^6.0.3",
|
|
17
|
+
"vscode-tmgrammar-test": "^0.1.3"
|
|
18
|
+
},
|
|
8
19
|
"exports": {
|
|
9
20
|
".": {
|
|
10
|
-
"
|
|
11
|
-
"
|
|
21
|
+
"types": "./dist/shiki.d.ts",
|
|
22
|
+
"import": "./dist/shiki.js"
|
|
12
23
|
},
|
|
13
24
|
"./syntaxes/yon.tmLanguage.json": "./syntaxes/yon.tmLanguage.json",
|
|
14
25
|
"./language-configuration.json": "./language-configuration.json"
|
|
15
26
|
},
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
|
|
27
|
+
"files": [
|
|
28
|
+
"dist",
|
|
29
|
+
"syntaxes",
|
|
30
|
+
"language-configuration.json",
|
|
31
|
+
"README.md",
|
|
32
|
+
"CHANGELOG.md",
|
|
33
|
+
"LICENSE",
|
|
34
|
+
"NOTICE",
|
|
35
|
+
"TRADEMARK.md"
|
|
36
|
+
],
|
|
37
|
+
"homepage": "https://yon.younndai.com",
|
|
20
38
|
"keywords": [
|
|
21
39
|
"yon",
|
|
22
|
-
"textmate",
|
|
23
|
-
"syntax",
|
|
24
|
-
"highlighting",
|
|
25
40
|
"younndai",
|
|
26
|
-
"
|
|
41
|
+
"textmate",
|
|
42
|
+
"textmate-grammar",
|
|
43
|
+
"shiki",
|
|
44
|
+
"syntax-highlighting",
|
|
45
|
+
"editor-support",
|
|
46
|
+
"data-format"
|
|
27
47
|
],
|
|
28
|
-
"author": "MARLINK TRADING SRL (YounndAI)",
|
|
29
48
|
"license": "Apache-2.0",
|
|
49
|
+
"main": "./dist/shiki.js",
|
|
50
|
+
"publishConfig": {
|
|
51
|
+
"access": "public"
|
|
52
|
+
},
|
|
30
53
|
"repository": {
|
|
31
54
|
"type": "git",
|
|
32
|
-
"url": "https://github.com/
|
|
55
|
+
"url": "https://github.com/YounndAI/yon-textmate.git"
|
|
33
56
|
},
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
"vscode-tmgrammar-test": "^0.1.3"
|
|
57
|
+
"scripts": {
|
|
58
|
+
"build": "tsc && node scripts/license-banner.mjs",
|
|
59
|
+
"test": "npx vscode-tmgrammar-test -g syntaxes/yon.tmLanguage.json tests/*.yon"
|
|
38
60
|
},
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
"syntaxes",
|
|
42
|
-
"language-configuration.json",
|
|
43
|
-
"README.md",
|
|
44
|
-
"LICENSE"
|
|
45
|
-
],
|
|
46
|
-
"publishConfig": {
|
|
47
|
-
"access": "public"
|
|
48
|
-
}
|
|
61
|
+
"type": "module",
|
|
62
|
+
"types": "./dist/shiki.d.ts"
|
|
49
63
|
}
|