@unhead/addons 1.1.13 → 1.1.14

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,3 +1,11 @@
1
+ interface TreeshakeServerComposablesOptions extends BaseTransformerTypes {
2
+ enabled?: boolean;
3
+ }
4
+
5
+ interface UseSeoMetaTransformOptions extends BaseTransformerTypes {
6
+ imports?: boolean;
7
+ }
8
+
1
9
  interface BaseTransformerTypes {
2
10
  sourcemap?: boolean;
3
11
  filter?: {
@@ -5,13 +13,9 @@ interface BaseTransformerTypes {
5
13
  include?: RegExp[];
6
14
  };
7
15
  }
8
-
9
- interface TreeshakeServerComposablesOptions extends BaseTransformerTypes {
10
- enabled?: boolean;
11
- }
12
-
13
- interface UseSeoMetaTransformOptions extends BaseTransformerTypes {
14
- imports?: boolean;
16
+ interface UnpluginOptions extends BaseTransformerTypes {
17
+ treeshake?: TreeshakeServerComposablesOptions;
18
+ transformSeoMeta?: UseSeoMetaTransformOptions;
15
19
  }
16
20
 
17
- export { BaseTransformerTypes as B, TreeshakeServerComposablesOptions as T, UseSeoMetaTransformOptions as U };
21
+ export { UnpluginOptions as U };
package/dist/vite.d.ts CHANGED
@@ -1,9 +1,6 @@
1
- import { T as TreeshakeServerComposablesOptions, U as UseSeoMetaTransformOptions, B as BaseTransformerTypes } from './UseSeoMetaTransform-f7637bc6.js';
2
1
  import { Plugin } from 'vite';
2
+ import { U as UnpluginOptions } from './types-9efb11a1.js';
3
3
 
4
- declare const _default: (options?: {
5
- treeshake?: TreeshakeServerComposablesOptions;
6
- transformSeoMeta?: UseSeoMetaTransformOptions;
7
- } & BaseTransformerTypes) => Plugin[];
4
+ declare const _default: (options?: UnpluginOptions) => Plugin[];
8
5
 
9
- export { _default as default };
6
+ export { UnpluginOptions, _default as default };
package/dist/webpack.d.ts CHANGED
@@ -1,9 +1,6 @@
1
1
  import * as webpack from 'webpack';
2
- import { T as TreeshakeServerComposablesOptions, U as UseSeoMetaTransformOptions, B as BaseTransformerTypes } from './UseSeoMetaTransform-f7637bc6.js';
2
+ import { U as UnpluginOptions } from './types-9efb11a1.js';
3
3
 
4
- declare const _default: (options?: {
5
- treeshake?: TreeshakeServerComposablesOptions;
6
- transformSeoMeta?: UseSeoMetaTransformOptions;
7
- } & BaseTransformerTypes) => webpack.WebpackPluginInstance[];
4
+ declare const _default: (options?: UnpluginOptions) => webpack.WebpackPluginInstance[];
8
5
 
9
- export { _default as default };
6
+ export { UnpluginOptions, _default as default };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unhead/addons",
3
3
  "type": "module",
4
- "version": "1.1.13",
4
+ "version": "1.1.14",
5
5
  "packageManager": "pnpm@7.28.0",
6
6
  "author": "Harlan Wilton <harlan@harlanzw.com>",
7
7
  "license": "MIT",
@@ -56,9 +56,9 @@
56
56
  "ufo": "^1.1.0",
57
57
  "unplugin": "^1.1.0",
58
58
  "unplugin-ast": "^0.7.0",
59
- "@unhead/schema": "1.1.13",
60
- "@unhead/shared": "1.1.13",
61
- "unhead": "1.1.13"
59
+ "@unhead/schema": "1.1.14",
60
+ "@unhead/shared": "1.1.14",
61
+ "unhead": "1.1.14"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@babel/types": "^7.21.2",