@kanso-labs/unplugin-style-dictionary 0.4.17 → 0.4.19

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 CHANGED
@@ -1,9 +1,9 @@
1
1
  import { UnpluginStyleDictionaryOptions } from "./types.js";
2
2
  import { UnpluginFactory } from "unplugin";
3
3
  //#region src/index.d.ts
4
- declare function matchesWatchedFile(file: string, patterns: string[]): boolean;
5
- declare const unpluginFactory: UnpluginFactory<undefined | UnpluginStyleDictionaryOptions, false>;
6
- declare const unplugin: import("unplugin").UnpluginInstance<UnpluginStyleDictionaryOptions | undefined, false>;
4
+ export declare function matchesWatchedFile(file: string, patterns: string[]): boolean;
5
+ export declare const unpluginFactory: UnpluginFactory<undefined | UnpluginStyleDictionaryOptions, false>;
6
+ export declare const unplugin: import("unplugin").UnpluginInstance<UnpluginStyleDictionaryOptions | undefined, false>;
7
7
  //#endregion
8
- export { type UnpluginStyleDictionaryOptions, unplugin as default, unplugin, matchesWatchedFile, unpluginFactory };
8
+ export { type UnpluginStyleDictionaryOptions, unplugin as default };
9
9
  //# sourceMappingURL=index.d.ts.map
package/dist/types.d.ts CHANGED
@@ -11,7 +11,7 @@ import { Config } from "style-dictionary";
11
11
  * graph. A one-shot build (e.g. `tsdown`/`rolldown build` without `--watch`)
12
12
  * only builds once, in `buildStart`.
13
13
  */
14
- interface UnpluginStyleDictionaryOptions {
14
+ export interface UnpluginStyleDictionaryOptions {
15
15
  /**
16
16
  * Style Dictionary configuration(s).
17
17
  * Can be:
@@ -39,5 +39,4 @@ interface UnpluginStyleDictionaryOptions {
39
39
  watch?: string | string[];
40
40
  }
41
41
  //#endregion
42
- export { UnpluginStyleDictionaryOptions };
43
42
  //# sourceMappingURL=types.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kanso-labs/unplugin-style-dictionary",
3
- "version": "0.4.17",
3
+ "version": "0.4.19",
4
4
  "description": "Compile Style Dictionary design tokens ahead of your bundler (Vite, Rolldown, Rollup, or Webpack) from a single unplugin-based plugin, with automatic watching and rebuilding under Vite",
5
5
  "keywords": [
6
6
  "unplugin",
@@ -60,7 +60,8 @@
60
60
  "format:check": "oxfmt --check",
61
61
  "lint": "oxlint --type-aware . && eslint . && npm run format:check",
62
62
  "prepare": "husky",
63
- "test": "vitest run"
63
+ "test": "vitest run",
64
+ "test:coverage": "vitest run --coverage"
64
65
  },
65
66
  "peerDependencies": {
66
67
  "rolldown": "*",
@@ -88,19 +89,20 @@
88
89
  "@commitlint/config-conventional": "21.2.2",
89
90
  "@eslint/js": "10.0.1",
90
91
  "@types/node": "26.4.1",
91
- "eslint": "10.9.1",
92
+ "@vitest/coverage-v8": "4.1.11",
93
+ "eslint": "10.10.0",
92
94
  "eslint-plugin-oxlint": "1.81.0",
93
95
  "eslint-plugin-perfectionist": "5.11.0",
94
96
  "globals": "17.12.0",
95
97
  "husky": "9.1.7",
96
- "lint-staged": "17.4.1",
98
+ "lint-staged": "17.5.0",
97
99
  "oxfmt": "0.66.0",
98
100
  "oxlint": "1.81.0",
99
101
  "oxlint-tsgolint": "7.0.2001",
100
102
  "rimraf": "6.1.3",
101
103
  "rollup": "4.63.1",
102
104
  "style-dictionary": "5.5.2",
103
- "tsdown": "0.22.14",
105
+ "tsdown": "0.23.0",
104
106
  "typescript": "6.0.3",
105
107
  "typescript-eslint": "8.69.0",
106
108
  "vite": "8.2.2",