vite-plugin-millennium-skin 1.0.2 → 1.0.5
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/index.d.ts +73 -6
- package/dist/index.js +20180 -338
- package/package.json +3 -2
- package/src/ts/index.ts +87 -10
- package/tsconfig.json +4 -5
- package/vite.config.ts +15 -3
- package/dist/skin.config.d.ts +0 -2
- package/dist/src/ts/index.d.ts +0 -9
- package/dist/src/types/index.d.ts +0 -1
- package/dist/vite.config.d.ts +0 -2
- package/src/types/babel.d.ts +0 -1
- package/src/types/global.d.ts +0 -0
- package/src/types/index.ts +0 -1
- package/src/types/skin.config.d.ts +0 -86
- /package/dist/{src/ts/aliasModules.d.ts → aliasModules.d.ts} +0 -0
- /package/dist/{src/ts/defaultMatch.d.ts → defaultMatch.d.ts} +0 -0
- /package/dist/{src/ts/defaultPatches.d.ts → defaultPatches.d.ts} +0 -0
- /package/dist/{src/ts/versionConfig.d.ts → versionConfig.d.ts} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,73 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
|
|
1
|
+
import { Plugin } from 'vite';
|
|
2
|
+
export * from './aliasModules';
|
|
3
|
+
export * from './defaultMatch';
|
|
4
|
+
export * from './versionConfig';
|
|
5
|
+
export type SkinConfig = {
|
|
6
|
+
name: string;
|
|
7
|
+
description: string;
|
|
8
|
+
author: string;
|
|
9
|
+
version?: versionConfig;
|
|
10
|
+
tags?: string[];
|
|
11
|
+
header_image: string;
|
|
12
|
+
splash_image: string;
|
|
13
|
+
github: {
|
|
14
|
+
owner: string;
|
|
15
|
+
repo_name: string;
|
|
16
|
+
};
|
|
17
|
+
discord_support?: {
|
|
18
|
+
inviteCodeExcludingLink?: string;
|
|
19
|
+
};
|
|
20
|
+
"Steam-WebKit"?: string;
|
|
21
|
+
UseDefaultPatches?: boolean;
|
|
22
|
+
RootColors?: string;
|
|
23
|
+
Patches?: Patch[];
|
|
24
|
+
srcJs: string;
|
|
25
|
+
srcCss: string;
|
|
26
|
+
};
|
|
27
|
+
export type SkinConfigResult = {
|
|
28
|
+
name: string;
|
|
29
|
+
description: string;
|
|
30
|
+
author: string;
|
|
31
|
+
version: string;
|
|
32
|
+
header_image: string;
|
|
33
|
+
splash_image: string;
|
|
34
|
+
github: {
|
|
35
|
+
owner: string;
|
|
36
|
+
repo_name: string;
|
|
37
|
+
};
|
|
38
|
+
RootColors?: string;
|
|
39
|
+
Patches: PatchResult[];
|
|
40
|
+
};
|
|
41
|
+
export type Patch = {
|
|
42
|
+
Match: string | RegExp;
|
|
43
|
+
TargetCss?: string;
|
|
44
|
+
TargetJs?: string;
|
|
45
|
+
};
|
|
46
|
+
export type PatchResult = {
|
|
47
|
+
MatchRegexString: string;
|
|
48
|
+
TargetCss?: string;
|
|
49
|
+
TargetJs?: string;
|
|
50
|
+
};
|
|
51
|
+
export type namedExports = namedExport[];
|
|
52
|
+
export type namedExport = {
|
|
53
|
+
exportLocal: string;
|
|
54
|
+
links: string[];
|
|
55
|
+
};
|
|
56
|
+
export type bump_tag = null | undefined | "major" | "minor" | "patch" | "rc" | "gamma" | "beta" | "preview" | "alpha" | "snapshot";
|
|
57
|
+
export type versionObject = {
|
|
58
|
+
major: number;
|
|
59
|
+
minor: number;
|
|
60
|
+
patch: number;
|
|
61
|
+
rc?: number;
|
|
62
|
+
gamma?: number;
|
|
63
|
+
beta?: number;
|
|
64
|
+
preview?: number;
|
|
65
|
+
alpha?: number;
|
|
66
|
+
snapshot?: number;
|
|
67
|
+
};
|
|
68
|
+
export declare enum versionConfig {
|
|
69
|
+
auto = 0,
|
|
70
|
+
package = 1
|
|
71
|
+
}
|
|
72
|
+
export default function millenniumSkin(): Plugin;
|
|
73
|
+
export declare function defineConfig(SkinConfig: SkinConfig): SkinConfig;
|