@pinegrow/vite-plugin 3.0.12 → 3.0.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +12 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinegrow/vite-plugin",
3
- "version": "3.0.12",
3
+ "version": "3.0.14",
4
4
  "description": "Pinegrow Vite Plugin",
5
5
  "type": "module",
6
6
  "files": [
package/types.d.ts CHANGED
@@ -52,6 +52,18 @@ export interface LiveDesignerOptions {
52
52
  */
53
53
  devtoolsKey?: string
54
54
 
55
+ /**
56
+ * Mapping of custom folder setup that deviates from the standard project setup of the framework/meta-framework
57
+ * For eg, in Vitepress, the standard folders could be re-mapped outside the .vitepress folder.
58
+ * Vue Designer utilizes this information when a user intends to create a new component from the page tree or the Vue menu.
59
+ */
60
+ dirs?: {
61
+ src?: string
62
+ components: string
63
+ pages: string
64
+ layouts: string
65
+ }
66
+
55
67
  /**
56
68
  * Preferred format for icons in icon-picker - https://github.com/antfu/icones/blob/main/src/utils/case.ts
57
69
  * * @default 'unocss' // For eg, i-material-symbols-home