@pinegrow/astro-module 3.0.72-beta.0 → 3.0.72
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/index.cjs
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }// src/index.ts
|
|
2
2
|
async function getViteConfiguration(moduleOptions) {
|
|
3
|
-
var _a;
|
|
4
3
|
let vitePlugin;
|
|
5
4
|
try {
|
|
6
|
-
const
|
|
7
|
-
const { liveDesigner } = ((_a = moduleOptions.liveDesigner) == null ? void 0 : _a.devSource) === true || isDevelopmentBuild ? await Promise.resolve().then(() => _interopRequireWildcard(require("./live-designer.dev-TFTYQC6Q.cjs"))) : await Promise.resolve().then(() => _interopRequireWildcard(require("./live-designer-ZFVVYPVH.cjs")));
|
|
5
|
+
const { liveDesigner } = await Promise.resolve().then(() => _interopRequireWildcard(require("./live-designer-PEHWBCFL.cjs")));
|
|
8
6
|
vitePlugin = liveDesigner({
|
|
9
7
|
...(moduleOptions == null ? void 0 : moduleOptions.liveDesigner) || {}
|
|
10
8
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { AstroIntegration } from 'astro';
|
|
2
2
|
import { LiveDesignerOptions } from '@pinegrow/vite-plugin';
|
|
3
3
|
|
|
4
|
-
interface PinegrowAstroLiveDesignerOptions extends LiveDesignerOptions {
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
devSource?: boolean;
|
|
7
|
-
}
|
|
8
4
|
interface PinegrowAstroModuleOptions {
|
|
9
5
|
/**
|
|
10
6
|
* Pinegrow Live Designer options
|
|
11
7
|
* For details, check https://vuedesigner.com
|
|
12
8
|
*/
|
|
13
|
-
liveDesigner?:
|
|
9
|
+
liveDesigner?: {
|
|
10
|
+
[key in string]?: any;
|
|
11
|
+
} & LiveDesignerOptions;
|
|
14
12
|
}
|
|
15
13
|
declare function createIntegration(moduleOptions: PinegrowAstroModuleOptions): AstroIntegration;
|
|
16
14
|
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
2
|
async function getViteConfiguration(moduleOptions) {
|
|
3
|
-
var _a;
|
|
4
3
|
let vitePlugin;
|
|
5
4
|
try {
|
|
6
|
-
const
|
|
7
|
-
const { liveDesigner } = ((_a = moduleOptions.liveDesigner) == null ? void 0 : _a.devSource) === true || isDevelopmentBuild ? await import("./live-designer.dev-RGVBS7YX.js") : await import("./live-designer-LATOGT4K.js");
|
|
5
|
+
const { liveDesigner } = await import("./live-designer-TIVRM3WS.js");
|
|
8
6
|
vitePlugin = liveDesigner({
|
|
9
7
|
...(moduleOptions == null ? void 0 : moduleOptions.liveDesigner) || {}
|
|
10
8
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pinegrow/astro-module",
|
|
3
|
-
"version": "3.0.72
|
|
3
|
+
"version": "3.0.72",
|
|
4
4
|
"description": "Pinegrow Astro Module",
|
|
5
5
|
"author": "Pinegrow (http://pinegrow.com/)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
"scripts": {
|
|
32
32
|
"dev": "npm run build -- --watch",
|
|
33
33
|
"build": "tsup src/index.ts",
|
|
34
|
-
"prepublishOnly": "npm run build",
|
|
35
34
|
"release": "npx bumpp --commit --tag --push && npm publish --access public",
|
|
36
35
|
"publish-beta": "npm run increment-beta-version && npm publish --tag beta",
|
|
37
36
|
"increment-beta-version": "npm version prerelease --preid=beta",
|
|
@@ -39,7 +38,7 @@
|
|
|
39
38
|
"increment-version": "npm version patch"
|
|
40
39
|
},
|
|
41
40
|
"dependencies": {
|
|
42
|
-
"@pinegrow/vite-plugin": "3.0.72
|
|
41
|
+
"@pinegrow/vite-plugin": "3.0.72"
|
|
43
42
|
},
|
|
44
43
|
"devDependencies": {
|
|
45
44
|
"astro": "^3.0.0",
|