@pinegrow/nuxt-module 3.0.0-beta.103 → 3.0.0-beta.104

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/module.d.ts CHANGED
@@ -1,19 +1,6 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
+ import { PinegrowVitePlugin } from '@pinegrow/vite-plugin';
2
3
 
3
- interface ModuleOptions {
4
- liveDesigner?: {
5
- [key in string]?: any;
6
- } & {
7
- repoRoot?: string;
8
- configPath?: string;
9
- plugins?: string[];
10
- devtoolsKey?: string;
11
- vscodeTunnelUrl?: string;
12
- customTypes?: {
13
- default?: {};
14
- };
15
- };
16
- }
17
- declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>;
4
+ declare const _default: _nuxt_schema.NuxtModule<PinegrowVitePlugin>;
18
5
 
19
- export { ModuleOptions, _default as default };
6
+ export { _default as default };
package/dist/module.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.1.0"
6
6
  },
7
- "version": "3.0.0-beta.102"
7
+ "version": "3.0.0-beta.103"
8
8
  }
package/dist/module.mjs CHANGED
@@ -79,7 +79,7 @@ const module = defineNuxtModule({
79
79
  // }
80
80
  // To apply type overrides to all components,
81
81
  // all: { prop: { customType: 'icon' } },
82
- default: {
82
+ defaultTypes: {
83
83
  // density: {
84
84
  // customType: "select",
85
85
  // // add options when customType is 'select'
@@ -88,7 +88,10 @@ const module = defineNuxtModule({
88
88
  }
89
89
  },
90
90
  tailwindcss: {
91
- cssPath: "./assets/css/tailwind.css"
91
+ configPath: "~/tailwind.config.ts",
92
+ cssPath: "~/assets/css/tailwind.css",
93
+ restartOnConfigUpdate: true,
94
+ restartOnThemeUpdate: false
92
95
  }
93
96
  }
94
97
  },
package/dist/types.d.ts CHANGED
@@ -1,10 +1,6 @@
1
1
 
2
- import { ModuleOptions } from './module'
2
+ import { } from './module'
3
3
 
4
- declare module '@nuxt/schema' {
5
- interface NuxtConfig { ['pinegrow']?: Partial<ModuleOptions> }
6
- interface NuxtOptions { ['pinegrow']?: ModuleOptions }
7
- }
8
4
 
9
5
 
10
- export { ModuleOptions, default } from './module'
6
+ export { default } from './module'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinegrow/nuxt-module",
3
- "version": "3.0.0-beta.103",
3
+ "version": "3.0.0-beta.104",
4
4
  "description": "Pinegrow Nuxt Module",
5
5
  "author": "Pinegrow (http://pinegrow.com/)",
6
6
  "license": "MIT",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@nuxt/kit": "latest",
38
- "@pinegrow/vite-plugin": "3.0.0-beta.103"
38
+ "@pinegrow/vite-plugin": "3.0.0-beta.104"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@nuxt/module-builder": "latest",