8000 fix(build): add missing `package.json` files for private components · bootstrap-vue/bootstrap-vue@16d9423 · GitHub
[go: up one dir, main page]

Skip to content

Commit 16d9423

Browse files
committed
fix(build): add missing package.json files for private components
1 parent 6b24488 commit 16d9423

File tree

4 files changed

+17
-2
lines changed

4 files changed

+17
-2
lines changed

scripts/check-plugin-meta.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ const checkPluginMeta = async plugin => {
4444
return file.replace(/\.js/, '')
4545
})
4646

47-
const { meta } = await import(`${pluginDir}/package.json`)
48-
if (!meta) {
47+
const { private: isPrivate, meta } = await import(`${pluginDir}/package.json`)
48+
if (isPrivate || !meta) {
4949
return
5050
}
5151

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "@bootstrap-vue/form-btn-label-control",
3+
"version": "1.0.0",
4+
"private": true
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "@bootstrap-vue/transition",
3+
"version": "1.0.0",
4+
"private": true
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "@bootstrap-vue/transporter",
3+
"version": "1.0.0",
4+
"private": true
5+
}

0 commit comments

Comments
 (0)
0