@codingame/monaco-vscode-docker-default-extension 1.85.1 → 1.85.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -3
- package/package.json +2 -2
- package/resources/docker.tmLanguage.json +1 -0
- package/resources/language-configuration.json +1 -0
- package/resources/package.json +1 -0
- package/resources/package.nls.json +1 -0
- package/docker.tmLanguage.json +0 -102
- package/language-configuration.json +0 -24
- package/package.nls.json +0 -4
package/index.js
CHANGED
|
@@ -3,8 +3,9 @@ import { registerExtension } from 'vscode/extensions';
|
|
|
3
3
|
var manifest = {name:"docker",displayName:"%displayName%",description:"%description%",version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"*"},scripts:{"update-grammar":"node ../node_modules/vscode-grammar-updater/bin moby/moby contrib/syntax/textmate/Docker.tmbundle/Syntaxes/Dockerfile.tmLanguage ./syntaxes/docker.tmLanguage.json"},contributes:{languages:[{id:"dockerfile",extensions:[".dockerfile",".containerfile"],filenames:["Dockerfile","Containerfile"],filenamePatterns:["Dockerfile.*","Containerfile.*"],aliases:["Docker","Dockerfile","Containerfile"],configuration:"./language-configuration.json"}],grammars:[{language:"dockerfile",scopeName:"source.dockerfile",path:"./syntaxes/docker.tmLanguage.json"}],configurationDefaults:{"[dockerfile]":{"editor.quickSuggestions":{strings:true}}}},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"},main:undefined};
|
|
4
4
|
|
|
5
5
|
const { registerFileUrl, whenReady } = registerExtension(manifest);
|
|
6
|
-
registerFileUrl('
|
|
7
|
-
registerFileUrl('
|
|
8
|
-
registerFileUrl('package.nls.json', new URL('./package.nls.json', import.meta.url).toString(), 'application/json');
|
|
6
|
+
registerFileUrl('language-configuration.json', new URL('./resources/language-configuration.json', import.meta.url).toString(), 'application/json');
|
|
7
|
+
registerFileUrl('package.json', new URL('./resources/package.json', import.meta.url).toString(), 'application/json');
|
|
8
|
+
registerFileUrl('package.nls.json', new URL('./resources/package.nls.json', import.meta.url).toString(), 'application/json');
|
|
9
|
+
registerFileUrl('syntaxes/docker.tmLanguage.json', new URL('./resources/docker.tmLanguage.json', import.meta.url).toString(), 'application/json');
|
|
9
10
|
|
|
10
11
|
export { whenReady };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-docker-default-extension",
|
|
3
|
-
"version": "1.85.
|
|
3
|
+
"version": "1.85.3",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -18,6 +18,6 @@
|
|
|
18
18
|
"module": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"vscode": "npm:@codingame/monaco-vscode-api@1.85.
|
|
21
|
+
"vscode": "npm:@codingame/monaco-vscode-api@1.85.3"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"information_for_contributors":["This file has been converted from https://github.com/moby/moby/blob/master/contrib/syntax/textmate/Docker.tmbundle/Syntaxes/Dockerfile.tmLanguage","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],"version":"https://github.com/moby/moby/commit/abd39744c6f3ed854500e423f5fabf952165161f","name":"Dockerfile","scopeName":"source.dockerfile","patterns":[{"captures":{"1":{"name":"keyword.other.special-method.dockerfile"},"2":{"name":"keyword.other.special-method.dockerfile"}},"match":"^\\s*\\b(?i:(FROM))\\b.*?\\b(?i:(AS))\\b"},{"captures":{"1":{"name":"keyword.control.dockerfile"},"2":{"name":"keyword.other.special-method.dockerfile"}},"match":"^\\s*(?i:(ONBUILD)\\s+)?(?i:(ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR))\\s"},{"captures":{"1":{"name":"keyword.operator.dockerfile"},"2":{"name":"keyword.other.special-method.dockerfile"}},"match":"^\\s*(?i:(ONBUILD)\\s+)?(?i:(CMD|ENTRYPOINT))\\s"},{"begin":"\"","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.dockerfile"}},"end":"\"","endCaptures":{"1":{"name":"punctuation.definition.string.end.dockerfile"}},"name":"string.quoted.double.dockerfile","patterns":[{"match":"\\\\.","name":"constant.character.escaped.dockerfile"}]},{"begin":"'","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.dockerfile"}},"end":"'","endCaptures":{"1":{"name":"punctuation.definition.string.end.dockerfile"}},"name":"string.quoted.single.dockerfile","patterns":[{"match":"\\\\.","name":"constant.character.escaped.dockerfile"}]},{"captures":{"1":{"name":"punctuation.whitespace.comment.leading.dockerfile"},"2":{"name":"comment.line.number-sign.dockerfile"},"3":{"name":"punctuation.definition.comment.dockerfile"}},"comment":"comment.line","match":"^(\\s*)((#).*$\\n?)"}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comments":{"lineComment":"#"},"brackets":[["{","}"],["[","]"],["(",")"]],"autoClosingPairs":[["{","}"],["[","]"],["(",")"],["\"","\""],["'","'"]],"surroundingPairs":[["{","}"],["[","]"],["(",")"],["\"","\""],["'","'"]]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"docker","displayName":"%displayName%","description":"%description%","version":"1.0.0","publisher":"vscode","license":"MIT","engines":{"vscode":"*"},"scripts":{"update-grammar":"node ../node_modules/vscode-grammar-updater/bin moby/moby contrib/syntax/textmate/Docker.tmbundle/Syntaxes/Dockerfile.tmLanguage ./syntaxes/docker.tmLanguage.json"},"contributes":{"languages":[{"id":"dockerfile","extensions":[".dockerfile",".containerfile"],"filenames":["Dockerfile","Containerfile"],"filenamePatterns":["Dockerfile.*","Containerfile.*"],"aliases":["Docker","Dockerfile","Containerfile"],"configuration":"./language-configuration.json"}],"grammars":[{"language":"dockerfile","scopeName":"source.dockerfile","path":"./syntaxes/docker.tmLanguage.json"}],"configurationDefaults":{"[dockerfile]":{"editor.quickSuggestions":{"strings":true}}}},"repository":{"type":"git","url":"https://github.com/microsoft/vscode.git"}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"displayName":"Docker Language Basics","description":"Provides syntax highlighting and bracket matching in Docker files."}
|
package/docker.tmLanguage.json
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"information_for_contributors": [
|
|
3
|
-
"This file has been converted from https://github.com/moby/moby/blob/master/contrib/syntax/textmate/Docker.tmbundle/Syntaxes/Dockerfile.tmLanguage",
|
|
4
|
-
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
5
|
-
"Once accepted there, we are happy to receive an update request."
|
|
6
|
-
],
|
|
7
|
-
"version": "https://github.com/moby/moby/commit/abd39744c6f3ed854500e423f5fabf952165161f",
|
|
8
|
-
"name": "Dockerfile",
|
|
9
|
-
"scopeName": "source.dockerfile",
|
|
10
|
-
"patterns": [
|
|
11
|
-
{
|
|
12
|
-
"captures": {
|
|
13
|
-
"1": {
|
|
14
|
-
"name": "keyword.other.special-method.dockerfile"
|
|
15
|
-
},
|
|
16
|
-
"2": {
|
|
17
|
-
"name": "keyword.other.special-method.dockerfile"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"match": "^\\s*\\b(?i:(FROM))\\b.*?\\b(?i:(AS))\\b"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"captures": {
|
|
24
|
-
"1": {
|
|
25
|
-
"name": "keyword.control.dockerfile"
|
|
26
|
-
},
|
|
27
|
-
"2": {
|
|
28
|
-
"name": "keyword.other.special-method.dockerfile"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"match": "^\\s*(?i:(ONBUILD)\\s+)?(?i:(ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR))\\s"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"captures": {
|
|
35
|
-
"1": {
|
|
36
|
-
"name": "keyword.operator.dockerfile"
|
|
37
|
-
},
|
|
38
|
-
"2": {
|
|
39
|
-
"name": "keyword.other.special-method.dockerfile"
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"match": "^\\s*(?i:(ONBUILD)\\s+)?(?i:(CMD|ENTRYPOINT))\\s"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"begin": "\"",
|
|
46
|
-
"beginCaptures": {
|
|
47
|
-
"1": {
|
|
48
|
-
"name": "punctuation.definition.string.begin.dockerfile"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"end": "\"",
|
|
52
|
-
"endCaptures": {
|
|
53
|
-
"1": {
|
|
54
|
-
"name": "punctuation.definition.string.end.dockerfile"
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"name": "string.quoted.double.dockerfile",
|
|
58
|
-
"patterns": [
|
|
59
|
-
{
|
|
60
|
-
"match": "\\\\.",
|
|
61
|
-
"name": "constant.character.escaped.dockerfile"
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"begin": "'",
|
|
67
|
-
"beginCaptures": {
|
|
68
|
-
"1": {
|
|
69
|
-
"name": "punctuation.definition.string.begin.dockerfile"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"end": "'",
|
|
73
|
-
"endCaptures": {
|
|
74
|
-
"1": {
|
|
75
|
-
"name": "punctuation.definition.string.end.dockerfile"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"name": "string.quoted.single.dockerfile",
|
|
79
|
-
"patterns": [
|
|
80
|
-
{
|
|
81
|
-
"match": "\\\\.",
|
|
82
|
-
"name": "constant.character.escaped.dockerfile"
|
|
83
|
-
}
|
|
84
|
-
]
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"captures": {
|
|
88
|
-
"1": {
|
|
89
|
-
"name": "punctuation.whitespace.comment.leading.dockerfile"
|
|
90
|
-
},
|
|
91
|
-
"2": {
|
|
92
|
-
"name": "comment.line.number-sign.dockerfile"
|
|
93
|
-
},
|
|
94
|
-
"3": {
|
|
95
|
-
"name": "punctuation.definition.comment.dockerfile"
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
"comment": "comment.line",
|
|
99
|
-
"match": "^(\\s*)((#).*$\\n?)"
|
|
100
|
-
}
|
|
101
|
-
]
|
|
102
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"comments": {
|
|
3
|
-
"lineComment": "#"
|
|
4
|
-
},
|
|
5
|
-
"brackets": [
|
|
6
|
-
["{", "}"],
|
|
7
|
-
["[", "]"],
|
|
8
|
-
["(", ")"]
|
|
9
|
-
],
|
|
10
|
-
"autoClosingPairs": [
|
|
11
|
-
["{", "}"],
|
|
12
|
-
["[", "]"],
|
|
13
|
-
["(", ")"],
|
|
14
|
-
["\"", "\""],
|
|
15
|
-
["'", "'"]
|
|
16
|
-
],
|
|
17
|
-
"surroundingPairs": [
|
|
18
|
-
["{", "}"],
|
|
19
|
-
["[", "]"],
|
|
20
|
-
["(", ")"],
|
|
21
|
-
["\"", "\""],
|
|
22
|
-
["'", "'"]
|
|
23
|
-
]
|
|
24
|
-
}
|
package/package.nls.json
DELETED