css-typed-vars 0.11.0 → 0.13.0

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.
@@ -1,6 +1,6 @@
1
1
  import { Options } from './unplugin.cjs';
2
2
  import 'unplugin';
3
- import './generator-DJ9uOYBP.cjs';
3
+ import './generator-BokM5zux.cjs';
4
4
 
5
5
  declare const _default: (options: Options) => WebpackPluginInstance;
6
6
 
package/dist/webpack.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Options } from './unplugin.js';
2
2
  import 'unplugin';
3
- import './generator-DJ9uOYBP.js';
3
+ import './generator-BokM5zux.js';
4
4
 
5
5
  declare const _default: (options: Options) => WebpackPluginInstance;
6
6
 
package/dist/webpack.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  unplugin_default
3
- } from "./chunk-CBN3J54B.js";
4
- import "./chunk-TR53YUPE.js";
3
+ } from "./chunk-JGJ53FND.js";
4
+ import "./chunk-XSFYQPH6.js";
5
5
 
6
6
  // src/webpack.ts
7
7
  var webpack_default = unplugin_default.webpack;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "css-typed-vars",
3
- "version": "0.11.0",
3
+ "version": "0.13.0",
4
4
  "description": "Generate TypeScript typed constants from CSS custom properties",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -83,13 +83,13 @@
83
83
  },
84
84
  "dependencies": {
85
85
  "chokidar": "^5.0.0",
86
- "fast-glob": "^3.3.2",
87
- "picomatch": "^2.3.2",
86
+ "picomatch": "^4.0.7",
87
+ "tinyglobby": "^0.2.17",
88
88
  "unplugin": "^3.0.0"
89
89
  },
90
90
  "devDependencies": {
91
91
  "@types/node": "^25.5.2",
92
- "@types/picomatch": "^2.3.4",
92
+ "@types/picomatch": "^4.0.3",
93
93
  "tsup": "^8.0.0",
94
94
  "typescript": "^5.4.0",
95
95
  "vitepress": "^1.6.4",
package/schema.json CHANGED
@@ -59,7 +59,7 @@
59
59
  },
60
60
  "helpers": {
61
61
  "type": "boolean",
62
- "description": "Also emit the CssVarRef type and the getCssVar/setCssVar/withFallback helpers."
62
+ "description": "Also emit the CssVarRef type and the getCssVar/setCssVar/withFallback/varName helpers."
63
63
  },
64
64
  "prune": {
65
65
  "type": "boolean",
@@ -77,6 +77,10 @@
77
77
  "type": "array",
78
78
  "items": { "type": "string" },
79
79
  "description": "Names (or --prefix-* patterns) that --lint-refs shouldn't report, e.g. vars set from JS."
80
+ },
81
+ "refsSource": {
82
+ "$ref": "#/definitions/globs",
83
+ "description": "Glob(s) of source files (TS/JSX, Vue, HTML, ...) whose var(--name) references --lint-refs checks too."
80
84
  }
81
85
  }
82
86
  }