@pinegrow/iles-module 3.0.0-beta.124 → 3.0.0-beta.126

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/README.md CHANGED
@@ -45,14 +45,6 @@ export default defineConfig({
45
45
  liveDesigner: {
46
46
  //...
47
47
  },
48
- // https://github.com/antfu/unplugin-auto-import#configuration
49
- autoImportAPIs: {
50
- // imports: [
51
- // '@vueuse/head',
52
- // '@vueuse/core',
53
- // // add presets
54
- // ],
55
- },
56
48
  },
57
49
  ],
58
50
  //...
package/dist/index.cjs CHANGED
@@ -2,9 +2,7 @@
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);
6
5
  async function getViteConfiguration(moduleOptions) {
7
- var _a;
8
6
  let vitePlugin;
9
7
  try {
10
8
  const { liveDesigner } = await Promise.resolve().then(() => _interopRequireWildcard(require("./live-designer-6F4BNNQY.cjs")));
@@ -58,35 +56,6 @@ async function getViteConfiguration(moduleOptions) {
58
56
  }
59
57
  return merged;
60
58
  };
61
- const mergeConfig = (defaults, overrides) => {
62
- return mergeConfigRecursively(defaults || {}, overrides || {});
63
- };
64
- (_a = config.plugins) == null ? void 0 : _a.push(
65
- // autoImportComponents(mergeConfig({}, moduleOptions.autoImportComponents)),
66
- _vite2.default.call(void 0,
67
- mergeConfig(
68
- {
69
- include: [
70
- /\.[tj]sx?$/,
71
- // .ts, .tsx, .js, .jsx
72
- /\.vue$/,
73
- /\.vue\?vue/,
74
- // .vue
75
- /\.md$/
76
- // .md
77
- ],
78
- imports: ["vue", "vue-router"],
79
- dirs: [
80
- // 'src/composables',
81
- // 'src/stores',
82
- ],
83
- vueTemplate: true,
84
- cache: true
85
- },
86
- moduleOptions.autoImportAPIs
87
- )
88
- )
89
- );
90
59
  return config;
91
60
  }
92
61
  async function src_default(moduleOptions) {
package/dist/index.js CHANGED
@@ -2,9 +2,7 @@
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";
6
5
  async function getViteConfiguration(moduleOptions) {
7
- var _a;
8
6
  let vitePlugin;
9
7
  try {
10
8
  const { liveDesigner } = await import("./live-designer-6WHNERBU.js");
@@ -58,35 +56,6 @@ async function getViteConfiguration(moduleOptions) {
58
56
  }
59
57
  return merged;
60
58
  };
61
- const mergeConfig = (defaults, overrides) => {
62
- return mergeConfigRecursively(defaults || {}, overrides || {});
63
- };
64
- (_a = config.plugins) == null ? void 0 : _a.push(
65
- // autoImportComponents(mergeConfig({}, moduleOptions.autoImportComponents)),
66
- autoImportAPIs(
67
- mergeConfig(
68
- {
69
- include: [
70
- /\.[tj]sx?$/,
71
- // .ts, .tsx, .js, .jsx
72
- /\.vue$/,
73
- /\.vue\?vue/,
74
- // .vue
75
- /\.md$/
76
- // .md
77
- ],
78
- imports: ["vue", "vue-router"],
79
- dirs: [
80
- // 'src/composables',
81
- // 'src/stores',
82
- ],
83
- vueTemplate: true,
84
- cache: true
85
- },
86
- moduleOptions.autoImportAPIs
87
- )
88
- )
89
- );
90
59
  return config;
91
60
  }
92
61
  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.124",
3
+ "version": "3.0.0-beta.126",
4
4
  "description": "Pinegrow Iles Module",
5
5
  "author": "Pinegrow (http://pinegrow.com/)",
6
6
  "license": "MIT",
@@ -33,9 +33,8 @@
33
33
  "increment-beta-version": "npm version prerelease --preid=beta"
34
34
  },
35
35
  "dependencies": {
36
- "@pinegrow/vite-plugin": "3.0.0-beta.125",
37
- "node-html-parser": "^6.1.5",
38
- "unplugin-auto-import": "^0.15.2"
36
+ "@pinegrow/vite-plugin": "3.0.0-beta.127",
37
+ "node-html-parser": "^6.1.5"
39
38
  },
40
39
  "devDependencies": {
41
40
  "iles": "^0.8",