@pinegrow/iles-module 3.0.0-beta.103 → 3.0.0-beta.105

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
@@ -8,7 +8,15 @@ async function getViteConfiguration(moduleOptions) {
8
8
  let vitePlugin;
9
9
  try {
10
10
  const { liveDesigner } = await Promise.resolve().then(() => require("./live-designer-PEHWBCFL.cjs"));
11
- vitePlugin = liveDesigner(moduleOptions == null ? void 0 : moduleOptions.liveDesigner);
11
+ vitePlugin = liveDesigner({
12
+ tailwindcss: {
13
+ configPath: "tailwind.config.js",
14
+ cssPath: "@/assets/css/tailwind.css",
15
+ restartOnConfigUpdate: true,
16
+ restartOnThemeUpdate: false
17
+ },
18
+ ...(moduleOptions == null ? void 0 : moduleOptions.liveDesigner) || {}
19
+ });
12
20
  } catch (err) {
13
21
  console.log(err);
14
22
  console.log("Pinegrow: @pinegrow/iles-module was unable to load @pinegrow/vite-plugin live-designer!");
package/dist/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import { IlesModule } from 'iles';
2
- import AutoImportAPIs from 'unplugin-auto-import/types';
2
+ import { PinegrowVitePlugin } from '@pinegrow/vite-plugin';
3
3
 
4
+ interface PinegrowIlesModuleOptions {
5
+ pinegrow: PinegrowVitePlugin;
6
+ }
4
7
  /**
5
8
  * An iles module that...
6
9
  */
7
- declare function export_default(moduleOptions: {
8
- liveDesigner: any;
9
- autoImportAPIs: ReturnType<typeof AutoImportAPIs>;
10
- }): IlesModule;
10
+ declare function export_default(moduleOptions: PinegrowIlesModuleOptions): IlesModule;
11
11
 
12
- export { export_default as default };
12
+ export { PinegrowIlesModuleOptions, export_default as default };
package/dist/index.js CHANGED
@@ -8,7 +8,15 @@ async function getViteConfiguration(moduleOptions) {
8
8
  let vitePlugin;
9
9
  try {
10
10
  const { liveDesigner } = await import("./live-designer-TIVRM3WS.js");
11
- vitePlugin = liveDesigner(moduleOptions == null ? void 0 : moduleOptions.liveDesigner);
11
+ vitePlugin = liveDesigner({
12
+ tailwindcss: {
13
+ configPath: "tailwind.config.js",
14
+ cssPath: "@/assets/css/tailwind.css",
15
+ restartOnConfigUpdate: true,
16
+ restartOnThemeUpdate: false
17
+ },
18
+ ...(moduleOptions == null ? void 0 : moduleOptions.liveDesigner) || {}
19
+ });
12
20
  } catch (err) {
13
21
  console.log(err);
14
22
  console.log("Pinegrow: @pinegrow/iles-module was unable to load @pinegrow/vite-plugin live-designer!");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinegrow/iles-module",
3
- "version": "3.0.0-beta.103",
3
+ "version": "3.0.0-beta.105",
4
4
  "description": "Pinegrow Iles Module",
5
5
  "author": "Pinegrow (http://pinegrow.com/)",
6
6
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  "increment-beta-version": "npm version prerelease --preid=beta"
32
32
  },
33
33
  "dependencies": {
34
- "@pinegrow/vite-plugin": "3.0.0-beta.103",
34
+ "@pinegrow/vite-plugin": "3.0.0-beta.105",
35
35
  "node-html-parser": "^6.1.5",
36
36
  "unplugin-auto-import": "^0.15.2"
37
37
  },