@pinegrow/nuxt-module 3.0.0-beta.6 → 3.0.0-beta.60

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
@@ -1,5 +1,5 @@
1
1
  # @pinegrow/nuxt-module
2
2
 
3
- ## Nuxt module for Pinegrow
3
+ ## Pinegrow Nuxt module
4
4
 
5
5
  http://www.pinegrow.com
package/dist/module.d.ts CHANGED
@@ -3,7 +3,10 @@ import * as _nuxt_schema from '@nuxt/schema';
3
3
  interface ModuleOptions {
4
4
  liveDesigner?: {
5
5
  repoRoot?: string;
6
- usingStandaloneVueDevtools?: boolean;
6
+ configPath?: string;
7
+ plugins?: string[];
8
+ devtoolsKey?: string;
9
+ vscodeTunnelUrl?: string;
7
10
  customTypes?: {
8
11
  default?: {};
9
12
  };
package/dist/module.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0 || ~3.0.0-rc"
6
6
  },
7
- "version": "3.0.0-beta.5"
7
+ "version": "3.0.0-beta.59"
8
8
  }
package/dist/module.mjs CHANGED
@@ -2,18 +2,64 @@ import { defineNuxtModule, addVitePlugin } from '@nuxt/kit';
2
2
 
3
3
  const module = defineNuxtModule({
4
4
  meta: {
5
+ // Usually npm package name of your module
5
6
  name: "pinegrow",
7
+ // The key in `nuxt.config` that holds your module options
6
8
  configKey: "pinegrow",
9
+ // Compatibility constraints
7
10
  compatibility: {
11
+ // Semver version of supported nuxt versions
8
12
  nuxt: "^3.0.0 || ~3.0.0-rc"
9
13
  }
10
14
  },
15
+ // Default configuration options for your module
11
16
  defaults: {
12
17
  liveDesigner: {
13
- repoRoot: "./",
14
- usingStandaloneVueDevtools: false,
18
+ // repoRoot: './',
19
+ // configPath: './',
20
+ plugins: [],
21
+ // devtoolsKey: 'devtools',
22
+ // vscodeTunnelUrl: 'https://vscode.dev/tunnel/hostname',
23
+ // iconsets: [],
24
+ // routerHistoryMode: 'html5',
25
+ // mergeWithPackageJson: {
26
+ // dependencies: {},
27
+ // devDependencies: {},
28
+ // },
15
29
  customTypes: {
16
- default: {}
30
+ // To apply type overrides to a specific component (overrides above default fn),
31
+ // ComponentName: { prop: { customType: 'icon' } },
32
+ // VRating: {
33
+ // ripple: {
34
+ // customType: "boolean",
35
+ // },
36
+ // },
37
+ // VSelect: {
38
+ // variant: {
39
+ // customType: 'select',
40
+ // options: ['plain', 'outlined', 'underlined', 'solo'],
41
+ // default: ''
42
+ // },
43
+ // density: {
44
+ // customType: 'select',
45
+ // options: ['default', 'compact', 'comfortable']
46
+ // },
47
+ // disabled: {
48
+ // customType: 'boolean'
49
+ // },
50
+ // appendIcon: {
51
+ // customType: 'icon'
52
+ // },
53
+ // }
54
+ // To apply type overrides to all components,
55
+ // all: { prop: { customType: 'icon' } },
56
+ default: {
57
+ // density: {
58
+ // customType: "select",
59
+ // // add options when customType is 'select'
60
+ // options: ["default", "compact", "comfortable"],
61
+ // },
62
+ }
17
63
  }
18
64
  }
19
65
  },
@@ -30,8 +76,9 @@ const module = defineNuxtModule({
30
76
  })
31
77
  );
32
78
  } catch (err) {
79
+ console.log(err);
33
80
  console.log(
34
- "@pinegrow/nuxt-module was unable to load @pinegrow/vite-plugin live-designer!"
81
+ "Pinegrow: @pinegrow/nuxt-module was unable to load @pinegrow/vite-plugin live-designer!"
35
82
  );
36
83
  }
37
84
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinegrow/nuxt-module",
3
- "version": "3.0.0-beta.6",
3
+ "version": "3.0.0-beta.60",
4
4
  "description": "Pinegrow Nuxt Module",
5
5
  "author": "Pinegrow (http://pinegrow.com/)",
6
6
  "license": "MIT",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@nuxt/kit": "latest",
35
- "@pinegrow/vite-plugin": "latest"
35
+ "@pinegrow/vite-plugin": "3.0.0-beta.60"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@nuxt/module-builder": "latest",