Skip to content

Commit fa9c9ac

Browse files

File tree

7 files changed

+61
-49
lines changed

7 files changed

+61
-49
lines changed

examples/states-langium/extension/package.json

Lines changed: 50 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"url": "https://github.com/TypeFox/sprotty-vscode",
1010
"directory": "examples/states-langium/extension"
1111
},
12-
"version": "0.4.0",
12+
"version": "0.5.0",
1313
"engines": {
1414
"vscode": "^1.46.0"
1515
},
@@ -18,43 +18,55 @@
1818
],
1919
"icon": "icon.png",
2020
"contributes": {
21-
"languages": [{
22-
"id": "states",
23-
"aliases": [
24-
"states",
25-
"sm"
26-
],
27-
"extensions": [
28-
".sm"
29-
],
30-
"configuration": "./language-configuration.json"
31-
}],
32-
"grammars": [{
33-
"language": "states",
34-
"scopeName": "source.states",
35-
"path": "./syntaxes/states.tmLanguage.json"
36-
}],
37-
"customEditors": [{
38-
"viewType": "states",
39-
"displayName": "States Editor",
40-
"selector": [{
41-
"filenamePattern": "*.sm"
42-
}],
43-
"priority": "option"
44-
}],
21+
"languages": [
22+
{
23+
"id": "states",
24+
"aliases": [
25+
"states",
26+
"sm"
27+
],
28+
"extensions": [
29+
".sm"
30+
],
31+
"configuration": "./language-configuration.json"
32+
}
33+
],
34+
"grammars": [
35+
{
36+
"language": "states",
37+
"scopeName": "source.states",
38+
"path": "./syntaxes/states.tmLanguage.json"
39+
}
40+
],
41+
"customEditors": [
42+
{
43+
"viewType": "states",
44+
"displayName": "States Editor",
45+
"selector": [
46+
{
47+
"filenamePattern": "*.sm"
48+
}
49+
],
50+
"priority": "option"
51+
}
52+
],
4553
"viewsContainers": {
46-
"activitybar": [{
47-
"id": "states-container",
48-
"title": "States",
49-
"icon": "$(symbol-structure)"
50-
}]
54+
"activitybar": [
55+
{
56+
"id": "states-container",
57+
"title": "States",
58+
"icon": "$(symbol-structure)"
59+
}
60+
]
5161
},
5262
"views": {
53-
"states-container": [{
54-
"id": "states",
55-
"type": "webview",
56-
"name": "State Machine"
57-
}]
63+
"states-container": [
64+
{
65+
"id": "states",
66+
"type": "webview",
67+
"name": "State Machine"
68+
}
69+
]
5870
},
5971
"commands": [
6072
{
@@ -175,9 +187,9 @@
175187
"@types/node": "^12.12.6",
176188
"@types/vscode": "1.50.0",
177189
"source-map-loader": "^3.0.0",
178-
"sprotty-vscode": "0.4.0",
179-
"states-language-server": "0.4.0",
180-
"states-sprotty-webview": "0.4.0",
190+
"sprotty-vscode": "^0.5.0",
191+
"states-language-server": "^0.5.0",
192+
"states-sprotty-webview": "^0.5.0",
181193
"ts-loader": "^9.2.6",
182194
"typescript": "~4.6.2",
183195
"vscode-languageclient": "^8.0.2",

examples/states-langium/language-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "states-language-server",
33
"displayName": "states-langium",
44
"description": "Please enter a brief description here",
5-
"version": "0.4.0",
5+
"version": "0.5.0",
66
"private": true,
77
"dependencies": {
88
"langium": "^1.0.1",

examples/states-webview/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "states-sprotty-webview",
3-
"version": "0.4.0",
3+
"version": "0.5.0",
44
"description": "Example of a Sprotty diagram in a VS Code extensions (WebView part)",
55
"private": true,
66
"license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)",
@@ -40,7 +40,7 @@
4040
"dependencies": {
4141
"reflect-metadata": "^0.1.13",
4242
"sprotty": "^0.13.0",
43-
"sprotty-vscode-webview": "0.4.0"
43+
"sprotty-vscode-webview": "^0.5.0"
4444
},
4545
"devDependencies": {
4646
"css-loader": "^6.5.1",

examples/states-xtext/extension/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"type": "git",
99
"url": "https://github.com/TypeFox/sprotty-vscode"
1010
},
11-
"version": "0.4.0",
11+
"version": "0.5.0",
1212
"engines": {
1313
"vscode": "^1.46.0"
1414
},
@@ -153,8 +153,8 @@
153153
"@types/node": "^12.12.6",
154154
"@types/vscode": "1.50.0",
155155
"source-map-loader": "^3.0.0",
156-
"sprotty-vscode": "0.4.0",
157-
"states-sprotty-webview": "0.4.0",
156+
"sprotty-vscode": "^0.5.0",
157+
"states-sprotty-webview": "^0.5.0",
158158
"ts-loader": "^9.2.6",
159159
"typescript": "~4.6.2",
160160
"vscode-languageclient": "^8.0.2",

packages/sprotty-vscode-protocol/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sprotty-vscode-protocol",
3-
"version": "0.4.0",
3+
"version": "0.5.0",
44
"displayName": "Sprotty VSCode Integration - Protocol between webview and extension",
55
"description": "Glue code to integrate Sprotty diagrams in VSCode extensions (protocol part)",
66
"license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)",

packages/sprotty-vscode-webview/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sprotty-vscode-webview",
3-
"version": "0.4.0",
3+
"version": "0.5.0",
44
"description": "Integration of Sprotty in a VS Code extensions (WebView part)",
55
"license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)",
66
"keywords": [
@@ -41,7 +41,7 @@
4141
"types": "lib/index",
4242
"dependencies": {
4343
"sprotty": "~0.13.0",
44-
"sprotty-vscode-protocol": "~0.4.0",
44+
"sprotty-vscode-protocol": "^0.5.0",
4545
"vscode-messenger-webview": "^0.4.3",
4646
"vscode-uri": "^3.0.6"
4747
},

packages/sprotty-vscode/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sprotty-vscode",
3-
"version": "0.4.0",
3+
"version": "0.5.0",
44
"displayName": "Sprotty VSCode Integration",
55
"description": "Glue code to integrate Sprotty diagrams in VSCode extensions (extension part)",
66
"license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)",
@@ -44,7 +44,7 @@
4444
"types": "lib/index",
4545
"dependencies": {
4646
"path": "^0.12.7",
47-
"sprotty-vscode-protocol": "~0.4.0",
47+
"sprotty-vscode-protocol": "^0.5.0",
4848
"vscode-languageclient": "^8.0.2",
4949
"vscode-messenger": "^0.4.4"
5050
},

0 commit comments

Comments
 (0)