first commit
This commit is contained in:
@@ -0,0 +1,154 @@
|
||||
{
|
||||
"name": "wrnexus",
|
||||
"displayName": "WrNexus (.wrn)",
|
||||
"description": "Syntax highlighting, diagnostics, snippets and completions for WrNexus .wrn files.",
|
||||
"version": "0.1.0",
|
||||
"publisher": "wrnexus",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/wrnexus/wrnexus.git",
|
||||
"directory": "editors/vscode"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/wrnexus/wrnexus/issues"
|
||||
},
|
||||
"homepage": "https://github.com/wrnexus/wrnexus#readme",
|
||||
"galleryBanner": {
|
||||
"color": "#0b1021",
|
||||
"theme": "dark"
|
||||
},
|
||||
"pricing": "Free",
|
||||
"engines": {
|
||||
"vscode": "^1.75.0"
|
||||
},
|
||||
"categories": [
|
||||
"Programming Languages",
|
||||
"Snippets",
|
||||
"Linters"
|
||||
],
|
||||
"keywords": [
|
||||
"wire",
|
||||
"wrnexus",
|
||||
"wrn",
|
||||
"full-stack",
|
||||
"ssr",
|
||||
"bun"
|
||||
],
|
||||
"main": "./src/extension.js",
|
||||
"activationEvents": [
|
||||
"onLanguage:wrn"
|
||||
],
|
||||
"contributes": {
|
||||
"languages": [
|
||||
{
|
||||
"id": "wrn",
|
||||
"aliases": [
|
||||
"WrNexus",
|
||||
"wrn"
|
||||
],
|
||||
"extensions": [
|
||||
".wrn"
|
||||
],
|
||||
"configuration": "./language-configuration.json",
|
||||
"icon": {
|
||||
"light": "./icons/wrn.svg",
|
||||
"dark": "./icons/wrn.svg"
|
||||
}
|
||||
}
|
||||
],
|
||||
"grammars": [
|
||||
{
|
||||
"language": "wrn",
|
||||
"scopeName": "source.wrn",
|
||||
"path": "./syntaxes/wrn.tmLanguage.json",
|
||||
"embeddedLanguages": {
|
||||
"meta.embedded.block.html": "html",
|
||||
"meta.embedded.block.css": "css",
|
||||
"meta.embedded.block.ts": "typescript",
|
||||
"meta.embedded.expr.wrn": "typescript"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scopeName": "wrn.attributes.injection",
|
||||
"path": "./syntaxes/wrn.injection.tmLanguage.json",
|
||||
"injectTo": [
|
||||
"source.wrn"
|
||||
]
|
||||
}
|
||||
],
|
||||
"snippets": [
|
||||
{
|
||||
"language": "wrn",
|
||||
"path": "./snippets/wrn.json"
|
||||
}
|
||||
],
|
||||
"configuration": {
|
||||
"title": "WrNexus",
|
||||
"properties": {
|
||||
"wrnexus.diagnostics.enable": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Show parse errors for .wrn files as you type."
|
||||
}
|
||||
}
|
||||
},
|
||||
"configurationDefaults": {
|
||||
"editor.tokenColorCustomizations": {
|
||||
"textMateRules": [
|
||||
{
|
||||
"scope": "entity.other.attribute-name.wrn.directive",
|
||||
"settings": {
|
||||
"foreground": "#5eead4",
|
||||
"fontStyle": "bold"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "entity.other.attribute-name.wrn.event",
|
||||
"settings": {
|
||||
"foreground": "#f472b6",
|
||||
"fontStyle": "bold"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "punctuation.definition.keyword.wrn",
|
||||
"settings": {
|
||||
"foreground": "#f472b6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "keyword.control.i18n.wrn",
|
||||
"settings": {
|
||||
"foreground": "#f472b6",
|
||||
"fontStyle": "bold"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "string.other.i18n-key.wrn",
|
||||
"settings": {
|
||||
"foreground": "#5eead4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "constant.language.http-method.wrn",
|
||||
"settings": {
|
||||
"foreground": "#f472b6",
|
||||
"fontStyle": "bold"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build:compiler": "bun build ../../packages/compiler/src/index.ts --target=node --format=cjs --outfile=src/compiler.cjs",
|
||||
"validate": "node test/validate.mjs",
|
||||
"vscode:prepublish": "bun run build:compiler",
|
||||
"package": "vsce package --no-dependencies",
|
||||
"publish": "vsce publish --no-dependencies",
|
||||
"publish:azure": "vsce publish --no-dependencies --azure-credential"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vscode/vsce": "^3.9.2"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user