@pinegrow/nuxt-module 3.0.0-beta.98 → 3.0.1

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,68 @@
1
- # @pinegrow/nuxt-module
1
+ <!-- [![@pinegrow/nuxt-module](https://tailwindcss.nuxtjs.org/social-card.png)](https://tailwindcss.nuxtjs.org) -->
2
2
 
3
- ## Pinegrow Nuxt module
3
+ # Pinegrow Nuxt Module
4
4
 
5
- http://www.pinegrow.com
5
+ [![npm version][npm-version-src]][npm-version-href]
6
+ [![npm downloads][npm-downloads-src]][npm-downloads-href]
7
+ [![License][license-src]][license-href]
8
+
9
+ [Nuxt](https://nuxt.com/) module for [Pinegrow](https://pinegrow.com) ⚡️
10
+
11
+ Pinegrow Nuxt Module enables connection and interaction between your Vite Dev-Server and Pinegrow apps (currently only Vue Designer).
12
+
13
+ - [&nbsp;Learn more about Vue Designer](https://vuedesigner.com)
14
+
15
+ ## Features
16
+
17
+ - 🎨&nbsp; Visually live-design your Vite-powered Nuxt apps
18
+ - ⚙️&nbsp; Smartly integrates into your Nuxt workflow in dev-mode only
19
+ - ✨&nbsp; Clean code 😃, No lock-in - You are in control of your projects and development workflow ❤️
20
+
21
+ ## Quick Setup
22
+
23
+ 1. Install: Add `@pinegrow/nuxt-module` to your project
24
+
25
+ ```bash
26
+ # Using npm
27
+ npm install -D @pinegrow/nuxt-module
28
+
29
+ # Using pnpm
30
+ pnpm add -D @pinegrow/nuxt-module
31
+ ```
32
+
33
+ 2. Configure: Add `@pinegrow/nuxt-module` to your Nuxt Integrations array `nuxt.config.{js,ts}`
34
+
35
+ ```js
36
+ //nuxt.config.js (or) nuxt.config.ts
37
+
38
+ export default defineNuxtConfig({
39
+ modules: [
40
+ '@pinegrow/nuxt-module',
41
+ //...
42
+ ],
43
+ pinegrow: {
44
+ liveDesigner: {
45
+ // For options, refer to https://www.npmjs.com/package/@pinegrow/vite-plugin
46
+ //...
47
+ },
48
+ },
49
+ //...
50
+ })
51
+ ```
52
+
53
+ Now, open your project in your Pinegrow app (currently only Vue Designer). ✨
54
+
55
+ ## License
56
+
57
+ [MIT License](./LICENSE)
58
+
59
+ Copyright (c) Pinegrow
60
+
61
+ <!-- Badges -->
62
+
63
+ [npm-version-src]: https://img.shields.io/npm/v/@pinegrow/nuxt-module/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
64
+ [npm-version-href]: https://npmjs.com/package/@pinegrow/nuxt-module
65
+ [npm-downloads-src]: https://img.shields.io/npm/dm/@pinegrow/nuxt-module.svg?style=flat&colorA=18181B&colorB=28CF8D
66
+ [npm-downloads-href]: https://npmjs.com/package/@pinegrow/nuxt-module
67
+ [license-src]: https://img.shields.io/npm/l/@pinegrow/nuxt-module.svg?style=flat&colorA=18181B&colorB=28CF8D
68
+ [license-href]: https://npmjs.com/package/@pinegrow/nuxt-module
@@ -1,6 +1,7 @@
1
1
  import pkg from '@pinegrow/vite-plugin';
2
2
 
3
3
  // import { liveDesigner } from '@pinegrow/vite-plugin/dev'
4
+
4
5
  const liveDesigner = pkg.liveDesigner;
5
6
 
6
7
  export { liveDesigner };
package/dist/module.d.ts CHANGED
@@ -1,19 +1,15 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
+ import { LiveDesignerOptions } from '@pinegrow/vite-plugin';
2
3
 
3
- interface ModuleOptions {
4
+ interface PinegrowNuxtModuleOptions {
5
+ /**
6
+ * Pinegrow Live Designer options
7
+ * For details, check https://pinegrow.com/vue-designer
8
+ */
4
9
  liveDesigner?: {
5
10
  [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
- };
11
+ } & LiveDesignerOptions;
16
12
  }
17
- declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>;
13
+ declare const _default: _nuxt_schema.NuxtModule<PinegrowNuxtModuleOptions>;
18
14
 
19
- export { ModuleOptions, _default as default };
15
+ export { PinegrowNuxtModuleOptions, _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.97"
7
+ "version": "3.0.0"
8
8
  }
package/dist/module.mjs CHANGED
@@ -43,52 +43,14 @@ const module = defineNuxtModule({
43
43
  liveDesigner: {
44
44
  // repoRoot: './',
45
45
  // configPath: './',
46
- plugins: [],
47
46
  // devtoolsKey: 'devtools',
48
- // vscodeTunnelUrl: 'https://vscode.dev/tunnel/hostname',
49
- // iconsets: [],
50
47
  // routerHistoryMode: 'html5',
51
- // mergeWithPackageJson: {
52
- // dependencies: {},
53
- // devDependencies: {},
54
- // },
55
- customTypes: {
56
- // To apply type overrides to a specific component (overrides above default fn),
57
- // ComponentName: { prop: { customType: 'icon' } },
58
- // VRating: {
59
- // ripple: {
60
- // customType: "boolean",
61
- // },
62
- // },
63
- // VSelect: {
64
- // variant: {
65
- // customType: 'select',
66
- // options: ['plain', 'outlined', 'underlined', 'solo'],
67
- // default: ''
68
- // },
69
- // density: {
70
- // customType: 'select',
71
- // options: ['default', 'compact', 'comfortable']
72
- // },
73
- // disabled: {
74
- // customType: 'boolean'
75
- // },
76
- // appendIcon: {
77
- // customType: 'icon'
78
- // },
79
- // }
80
- // To apply type overrides to all components,
81
- // all: { prop: { customType: 'icon' } },
82
- default: {
83
- // density: {
84
- // customType: "select",
85
- // // add options when customType is 'select'
86
- // options: ["default", "compact", "comfortable"],
87
- // },
88
- }
89
- },
48
+ plugins: [],
90
49
  tailwindcss: {
91
- cssPath: "./assets/css/tailwind.css"
50
+ configPath: "@/tailwind.config.js",
51
+ cssPath: "@/assets/css/tailwind.css"
52
+ // restartOnConfigUpdate: false,
53
+ // restartOnThemeUpdate: false,
92
54
  }
93
55
  }
94
56
  },
package/dist/types.d.ts CHANGED
@@ -1,10 +1,7 @@
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
+
7
+ export { PinegrowNuxtModuleOptions, 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.98",
3
+ "version": "3.0.1",
4
4
  "description": "Pinegrow Nuxt Module",
5
5
  "author": "Pinegrow (http://pinegrow.com/)",
6
6
  "license": "MIT",
@@ -12,6 +12,7 @@
12
12
  "module": "./dist/module.cjs",
13
13
  "exports": {
14
14
  ".": {
15
+ "types": "./dist/types.d.ts",
15
16
  "import": "./dist/module.mjs",
16
17
  "require": "./dist/module.cjs"
17
18
  }
@@ -19,7 +20,11 @@
19
20
  "types": "./dist/types.d.ts",
20
21
  "keywords": [
21
22
  "pinegrow",
22
- "nuxt module"
23
+ "vue designer",
24
+ "vuedesigner",
25
+ "vue-designer",
26
+ "nuxt-module",
27
+ "@pinegrow/nuxt-module"
23
28
  ],
24
29
  "scripts": {
25
30
  "build": "npm run dev:prepare && npm run build:module",
@@ -35,7 +40,7 @@
35
40
  },
36
41
  "dependencies": {
37
42
  "@nuxt/kit": "latest",
38
- "@pinegrow/vite-plugin": "3.0.0-beta.98"
43
+ "@pinegrow/vite-plugin": "3.0.1"
39
44
  },
40
45
  "devDependencies": {
41
46
  "@nuxt/module-builder": "latest",