This repository has been archived by the owner on Mar 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
214 lines (214 loc) · 7.13 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
{
"name": "ansible",
"publisher": "tomaciazek",
"displayName": "[DEPRECATED] Ansible",
"description": "Ansible language support",
"author": "Tomasz Maciążek",
"license": "MIT",
"version": "1.2.0",
"repository": {
"type": "git",
"url": "https://github.com/tomaciazek/vscode-ansible.git"
},
"icon": "icon.png",
"engines": {
"vscode": "^1.56.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:ansible"
],
"main": "./client/out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "Ansible",
"properties": {
"ansible.ansible.path": {
"scope": "resource",
"type": "string",
"default": "ansible",
"description": "Path to the ansible executable."
},
"ansible.ansible.useFullyQualifiedCollectionNames": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Always use fully qualified collection names (FQCN) when inserting a module name. Disabling it will only use FQCNs when necessary."
},
"ansible.ansibleLint.enabled": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Enable linting with ansible-lint on document open/save."
},
"ansible.ansibleLint.path": {
"scope": "resource",
"type": "string",
"default": "ansible-lint",
"description": "Path to the ansible-lint executable."
},
"ansible.ansibleLint.arguments": {
"scope": "resource",
"type": "string",
"default": "",
"description": "Command line arguments to be passed to ansible-lint."
},
"ansible.python.interpreterPath": {
"scope": "resource",
"type": "string",
"default": "",
"description": "Path to the Python interpreter executable. Particularly important if you are using a Python virtual environment. Leave blank to use Python from PATH."
},
"ansible.python.activationScript": {
"scope": "resource",
"type": "string",
"default": "",
"description": "Path to the virtual environment activation script. Use only if you have a custom activation script. It will be sourced using bash before executing Ansible commands. If set, the Interpreter Path setting is ignored."
}
}
},
"languages": [
{
"id": "ansible",
"aliases": [
"Ansible",
"ansible"
],
"extensions": [
".yml",
".yaml"
],
"configuration": "./ansible-language-configuration.json"
},
{
"comments": "unfortunately this dummy entry is necessary for embedding to work",
"id": "ansible-jinja",
"configuration": "./jinja-language-configuration.json"
}
],
"grammars": [
{
"comments": [
"YAML syntax as base for Ansible",
"scopeName changed so that we can use it as base for injections"
],
"language": "ansible",
"scopeName": "source.ansible",
"path": "./syntaxes/external/YAML.tmLanguage"
},
{
"comments": [
"Jinja syntax as injection into Ansible YAML",
"This is so that we do not need to rely on the Jinja extension being installed"
],
"language": "ansible-jinja",
"scopeName": "source.ansible-jinja",
"path": "./syntaxes/external/jinja.tmLanguage.json"
},
{
"comments": [
"Highlighting of Ansible keywords"
],
"path": "./syntaxes/ansible/generated/keywords.tmLanguage",
"scopeName": "injection.ansible.keywords",
"injectTo": [
"source.ansible"
]
},
{
"comments": [
"Additional Jinja grammars"
],
"path": "./syntaxes/ansible/generated/jinja-extras.tmLanguage",
"scopeName": "injection.ansible.jinja-extras",
"injectTo": [
"source.ansible"
]
},
{
"comments": [
"Support for Jinja in double curly braces"
],
"path": "./syntaxes/ansible/generated/jinja-braces.tmLanguage",
"scopeName": "injection.ansible.jinja-braces",
"embeddedLanguages": {
"meta.embedded.inline.jinja": "ansible-jinja"
},
"injectTo": [
"source.ansible"
]
},
{
"comments": [
"Support for Jinja in conditionals"
],
"path": "./syntaxes/ansible/generated/jinja-conditionals.tmLanguage",
"scopeName": "injection.ansible.jinja-conditionals",
"embeddedLanguages": {
"meta.embedded.inline.jinja": "ansible-jinja"
},
"injectTo": [
"source.ansible"
]
},
{
"comments": [
"The quote escapes implemented in the conditionals injection do not work inside brackets etc.",
"Support for single quote escapes in Jinja"
],
"path": "./syntaxes/ansible/generated/jinja-single-quote-escape.tmLanguage",
"scopeName": "injection.ansible.jinja-single-quote-escape",
"injectTo": [
"source.ansible"
]
},
{
"comments": [
"The quote escapes implemented in the conditionals injection do not work inside brackets etc.",
"Support for double quote escapes in Jinja"
],
"path": "./syntaxes/ansible/generated/jinja-double-quote-escape.tmLanguage",
"scopeName": "injection.ansible.jinja-double-quote-escape",
"injectTo": [
"source.ansible"
]
}
]
},
"scripts": {
"vscode:prepublish": "npm run webpack",
"webpack": "npm run clean && webpack --mode production --config ./client/webpack.config.js && webpack --mode production --config ./server/webpack.config.js",
"webpack:dev": "npm run clean && webpack --mode development --config ./client/webpack.config.js && webpack --mode development --config ./server/webpack.config.js",
"compile": "tsc -b",
"watch": "tsc -b -w",
"webpack:watch:client": "webpack --mode none --config ./client/webpack.config.js --watch",
"webpack:watch:server": "webpack --mode none --config ./server/webpack.config.js --watch",
"clean": "rimraf client/out && rimraf server/out && rimraf **/tsconfig.tsbuildinfo",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"test": "mocha --require ts-node/register './server/src/test/**/*.ts'",
"deploy": "vsce publish"
},
"devDependencies": {
"@types/chai": "^4.2.21",
"@types/mocha": "^8.2.3",
"@types/node": "^14.17.5",
"@types/vscode": "^1.56.0",
"@typescript-eslint/eslint-plugin": "^4.28.3",
"@typescript-eslint/parser": "^4.28.3",
"chai": "^4.3.4",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"merge-options": "^3.0.4",
"mocha": "^8.4.0",
"rimraf": "^3.0.2",
"ts-loader": "^8.3.0",
"ts-node": "^9.1.1",
"typescript": "^4.3.5",
"vsce": "^1.95.1",
"webpack": "^5.44.0",
"webpack-cli": "^4.7.2"
}
}