@pinegrow/vite-plugin 3.0.0-beta.110 → 3.0.0-beta.111
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 +1 -1
- package/types.d.ts +42 -62
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -3,82 +3,62 @@ import type { Options as AutoImportComponentsOptions } from 'unplugin-vue-compon
|
|
|
3
3
|
import type { Options as AutoImportAPIsOptions } from 'unplugin-auto-import/types'
|
|
4
4
|
|
|
5
5
|
interface Options {
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Absolute path to the root of a monorepo.
|
|
8
|
+
* Relative path from the project root to the root of a monorepo.
|
|
9
|
+
*/
|
|
10
|
+
repoRoot?: string
|
|
7
11
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
// User can override the themePath in the plugin's options
|
|
14
|
-
// {
|
|
15
|
-
// key: 'vuetify',
|
|
16
|
-
// pluginPath: '...',
|
|
17
|
-
// options: {
|
|
18
|
-
// themePath: './src/themes' // directory or file, for eg, './src/themes/my-pg-theme.cjs'
|
|
19
|
-
// }
|
|
20
|
-
// }
|
|
12
|
+
/**
|
|
13
|
+
* Absolute path to a custom config file (for eg, vite-dev.config.js).
|
|
14
|
+
* Relative path from the project root to a custom config file (for eg, vite-dev.config.js).
|
|
15
|
+
*/
|
|
16
|
+
configPath?: string
|
|
21
17
|
|
|
18
|
+
/**
|
|
19
|
+
* Key of the devtools exposed on the window object.
|
|
20
|
+
* For instructions, check Config Panel in Vue Designer
|
|
21
|
+
*/
|
|
22
22
|
devtoolsKey?: string
|
|
23
|
-
// vscodeTunnelUrl?: string
|
|
24
23
|
|
|
25
|
-
|
|
24
|
+
/**
|
|
25
|
+
* Router history modes - 'html5', 'hash'
|
|
26
|
+
* @default 'html5'
|
|
27
|
+
*/
|
|
26
28
|
|
|
27
|
-
|
|
28
|
-
// mergeWithPackageJson?: {
|
|
29
|
-
// dependencies?: {}
|
|
30
|
-
// devDependencies?: {
|
|
31
|
-
// // vite: string;
|
|
32
|
-
// }
|
|
33
|
-
// }
|
|
29
|
+
routerHistoryMode?: string //
|
|
34
30
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
// ripple: {
|
|
40
|
-
// customType: "boolean";
|
|
41
|
-
// };
|
|
42
|
-
// };
|
|
43
|
-
// VSelect: {
|
|
44
|
-
// variant: {
|
|
45
|
-
// customType: 'select',
|
|
46
|
-
// options: ['plain', 'outlined', 'underlined', 'solo'],
|
|
47
|
-
// default: ''
|
|
48
|
-
// },
|
|
49
|
-
// density: {
|
|
50
|
-
// customType: 'select',
|
|
51
|
-
// options: ['default', 'compact', 'comfortable']
|
|
52
|
-
// },
|
|
53
|
-
// disabled: {
|
|
54
|
-
// customType: 'boolean'
|
|
55
|
-
// },
|
|
56
|
-
// appendIcon: {
|
|
57
|
-
// customType: 'icon'
|
|
58
|
-
// },
|
|
59
|
-
// }
|
|
60
|
-
// To apply type overrides to all components,
|
|
61
|
-
// all: { prop: { customType: 'icon' } },
|
|
62
|
-
defaultTypes?: {
|
|
63
|
-
// density: {
|
|
64
|
-
// customType: "select";
|
|
65
|
-
// // add options when customType is 'select'
|
|
66
|
-
// options: ["default", "compact", "comfortable"];
|
|
67
|
-
// };
|
|
68
|
-
}
|
|
69
|
-
}
|
|
31
|
+
/**
|
|
32
|
+
* Array of Pinegrow plugins (npm package names)
|
|
33
|
+
*/
|
|
34
|
+
plugins?: string[]
|
|
70
35
|
|
|
36
|
+
/**
|
|
37
|
+
* Pinegrow TailwindCSS plugin options
|
|
38
|
+
*/
|
|
71
39
|
tailwindcss?: PinegrowTailwindCSSPluginOptions
|
|
72
|
-
|
|
73
|
-
autoImportComponents?: AutoImportComponentsOptions
|
|
74
|
-
|
|
75
|
-
autoImportAPIs?: AutoImportAPIsOptions
|
|
76
40
|
}
|
|
77
41
|
|
|
78
42
|
interface PinegrowVitePlugin {
|
|
43
|
+
/**
|
|
44
|
+
* Pinegrow Live Designer options
|
|
45
|
+
* For details, check https://pinegrow.com/vue-designer
|
|
46
|
+
*/
|
|
79
47
|
liveDesigner?: {
|
|
80
48
|
[key in string]?: any
|
|
81
49
|
} & Options
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* unplugin-vue-components options for auto-importing local components and via resolvers
|
|
53
|
+
* For details, check https://github.com/antfu/unplugin-vue-components#configuration
|
|
54
|
+
*/
|
|
55
|
+
autoImportComponents?: AutoImportComponentsOptions
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* unplugin-auto-import options for auto-importing APIs using presets
|
|
59
|
+
* For details, check https://github.com/antfu/unplugin-auto-import#configuration
|
|
60
|
+
*/
|
|
61
|
+
autoImportAPIs?: AutoImportAPIsOptions
|
|
82
62
|
}
|
|
83
63
|
|
|
84
64
|
declare function export_default(liveDesigner: Options): PinegrowVitePlugin
|