@pinegrow/iles-module 3.0.0-beta.90 → 3.0.0-beta.92
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 +13 -0
- package/dist/index.js +13 -0
- package/package.json +5 -4
package/dist/index.cjs
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
var _nodehtmlparser = require('node-html-parser'); var _nodehtmlparser2 = _interopRequireDefault(_nodehtmlparser);
|
|
3
3
|
var _path = require('path'); var _path2 = _interopRequireDefault(_path);
|
|
4
4
|
var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
5
|
+
var _vite = require('unplugin-auto-import/vite'); var _vite2 = _interopRequireDefault(_vite);
|
|
5
6
|
async function getViteConfiguration(moduleOptions) {
|
|
7
|
+
var _a;
|
|
6
8
|
let vitePlugin;
|
|
7
9
|
try {
|
|
8
10
|
const { liveDesigner } = await Promise.resolve().then(() => require("./live-designer-ZFVVYPVH.cjs"));
|
|
@@ -14,6 +16,17 @@ async function getViteConfiguration(moduleOptions) {
|
|
|
14
16
|
const config = {
|
|
15
17
|
plugins: vitePlugin ? [vitePlugin] : []
|
|
16
18
|
};
|
|
19
|
+
(_a = config.plugins) == null ? void 0 : _a.push(
|
|
20
|
+
_vite2.default.call(void 0, {
|
|
21
|
+
...(moduleOptions == null ? void 0 : moduleOptions.autoImportAPIs) || {},
|
|
22
|
+
...{
|
|
23
|
+
imports: ["vue"],
|
|
24
|
+
dirs: [],
|
|
25
|
+
vueTemplate: true,
|
|
26
|
+
cache: true
|
|
27
|
+
}
|
|
28
|
+
})
|
|
29
|
+
);
|
|
17
30
|
return config;
|
|
18
31
|
}
|
|
19
32
|
async function src_default(moduleOptions) {
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
import htmlParser from "node-html-parser";
|
|
3
3
|
import path from "path";
|
|
4
4
|
import fs from "fs";
|
|
5
|
+
import autoImportAPIs from "unplugin-auto-import/vite";
|
|
5
6
|
async function getViteConfiguration(moduleOptions) {
|
|
7
|
+
var _a;
|
|
6
8
|
let vitePlugin;
|
|
7
9
|
try {
|
|
8
10
|
const { liveDesigner } = await import("./live-designer-LATOGT4K.js");
|
|
@@ -14,6 +16,17 @@ async function getViteConfiguration(moduleOptions) {
|
|
|
14
16
|
const config = {
|
|
15
17
|
plugins: vitePlugin ? [vitePlugin] : []
|
|
16
18
|
};
|
|
19
|
+
(_a = config.plugins) == null ? void 0 : _a.push(
|
|
20
|
+
autoImportAPIs({
|
|
21
|
+
...(moduleOptions == null ? void 0 : moduleOptions.autoImportAPIs) || {},
|
|
22
|
+
...{
|
|
23
|
+
imports: ["vue"],
|
|
24
|
+
dirs: [],
|
|
25
|
+
vueTemplate: true,
|
|
26
|
+
cache: true
|
|
27
|
+
}
|
|
28
|
+
})
|
|
29
|
+
);
|
|
17
30
|
return config;
|
|
18
31
|
}
|
|
19
32
|
async function src_default(moduleOptions) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pinegrow/iles-module",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.92",
|
|
4
4
|
"description": "Pinegrow Iles Module",
|
|
5
5
|
"author": "Pinegrow (http://pinegrow.com/)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"files": [
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
|
-
"types": "dist/index.d.ts",
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
12
|
"main": "./dist/index.cjs",
|
|
13
13
|
"module": "./dist/index.cjs",
|
|
14
14
|
"exports": {
|
|
@@ -31,8 +31,9 @@
|
|
|
31
31
|
"increment-beta-version": "npm version prerelease --preid=beta"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@pinegrow/vite-plugin": "3.0.0-beta.
|
|
35
|
-
"node-html-parser": "^6.1.5"
|
|
34
|
+
"@pinegrow/vite-plugin": "3.0.0-beta.92",
|
|
35
|
+
"node-html-parser": "^6.1.5",
|
|
36
|
+
"unplugin-auto-import": "^0.15.2"
|
|
36
37
|
},
|
|
37
38
|
"devDependencies": {
|
|
38
39
|
"iles": "^0.5",
|