@codingame/monaco-vscode-ab07af84-42e8-5a0f-8aef-b83fb90ede21-common 15.0.3 → 16.0.1
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/package.json +5 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.d.ts +0 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +0 -156
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@codingame/monaco-vscode-ab07af84-42e8-5a0f-8aef-b83fb90ede21-common",
|
3
|
-
"version": "
|
3
|
+
"version": "16.0.1",
|
4
4
|
"private": false,
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - common package (debug, markers, output, task)",
|
6
6
|
"keywords": [],
|
@@ -15,12 +15,15 @@
|
|
15
15
|
},
|
16
16
|
"type": "module",
|
17
17
|
"dependencies": {
|
18
|
-
"@codingame/monaco-vscode-api": "
|
18
|
+
"@codingame/monaco-vscode-api": "16.0.1"
|
19
19
|
},
|
20
20
|
"exports": {
|
21
21
|
".": {
|
22
22
|
"default": "./empty.js"
|
23
23
|
},
|
24
|
+
"./vscode/*.css": {
|
25
|
+
"default": "./vscode/src/*.css"
|
26
|
+
},
|
24
27
|
"./vscode/*": {
|
25
28
|
"types": "./vscode/src/*.d.ts",
|
26
29
|
"default": "./vscode/src/*.js"
|
package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js
CHANGED
@@ -5,7 +5,7 @@ function applyDeprecatedVariableMessage(schema) {
|
|
5
5
|
schema.pattern = schema.pattern || '^(?!.*\\$\\{(env|config|command)\\.)';
|
6
6
|
schema.patternErrorMessage = schema.patternErrorMessage ||
|
7
7
|
( localize(
|
8
|
-
|
8
|
+
11993,
|
9
9
|
"'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead."
|
10
10
|
));
|
11
11
|
}
|
package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js
DELETED
@@ -1,156 +0,0 @@
|
|
1
|
-
|
2
|
-
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
3
|
-
|
4
|
-
const idDescription = ( localize(
|
5
|
-
11648,
|
6
|
-
"The input's id is used to associate an input with a variable of the form ${input:id}."
|
7
|
-
));
|
8
|
-
const typeDescription = ( localize(11649, "The type of user input prompt to use."));
|
9
|
-
const descriptionDescription = ( localize(11650, "The description is shown when the user is prompted for input."));
|
10
|
-
const defaultDescription = ( localize(11651, "The default value for the input."));
|
11
|
-
const inputsSchema = {
|
12
|
-
definitions: {
|
13
|
-
inputs: {
|
14
|
-
type: 'array',
|
15
|
-
description: ( localize(
|
16
|
-
11652,
|
17
|
-
'User inputs. Used for defining user input prompts, such as free string input or a choice from several options.'
|
18
|
-
)),
|
19
|
-
items: {
|
20
|
-
oneOf: [
|
21
|
-
{
|
22
|
-
type: 'object',
|
23
|
-
required: ['id', 'type', 'description'],
|
24
|
-
additionalProperties: false,
|
25
|
-
properties: {
|
26
|
-
id: {
|
27
|
-
type: 'string',
|
28
|
-
description: idDescription
|
29
|
-
},
|
30
|
-
type: {
|
31
|
-
type: 'string',
|
32
|
-
description: typeDescription,
|
33
|
-
enum: ['promptString'],
|
34
|
-
enumDescriptions: [
|
35
|
-
( localize(
|
36
|
-
11653,
|
37
|
-
"The 'promptString' type opens an input box to ask the user for input."
|
38
|
-
)),
|
39
|
-
]
|
40
|
-
},
|
41
|
-
description: {
|
42
|
-
type: 'string',
|
43
|
-
description: descriptionDescription
|
44
|
-
},
|
45
|
-
default: {
|
46
|
-
type: 'string',
|
47
|
-
description: defaultDescription
|
48
|
-
},
|
49
|
-
password: {
|
50
|
-
type: 'boolean',
|
51
|
-
description: ( localize(
|
52
|
-
11654,
|
53
|
-
"Controls if a password input is shown. Password input hides the typed text."
|
54
|
-
)),
|
55
|
-
},
|
56
|
-
}
|
57
|
-
},
|
58
|
-
{
|
59
|
-
type: 'object',
|
60
|
-
required: ['id', 'type', 'description', 'options'],
|
61
|
-
additionalProperties: false,
|
62
|
-
properties: {
|
63
|
-
id: {
|
64
|
-
type: 'string',
|
65
|
-
description: idDescription
|
66
|
-
},
|
67
|
-
type: {
|
68
|
-
type: 'string',
|
69
|
-
description: typeDescription,
|
70
|
-
enum: ['pickString'],
|
71
|
-
enumDescriptions: [
|
72
|
-
( localize(11655, "The 'pickString' type shows a selection list.")),
|
73
|
-
]
|
74
|
-
},
|
75
|
-
description: {
|
76
|
-
type: 'string',
|
77
|
-
description: descriptionDescription
|
78
|
-
},
|
79
|
-
default: {
|
80
|
-
type: 'string',
|
81
|
-
description: defaultDescription
|
82
|
-
},
|
83
|
-
options: {
|
84
|
-
type: 'array',
|
85
|
-
description: ( localize(11656, "An array of strings that defines the options for a quick pick.")),
|
86
|
-
items: {
|
87
|
-
oneOf: [
|
88
|
-
{
|
89
|
-
type: 'string'
|
90
|
-
},
|
91
|
-
{
|
92
|
-
type: 'object',
|
93
|
-
required: ['value'],
|
94
|
-
additionalProperties: false,
|
95
|
-
properties: {
|
96
|
-
label: {
|
97
|
-
type: 'string',
|
98
|
-
description: ( localize(11657, "Label for the option."))
|
99
|
-
},
|
100
|
-
value: {
|
101
|
-
type: 'string',
|
102
|
-
description: ( localize(11658, "Value for the option."))
|
103
|
-
}
|
104
|
-
}
|
105
|
-
}
|
106
|
-
]
|
107
|
-
}
|
108
|
-
}
|
109
|
-
}
|
110
|
-
},
|
111
|
-
{
|
112
|
-
type: 'object',
|
113
|
-
required: ['id', 'type', 'command'],
|
114
|
-
additionalProperties: false,
|
115
|
-
properties: {
|
116
|
-
id: {
|
117
|
-
type: 'string',
|
118
|
-
description: idDescription
|
119
|
-
},
|
120
|
-
type: {
|
121
|
-
type: 'string',
|
122
|
-
description: typeDescription,
|
123
|
-
enum: ['command'],
|
124
|
-
enumDescriptions: [
|
125
|
-
( localize(11659, "The 'command' type executes a command.")),
|
126
|
-
]
|
127
|
-
},
|
128
|
-
command: {
|
129
|
-
type: 'string',
|
130
|
-
description: ( localize(11660, "The command to execute for this input variable."))
|
131
|
-
},
|
132
|
-
args: {
|
133
|
-
oneOf: [
|
134
|
-
{
|
135
|
-
type: 'object',
|
136
|
-
description: ( localize(11661, "Optional arguments passed to the command."))
|
137
|
-
},
|
138
|
-
{
|
139
|
-
type: 'array',
|
140
|
-
description: ( localize(11661, "Optional arguments passed to the command."))
|
141
|
-
},
|
142
|
-
{
|
143
|
-
type: 'string',
|
144
|
-
description: ( localize(11661, "Optional arguments passed to the command."))
|
145
|
-
}
|
146
|
-
]
|
147
|
-
}
|
148
|
-
}
|
149
|
-
}
|
150
|
-
]
|
151
|
-
}
|
152
|
-
}
|
153
|
-
}
|
154
|
-
};
|
155
|
-
|
156
|
-
export { inputsSchema };
|