@bootstrap-vue-next/nuxt 0.15.4 → 0.16.0

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
@@ -5,5 +5,5 @@
5
5
  "nuxt": "^3.0.0",
6
6
  "bridge": false
7
7
  },
8
- "version": "0.15.4"
8
+ "version": "0.16.0"
9
9
  }
package/dist/module.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { addComponent, defineNuxtModule, createResolver, addImports } from '@nuxt/kit';
1
+ import { addComponent, defineNuxtModule, createResolver, addPlugin, addImports } from '@nuxt/kit';
2
2
  import { Components, Composables } from 'bootstrap-vue-next';
3
3
 
4
4
  const useComponents = () => {
@@ -36,9 +36,10 @@ const module = defineNuxtModule({
36
36
  composables: true
37
37
  },
38
38
  setup(options, nuxt) {
39
- const resolver = createResolver(import.meta.url);
39
+ const { resolve } = createResolver(import.meta.url);
40
+ addPlugin(resolve("./runtime/plugins/createBootstrap"));
40
41
  const normalizedComposableOptions = typeof options.composables === "boolean" ? { all: options.composables } : options.composables;
41
- nuxt.options.build.transpile.push(resolver.resolve("./runtime"));
42
+ nuxt.options.build.transpile.push(resolve("./runtime"));
42
43
  const transformAssetUrls = {
43
44
  BImg: ["src"]
44
45
  };
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { createBootstrap } from "bootstrap-vue-next";
2
+ export default defineNuxtPlugin((nuxtApp) => {
3
+ nuxtApp.vueApp.use(createBootstrap());
4
+ });
package/dist/types.d.mts CHANGED
@@ -1,8 +1,8 @@
1
1
 
2
- import type { } from './module'
2
+ import type { } from './module.js'
3
3
 
4
4
 
5
5
 
6
6
 
7
7
 
8
- export type { default } from './module'
8
+ export type { default } from './module.js'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bootstrap-vue-next/nuxt",
3
3
  "description": "Nuxt Module for BootstrapVueNext",
4
- "version": "0.15.4",
4
+ "version": "0.16.0",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Issayah",
@@ -21,27 +21,27 @@
21
21
  ],
22
22
  "types": "./dist/types.d.ts",
23
23
  "peerDependencies": {
24
- "bootstrap-vue-next": "^0.15.4"
24
+ "bootstrap-vue-next": "^0.16.0"
25
25
  },
26
26
  "dependencies": {
27
- "@nuxt/kit": "^3.8.1"
27
+ "@nuxt/kit": "^3.9.1"
28
28
  },
29
29
  "devDependencies": {
30
- "@nuxt/devtools": "latest",
30
+ "@nuxt/devtools": "^1.0.8",
31
31
  "@nuxt/eslint-config": "^0.2.0",
32
- "@nuxt/module-builder": "^0.5.4",
33
- "@nuxt/schema": "^3.8.1",
34
- "@nuxt/test-utils": "^3.8.1",
35
- "@rushstack/eslint-patch": "^1.5.1",
36
- "@types/node": "^20.9.0",
37
- "@vue/eslint-config-prettier": "^8.0.0",
38
- "eslint": "^8.53.0",
39
- "eslint-define-config": "^1.24.1",
40
- "nuxt": "^3.8.1",
41
- "prettier": "^3.0.3",
42
- "unimport": "^3.4.0",
43
- "vue": "^3.3.8",
44
- "bootstrap-vue-next": "^0.15.4"
32
+ "@nuxt/module-builder": "^0.5.5",
33
+ "@nuxt/schema": "^3.9.1",
34
+ "@nuxt/test-utils": "^3.9.0",
35
+ "@rushstack/eslint-patch": "^1.6.1",
36
+ "@types/node": "^20.11.4",
37
+ "@vue/eslint-config-prettier": "^9.0.0",
38
+ "eslint": "^8.56.0",
39
+ "eslint-define-config": "^2.1.0",
40
+ "nuxt": "^3.9.1",
41
+ "prettier": "^3.2.2",
42
+ "unimport": "^3.7.1",
43
+ "vue": "^3.4.14",
44
+ "bootstrap-vue-next": "^0.16.0"
45
45
  },
46
46
  "repository": {
47
47
  "type": "git",