@elliots/unplugin-typical 0.2.1 → 0.2.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.
@@ -1,4 +1,4 @@
1
- import { t as Typical } from "./index-BQdMWxHU.mjs";
1
+ import { t as Typical } from "./index-B05z7_Xb.mjs";
2
2
 
3
3
  //#region src/esbuild.d.ts
4
4
 
package/dist/farm.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as Typical } from "./index-BQdMWxHU.mjs";
1
+ import { t as Typical } from "./index-B05z7_Xb.mjs";
2
2
 
3
3
  //#region src/farm.d.ts
4
4
 
@@ -24,7 +24,13 @@ interface TypicalSourceMapConfig {
24
24
  interface TypicalConfig {
25
25
  include?: string[];
26
26
  exclude?: string[];
27
- reusableValidators?: boolean;
27
+ /**
28
+ * Controls whether validators are hoisted to module scope for reuse.
29
+ * - 'auto' (default): Hoist only validators used more than once
30
+ * - 'never': Never hoist, always generate inline validators
31
+ * - 'always': Always hoist validators, even if only used once
32
+ */
33
+ reusableValidators?: 'auto' | 'never' | 'always';
28
34
  validateCasts?: boolean;
29
35
  hoistRegex?: boolean;
30
36
  debug?: TypicalDebugConfig;
package/dist/index.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { n as Options, t as Typical } from "./index-BQdMWxHU.mjs";
1
+ import { n as Options, t as Typical } from "./index-B05z7_Xb.mjs";
2
2
  export { Options, Typical };
@@ -1,4 +1,4 @@
1
- import { t as Typical } from "./index-BQdMWxHU.mjs";
1
+ import { t as Typical } from "./index-B05z7_Xb.mjs";
2
2
 
3
3
  //#region src/rolldown.d.ts
4
4
 
package/dist/rollup.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as Typical } from "./index-BQdMWxHU.mjs";
1
+ import { t as Typical } from "./index-B05z7_Xb.mjs";
2
2
 
3
3
  //#region src/rollup.d.ts
4
4
 
package/dist/rspack.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as Typical } from "./index-BQdMWxHU.mjs";
1
+ import { t as Typical } from "./index-B05z7_Xb.mjs";
2
2
 
3
3
  //#region src/rspack.d.ts
4
4
 
package/dist/vite.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as Typical } from "./index-BQdMWxHU.mjs";
1
+ import { t as Typical } from "./index-B05z7_Xb.mjs";
2
2
 
3
3
  //#region src/vite.d.ts
4
4
 
@@ -1,4 +1,4 @@
1
- import { t as Typical } from "./index-BQdMWxHU.mjs";
1
+ import { t as Typical } from "./index-B05z7_Xb.mjs";
2
2
 
3
3
  //#region src/webpack.d.ts
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliots/unplugin-typical",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "Unplugin for typical - runtime safe TypeScript transformer",
5
5
  "keywords": [
6
6
  "esbuild",
@@ -57,7 +57,7 @@
57
57
  "access": "public"
58
58
  },
59
59
  "dependencies": {
60
- "@elliots/typical": "0.2.1",
60
+ "@elliots/typical": "0.2.3",
61
61
  "unplugin": "^2.3.11"
62
62
  },
63
63
  "devDependencies": {