@pinegrow/vite-plugin 3.0.69 → 3.0.71-alpha.0

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.
@@ -84,6 +84,8 @@
84
84
 
85
85
  /*! ./decodePacket.js */
86
86
 
87
+ /*! ./design-panel-theme-files.js */
88
+
87
89
  /*! ./encodePacket.js */
88
90
 
89
91
  /*! ./event-target */
@@ -396,6 +398,10 @@
396
398
  !*** ./node_modules/ws/lib/receiver.js ***!
397
399
  \*****************************************/
398
400
 
401
+ /*!*****************************************!*\
402
+ !*** ./src/design-panel-theme-files.js ***!
403
+ \*****************************************/
404
+
399
405
  /*!******************************************!*\
400
406
  !*** ../../node_modules/braces/index.js ***!
401
407
  \******************************************/
package/package.json CHANGED
@@ -1,50 +1,50 @@
1
1
  {
2
- "name": "@pinegrow/vite-plugin",
3
- "version": "3.0.69",
4
- "description": "Pinegrow Vite Plugin",
5
- "type": "module",
6
- "files": [
7
- "dist",
8
- "./types.d.ts"
9
- ],
10
- "main": "./dist/index.cjs",
11
- "module": "./dist/index.mjs",
12
- "types": "./types.d.ts",
13
- "exports": {
14
- ".": {
15
- "types": "./types.d.ts",
16
- "import": "./dist/index.mjs",
17
- "require": "./dist/index.cjs"
18
- },
19
- "./dev": {
20
- "import": "./src/index.js",
21
- "require": "./src/index.js"
22
- },
23
- "./vue": {
24
- "import": "./dist/vue/index.js"
25
- }
26
- },
27
- "keywords": [
28
- "pinegrow",
29
- "vue designer",
30
- "vuedesigner",
31
- "vue-designer",
32
- "vite-plugin",
33
- "@pinegrow/vite-plugin"
34
- ],
35
- "author": "Pinegrow (http://pinegrow.com/)",
36
- "license": "MIT",
37
- "scripts": {
38
- "build": "webpack -- --env mode=production vite",
39
- "build:vite-plugin": "webpack -- --env mode=production vite",
40
- "build:vite-plugin:dev": "webpack -- --env mode=development vite",
41
- "publish-beta": "npm run increment-beta-version && npm publish --tag beta",
42
- "increment-beta-version": "npm version prerelease --preid=beta",
43
- "publish-patch": "npm run increment-version && npm publish",
44
- "increment-version": "npm version patch"
45
- },
46
- "dependencies": {
47
- "@vue/compiler-sfc": "^3.2.45",
48
- "magic-string": "^0.27.0"
49
- }
2
+ "name": "@pinegrow/vite-plugin",
3
+ "version": "3.0.71-alpha.0",
4
+ "description": "Pinegrow Vite Plugin",
5
+ "type": "module",
6
+ "files": [
7
+ "dist",
8
+ "./types.d.ts"
9
+ ],
10
+ "main": "./dist/index.cjs",
11
+ "module": "./dist/index.mjs",
12
+ "types": "./types.d.ts",
13
+ "exports": {
14
+ ".": {
15
+ "types": "./types.d.ts",
16
+ "import": "./dist/index.mjs",
17
+ "require": "./dist/index.cjs"
18
+ },
19
+ "./dev": {
20
+ "import": "./src/index.dev.js",
21
+ "require": "./src/index.dev.js"
22
+ },
23
+ "./vue": {
24
+ "import": "./dist/vue/index.js"
25
+ }
26
+ },
27
+ "keywords": [
28
+ "pinegrow",
29
+ "vue designer",
30
+ "vuedesigner",
31
+ "vue-designer",
32
+ "vite-plugin",
33
+ "@pinegrow/vite-plugin"
34
+ ],
35
+ "author": "Pinegrow (http://pinegrow.com/)",
36
+ "license": "MIT",
37
+ "scripts": {
38
+ "build": "webpack -- --env mode=production vite",
39
+ "build:vite-plugin": "webpack -- --env mode=production vite",
40
+ "build:vite-plugin:dev": "webpack -- --env mode=development vite",
41
+ "publish-beta": "npm run increment-beta-version && npm publish --tag beta",
42
+ "increment-beta-version": "npm version prerelease --preid=beta",
43
+ "publish-patch": "npm run increment-version && npm publish",
44
+ "increment-version": "npm version patch"
45
+ },
46
+ "dependencies": {
47
+ "@vue/compiler-sfc": "^3.2.45",
48
+ "magic-string": "^0.27.0"
49
+ }
50
50
  }
package/types.d.ts CHANGED
@@ -84,8 +84,29 @@ export interface LiveDesignerOptions {
84
84
  devServerUrls?: {
85
85
  local?: string
86
86
  network?: string
87
+ hmr?: string
87
88
  }
88
89
 
90
+ /**
91
+ * Debounce delay, in milliseconds, for Pinegrow-triggered Vite watcher change events.
92
+ * This coalesces live-edit snapshot bursts before Vite/Nuxt HMR processing.
93
+ * @default 75
94
+ */
95
+ watcherEventDelay?: number
96
+
97
+ /**
98
+ * Socket.IO transports used to connect the dev server to Pinegrow.
99
+ * Defaults to websocket-only to avoid polling/upgrade resets in Nuxt dev servers.
100
+ */
101
+ socketTransports?: string[]
102
+
103
+ /**
104
+ * Allow Socket.IO transport upgrades. Disabled by default for deterministic local
105
+ * Pinegrow connections.
106
+ * @default false
107
+ */
108
+ socketUpgrade?: boolean
109
+
89
110
  /**
90
111
  * Preferred format for icons in icon-picker - https://github.com/antfu/icones/blob/main/src/utils/case.ts
91
112
  * * @default 'unocss' // For eg, i-material-symbols-home
@@ -138,4 +159,3 @@ interface PinegrowVitePlugin<VitePluginOption> {
138
159
  declare function export_default(liveDesigner: LiveDesignerOptions): PinegrowVitePlugin
139
160
 
140
161
  export { PinegrowVitePlugin, LiveDesignerOptions, export_default as default, export_default as liveDesigner }
141
-