@inzombieland/nuxt-common 1.18.24 → 1.18.25

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.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inzombieland/nuxt-common",
3
- "version": "1.18.24",
3
+ "version": "1.18.25",
4
4
  "configKey": "nuxt-common",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.6.0",
package/dist/module.mjs CHANGED
@@ -2,7 +2,7 @@ import { fileURLToPath } from 'node:url';
2
2
  import { defineNuxtModule, createResolver, addServerHandler, addImportsDir, addPlugin, addComponent } from '@nuxt/kit';
3
3
 
4
4
  const name = "@inzombieland/nuxt-common";
5
- const version = "1.18.24";
5
+ const version = "1.18.25";
6
6
 
7
7
  const module = defineNuxtModule({
8
8
  meta: {
@@ -48,7 +48,6 @@ const module = defineNuxtModule({
48
48
  addImportsDir(resolve(runtimeDir, "composables"));
49
49
  addPlugin(resolve(runtimeDir, "plugin"));
50
50
  addPlugin(resolve(runtimeDir, "plugins/device"));
51
- addPlugin(resolve(runtimeDir, "plugins/otp-input"));
52
51
  addPlugin(resolve(runtimeDir, "plugins/sanitize-html"));
53
52
  addPlugin(resolve(runtimeDir, "plugins/sanitize-url"));
54
53
  addComponent({
@@ -1,4 +1,5 @@
1
- import { defineVarletPlugin } from "./plugins/index.mjs";
1
+ import { defineOtpInputPlugin, defineVarletPlugin } from "./plugins/index.mjs";
2
2
  export function defineVuePlugins(app) {
3
+ defineOtpInputPlugin(app);
3
4
  defineVarletPlugin(app);
4
5
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inzombieland/core",
3
- "version": "1.18.24",
3
+ "version": "1.18.25",
4
4
  "type": "module",
5
5
  "license": "ISC",
6
6
  "main": "./index.mjs",
@@ -1 +1,2 @@
1
+ export * from "./otp-input";
1
2
  export * from "./varlet-ui";
@@ -1 +1,2 @@
1
+ export * from "./otp-input.mjs";
1
2
  export * from "./varlet-ui.mjs";
@@ -0,0 +1,4 @@
1
+ import type { createApp } from "vue";
2
+ type App = ReturnType<typeof createApp>;
3
+ export declare function defineOtpInputPlugin(app: App): void;
4
+ export {};
@@ -0,0 +1,4 @@
1
+ import VOtpInput from "vue3-otp-input";
2
+ export function defineOtpInputPlugin(app) {
3
+ app.component("OtpInput", VOtpInput);
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inzombieland/nuxt-common",
3
- "version": "1.18.24",
3
+ "version": "1.18.25",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,2 +0,0 @@
1
- declare const _default: import("#app").Plugin<Record<string, unknown>> & import("#app").ObjectPlugin<Record<string, unknown>>;
2
- export default _default;
@@ -1,5 +0,0 @@
1
- import { defineNuxtPlugin } from "#app";
2
- import VOtpInput from "vue3-otp-input";
3
- export default defineNuxtPlugin((nuxtApp) => {
4
- nuxtApp.vueApp.component("OtpInput", VOtpInput);
5
- });