Skip to content

Commit

Permalink
wip: wasm onesdk
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduard Lavuš committed Jan 11, 2024
1 parent 988e4f0 commit 80d7098
Show file tree
Hide file tree
Showing 10 changed files with 130 additions and 2,170 deletions.
114 changes: 15 additions & 99 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,17 @@
"displayName": "Superface Language Client",
"description": "Superface Language Client for Visual Studio Code",
"icon": "docs/LogoGreen.png",
"version": "1.3.0",
"version": "2.0.0",
"repository": "https://github.com/superfaceai/language-client-vscode",
"author": "Superface Team",
"publisher": "superfaceai",
"license": "MIT",
"files": [
"dist/**/*",
"syntaxes/**/*.tmLanguage.json"
"dist/**/*"
],
"devDependencies": {
"@types/node": "^18.11.9",
"@types/vscode": "1.70.0",
"@types/vscode": "1.75.0",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"eslint": "^8.27.0",
Expand All @@ -25,15 +24,12 @@
"eslint-plugin-simple-import-sort": "^8.0.0",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"typescript": "^4.8.4",
"vsce": "^2.14.0"
"typescript": "^5",
"@vscode/vsce": "^2.22.0"
},
"dependencies": {
"@superfaceai/language-server": "1.1.2",
"@superfaceai/one-sdk": "^2.3.0",
"ajv": "^8.11.0",
"jsonc-parser": "^3.2.0",
"vscode-languageclient": "^8.0.2"
"@superfaceai/language-server": "link:../one-sdk/packages/comlink_language_server",
"vscode-languageclient": "^9.0.1"
},
"scripts": {
"build": "tsc -p tsconfig.json",
Expand All @@ -47,17 +43,16 @@
"prepush": "yarn lint && yarn format",
"package": "vsce package --yarn",
"deploy:vsce": "vsce publish --yarn",
"deploy:osvx": "echo 'use `npx osvx publish`' instead"
"deploy:osvx": "npx osvx publish"
},
"engines": {
"vscode": "^1.70.0"
"vscode": "^1.85.0"
},
"main": "dist/extension.js",
"activationEvents": [
"onLanguage:comlink-map",
"onLanguage:comlink-profile",
"onView:superfaceOutline"
"onLanguage:typescript",
"onLanguage:javascript"
],
"main": "dist/extension",
"contributes": {
"configuration": {
"type": "object",
Expand All @@ -69,11 +64,12 @@
"default": true,
"description": "Controls whether the language server is enabled."
},
"superfaceLanguageClient.languageServer.trace": {
"superfaceLanguageClient.languageServer.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"compact",
"messages",
"verbose"
],
Expand All @@ -92,93 +88,13 @@
"category": "Superface",
"command": "superfaceLanguageClient.commands.languageServer.stop",
"title": "Stop Comlink language server"
},
{
"category": "Superface",
"command": "superfaceLanguageClient.commands.outline.refresh",
"title": "Refresh Superface Outline",
"icon": "$(refresh)"
}
],
"languages": [
{
"id": "comlink-map",
"aliases": [
"Comlink Map",
"Superface Map"
],
"extensions": [
".suma"
],
"configuration": "syntaxes/language-configuration.json"
},
{
"id": "comlink-profile",
"aliases": [
"Comlink Profile",
"Superface Profile"
],
"extensions": [
".supr"
],
"configuration": "syntaxes/language-configuration.json"
}
],
"grammars": [
{
"language": "comlink-map",
"scopeName": "source.comlink.map",
"path": "syntaxes/comlink-map.tmLanguage.json",
"embeddedLanguages": {
"meta.expression.jessie.comlink.map": "javascript"
}
},
{
"language": "comlink-profile",
"scopeName": "source.comlink.profile",
"path": "syntaxes/comlink-profile.tmLanguage.json"
}
],
"snippets": [
{
"language": "comlink-map",
"path": "snippets/comlink-map.snippets.json"
},
{
"language": "comlink-profile",
"path": "snippets/comlink-profile.snippets.json"
}
],
"jsonValidation": [
{
"fileMatch": "*.suma.ast.json",
"url": "https://raw.githubusercontent.com/superfaceai/ast-js/main/src/interfaces/ast/map-ast.schema.json"
},
{
"fileMatch": "*.supr.ast.json",
"url": "https://raw.githubusercontent.com/superfaceai/ast-js/main/src/interfaces/ast/profile-ast.schema.json"
},
{
"fileMatch": "super.json",
"url": "https://superface.ai/docs/comlink/super.json"
}
],
"views": {
"explorer": [
{
"id": "superfaceOutline",
"name": "Superface Outline"
}
]
},
"menus": {
"view/title": [
{
"command": "superfaceLanguageClient.commands.outline.refresh",
"when": "view == superfaceOutline",
"group": "navigation"
}
]
}
]
}
}
128 changes: 0 additions & 128 deletions snippets/comlink-map.snippets.json

This file was deleted.

82 changes: 0 additions & 82 deletions snippets/comlink-profile.snippets.json

This file was deleted.

Loading

0 comments on commit 80d7098

Please sign in to comment.