@pinegrow/vite-plugin 3.0.0-beta.127 → 3.0.0-beta.128

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinegrow/vite-plugin",
3
- "version": "3.0.0-beta.127",
3
+ "version": "3.0.0-beta.128",
4
4
  "description": "Pinegrow Vite Plugin",
5
5
  "type": "module",
6
6
  "files": [
package/types.d.ts CHANGED
@@ -1,9 +1,7 @@
1
1
  import type { PinegrowTailwindCSSModuleOptions } from '@pinegrow/tailwindcss-plugin'
2
- import type { Options as AutoImportComponentsOptions } from 'unplugin-vue-components/types'
3
- import type { Options as AutoImportAPIsOptions } from 'unplugin-auto-import/types'
4
2
  import type { PluginOption as VitePluginOption } from 'vite'
5
3
 
6
- interface Options {
4
+ export interface LiveDesignerOptions {
7
5
  /**
8
6
  * Absolute path to the root of a monorepo.
9
7
  * Relative path from the project root to the root of a monorepo.
@@ -48,22 +46,10 @@ interface PinegrowVitePlugin<VitePluginOption> {
48
46
  */
49
47
  liveDesigner?: {
50
48
  [key in string]?: any
51
- } & Options
52
-
53
- /**
54
- * unplugin-vue-components options for auto-importing local components and via resolvers
55
- * For details, check https://github.com/antfu/unplugin-vue-components#configuration
56
- */
57
- autoImportComponents?: AutoImportComponentsOptions
58
-
59
- /**
60
- * unplugin-auto-import options for auto-importing APIs using presets
61
- * For details, check https://github.com/antfu/unplugin-auto-import#configuration
62
- */
63
- autoImportAPIs?: AutoImportAPIsOptions
49
+ } & LiveDesignerOptions
64
50
  }
65
51
 
66
- declare function export_default(liveDesigner: Options): PinegrowVitePlugin
52
+ declare function export_default(liveDesigner: LiveDesignerOptions): PinegrowVitePlugin
67
53
 
68
- export { PinegrowVitePlugin, Options, export_default as default, export_default as liveDesigner }
54
+ export { PinegrowVitePlugin, LiveDesignerOptions, export_default as default, export_default as liveDesigner }
69
55