vite-plugin-millennium-skin 1.0.1 → 1.0.3

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.
@@ -4,6 +4,5 @@ export * from './aliasModules';
4
4
  export * from './defaultMatch';
5
5
  export * from './versionConfig';
6
6
  export * from '../types/index';
7
- export * from '../types/index';
8
7
  export default function millenniumSkin(): Plugin;
9
8
  export declare function defineConfig(SkinConfig: SkinConfig): SkinConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-millennium-skin",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "main": "./dist/index.js",
5
5
  "type": "module",
6
6
  "directories": {
@@ -26,6 +26,7 @@
26
26
  "@babel/preset-typescript": "^7.28.5",
27
27
  "@types/babel__core": "^7.20.5",
28
28
  "bestzip": "^2.2.1",
29
+ "cross-env": "^10.1.0",
29
30
  "eslint": "^9.39.2",
30
31
  "globals": "^16.5.0",
31
32
  "prettier": "^3.7.3",
@@ -51,7 +52,6 @@
51
52
  "@typescript-eslint/eslint-plugin": "^8.50.1",
52
53
  "babel-plugin-transform-typescript": "^7.0.0-alpha.19",
53
54
  "chalk": "^5.6.2",
54
- "cross-env": "^10.1.0",
55
55
  "vite-plugin-dts": "^4.5.4"
56
56
  }
57
57
  }
package/src/ts/index.ts CHANGED
@@ -32,8 +32,6 @@ const SEMANTIC_VERSIONING_REGEXP =
32
32
  const SEMANTIC_TAGS_REGEXP =
33
33
  /(?:\.)?(?<tag>[a-zA-Z]+)\.(?<number>(?:[1-9]\d*|0\d*|0))/g;
34
34
 
35
- export * from "../types/index";
36
-
37
35
  let logger: Logger;
38
36
  export default function millenniumSkin(): Plugin {
39
37
  const jsMap: string[] = [];
@@ -1,4 +1,4 @@
1
- export interface SkinConfig {
1
+ export type SkinConfig = {
2
2
  name: string;
3
3
  description: string;
4
4
  author: string;
@@ -19,9 +19,9 @@ export interface SkinConfig {
19
19
  Patches?: Patch[];
20
20
  srcJs: string;
21
21
  srcCss: string;
22
- }
22
+ };
23
23
 
24
- export interface SkinConfigResult {
24
+ export type SkinConfigResult = {
25
25
  name: string;
26
26
  description: string;
27
27
  author: string;
@@ -34,19 +34,19 @@ export interface SkinConfigResult {
34
34
  };
35
35
  RootColors?: string;
36
36
  Patches: PatchResult[];
37
- }
37
+ };
38
38
 
39
- export interface Patch {
39
+ export type Patch = {
40
40
  Match: string | RegExp;
41
41
  TargetCss?: string;
42
42
  TargetJs?: string;
43
- }
43
+ };
44
44
 
45
- export interface PatchResult {
45
+ export type PatchResult = {
46
46
  MatchRegexString: string;
47
47
  TargetCss?: string;
48
48
  TargetJs?: string;
49
- }
49
+ };
50
50
 
51
51
  export type namedExports = namedExport[];
52
52