vue-codemirror6 1.1.15 → 1.1.18
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/CHANGELOG.md +11 -3
- package/README.md +31 -11
- package/dist/index.es.js +103 -70
- package/dist/index.iife.js +103 -69
- package/dist/index.umd.js +105 -71
- package/dist/src/components/CodeMirror.d.ts +451 -16
- package/dist/src/index.d.ts +1 -1
- package/package.json +22 -24
- package/src/components/CodeMirror.ts +161 -124
|
@@ -1,25 +1,460 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { EditorState, type Text } from '@codemirror/state';
|
|
1
|
+
import { type PropType, type Ref } from 'vue-demi';
|
|
3
2
|
import { EditorView, type ViewUpdate } from '@codemirror/view';
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
import { EditorState, type Extension, type Text } from '@codemirror/state';
|
|
4
|
+
import { type LintSource } from '@codemirror/lint';
|
|
5
|
+
import type { LanguageSupport } from '@codemirror/language';
|
|
6
|
+
import type { StyleSpec } from 'style-mod';
|
|
7
|
+
/** CodeMirror Component */
|
|
8
|
+
declare const _default: import("vue-demi").DefineComponent<{
|
|
9
|
+
/** Model value */
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: PropType<string | Text>;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Theme
|
|
16
|
+
*
|
|
17
|
+
* @see {@link https://codemirror.net/docs/ref/#view.EditorView^theme}
|
|
18
|
+
*/
|
|
19
|
+
theme: {
|
|
20
|
+
type: PropType<Record<string, StyleSpec>>;
|
|
21
|
+
default: () => void;
|
|
22
|
+
};
|
|
23
|
+
/** Dark Mode */
|
|
24
|
+
dark: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Use Basic Setup
|
|
30
|
+
*
|
|
31
|
+
* @see {@link https://codemirror.net/docs/ref/#codemirror.basicSetup}
|
|
32
|
+
*/
|
|
33
|
+
basic: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Use Minimal Setup (The basic setting has priority.)
|
|
39
|
+
*
|
|
40
|
+
* @see {@link https://codemirror.net/docs/ref/#codemirror.minimalSetup}
|
|
41
|
+
*/
|
|
42
|
+
minimal: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Placeholder
|
|
48
|
+
*
|
|
49
|
+
* @see {@link https://codemirror.net/docs/ref/#view.placeholder}
|
|
50
|
+
*/
|
|
51
|
+
placeholder: {
|
|
52
|
+
type: PropType<string | HTMLElement>;
|
|
53
|
+
default: undefined;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Line wrapping
|
|
57
|
+
*
|
|
58
|
+
* An extension that enables line wrapping in the editor (by setting CSS white-space to pre-wrap in the content).
|
|
59
|
+
*
|
|
60
|
+
* @see {@link https://codemirror.net/docs/ref/#view.EditorView%5ElineWrapping}
|
|
61
|
+
*/
|
|
62
|
+
wrap: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Allow tab key indent.
|
|
68
|
+
*
|
|
69
|
+
* @see {@link https://codemirror.net/examples/tab/}
|
|
70
|
+
*/
|
|
71
|
+
tab: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Allow Multiple Selection.
|
|
77
|
+
*
|
|
78
|
+
* @see {@link https://codemirror.net/docs/ref/#state.EditorState^allowMultipleSelections}
|
|
79
|
+
*/
|
|
80
|
+
allowMultipleSelections: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Tab size
|
|
86
|
+
*
|
|
87
|
+
* @see {@link https://codemirror.net/docs/ref/#state.EditorState^tabSize}
|
|
88
|
+
*/
|
|
89
|
+
tabSize: {
|
|
90
|
+
type: NumberConstructor;
|
|
91
|
+
default: undefined;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Set line break (separetor) char.
|
|
95
|
+
*
|
|
96
|
+
* @see {@link https://codemirror.net/docs/ref/#state.EditorState^lineSeparator}
|
|
97
|
+
*/
|
|
98
|
+
lineSeparator: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: undefined;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* Readonly
|
|
104
|
+
*
|
|
105
|
+
* @see {@link https://codemirror.net/docs/ref/#state.EditorState^readOnly}
|
|
106
|
+
*/
|
|
107
|
+
readonly: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Disable input.
|
|
113
|
+
*
|
|
114
|
+
* This is the reversed value of the CodeMirror editable.
|
|
115
|
+
* Similar to `readonly`, but setting this value to true disables dragging.
|
|
116
|
+
*
|
|
117
|
+
* @see {@link https://codemirror.net/docs/ref/#view.EditorView^editable}
|
|
118
|
+
*/
|
|
119
|
+
disabled: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Additional Extension
|
|
125
|
+
*
|
|
126
|
+
* @see {@link https://codemirror.net/docs/ref/#state.Extension}
|
|
127
|
+
*/
|
|
128
|
+
extensions: {
|
|
129
|
+
type: PropType<Extension[]>;
|
|
130
|
+
default: () => never[];
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* Language Phreses
|
|
134
|
+
*
|
|
135
|
+
* @see {@link https://codemirror.net/examples/translate/}
|
|
136
|
+
*/
|
|
137
|
+
phrases: {
|
|
138
|
+
type: PropType<Record<string, string>>;
|
|
139
|
+
default: () => undefined;
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* CodeMirror Language
|
|
143
|
+
*
|
|
144
|
+
* @see {@link https://codemirror.net/docs/ref/#language}
|
|
145
|
+
*/
|
|
146
|
+
lang: {
|
|
147
|
+
type: PropType<LanguageSupport>;
|
|
148
|
+
default: () => undefined;
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* CodeMirror Linter
|
|
152
|
+
*
|
|
153
|
+
* @see {@link https://codemirror.net/docs/ref/#lint.linter}
|
|
154
|
+
*/
|
|
155
|
+
linter: {
|
|
156
|
+
type: PropType<LintSource>;
|
|
157
|
+
default: undefined;
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* Linter Config
|
|
161
|
+
*
|
|
162
|
+
* @see {@link https://codemirror.net/docs/ref/#lint.linter^config}
|
|
163
|
+
*/
|
|
164
|
+
linterConfig: {
|
|
165
|
+
type: ObjectConstructor;
|
|
166
|
+
default: () => {
|
|
167
|
+
needsRefresh: boolean;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* Forces any linters configured to run when the editor is idle to run right away.
|
|
172
|
+
*
|
|
173
|
+
* @see {@link https://codemirror.net/docs/ref/#lint.forceLinting}
|
|
174
|
+
*/
|
|
175
|
+
forceLinting: {
|
|
176
|
+
type: BooleanConstructor;
|
|
177
|
+
default: boolean;
|
|
178
|
+
};
|
|
179
|
+
/**
|
|
180
|
+
* Show Linter Gutter
|
|
181
|
+
*
|
|
182
|
+
* An area to 🔴 the lines with errors will be displayed.
|
|
183
|
+
* This feature is not enabled if `linter` is not specified.
|
|
184
|
+
*
|
|
185
|
+
* @see {@link https://codemirror.net/docs/ref/#lint.lintGutter}
|
|
186
|
+
*/
|
|
187
|
+
gutter: {
|
|
188
|
+
type: BooleanConstructor;
|
|
189
|
+
defalt: boolean;
|
|
190
|
+
};
|
|
191
|
+
/**
|
|
192
|
+
* Gutter Config
|
|
193
|
+
*
|
|
194
|
+
* @see {@link https://codemirror.net/docs/ref/#lint.lintGutter^config}
|
|
195
|
+
*/
|
|
196
|
+
gutterConfig: {
|
|
197
|
+
type: ObjectConstructor;
|
|
198
|
+
default: () => undefined;
|
|
199
|
+
};
|
|
200
|
+
/**
|
|
201
|
+
* Using tag
|
|
202
|
+
*/
|
|
203
|
+
tag: {
|
|
204
|
+
type: StringConstructor;
|
|
205
|
+
default: string;
|
|
206
|
+
};
|
|
207
|
+
}, {
|
|
208
|
+
editor: Ref<HTMLElement | undefined>;
|
|
209
|
+
}, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, {
|
|
6
210
|
/** Model Update */
|
|
7
|
-
|
|
211
|
+
'update:modelValue': (value: string | Text) => boolean;
|
|
8
212
|
/** CodeMirror ViewUpdate */
|
|
9
|
-
|
|
10
|
-
/** CodeMirror onFocus */
|
|
11
|
-
(e: 'focus', value: boolean): void;
|
|
213
|
+
update: (value: ViewUpdate) => boolean;
|
|
12
214
|
/** CodeMirror onReady */
|
|
13
|
-
|
|
215
|
+
ready: (value: {
|
|
14
216
|
view: EditorView;
|
|
15
217
|
state: EditorState;
|
|
16
218
|
container: HTMLElement;
|
|
17
|
-
})
|
|
18
|
-
/** CodeMirror
|
|
19
|
-
(
|
|
219
|
+
}) => boolean;
|
|
220
|
+
/** CodeMirror onFocus */
|
|
221
|
+
focus: (value: boolean) => boolean;
|
|
20
222
|
/** State Changed */
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
223
|
+
change: (value: EditorState) => boolean;
|
|
224
|
+
/** CodeMirror onDestroy */
|
|
225
|
+
destroy: () => boolean;
|
|
226
|
+
}, string, import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
227
|
+
/** Model value */
|
|
228
|
+
modelValue: {
|
|
229
|
+
type: PropType<string | Text>;
|
|
230
|
+
default: string;
|
|
231
|
+
};
|
|
232
|
+
/**
|
|
233
|
+
* Theme
|
|
234
|
+
*
|
|
235
|
+
* @see {@link https://codemirror.net/docs/ref/#view.EditorView^theme}
|
|
236
|
+
*/
|
|
237
|
+
theme: {
|
|
238
|
+
type: PropType<Record<string, StyleSpec>>;
|
|
239
|
+
default: () => void;
|
|
240
|
+
};
|
|
241
|
+
/** Dark Mode */
|
|
242
|
+
dark: {
|
|
243
|
+
type: BooleanConstructor;
|
|
244
|
+
default: boolean;
|
|
245
|
+
};
|
|
246
|
+
/**
|
|
247
|
+
* Use Basic Setup
|
|
248
|
+
*
|
|
249
|
+
* @see {@link https://codemirror.net/docs/ref/#codemirror.basicSetup}
|
|
250
|
+
*/
|
|
251
|
+
basic: {
|
|
252
|
+
type: BooleanConstructor;
|
|
253
|
+
default: boolean;
|
|
254
|
+
};
|
|
255
|
+
/**
|
|
256
|
+
* Use Minimal Setup (The basic setting has priority.)
|
|
257
|
+
*
|
|
258
|
+
* @see {@link https://codemirror.net/docs/ref/#codemirror.minimalSetup}
|
|
259
|
+
*/
|
|
260
|
+
minimal: {
|
|
261
|
+
type: BooleanConstructor;
|
|
262
|
+
default: boolean;
|
|
263
|
+
};
|
|
264
|
+
/**
|
|
265
|
+
* Placeholder
|
|
266
|
+
*
|
|
267
|
+
* @see {@link https://codemirror.net/docs/ref/#view.placeholder}
|
|
268
|
+
*/
|
|
269
|
+
placeholder: {
|
|
270
|
+
type: PropType<string | HTMLElement>;
|
|
271
|
+
default: undefined;
|
|
272
|
+
};
|
|
273
|
+
/**
|
|
274
|
+
* Line wrapping
|
|
275
|
+
*
|
|
276
|
+
* An extension that enables line wrapping in the editor (by setting CSS white-space to pre-wrap in the content).
|
|
277
|
+
*
|
|
278
|
+
* @see {@link https://codemirror.net/docs/ref/#view.EditorView%5ElineWrapping}
|
|
279
|
+
*/
|
|
280
|
+
wrap: {
|
|
281
|
+
type: BooleanConstructor;
|
|
282
|
+
default: boolean;
|
|
283
|
+
};
|
|
284
|
+
/**
|
|
285
|
+
* Allow tab key indent.
|
|
286
|
+
*
|
|
287
|
+
* @see {@link https://codemirror.net/examples/tab/}
|
|
288
|
+
*/
|
|
289
|
+
tab: {
|
|
290
|
+
type: BooleanConstructor;
|
|
291
|
+
default: boolean;
|
|
292
|
+
};
|
|
293
|
+
/**
|
|
294
|
+
* Allow Multiple Selection.
|
|
295
|
+
*
|
|
296
|
+
* @see {@link https://codemirror.net/docs/ref/#state.EditorState^allowMultipleSelections}
|
|
297
|
+
*/
|
|
298
|
+
allowMultipleSelections: {
|
|
299
|
+
type: BooleanConstructor;
|
|
300
|
+
default: boolean;
|
|
301
|
+
};
|
|
302
|
+
/**
|
|
303
|
+
* Tab size
|
|
304
|
+
*
|
|
305
|
+
* @see {@link https://codemirror.net/docs/ref/#state.EditorState^tabSize}
|
|
306
|
+
*/
|
|
307
|
+
tabSize: {
|
|
308
|
+
type: NumberConstructor;
|
|
309
|
+
default: undefined;
|
|
310
|
+
};
|
|
311
|
+
/**
|
|
312
|
+
* Set line break (separetor) char.
|
|
313
|
+
*
|
|
314
|
+
* @see {@link https://codemirror.net/docs/ref/#state.EditorState^lineSeparator}
|
|
315
|
+
*/
|
|
316
|
+
lineSeparator: {
|
|
317
|
+
type: StringConstructor;
|
|
318
|
+
default: undefined;
|
|
319
|
+
};
|
|
320
|
+
/**
|
|
321
|
+
* Readonly
|
|
322
|
+
*
|
|
323
|
+
* @see {@link https://codemirror.net/docs/ref/#state.EditorState^readOnly}
|
|
324
|
+
*/
|
|
325
|
+
readonly: {
|
|
326
|
+
type: BooleanConstructor;
|
|
327
|
+
default: boolean;
|
|
328
|
+
};
|
|
329
|
+
/**
|
|
330
|
+
* Disable input.
|
|
331
|
+
*
|
|
332
|
+
* This is the reversed value of the CodeMirror editable.
|
|
333
|
+
* Similar to `readonly`, but setting this value to true disables dragging.
|
|
334
|
+
*
|
|
335
|
+
* @see {@link https://codemirror.net/docs/ref/#view.EditorView^editable}
|
|
336
|
+
*/
|
|
337
|
+
disabled: {
|
|
338
|
+
type: BooleanConstructor;
|
|
339
|
+
default: boolean;
|
|
340
|
+
};
|
|
341
|
+
/**
|
|
342
|
+
* Additional Extension
|
|
343
|
+
*
|
|
344
|
+
* @see {@link https://codemirror.net/docs/ref/#state.Extension}
|
|
345
|
+
*/
|
|
346
|
+
extensions: {
|
|
347
|
+
type: PropType<Extension[]>;
|
|
348
|
+
default: () => never[];
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* Language Phreses
|
|
352
|
+
*
|
|
353
|
+
* @see {@link https://codemirror.net/examples/translate/}
|
|
354
|
+
*/
|
|
355
|
+
phrases: {
|
|
356
|
+
type: PropType<Record<string, string>>;
|
|
357
|
+
default: () => undefined;
|
|
358
|
+
};
|
|
359
|
+
/**
|
|
360
|
+
* CodeMirror Language
|
|
361
|
+
*
|
|
362
|
+
* @see {@link https://codemirror.net/docs/ref/#language}
|
|
363
|
+
*/
|
|
364
|
+
lang: {
|
|
365
|
+
type: PropType<LanguageSupport>;
|
|
366
|
+
default: () => undefined;
|
|
367
|
+
};
|
|
368
|
+
/**
|
|
369
|
+
* CodeMirror Linter
|
|
370
|
+
*
|
|
371
|
+
* @see {@link https://codemirror.net/docs/ref/#lint.linter}
|
|
372
|
+
*/
|
|
373
|
+
linter: {
|
|
374
|
+
type: PropType<LintSource>;
|
|
375
|
+
default: undefined;
|
|
376
|
+
};
|
|
377
|
+
/**
|
|
378
|
+
* Linter Config
|
|
379
|
+
*
|
|
380
|
+
* @see {@link https://codemirror.net/docs/ref/#lint.linter^config}
|
|
381
|
+
*/
|
|
382
|
+
linterConfig: {
|
|
383
|
+
type: ObjectConstructor;
|
|
384
|
+
default: () => {
|
|
385
|
+
needsRefresh: boolean;
|
|
386
|
+
};
|
|
387
|
+
};
|
|
388
|
+
/**
|
|
389
|
+
* Forces any linters configured to run when the editor is idle to run right away.
|
|
390
|
+
*
|
|
391
|
+
* @see {@link https://codemirror.net/docs/ref/#lint.forceLinting}
|
|
392
|
+
*/
|
|
393
|
+
forceLinting: {
|
|
394
|
+
type: BooleanConstructor;
|
|
395
|
+
default: boolean;
|
|
396
|
+
};
|
|
397
|
+
/**
|
|
398
|
+
* Show Linter Gutter
|
|
399
|
+
*
|
|
400
|
+
* An area to 🔴 the lines with errors will be displayed.
|
|
401
|
+
* This feature is not enabled if `linter` is not specified.
|
|
402
|
+
*
|
|
403
|
+
* @see {@link https://codemirror.net/docs/ref/#lint.lintGutter}
|
|
404
|
+
*/
|
|
405
|
+
gutter: {
|
|
406
|
+
type: BooleanConstructor;
|
|
407
|
+
defalt: boolean;
|
|
408
|
+
};
|
|
409
|
+
/**
|
|
410
|
+
* Gutter Config
|
|
411
|
+
*
|
|
412
|
+
* @see {@link https://codemirror.net/docs/ref/#lint.lintGutter^config}
|
|
413
|
+
*/
|
|
414
|
+
gutterConfig: {
|
|
415
|
+
type: ObjectConstructor;
|
|
416
|
+
default: () => undefined;
|
|
417
|
+
};
|
|
418
|
+
/**
|
|
419
|
+
* Using tag
|
|
420
|
+
*/
|
|
421
|
+
tag: {
|
|
422
|
+
type: StringConstructor;
|
|
423
|
+
default: string;
|
|
424
|
+
};
|
|
425
|
+
}>> & {
|
|
426
|
+
"onUpdate:modelValue"?: ((value: string | Text) => any) | undefined;
|
|
427
|
+
onUpdate?: ((value: ViewUpdate) => any) | undefined;
|
|
428
|
+
onReady?: ((value: {
|
|
429
|
+
view: EditorView;
|
|
430
|
+
state: EditorState;
|
|
431
|
+
container: HTMLElement;
|
|
432
|
+
}) => any) | undefined;
|
|
433
|
+
onFocus?: ((value: boolean) => any) | undefined;
|
|
434
|
+
onChange?: ((value: EditorState) => any) | undefined;
|
|
435
|
+
onDestroy?: (() => any) | undefined;
|
|
436
|
+
}, {
|
|
437
|
+
modelValue: string | Text;
|
|
438
|
+
theme: Record<string, StyleSpec>;
|
|
439
|
+
dark: boolean;
|
|
440
|
+
basic: boolean;
|
|
441
|
+
minimal: boolean;
|
|
442
|
+
placeholder: string | HTMLElement;
|
|
443
|
+
wrap: boolean;
|
|
444
|
+
tab: boolean;
|
|
445
|
+
allowMultipleSelections: boolean;
|
|
446
|
+
tabSize: number;
|
|
447
|
+
lineSeparator: string;
|
|
448
|
+
readonly: boolean;
|
|
449
|
+
disabled: boolean;
|
|
450
|
+
extensions: Extension[];
|
|
451
|
+
phrases: Record<string, string>;
|
|
452
|
+
lang: LanguageSupport;
|
|
453
|
+
linter: LintSource;
|
|
454
|
+
linterConfig: Record<string, any>;
|
|
455
|
+
forceLinting: boolean;
|
|
456
|
+
gutter: boolean;
|
|
457
|
+
gutterConfig: Record<string, any>;
|
|
458
|
+
tag: string;
|
|
459
|
+
}>;
|
|
25
460
|
export default _default;
|
package/dist/src/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "vue-codemirror6",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.18",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "CodeMirror6 Component for vue2 and vue3.",
|
|
7
7
|
"keywords": [
|
|
@@ -53,10 +53,9 @@
|
|
|
53
53
|
"./sfc": "./src/components/CodeMirror.ts"
|
|
54
54
|
},
|
|
55
55
|
"engines": {
|
|
56
|
-
"node": ">=18.15.0",
|
|
57
56
|
"yarn": ">=1.22.19"
|
|
58
57
|
},
|
|
59
|
-
"packageManager": "yarn@3.
|
|
58
|
+
"packageManager": "yarn@3.5.0",
|
|
60
59
|
"sideEffects": false,
|
|
61
60
|
"scripts": {
|
|
62
61
|
"dev": "vite",
|
|
@@ -74,53 +73,52 @@
|
|
|
74
73
|
},
|
|
75
74
|
"dependencies": {
|
|
76
75
|
"codemirror": "^6.0.1",
|
|
77
|
-
"lodash": "^4.17.21",
|
|
78
76
|
"vue-demi": "latest"
|
|
79
77
|
},
|
|
80
78
|
"peerDependencies": {
|
|
81
|
-
"vue": "^2.7.14 || ^3.2
|
|
79
|
+
"vue": "^2.7.14 || ^3.2"
|
|
82
80
|
},
|
|
83
81
|
"devDependencies": {
|
|
84
82
|
"@codemirror/lang-javascript": "^6.1.4",
|
|
85
83
|
"@codemirror/lang-json": "^6.0.1",
|
|
86
84
|
"@codemirror/lang-markdown": "^6.1.0",
|
|
87
85
|
"@codemirror/lang-vue": "^0.1.1",
|
|
88
|
-
"@types/lodash": "^4.14.
|
|
89
|
-
"@types/node": "^18.15.
|
|
90
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
91
|
-
"@typescript-eslint/parser": "^5.
|
|
92
|
-
"@vitejs/plugin-vue": "^4.
|
|
86
|
+
"@types/lodash": "^4.14.192",
|
|
87
|
+
"@types/node": "^18.15.11",
|
|
88
|
+
"@typescript-eslint/eslint-plugin": "^5.57.1",
|
|
89
|
+
"@typescript-eslint/parser": "^5.57.1",
|
|
90
|
+
"@vitejs/plugin-vue": "^4.1.0",
|
|
93
91
|
"@vue/eslint-config-prettier": "^7.1.0",
|
|
94
92
|
"@vue/tsconfig": "^0.1.3",
|
|
95
93
|
"@vueuse/core": "^9.13.0",
|
|
96
|
-
"
|
|
97
|
-
"eslint
|
|
98
|
-
"eslint-config-
|
|
94
|
+
"bootstrap": "5.3.0-alpha2",
|
|
95
|
+
"eslint": "^8.37.0",
|
|
96
|
+
"eslint-config-standard-with-typescript": "latest",
|
|
99
97
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
100
|
-
"eslint-import-resolver-typescript": "^3.5.
|
|
101
|
-
"eslint-linter-browserify": "^8.
|
|
98
|
+
"eslint-import-resolver-typescript": "^3.5.4",
|
|
99
|
+
"eslint-linter-browserify": "^8.37.0",
|
|
102
100
|
"eslint-plugin-html": "^7.1.0",
|
|
103
101
|
"eslint-plugin-import": "^2.27.5",
|
|
104
|
-
"eslint-plugin-
|
|
105
|
-
"eslint-plugin-
|
|
102
|
+
"eslint-plugin-n": "^15.7.0",
|
|
103
|
+
"eslint-plugin-promise": "^6.1.1",
|
|
106
104
|
"eslint-plugin-tsdoc": "^0.2.17",
|
|
107
|
-
"eslint-plugin-vue": "
|
|
105
|
+
"eslint-plugin-vue": "latest",
|
|
108
106
|
"eslint-plugin-vuejs-accessibility": "^2.1.0",
|
|
109
107
|
"eslint-plugin-yaml": "^0.5.0",
|
|
110
108
|
"husky": "^8.0.3",
|
|
111
109
|
"lint-staged": "^13.2.0",
|
|
112
110
|
"npm-run-all": "^4.1.5",
|
|
113
|
-
"prettier": "^2.8.
|
|
114
|
-
"rimraf": "^4.4.
|
|
111
|
+
"prettier": "^2.8.7",
|
|
112
|
+
"rimraf": "^4.4.1",
|
|
115
113
|
"rollup-plugin-visualizer": "^5.9.0",
|
|
116
|
-
"sass": "^1.
|
|
114
|
+
"sass": "^1.60.0",
|
|
117
115
|
"typescript": "^4.9.5",
|
|
118
|
-
"vite": "^4.1
|
|
116
|
+
"vite": "^4.2.1",
|
|
119
117
|
"vite-plugin-banner": "^0.7.0",
|
|
120
118
|
"vite-plugin-checker": "^0.5.6",
|
|
121
|
-
"vite-plugin-dts": "^2.
|
|
119
|
+
"vite-plugin-dts": "^2.2.0",
|
|
122
120
|
"vue": "^3.2.47",
|
|
123
|
-
"vue-eslint-parser": "^9.1.
|
|
121
|
+
"vue-eslint-parser": "^9.1.1",
|
|
124
122
|
"vue-markdown-wasm": "^0.3.6",
|
|
125
123
|
"vue-tsc": "^1.2.0"
|
|
126
124
|
},
|