@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 +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -6
- package/dist/runtime/composables.d.ts +1 -1
- package/dist/runtime/composables.mjs +1 -1
- package/dist/types.d.ts +1 -0
- package/package.json +37 -16
- package/dist/runtime/breadcrumb.d.ts +0 -2
- package/dist/runtime/breadcrumb.mjs +0 -5
- package/dist/runtime/directives.d.ts +0 -1
- package/dist/runtime/directives.mjs +0 -1
package/LICENSE
CHANGED
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { addComponent, defineNuxtModule, createResolver,
|
|
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,
|
|
1
|
+
export { useBreadcrumb, useColorMode } from 'bootstrap-vue-next';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { useBreadcrumb,
|
|
1
|
+
export { useBreadcrumb, useColorMode } from "bootstrap-vue-next";
|
package/dist/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bootstrap-vue-next/nuxt",
|
|
3
|
-
"description": "",
|
|
4
|
-
"version": "0.0
|
|
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.
|
|
24
|
+
"bootstrap-vue-next": "^0.9.0"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@nuxt/kit": "^3.3
|
|
27
|
+
"@nuxt/kit": "^3.4.3"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@nuxt/eslint-config": "^0.1.1",
|
|
31
|
-
"@nuxt/module-builder": "^0.
|
|
32
|
-
"@nuxt/schema": "^3.3
|
|
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
|
-
"eslint-define-config": "^1.
|
|
37
|
-
"nuxt": "^3.3
|
|
38
|
-
"prettier": "^2.8.
|
|
39
|
-
"unimport": "^3.0.
|
|
40
|
-
"vue": "^3.
|
|
41
|
-
"bootstrap-vue-next": "^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
|
-
"
|
|
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 +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";
|