Skip to content

Commit

Permalink
chore: make @nextcloud/vue a peerDependencies
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Oct 19, 2023
1 parent 6f61c4d commit 664e8a8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,16 @@
"@nextcloud/l10n": "^2.2.0",
"@nextcloud/logger": "^2.7.0",
"@nextcloud/router": "^2.2.0",
"@nextcloud/vue": "^8.0.0-beta.8",
"@nextcloud/vue": "^8.0.0-beta || ^8.0.0",
"buffer": "^6.0.3",
"crypto-browserify": "^3.12.0",
"p-cancelable": "^4.0.1",
"p-limit": "^4.0.0",
"p-queue": "^7.3.0",
"simple-eta": "^3.0.2",
"vue-material-design-icons": "^5.2.0"
},
"peerDependencies": {
"@nextcloud/vue": "^8.0.0-beta || ^8.0.0"
}
}
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default defineConfig((env) => {
// for subpath imports like '@nextcloud/l10n/gettext'
include: [/^@nextcloud\//],
// we should externalize vue SFC dependencies
exclude: [/^vue-material-design-icons\//, /^@nextcloud\/vue/, /^@nextcloud\/l10n/, /\.vue(\?|$)/],
exclude: [/^vue-material-design-icons\//],
},
libraryFormats: ['es', 'cjs'],
replace: {
Expand Down

0 comments on commit 664e8a8

Please sign in to comment.