fix(nextcloud libs): Update & prune dependencies

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2024-02-02 19:18:52 +01:00
parent 31515a1b90
commit 5f1a02b78c
6 changed files with 1433 additions and 1343 deletions

2740
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -23,14 +23,12 @@
"dependencies": {
"@nextcloud/auth": "^2.1.0",
"@nextcloud/axios": "^2.3.0",
"@nextcloud/dialogs": "^3.2.0",
"@nextcloud/dialogs": "4.x",
"@nextcloud/event-bus": "^3.1.0",
"@nextcloud/initial-state": "^2.0.0",
"@nextcloud/l10n": "^2.1.0",
"@nextcloud/router": "^2.1.2",
"@nextcloud/vue": "8.x",
"@nextcloud/vue-dashboard": "^2.0.1",
"@nextcloud/vue-richtext": "^2.1.0-beta.6",
"async-parallel": "^1.2.3",
"clone-deep": "^4.0.1",
"humanize-duration": "^3.28.0",
@ -49,16 +47,16 @@
},
"license": "AGPL-3.0-or-later",
"devDependencies": {
"@nextcloud/babel-config": "^1.0.0",
"@nextcloud/babel-config": "1.x",
"@nextcloud/browserslist-config": "^2.3.0",
"@nextcloud/eslint-config": "^8.2.1",
"@nextcloud/stylelint-config": "^2",
"@nextcloud/webpack-vue-config": "^5.5.0",
"@nextcloud/eslint-config": "8.x",
"@nextcloud/stylelint-config": "2.x",
"@nextcloud/webpack-vue-config": "6.x",
"@vue/test-utils": "^1.3.4"
},
"engines": {
"node": "^18.0.0",
"npm": "^8.0.0 || ^9.0.0"
"node": "20.x",
"npm": "9.x"
},
"browserslist": [
"extends @nextcloud/browserslist-config"

View File

@ -13,7 +13,7 @@ import { mutations } from './store/index.js'
import { showError, showMessage } from '@nextcloud/dialogs'
import { generateFilePath } from '@nextcloud/router'
import { getRequestToken } from '@nextcloud/auth'
import '@nextcloud/dialogs/styles/toast.scss'
import '@nextcloud/dialogs/dist/index.css'
// eslint-disable-next-line camelcase
__webpack_nonce__ = btoa(getRequestToken())

View File

@ -5,7 +5,7 @@
-->
<template>
<DashboardWidget :items="items"
<NcDashboardWidget :items="items"
:loading="loading"
:show-more-text="t('bookmarks', 'Bookmarks')"
:show-more-url="moreUrl"
@ -13,12 +13,12 @@
</template>
<script>
import { DashboardWidget } from '@nextcloud/vue-dashboard'
import { NcDashboardWidget } from '@nextcloud/vue'
import { generateUrl } from '@nextcloud/router'
import { actions } from '../store/index.js'
export default {
name: 'DashboardFrequent',
components: { DashboardWidget },
components: { NcDashboardWidget },
computed: {
loading() {
return Boolean(this.$store.state.loading.bookmarks)

View File

@ -5,7 +5,7 @@
-->
<template>
<DashboardWidget :items="items"
<NcDashboardWidget :items="items"
:loading="loading"
:show-more-text="t('bookmarks', 'Bookmarks')"
:show-more-url="moreUrl"
@ -13,12 +13,12 @@
</template>
<script>
import { DashboardWidget } from '@nextcloud/vue-dashboard'
import { NcDashboardWidget } from '@nextcloud/vue'
import { generateUrl } from '@nextcloud/router'
import { actions } from '../store/index.js'
export default {
name: 'DashboardRecent',
components: { DashboardWidget },
components: { NcDashboardWidget },
computed: {
loading() {
return Boolean(this.$store.state.loading.bookmarks)

View File

@ -3,11 +3,7 @@
*
* This file is licensed under the Affero General Public License version 3 or later. See the COPYING file.
*/
// with nc/vue 7.8.0, if we remove this, nothing works...
import {} from '@nextcloud/vue-richtext'
import { registerWidget, registerCustomPickerElement, NcCustomPickerRenderResult } from '@nextcloud/vue/dist/Components/NcRichText.mjs'
import { registerWidget, registerCustomPickerElement, NcCustomPickerRenderResult } from '@nextcloud/vue/dist/Components/NcRichText.js'
import Vue from 'vue'
import BookmarkReferenceWidget from './components/BookmarkReferenceWidget.vue'