Skip to content

Commit 48f86c4

Browse files
committed
chore: remove nextcloud-vue-collections and use @nextcloud/vue instead
`nextcloud-vue-collections` is deprecated for quite some time and was merged into `@nextcloud/vue`. So lets drop that dependency. Adjust the two files where it was used, one of them was itself never used so just dropped that file. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 6033c25 commit 48f86c4

4 files changed

Lines changed: 8 additions & 72 deletions

File tree

apps/files_sharing/src/views/CollaborationView.vue

Lines changed: 0 additions & 36 deletions
This file was deleted.

apps/files_sharing/src/views/SharingTab.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
<div v-if="projectsEnabled"
139139
v-show="!showSharingDetailsView && fileInfo"
140140
class="sharingTab__additionalContent">
141-
<CollectionList :id="`${fileInfo.id}`"
141+
<NcCollectionList :id="`${fileInfo.id}`"
142142
type="file"
143143
:name="fileInfo.name" />
144144
</div>
@@ -161,16 +161,16 @@ import { getCapabilities } from '@nextcloud/capabilities'
161161
import { orderBy } from '@nextcloud/files'
162162
import { loadState } from '@nextcloud/initial-state'
163163
import { generateOcsUrl } from '@nextcloud/router'
164-
import { CollectionList } from 'nextcloud-vue-collections'
165164
import { ShareType } from '@nextcloud/sharing'
166165
167-
import InfoIcon from 'vue-material-design-icons/InformationOutline.vue'
166+
import NcAvatar from '@nextcloud/vue/components/NcAvatar'
167+
import NcButton from '@nextcloud/vue/components/NcButton'
168+
import NcCollectionList from '@nextcloud/vue/components/NcCollectionList'
168169
import NcPopover from '@nextcloud/vue/components/NcPopover'
170+
import InfoIcon from 'vue-material-design-icons/InformationOutline.vue'
169171
170172
import axios from '@nextcloud/axios'
171173
import moment from '@nextcloud/moment'
172-
import NcAvatar from '@nextcloud/vue/components/NcAvatar'
173-
import NcButton from '@nextcloud/vue/components/NcButton'
174174
175175
import { shareWithTitle } from '../utils/SharedWithMe.js'
176176
@@ -192,10 +192,10 @@ export default {
192192
name: 'SharingTab',
193193
194194
components: {
195-
CollectionList,
196195
InfoIcon,
197196
NcAvatar,
198197
NcButton,
198+
NcCollectionList,
199199
NcPopover,
200200
SharingEntryInternal,
201201
SharingEntrySimple,

package-lock.json

Lines changed: 1 addition & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"@simplewebauthn/browser": "^13.1.0",
6666
"@vue/web-component-wrapper": "^1.3.0",
6767
"@vueuse/components": "^11.3.0",
68-
"@vueuse/core": "^11.0.1",
68+
"@vueuse/core": "^11.3.0",
6969
"@vueuse/integrations": "^11.3.0",
7070
"backbone": "^1.6.1",
7171
"blueimp-md5": "^2.19.0",
@@ -91,7 +91,6 @@
9191
"marked": "^15.0.12",
9292
"moment": "^2.30.1",
9393
"moment-timezone": "^0.6.0",
94-
"nextcloud-vue-collections": "^0.13.0",
9594
"p-limit": "^6.2.0",
9695
"p-queue": "^8.1.0",
9796
"path": "^0.12.7",

0 commit comments

Comments
 (0)