@vrowzer/vite-plugin 0.0.0
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/LICENSE +20 -0
- package/README.md +290 -0
- package/dist/ide/assets/css.worker-uWEFNxvl.js +89 -0
- package/dist/ide/assets/html.worker-1tLoAl5Z.js +502 -0
- package/dist/ide/assets/json.worker-CL3sVQd6.js +58 -0
- package/dist/ide/assets/ts.worker-BFpNHPy5.js +67719 -0
- package/dist/ide/css-CPSW8DVZ.js +286 -0
- package/dist/ide/cssMode-B5DtFEwy.js +65 -0
- package/dist/ide/graphql-BteLL2CG.js +176 -0
- package/dist/ide/handlebars-BcqMM6pa.js +412 -0
- package/dist/ide/html-CxO5OaJl.js +333 -0
- package/dist/ide/htmlMode-DxpUG2jm.js +74 -0
- package/dist/ide/ide.css +2 -0
- package/dist/ide/ide.js +5523 -0
- package/dist/ide/javascript-CvtLx4_Z.js +21 -0
- package/dist/ide/jsonMode-LVtiYWKr.js +449 -0
- package/dist/ide/less-BubkcFWW.js +244 -0
- package/dist/ide/lspLanguageFeatures-BDyekQt2.js +1455 -0
- package/dist/ide/markdown-DPB5N4OB.js +264 -0
- package/dist/ide/mdx-Sun87_nd.js +329 -0
- package/dist/ide/monaco.contribution-DVj8eGe_.js +116 -0
- package/dist/ide/pug-BONHZNEg.js +302 -0
- package/dist/ide/scss-0r6NeK1P.js +419 -0
- package/dist/ide/shell-Vh_eZpea.js +225 -0
- package/dist/ide/toggleHighContrast-DI4ZeqFk.js +113328 -0
- package/dist/ide/tsMode-BKTkt1bt.js +567 -0
- package/dist/ide/typescript-CHC4VYBW.js +257 -0
- package/dist/ide/workers-IG_hD8Jy.js +47 -0
- package/dist/ide/xml-C0QFzMaz.js +130 -0
- package/dist/ide/yaml-o-RP7lYY.js +223 -0
- package/dist/index.d.mts +138 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +1335 -0
- package/dist/index.mjs.map +1 -0
- package/dist/manifest-generate.d.mts +89 -0
- package/dist/manifest-generate.d.mts.map +1 -0
- package/dist/manifest-generate.mjs +438 -0
- package/dist/manifest-generate.mjs.map +1 -0
- package/package.json +88 -0
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/monaco-editor@0.55.1/node_modules/monaco-editor/esm/vs/basic-languages/shell/shell.js
|
|
2
|
+
var e = {
|
|
3
|
+
comments: { lineComment: "#" },
|
|
4
|
+
brackets: [
|
|
5
|
+
["{", "}"],
|
|
6
|
+
["[", "]"],
|
|
7
|
+
["(", ")"]
|
|
8
|
+
],
|
|
9
|
+
autoClosingPairs: [
|
|
10
|
+
{
|
|
11
|
+
open: "{",
|
|
12
|
+
close: "}"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
open: "[",
|
|
16
|
+
close: "]"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
open: "(",
|
|
20
|
+
close: ")"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
open: "\"",
|
|
24
|
+
close: "\""
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
open: "'",
|
|
28
|
+
close: "'"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
open: "`",
|
|
32
|
+
close: "`"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
surroundingPairs: [
|
|
36
|
+
{
|
|
37
|
+
open: "{",
|
|
38
|
+
close: "}"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
open: "[",
|
|
42
|
+
close: "]"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
open: "(",
|
|
46
|
+
close: ")"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
open: "\"",
|
|
50
|
+
close: "\""
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
open: "'",
|
|
54
|
+
close: "'"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
open: "`",
|
|
58
|
+
close: "`"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
}, t = {
|
|
62
|
+
defaultToken: "",
|
|
63
|
+
ignoreCase: !0,
|
|
64
|
+
tokenPostfix: ".shell",
|
|
65
|
+
brackets: [
|
|
66
|
+
{
|
|
67
|
+
token: "delimiter.bracket",
|
|
68
|
+
open: "{",
|
|
69
|
+
close: "}"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
token: "delimiter.parenthesis",
|
|
73
|
+
open: "(",
|
|
74
|
+
close: ")"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
token: "delimiter.square",
|
|
78
|
+
open: "[",
|
|
79
|
+
close: "]"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
keywords: [
|
|
83
|
+
"if",
|
|
84
|
+
"then",
|
|
85
|
+
"do",
|
|
86
|
+
"else",
|
|
87
|
+
"elif",
|
|
88
|
+
"while",
|
|
89
|
+
"until",
|
|
90
|
+
"for",
|
|
91
|
+
"in",
|
|
92
|
+
"esac",
|
|
93
|
+
"fi",
|
|
94
|
+
"fin",
|
|
95
|
+
"fil",
|
|
96
|
+
"done",
|
|
97
|
+
"exit",
|
|
98
|
+
"set",
|
|
99
|
+
"unset",
|
|
100
|
+
"export",
|
|
101
|
+
"function"
|
|
102
|
+
],
|
|
103
|
+
builtins: /* @__PURE__ */ "ab.awk.bash.beep.cat.cc.cd.chown.chmod.chroot.clear.cp.curl.cut.diff.echo.find.gawk.gcc.get.git.grep.hg.kill.killall.ln.ls.make.mkdir.openssl.mv.nc.node.npm.ping.ps.restart.rm.rmdir.sed.service.sh.shopt.shred.source.sort.sleep.ssh.start.stop.su.sudo.svn.tee.telnet.top.touch.vi.vim.wall.wc.wget.who.write.yes.zsh".split("."),
|
|
104
|
+
startingWithDash: /\-+\w+/,
|
|
105
|
+
identifiersWithDashes: /[a-zA-Z]\w+(?:@startingWithDash)+/,
|
|
106
|
+
symbols: /[=><!~?&|+\-*\/\^;\.,]+/,
|
|
107
|
+
tokenizer: {
|
|
108
|
+
root: [
|
|
109
|
+
[/@identifiersWithDashes/, ""],
|
|
110
|
+
[/(\s)((?:@startingWithDash)+)/, ["white", "attribute.name"]],
|
|
111
|
+
[/[a-zA-Z]\w*/, { cases: {
|
|
112
|
+
"@keywords": "keyword",
|
|
113
|
+
"@builtins": "type.identifier",
|
|
114
|
+
"@default": ""
|
|
115
|
+
} }],
|
|
116
|
+
{ include: "@whitespace" },
|
|
117
|
+
{ include: "@strings" },
|
|
118
|
+
{ include: "@parameters" },
|
|
119
|
+
{ include: "@heredoc" },
|
|
120
|
+
[/[{}\[\]()]/, "@brackets"],
|
|
121
|
+
[/@symbols/, "delimiter"],
|
|
122
|
+
{ include: "@numbers" },
|
|
123
|
+
[/[,;]/, "delimiter"]
|
|
124
|
+
],
|
|
125
|
+
whitespace: [
|
|
126
|
+
[/\s+/, "white"],
|
|
127
|
+
[/(^#!.*$)/, "metatag"],
|
|
128
|
+
[/(^#.*$)/, "comment"]
|
|
129
|
+
],
|
|
130
|
+
numbers: [
|
|
131
|
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
132
|
+
[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, "number.hex"],
|
|
133
|
+
[/\d+/, "number"]
|
|
134
|
+
],
|
|
135
|
+
strings: [[
|
|
136
|
+
/'/,
|
|
137
|
+
"string",
|
|
138
|
+
"@stringBody"
|
|
139
|
+
], [
|
|
140
|
+
/"/,
|
|
141
|
+
"string",
|
|
142
|
+
"@dblStringBody"
|
|
143
|
+
]],
|
|
144
|
+
stringBody: [[
|
|
145
|
+
/'/,
|
|
146
|
+
"string",
|
|
147
|
+
"@popall"
|
|
148
|
+
], [/./, "string"]],
|
|
149
|
+
dblStringBody: [[
|
|
150
|
+
/"/,
|
|
151
|
+
"string",
|
|
152
|
+
"@popall"
|
|
153
|
+
], [/./, "string"]],
|
|
154
|
+
heredoc: [[/(<<[-<]?)(\s*)(['"`]?)([\w\-]+)(['"`]?)/, [
|
|
155
|
+
"constants",
|
|
156
|
+
"white",
|
|
157
|
+
"string.heredoc.delimiter",
|
|
158
|
+
"string.heredoc",
|
|
159
|
+
"string.heredoc.delimiter"
|
|
160
|
+
]]],
|
|
161
|
+
parameters: [
|
|
162
|
+
[/\$\d+/, "variable.predefined"],
|
|
163
|
+
[/\$\w+/, "variable"],
|
|
164
|
+
[/\$[*@#?\-$!0_]/, "variable"],
|
|
165
|
+
[
|
|
166
|
+
/\$'/,
|
|
167
|
+
"variable",
|
|
168
|
+
"@parameterBodyQuote"
|
|
169
|
+
],
|
|
170
|
+
[
|
|
171
|
+
/\$"/,
|
|
172
|
+
"variable",
|
|
173
|
+
"@parameterBodyDoubleQuote"
|
|
174
|
+
],
|
|
175
|
+
[
|
|
176
|
+
/\$\(/,
|
|
177
|
+
"variable",
|
|
178
|
+
"@parameterBodyParen"
|
|
179
|
+
],
|
|
180
|
+
[
|
|
181
|
+
/\$\{/,
|
|
182
|
+
"variable",
|
|
183
|
+
"@parameterBodyCurlyBrace"
|
|
184
|
+
]
|
|
185
|
+
],
|
|
186
|
+
parameterBodyQuote: [
|
|
187
|
+
[/[^#:%*@\-!_']+/, "variable"],
|
|
188
|
+
[/[#:%*@\-!_]/, "delimiter"],
|
|
189
|
+
[
|
|
190
|
+
/[']/,
|
|
191
|
+
"variable",
|
|
192
|
+
"@pop"
|
|
193
|
+
]
|
|
194
|
+
],
|
|
195
|
+
parameterBodyDoubleQuote: [
|
|
196
|
+
[/[^#:%*@\-!_"]+/, "variable"],
|
|
197
|
+
[/[#:%*@\-!_]/, "delimiter"],
|
|
198
|
+
[
|
|
199
|
+
/["]/,
|
|
200
|
+
"variable",
|
|
201
|
+
"@pop"
|
|
202
|
+
]
|
|
203
|
+
],
|
|
204
|
+
parameterBodyParen: [
|
|
205
|
+
[/[^#:%*@\-!_)]+/, "variable"],
|
|
206
|
+
[/[#:%*@\-!_]/, "delimiter"],
|
|
207
|
+
[
|
|
208
|
+
/[)]/,
|
|
209
|
+
"variable",
|
|
210
|
+
"@pop"
|
|
211
|
+
]
|
|
212
|
+
],
|
|
213
|
+
parameterBodyCurlyBrace: [
|
|
214
|
+
[/[^#:%*@\-!_}]+/, "variable"],
|
|
215
|
+
[/[#:%*@\-!_]/, "delimiter"],
|
|
216
|
+
[
|
|
217
|
+
/[}]/,
|
|
218
|
+
"variable",
|
|
219
|
+
"@pop"
|
|
220
|
+
]
|
|
221
|
+
]
|
|
222
|
+
}
|
|
223
|
+
};
|
|
224
|
+
//#endregion
|
|
225
|
+
export { e as conf, t as language };
|