Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 033da1a

Browse files
author
Tony Spataro
committed
Re-add test command; squelch dbus errors
1 parent 7dbdc7b commit 033da1a

File tree

2 files changed

+103
-100
lines changed

2 files changed

+103
-100
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ jobs:
3939
with:
4040
limit-access-to-actor: true
4141
- name: Run tests
42-
run: xvfb-run -a npm test
42+
run: |
43+
sudo apt install dbus-x11
44+
dbus-launch xvfb-run -a npm test
4345
if: runner.os == 'Linux'
4446
- name: Run tests
4547
run: npm test

package.json

Lines changed: 100 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -1,101 +1,102 @@
11
{
2-
"name": "vscode-syntax-tree",
3-
"displayName": "Syntax Tree",
4-
"description": "VSCode support for the syntax_tree gem",
5-
"icon": "doc/logo.png",
6-
"version": "0.2.1",
7-
"publisher": "ruby-syntax-tree",
8-
"repository": {
9-
"type": "git",
10-
"url": "https://github.com/ruby-syntax-tree/vscode-syntax-tree.git"
11-
},
12-
"license": "MIT",
13-
"bugs": {
14-
"url": "https://github.com/ruby-syntax-tree/vscode-syntax-tree/issues"
15-
},
16-
"packageManager": "yarn@1.22.19",
17-
"engines": {
18-
"vscode": "^1.66.0"
19-
},
20-
"activationEvents": [
21-
"onLanguage:ruby",
22-
"workspaceContains:Gemfile.lock",
23-
"onCommand:syntaxTree.start",
24-
"onCommand:syntaxTree.stop",
25-
"onCommand:syntaxTree.restart",
26-
"onCommand:syntaxTree.showOutputChannel",
27-
"onCommand:syntaxTree.visualize"
28-
],
29-
"main": "./out/extension",
30-
"contributes": {
31-
"commands": [
32-
{
33-
"command": "syntaxTree.start",
34-
"title": "Syntax Tree: Start"
35-
},
36-
{
37-
"command": "syntaxTree.stop",
38-
"title": "Syntax Tree: Stop"
39-
},
40-
{
41-
"command": "syntaxTree.restart",
42-
"title": "Syntax Tree: Restart"
43-
},
44-
{
45-
"command": "syntaxTree.showOutputChannel",
46-
"title": "Syntax Tree: Show Output Channel"
47-
},
48-
{
49-
"command": "syntaxTree.visualize",
50-
"title": "Syntax Tree: Visualize"
51-
}
52-
],
53-
"configuration": {
54-
"type": "object",
55-
"title": "Syntax Tree",
56-
"properties": {
57-
"syntaxTree.singleQuotes": {
58-
"default": false,
59-
"markdownDescription": "Uses single-quoted strings when possible.",
60-
"type": "boolean"
61-
},
62-
"syntaxTree.trailingComma": {
63-
"default": false,
64-
"markdownDescription": "Adds a trailing comma to multi-line array literals, hash literals, and method parameters.",
65-
"type": "boolean"
66-
},
67-
"syntaxTree.additionalPlugins": {
68-
"default": [],
69-
"markdownDescription": "Registers [extra behaviors](https://github.com/ruby-syntax-tree/syntax_tree#plugins) with the language server.",
70-
"items": {
71-
"type": "string"
72-
},
73-
"type": "array"
74-
}
75-
}
76-
},
77-
"colors": []
78-
},
79-
"scripts": {
80-
"clean": "rm -Rf out",
81-
"compile": "tsc -p ./",
82-
"package": "vsce package --yarn --githubBranch main",
83-
"publish": "vsce publish --yarn --githubBranch main",
84-
"vscode:prepublish": "yarn compile",
85-
"watch": "tsc --watch -p ./"
86-
},
87-
"dependencies": {
88-
"vscode-languageclient": "8.0.2-next.5"
89-
},
90-
"devDependencies": {
91-
"@types/glob": "^7.1.1",
92-
"@types/mocha": "^9.1.1",
93-
"@types/node": "^18.0.0",
94-
"@types/vscode": "^1.68.0",
95-
"@vscode/test-electron": "^1.6.1",
96-
"glob": "^7.1.4",
97-
"mocha": "^9.1.1",
98-
"typescript": "^4.7.4",
99-
"vsce": "^2.9.2"
100-
}
2+
"name": "vscode-syntax-tree",
3+
"displayName": "Syntax Tree",
4+
"description": "VSCode support for the syntax_tree gem",
5+
"icon": "doc/logo.png",
6+
"version": "0.2.1",
7+
"publisher": "ruby-syntax-tree",
8+
"repository": {
9+
"type": "git",
10+
"url": "https://github.com/ruby-syntax-tree/vscode-syntax-tree.git"
11+
},
12+
"license": "MIT",
13+
"bugs": {
14+
"url": "https://github.com/ruby-syntax-tree/vscode-syntax-tree/issues"
15+
},
16+
"packageManager": "yarn@1.22.19",
17+
"engines": {
18+
"vscode": "^1.66.0"
19+
},
20+
"activationEvents": [
21+
"onLanguage:ruby",
22+
"workspaceContains:Gemfile.lock",
23+
"onCommand:syntaxTree.start",
24+
"onCommand:syntaxTree.stop",
25+
"onCommand:syntaxTree.restart",
26+
"onCommand:syntaxTree.showOutputChannel",
27+
"onCommand:syntaxTree.visualize"
28+
],
29+
"main": "./out/extension",
30+
"contributes": {
31+
"commands": [
32+
{
33+
"command": "syntaxTree.start",
34+
"title": "Syntax Tree: Start"
35+
},
36+
{
37+
"command": "syntaxTree.stop",
38+
"title": "Syntax Tree: Stop"
39+
},
40+
{
41+
"command": "syntaxTree.restart",
42+
"title": "Syntax Tree: Restart"
43+
},
44+
{
45+
"command": "syntaxTree.showOutputChannel",
46+
"title": "Syntax Tree: Show Output Channel"
47+
},
48+
{
49+
"command": "syntaxTree.visualize",
50+
"title": "Syntax Tree: Visualize"
51+
}
52+
],
53+
"configuration": {
54+
"type": "object",
55+
"title": "Syntax Tree",
56+
"properties": {
57+
"syntaxTree.singleQuotes": {
58+
"default": false,
59+
"markdownDescription": "Uses single-quoted strings when possible.",
60+
"type": "boolean"
61+
},
62+
"syntaxTree.trailingComma": {
63+
"default": false,
64+
"markdownDescription": "Adds a trailing comma to multi-line array literals, hash literals, and method parameters.",
65+
"type": "boolean"
66+
},
67+
"syntaxTree.additionalPlugins": {
68+
"default": [],
69+
"markdownDescription": "Registers [extra behaviors](https://github.com/ruby-syntax-tree/syntax_tree#plugins) with the language server.",
70+
"items": {
71+
"type": "string"
72+
},
73+
"type": "array"
74+
}
75+
}
76+
},
77+
"colors": []
78+
},
79+
"scripts": {
80+
"clean": "rm -Rf out",
81+
"compile": "tsc -p ./",
82+
"package": "vsce package --yarn --githubBranch main",
83+
"publish": "vsce publish --yarn --githubBranch main",
84+
"vscode:prepublish": "yarn compile",
85+
"test": "node ./out/test/runTest.js",
86+
"watch": "tsc --watch -p ./"
87+
},
88+
"dependencies": {
89+
"vscode-languageclient": "8.0.2-next.5"
90+
},
91+
"devDependencies": {
92+
"@types/glob": "^7.1.1",
93+
"@types/mocha": "^9.1.1",
94+
"@types/node": "^18.0.0",
95+
"@types/vscode": "^1.68.0",
96+
"@vscode/test-electron": "^1.6.1",
97+
"glob": "^7.1.4",
98+
"mocha": "^9.1.1",
99+
"typescript": "^4.7.4",
100+
"vsce": "^2.9.2"
101+
}
101102
}

0 commit comments

Comments
 (0)