@pinegrow/nuxt-module 3.0.71-alpha.8 → 3.0.72-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.
- package/dist/chunks/live-designer.mjs +7 -0
- package/dist/module.d.mts +4 -11
- package/dist/module.d.ts +4 -11
- package/dist/module.json +2 -2
- package/dist/module.mjs +2 -4
- package/dist/runtime/live-designer.mjs +2 -0
- package/package.json +2 -2
package/dist/module.d.mts
CHANGED
|
@@ -1,22 +1,15 @@
|
|
|
1
1
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
2
|
import { LiveDesignerOptions } from '@pinegrow/vite-plugin';
|
|
3
3
|
|
|
4
|
-
interface PinegrowLiveDesignerOptions extends LiveDesignerOptions {
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
/**
|
|
7
|
-
* Use @pinegrow/vite-plugin/dev so local development can import the
|
|
8
|
-
* Vite plugin source and dev-connector source without bundling them.
|
|
9
|
-
* Keep this false for packaged builds.
|
|
10
|
-
*/
|
|
11
|
-
devSource?: boolean;
|
|
12
|
-
}
|
|
13
4
|
interface PinegrowNuxtModuleOptions {
|
|
14
5
|
/**
|
|
15
6
|
* Pinegrow Live Designer options
|
|
16
7
|
* For details, check https://vuedesigner.com
|
|
17
8
|
*/
|
|
18
|
-
liveDesigner?:
|
|
9
|
+
liveDesigner?: {
|
|
10
|
+
[key in string]?: any;
|
|
11
|
+
} & LiveDesignerOptions;
|
|
19
12
|
}
|
|
20
|
-
declare const _default: _nuxt_schema.NuxtModule<PinegrowNuxtModuleOptions
|
|
13
|
+
declare const _default: _nuxt_schema.NuxtModule<PinegrowNuxtModuleOptions>;
|
|
21
14
|
|
|
22
15
|
export { type PinegrowNuxtModuleOptions, _default as default };
|
package/dist/module.d.ts
CHANGED
|
@@ -1,22 +1,15 @@
|
|
|
1
1
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
2
|
import { LiveDesignerOptions } from '@pinegrow/vite-plugin';
|
|
3
3
|
|
|
4
|
-
interface PinegrowLiveDesignerOptions extends LiveDesignerOptions {
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
/**
|
|
7
|
-
* Use @pinegrow/vite-plugin/dev so local development can import the
|
|
8
|
-
* Vite plugin source and dev-connector source without bundling them.
|
|
9
|
-
* Keep this false for packaged builds.
|
|
10
|
-
*/
|
|
11
|
-
devSource?: boolean;
|
|
12
|
-
}
|
|
13
4
|
interface PinegrowNuxtModuleOptions {
|
|
14
5
|
/**
|
|
15
6
|
* Pinegrow Live Designer options
|
|
16
7
|
* For details, check https://vuedesigner.com
|
|
17
8
|
*/
|
|
18
|
-
liveDesigner?:
|
|
9
|
+
liveDesigner?: {
|
|
10
|
+
[key in string]?: any;
|
|
11
|
+
} & LiveDesignerOptions;
|
|
19
12
|
}
|
|
20
|
-
declare const _default: _nuxt_schema.NuxtModule<PinegrowNuxtModuleOptions
|
|
13
|
+
declare const _default: _nuxt_schema.NuxtModule<PinegrowNuxtModuleOptions>;
|
|
21
14
|
|
|
22
15
|
export { type PinegrowNuxtModuleOptions, _default as default };
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -11,9 +11,7 @@ const module = defineNuxtModule({
|
|
|
11
11
|
addServerPlugin(resolve("./runtime/nitro-plugin.mjs"));
|
|
12
12
|
nuxt.hook("listen", async (listenerServer, listener) => {
|
|
13
13
|
try {
|
|
14
|
-
const
|
|
15
|
-
const liveDesignerRuntime = moduleOptions.liveDesigner?.devSource === true || isDevelopmentBuild ? "./runtime/live-designer.dev.mjs" : "./runtime/live-designer.mjs";
|
|
16
|
-
const { liveDesigner } = await import(resolve(liveDesignerRuntime));
|
|
14
|
+
const { liveDesigner } = await import('./chunks/live-designer.mjs');
|
|
17
15
|
const nitroApp = useNitro();
|
|
18
16
|
const filterConfig = (config) => {
|
|
19
17
|
const {
|
|
@@ -112,7 +110,7 @@ const module = defineNuxtModule({
|
|
|
112
110
|
// Compatibility constraints
|
|
113
111
|
compatibility: {
|
|
114
112
|
// Semver version of supported nuxt versions
|
|
115
|
-
nuxt: "
|
|
113
|
+
nuxt: "^3.1.0"
|
|
116
114
|
}
|
|
117
115
|
},
|
|
118
116
|
// Default configuration options for your module
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pinegrow/nuxt-module",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.72-alpha.0",
|
|
4
4
|
"description": "Pinegrow Nuxt Module",
|
|
5
5
|
"author": "Pinegrow (http://pinegrow.com/)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@nuxt/kit": "latest",
|
|
47
|
-
"@pinegrow/vite-plugin": "3.0.
|
|
47
|
+
"@pinegrow/vite-plugin": "3.0.72-alpha.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@nuxt/module-builder": "latest",
|