release: WRNexusJS 0.3.0

This commit is contained in:
2026-07-22 17:29:08 +05:30
parent 13dfa31d19
commit 07d8fb59d6
145 changed files with 9664 additions and 3881 deletions
+208 -4
View File
@@ -82,6 +82,24 @@
{
"include": "#realtime-block"
},
{
"include": "#execution-decl"
},
{
"include": "#computed-block"
},
{
"include": "#effect-block"
},
{
"include": "#security-block"
},
{
"include": "#load-block"
},
{
"include": "#action-block"
},
{
"include": "#mode-block"
},
@@ -143,14 +161,24 @@
"types-block": {
"begin": "\\b(types)\\b\\s*(\\{)",
"beginCaptures": {
"1": { "name": "keyword.control.wrn" },
"2": { "name": "punctuation.definition.block.begin.wrn" }
"1": {
"name": "keyword.control.wrn"
},
"2": {
"name": "punctuation.definition.block.begin.wrn"
}
},
"end": "\\}",
"endCaptures": {
"0": { "name": "punctuation.definition.block.end.wrn" }
"0": {
"name": "punctuation.definition.block.end.wrn"
}
},
"patterns": [{ "include": "source.ts" }]
"patterns": [
{
"include": "source.ts"
}
]
},
"props-block": {
"begin": "\\b(props)\\b\\s*(\\{)",
@@ -757,6 +785,182 @@
]
}
]
},
"execution-decl": {
"begin": "\\b(runtime|hydrate|client)\\b\\s*(=)",
"beginCaptures": {
"1": {
"name": "keyword.control.wrn"
},
"2": {
"name": "keyword.operator.assignment.wrn"
}
},
"end": "$",
"patterns": [
{
"include": "#strings"
}
]
},
"computed-block": {
"begin": "\\b(computed)\\b\\s*(\\{)",
"beginCaptures": {
"1": {
"name": "keyword.control.wrn"
},
"2": {
"name": "punctuation.definition.block.begin.wrn"
}
},
"end": "\\}",
"endCaptures": {
"0": {
"name": "punctuation.definition.block.end.wrn"
}
},
"patterns": [
{
"include": "#comments"
},
{
"match": "\\b([A-Za-z_$][A-Za-z0-9_$]*)\\s*(=)",
"captures": {
"1": {
"name": "variable.other.readwrite.declaration.wrn"
},
"2": {
"name": "keyword.operator.assignment.wrn"
}
}
},
{
"include": "source.ts"
}
]
},
"effect-block": {
"begin": "\\b(effect)\\b\\s*(\\{)",
"beginCaptures": {
"1": {
"name": "keyword.control.wrn"
},
"2": {
"name": "punctuation.definition.block.begin.wrn"
}
},
"end": "\\}",
"endCaptures": {
"0": {
"name": "punctuation.definition.block.end.wrn"
}
},
"contentName": "meta.embedded.block.ts",
"patterns": [
{
"include": "#ts-braces"
},
{
"include": "source.ts"
}
]
},
"security-block": {
"begin": "\\b(security)\\b\\s*(\\{)",
"beginCaptures": {
"1": {
"name": "keyword.control.wrn"
},
"2": {
"name": "punctuation.definition.block.begin.wrn"
}
},
"end": "\\}",
"endCaptures": {
"0": {
"name": "punctuation.definition.block.end.wrn"
}
},
"patterns": [
{
"include": "#comments"
},
{
"match": "\\b([A-Za-z_$][A-Za-z0-9_$-]*)\\s*(=)",
"captures": {
"1": {
"name": "support.type.property-name.wrn"
},
"2": {
"name": "keyword.operator.assignment.wrn"
}
}
},
{
"include": "#strings"
}
]
},
"load-block": {
"begin": "\\b(load)\\b\\s+(server|client)\\s*(\\{)",
"beginCaptures": {
"1": {
"name": "keyword.control.wrn"
},
"2": {
"name": "storage.modifier.wrn"
},
"3": {
"name": "punctuation.definition.block.begin.wrn"
}
},
"end": "\\}",
"endCaptures": {
"0": {
"name": "punctuation.definition.block.end.wrn"
}
},
"contentName": "meta.embedded.block.ts",
"patterns": [
{
"include": "#ts-braces"
},
{
"include": "source.ts"
}
]
},
"action-block": {
"begin": "\\b(action)\\b\\s+([A-Za-z_$][A-Za-z0-9_$]*)\\s*(\\([^)]*\\))\\s*(\\{)",
"beginCaptures": {
"1": {
"name": "keyword.control.wrn"
},
"2": {
"name": "entity.name.function.wrn"
},
"3": {
"name": "variable.parameter.wrn"
},
"4": {
"name": "punctuation.definition.block.begin.wrn"
}
},
"end": "\\}",
"endCaptures": {
"0": {
"name": "punctuation.definition.block.end.wrn"
}
},
"contentName": "meta.embedded.block.ts",
"patterns": [
{
"include": "#ts-braces"
},
{
"include": "source.ts"
}
]
}
}
}