vuetty 0.2.0 → 0.2.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/dist/build/bun-loader.d.ts +11 -1
- package/dist/index.d.ts +35 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Bun plugin for .vue files - for development/examples only
|
|
3
|
+
* Users should use the Rollup plugin for production builds
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export interface CompileResult {
|
|
7
|
+
code: string;
|
|
8
|
+
errors: Array<{ message: string }>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export function compileSFC(source: string, path: string): CompileResult;
|
package/dist/index.d.ts
CHANGED
|
@@ -4,12 +4,47 @@ import type { Component, DefineComponent, ComputedRef } from "vue";
|
|
|
4
4
|
// Core Options and Classes
|
|
5
5
|
// ============================================================================
|
|
6
6
|
|
|
7
|
+
export interface CacheOptions {
|
|
8
|
+
layout?: {
|
|
9
|
+
textMeasurement?: number;
|
|
10
|
+
metricsPerNode?: number;
|
|
11
|
+
};
|
|
12
|
+
line?: {
|
|
13
|
+
width?: number;
|
|
14
|
+
truncateBuckets?: number;
|
|
15
|
+
truncatePerBucket?: number;
|
|
16
|
+
};
|
|
17
|
+
effects?: {
|
|
18
|
+
results?: number;
|
|
19
|
+
parsedColors?: number;
|
|
20
|
+
colorArrays?: number;
|
|
21
|
+
};
|
|
22
|
+
components?: {
|
|
23
|
+
markdown?: {
|
|
24
|
+
tokens?: number;
|
|
25
|
+
maxTokens?: number;
|
|
26
|
+
styles?: number;
|
|
27
|
+
};
|
|
28
|
+
bigText?: {
|
|
29
|
+
figlet?: number;
|
|
30
|
+
final?: number;
|
|
31
|
+
};
|
|
32
|
+
image?: {
|
|
33
|
+
rendered?: number;
|
|
34
|
+
};
|
|
35
|
+
box?: {
|
|
36
|
+
bufferPool?: number;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
7
41
|
export interface VuettyOptions {
|
|
8
42
|
theme?: Partial<Theme>;
|
|
9
43
|
debugServer?: boolean | Record<string, any>;
|
|
10
44
|
viewport?: Record<string, any>;
|
|
11
45
|
forceColors?: boolean;
|
|
12
46
|
scrollIndicatorMode?: string;
|
|
47
|
+
cache?: CacheOptions;
|
|
13
48
|
[key: string]: any;
|
|
14
49
|
}
|
|
15
50
|
|