Skip to content

Commit d4c63a3

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 4151224 commit d4c63a3

File tree

4 files changed

+9
-76
lines changed

4 files changed

+9
-76
lines changed

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: 7 additions & 10 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,19 +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'
166-
167-
import InfoIcon from 'vue-material-design-icons/Information.vue'
168-
import NcPopover from '@nextcloud/vue/dist/Components/NcPopover.js'
169-
170165
import axios from '@nextcloud/axios'
171166
import moment from '@nextcloud/moment'
172-
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
173-
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
167+
import NcAvatar from '@nextcloud/vue/components/NcAvatar'
168+
import NcButton from '@nextcloud/vue/components/NcButton'
169+
import NcCollectionList from '@nextcloud/vue/components/NcCollectionList'
170+
import NcPopover from '@nextcloud/vue/components/NcPopover'
171+
import InfoIcon from 'vue-material-design-icons/InformationOutline.vue'
174172
175173
import { shareWithTitle } from '../utils/SharedWithMe.js'
176-
177174
import Config from '../services/ConfigService.ts'
178175
import Share from '../models/Share.ts'
179176
import SharingEntryInternal from '../components/SharingEntryInternal.vue'
@@ -192,10 +189,10 @@ export default {
192189
name: 'SharingTab',
193190
194191
components: {
195-
CollectionList,
196192
InfoIcon,
197193
NcAvatar,
198194
NcButton,
195+
NcCollectionList,
199196
NcPopover,
200197
SharingEntryInternal,
201198
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": "^12.0.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": "^7.4.1",
9796
"path": "^0.12.7",

0 commit comments

Comments
 (0)