@zenithbuild/language 0.6.0 → 0.6.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/package.json +166 -166
package/package.json
CHANGED
|
@@ -1,174 +1,174 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
"name": "@zenithbuild/language",
|
|
3
|
+
"displayName": "Zenith Language Support",
|
|
4
|
+
"description": "Syntax highlighting, IntelliSense, and editor support for Zenith Framework (.zen files)",
|
|
5
|
+
"version": "0.6.1",
|
|
6
|
+
"publisher": "ZenithBuild",
|
|
7
|
+
"engines": {
|
|
8
|
+
"vscode": "^1.80.0"
|
|
9
|
+
},
|
|
10
|
+
"main": "./out/extension.js",
|
|
11
|
+
"activationEvents": [
|
|
12
|
+
"onLanguage:zenith",
|
|
13
|
+
"onCommand:zenith.runContractPack",
|
|
14
|
+
"onCommand:zenith.runLegacyTests",
|
|
15
|
+
"onCommand:zenith.build",
|
|
16
|
+
"onCommand:zenith.restartServer"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"test": "node --test test/grammar-snippets.spec.js",
|
|
20
|
+
"build:server": "cd ../zenith-language-server && bun run build",
|
|
21
|
+
"compile": "bun x esbuild src/extension.ts --bundle --outfile=out/extension.js --external:vscode --external:vscode-languageclient/node --format=cjs --platform=node && cp ../zenith-language-server/dist/server.js out/server.js",
|
|
22
|
+
"watch": "bun run compile -- --watch",
|
|
23
|
+
"build:markplace": "bun run build:marketplace",
|
|
24
|
+
"build:marketplace": "bun run build:server && bun run compile && node scripts/build.js marketplace",
|
|
25
|
+
"build:openvsx": "bun run build:server && bun run compile && node scripts/build.js openvsx",
|
|
26
|
+
"build:all": "bun run build:server && bun run compile && node scripts/build.js all",
|
|
27
|
+
"release": "bun run scripts/release.ts",
|
|
28
|
+
"release:dry": "bun run scripts/release.ts --dry-run",
|
|
29
|
+
"release:patch": "bun run scripts/release.ts --bump=patch",
|
|
30
|
+
"release:minor": "bun run scripts/release.ts --bump=minor",
|
|
31
|
+
"release:major": "bun run scripts/release.ts --bump=major",
|
|
32
|
+
"build": "tsc"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@types/node": "^20.0.0",
|
|
36
|
+
"@types/vscode": "^1.80.0",
|
|
37
|
+
"esbuild": "^0.19.0",
|
|
38
|
+
"typescript": "^5.0.0"
|
|
39
|
+
},
|
|
40
|
+
"categories": [
|
|
41
|
+
"Programming Languages"
|
|
42
|
+
],
|
|
43
|
+
"icon": "assets/logo.png",
|
|
44
|
+
"keywords": [
|
|
45
|
+
"zenith",
|
|
46
|
+
"zen",
|
|
47
|
+
"syntax",
|
|
48
|
+
"highlighting",
|
|
49
|
+
"intellisense",
|
|
50
|
+
"framework"
|
|
51
|
+
],
|
|
52
|
+
"contributes": {
|
|
53
|
+
"languages": [
|
|
54
|
+
{
|
|
55
|
+
"id": "zenith",
|
|
56
|
+
"aliases": [
|
|
57
|
+
"Zenith",
|
|
58
|
+
"zenith"
|
|
59
|
+
],
|
|
60
|
+
"extensions": [
|
|
61
|
+
".zen",
|
|
62
|
+
".zen.html",
|
|
63
|
+
".zenx"
|
|
64
|
+
],
|
|
65
|
+
"configuration": "./language-configuration.json"
|
|
66
|
+
}
|
|
17
67
|
],
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
"build:markplace": "bun run build:marketplace",
|
|
24
|
-
"build:marketplace": "bun run build:server && bun run compile && node scripts/build.js marketplace",
|
|
25
|
-
"build:openvsx": "bun run build:server && bun run compile && node scripts/build.js openvsx",
|
|
26
|
-
"build:all": "bun run build:server && bun run compile && node scripts/build.js all",
|
|
27
|
-
"release": "bun run scripts/release.ts",
|
|
28
|
-
"release:dry": "bun run scripts/release.ts --dry-run",
|
|
29
|
-
"release:patch": "bun run scripts/release.ts --bump=patch",
|
|
30
|
-
"release:minor": "bun run scripts/release.ts --bump=minor",
|
|
31
|
-
"release:major": "bun run scripts/release.ts --bump=major",
|
|
32
|
-
"build": "tsc"
|
|
33
|
-
},
|
|
34
|
-
"devDependencies": {
|
|
35
|
-
"@types/node": "^20.0.0",
|
|
36
|
-
"@types/vscode": "^1.80.0",
|
|
37
|
-
"esbuild": "^0.19.0",
|
|
38
|
-
"typescript": "^5.0.0"
|
|
39
|
-
},
|
|
40
|
-
"categories": [
|
|
41
|
-
"Programming Languages"
|
|
68
|
+
"snippets": [
|
|
69
|
+
{
|
|
70
|
+
"language": "zenith",
|
|
71
|
+
"path": "./snippets/zenith.code-snippets"
|
|
72
|
+
}
|
|
42
73
|
],
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
"zenith",
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
74
|
+
"grammars": [
|
|
75
|
+
{
|
|
76
|
+
"language": "zenith",
|
|
77
|
+
"scopeName": "text.html.zenith",
|
|
78
|
+
"path": "./syntaxes/zenith.tmLanguage.json",
|
|
79
|
+
"embeddedLanguages": {
|
|
80
|
+
"source.js": "javascript",
|
|
81
|
+
"source.ts": "typescript",
|
|
82
|
+
"source.ts.embedded.zenith": "typescript",
|
|
83
|
+
"source.css": "css",
|
|
84
|
+
"text.html.basic": "html",
|
|
85
|
+
"meta.embedded.block.javascript": "javascript",
|
|
86
|
+
"meta.embedded.block.typescript": "typescript",
|
|
87
|
+
"meta.embedded.block.css": "css"
|
|
88
|
+
}
|
|
89
|
+
}
|
|
51
90
|
],
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
".zen.html",
|
|
63
|
-
".zenx"
|
|
64
|
-
],
|
|
65
|
-
"configuration": "./language-configuration.json"
|
|
66
|
-
}
|
|
67
|
-
],
|
|
68
|
-
"snippets": [
|
|
69
|
-
{
|
|
70
|
-
"language": "zenith",
|
|
71
|
-
"path": "./snippets/zenith.code-snippets"
|
|
72
|
-
}
|
|
73
|
-
],
|
|
74
|
-
"grammars": [
|
|
75
|
-
{
|
|
76
|
-
"language": "zenith",
|
|
77
|
-
"scopeName": "text.html.zenith",
|
|
78
|
-
"path": "./syntaxes/zenith.tmLanguage.json",
|
|
79
|
-
"embeddedLanguages": {
|
|
80
|
-
"source.js": "javascript",
|
|
81
|
-
"source.ts": "typescript",
|
|
82
|
-
"source.ts.embedded.zenith": "typescript",
|
|
83
|
-
"source.css": "css",
|
|
84
|
-
"text.html.basic": "html",
|
|
85
|
-
"meta.embedded.block.javascript": "javascript",
|
|
86
|
-
"meta.embedded.block.typescript": "typescript",
|
|
87
|
-
"meta.embedded.block.css": "css"
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
],
|
|
91
|
-
"configurationDefaults": {
|
|
92
|
-
"[zenith]": {
|
|
93
|
-
"editor.formatOnSave": true,
|
|
94
|
-
"editor.wordBasedSuggestions": "off",
|
|
95
|
-
"editor.suggest.insertMode": "replace",
|
|
96
|
-
"editor.semanticHighlighting.enabled": true,
|
|
97
|
-
"editor.quickSuggestions": {
|
|
98
|
-
"other": true,
|
|
99
|
-
"comments": false,
|
|
100
|
-
"strings": true
|
|
101
|
-
},
|
|
102
|
-
"editor.autoClosingBrackets": "always"
|
|
103
|
-
},
|
|
104
|
-
"emmet.includeLanguages": {
|
|
105
|
-
"zenith": "html"
|
|
106
|
-
},
|
|
107
|
-
"emmet.syntaxProfiles": {
|
|
108
|
-
"zenith": "html"
|
|
109
|
-
}
|
|
91
|
+
"configurationDefaults": {
|
|
92
|
+
"[zenith]": {
|
|
93
|
+
"editor.formatOnSave": true,
|
|
94
|
+
"editor.wordBasedSuggestions": "off",
|
|
95
|
+
"editor.suggest.insertMode": "replace",
|
|
96
|
+
"editor.semanticHighlighting.enabled": true,
|
|
97
|
+
"editor.quickSuggestions": {
|
|
98
|
+
"other": true,
|
|
99
|
+
"comments": false,
|
|
100
|
+
"strings": true
|
|
110
101
|
},
|
|
111
|
-
"
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
"title": "Zenith: Run Legacy Tests",
|
|
120
|
-
"category": "Zenith"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"command": "zenith.build",
|
|
124
|
-
"title": "Zenith: Build",
|
|
125
|
-
"category": "Zenith"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"command": "zenith.restartServer",
|
|
129
|
-
"title": "Zenith: Restart Server",
|
|
130
|
-
"category": "Zenith"
|
|
131
|
-
}
|
|
132
|
-
],
|
|
133
|
-
"configuration": {
|
|
134
|
-
"type": "object",
|
|
135
|
-
"title": "Zenith",
|
|
136
|
-
"properties": {
|
|
137
|
-
"zenith.componentScripts": {
|
|
138
|
-
"type": "string",
|
|
139
|
-
"enum": [
|
|
140
|
-
"forbid",
|
|
141
|
-
"allow"
|
|
142
|
-
],
|
|
143
|
-
"default": "forbid",
|
|
144
|
-
"description": "Component script contract mode. 'forbid' enforces structural-only components; 'allow' disables this diagnostic."
|
|
145
|
-
},
|
|
146
|
-
"zenith.strictDomLints": {
|
|
147
|
-
"type": "boolean",
|
|
148
|
-
"default": false,
|
|
149
|
-
"description": "When true, ZEN-DOM-* lints (querySelector, addEventListener, etc.) are reported as errors instead of warnings."
|
|
150
|
-
},
|
|
151
|
-
"zenith.languageServer.path": {
|
|
152
|
-
"type": "string",
|
|
153
|
-
"default": "",
|
|
154
|
-
"description": "Optional absolute or workspace-relative path to a custom Zenith language server entry file."
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
"repository": {
|
|
160
|
-
"type": "git",
|
|
161
|
-
"url": "https://github.com/zenithbuild/zenith"
|
|
162
|
-
},
|
|
163
|
-
"homepage": "https://github.com/zenithbuild/zenith#readme",
|
|
164
|
-
"bugs": {
|
|
165
|
-
"url": "https://github.com/zenithbuild/zenith/issues"
|
|
166
|
-
},
|
|
167
|
-
"publishConfig": {
|
|
168
|
-
"access": "public"
|
|
102
|
+
"editor.autoClosingBrackets": "always"
|
|
103
|
+
},
|
|
104
|
+
"emmet.includeLanguages": {
|
|
105
|
+
"zenith": "html"
|
|
106
|
+
},
|
|
107
|
+
"emmet.syntaxProfiles": {
|
|
108
|
+
"zenith": "html"
|
|
109
|
+
}
|
|
169
110
|
},
|
|
170
|
-
"
|
|
171
|
-
|
|
172
|
-
"
|
|
111
|
+
"commands": [
|
|
112
|
+
{
|
|
113
|
+
"command": "zenith.runContractPack",
|
|
114
|
+
"title": "Zenith: Run Contract Pack",
|
|
115
|
+
"category": "Zenith"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"command": "zenith.runLegacyTests",
|
|
119
|
+
"title": "Zenith: Run Legacy Tests",
|
|
120
|
+
"category": "Zenith"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"command": "zenith.build",
|
|
124
|
+
"title": "Zenith: Build",
|
|
125
|
+
"category": "Zenith"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"command": "zenith.restartServer",
|
|
129
|
+
"title": "Zenith: Restart Server",
|
|
130
|
+
"category": "Zenith"
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"configuration": {
|
|
134
|
+
"type": "object",
|
|
135
|
+
"title": "Zenith",
|
|
136
|
+
"properties": {
|
|
137
|
+
"zenith.componentScripts": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"enum": [
|
|
140
|
+
"forbid",
|
|
141
|
+
"allow"
|
|
142
|
+
],
|
|
143
|
+
"default": "forbid",
|
|
144
|
+
"description": "Component script contract mode. 'forbid' enforces structural-only components; 'allow' disables this diagnostic."
|
|
145
|
+
},
|
|
146
|
+
"zenith.strictDomLints": {
|
|
147
|
+
"type": "boolean",
|
|
148
|
+
"default": false,
|
|
149
|
+
"description": "When true, ZEN-DOM-* lints (querySelector, addEventListener, etc.) are reported as errors instead of warnings."
|
|
150
|
+
},
|
|
151
|
+
"zenith.languageServer.path": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"default": "",
|
|
154
|
+
"description": "Optional absolute or workspace-relative path to a custom Zenith language server entry file."
|
|
155
|
+
}
|
|
156
|
+
}
|
|
173
157
|
}
|
|
158
|
+
},
|
|
159
|
+
"repository": {
|
|
160
|
+
"type": "git",
|
|
161
|
+
"url": "https://github.com/zenithbuild/zenith"
|
|
162
|
+
},
|
|
163
|
+
"homepage": "https://github.com/zenithbuild/zenith#readme",
|
|
164
|
+
"bugs": {
|
|
165
|
+
"url": "https://github.com/zenithbuild/zenith/issues"
|
|
166
|
+
},
|
|
167
|
+
"publishConfig": {
|
|
168
|
+
"access": "public"
|
|
169
|
+
},
|
|
170
|
+
"license": "MIT",
|
|
171
|
+
"dependencies": {
|
|
172
|
+
"vscode-languageclient": "^9.0.1"
|
|
173
|
+
}
|
|
174
174
|
}
|