@bootstrap-vue-next/nuxt 0.0.5 → 0.1.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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2016-2023 - BootstrapVue
3
+ Copyright (c) BootstrapVueNext
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/dist/module.json CHANGED
@@ -5,5 +5,5 @@
5
5
  "nuxt": "^3.0.0",
6
6
  "bridge": false
7
7
  },
8
- "version": "0.0.5"
8
+ "version": "0.1.0"
9
9
  }
package/dist/module.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { addComponent, defineNuxtModule, createResolver, addPlugin, addImports } from '@nuxt/kit';
1
+ import { addComponent, defineNuxtModule, createResolver, addImports } from '@nuxt/kit';
2
2
  import { Components } from 'bootstrap-vue-next';
3
3
 
4
4
  const useComponents = () => {
@@ -29,7 +29,6 @@ const module = defineNuxtModule({
29
29
  }
30
30
  },
31
31
  defaults: {
32
- // directives: true,
33
32
  composables: true
34
33
  },
35
34
  setup(options, nuxt) {
@@ -38,13 +37,9 @@ const module = defineNuxtModule({
38
37
  nuxt.options.build.transpile.push(resolver.resolve("./runtime"));
39
38
  nuxt.options.css.push("bootstrap-vue-next/dist/bootstrap-vue-next.css");
40
39
  useComponents();
41
- if (normalizedComposables.all === true && normalizedComposables.createBreadcrumb !== false || normalizedComposables.createBreadcrumb === true) {
42
- addPlugin(resolver.resolve("./runtime/breadcrumb"));
43
- }
44
40
  const arr = [];
45
41
  if (Object.values(normalizedComposables).some((el) => el === true)) {
46
42
  const imports = parseActiveImports(normalizedComposables, {
47
- createBreadcrumb: false,
48
43
  useBreadcrumb: false,
49
44
  useColorMode: false
50
45
  }).map(
@@ -1 +1 @@
1
- export { useBreadcrumb, createBreadcrumb, useColorMode } from 'bootstrap-vue-next';
1
+ export { useBreadcrumb, useColorMode } from 'bootstrap-vue-next';
@@ -1 +1 @@
1
- export { useBreadcrumb, createBreadcrumb, useColorMode } from "bootstrap-vue-next";
1
+ export { useBreadcrumb, useColorMode } from "bootstrap-vue-next";
package/dist/types.d.ts CHANGED
@@ -3,4 +3,5 @@ import { } from './module'
3
3
 
4
4
 
5
5
 
6
+
6
7
  export { default } from './module'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bootstrap-vue-next/nuxt",
3
- "description": "",
4
- "version": "0.0.5",
3
+ "description": "Nuxt Module for BootstrapVueNext",
4
+ "version": "0.1.0",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Issayah",
@@ -21,30 +21,51 @@
21
21
  "dist"
22
22
  ],
23
23
  "peerDependencies": {
24
- "bootstrap-vue-next": "^0.8.0"
24
+ "bootstrap-vue-next": "^0.9.0"
25
25
  },
26
26
  "dependencies": {
27
- "@nuxt/kit": "^3.3.2"
27
+ "@nuxt/kit": "^3.4.3"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@nuxt/eslint-config": "^0.1.1",
31
- "@nuxt/module-builder": "^0.2.1",
32
- "@nuxt/schema": "^3.3.2",
31
+ "@nuxt/module-builder": "^0.3.1",
32
+ "@nuxt/schema": "^3.4.3",
33
33
  "@rushstack/eslint-patch": "^1.2.0",
34
34
  "@vue/eslint-config-prettier": "^7.1.0",
35
- "eslint": "^8.36.0",
36
- "eslint-define-config": "^1.17.0",
37
- "nuxt": "^3.3.2",
38
- "prettier": "^2.8.4",
39
- "unimport": "^3.0.4",
40
- "vue": "^3.2.47",
41
- "bootstrap-vue-next": "^0.8.0"
35
+ "eslint": "^8.40.0",
36
+ "eslint-define-config": "^1.20.0",
37
+ "nuxt": "^3.4.3",
38
+ "prettier": "^2.8.8",
39
+ "unimport": "^3.0.6",
40
+ "vue": "^3.3.4",
41
+ "bootstrap-vue-next": "^0.9.0"
42
+ },
43
+ "repository": {
44
+ "type": "github",
45
+ "url": "https://github.com/bootstrap-vue-next/bootstrap-vue-next/tree/main/packages/nuxt"
46
+ },
47
+ "bugs": {
48
+ "url": "https://github.com/bootstrap-vue-next/bootstrap-vue-next/issues"
49
+ },
50
+ "homepage": "https://github.com/bootstrap-vue-next/bootstrap-vue-next",
51
+ "keywords": [
52
+ "vue3",
53
+ "vue",
54
+ "nuxt",
55
+ "bootstrap",
56
+ "typescript",
57
+ "bootstrap-vue-next"
58
+ ],
59
+ "lint-staged": {
60
+ "*.{js,ts,vue}": "eslint --cache --fix",
61
+ "*": "prettier --write --ignore-unknown"
42
62
  },
43
63
  "scripts": {
44
- "dev": "nuxi dev playground",
64
+ "dev": "nuxi dev playground --port 3030",
65
+ "build": "pnpm run dev:build && pnpm run prepack",
45
66
  "dev:build": "nuxi build playground",
46
67
  "dev:prepare": "nuxt-module-build --stub && nuxi prepare playground",
47
- "lint": "eslint .",
48
- "build": "pnpm run dev:build && pnpm run prepack"
68
+ "lint": "eslint --ext .js,.ts,.vue --ignore-path ../../.gitignore --fix",
69
+ "test:lint": "eslint --ext .js,.ts,.vue --ignore-path ../../.gitignore"
49
70
  }
50
71
  }
@@ -1,2 +0,0 @@
1
- declare const _default: any;
2
- export default _default;
@@ -1,5 +0,0 @@
1
- import { defineNuxtPlugin } from "#app";
2
- import { createBreadcrumb } from "bootstrap-vue-next";
3
- export default defineNuxtPlugin((nuxtApp) => {
4
- createBreadcrumb(nuxtApp.vueApp);
5
- });
@@ -1 +0,0 @@
1
- export { vBColorMode, vBPopover, vBToggle, vBTooltip } from 'bootstrap-vue-next';
@@ -1 +0,0 @@
1
- export { vBColorMode, vBPopover, vBToggle, vBTooltip } from "bootstrap-vue-next";