-
Notifications
You must be signed in to change notification settings - Fork 4
Merge components into @nextcloud/vue #407
Comments
I think this is more due to historic reasons and in the beginning we thought it might be better to have a set of small things that do exactly 1 thing and not 1 giant lib to do everything, but I'm only a consumer of the repo. I have 0 clue about packaging/rollup and other strategies |
Yes, I'd agree that it probably makes more sense to move those components into the library these days.
Would still be fine I'd say as |
Same for https://github.com/nextcloud/nextcloud-vue-collections I guess? |
There I am not sure. |
The PR to merge the Dashboard components is in nextcloud-libraries/nextcloud-vue#2668. |
Done. |
So we archive this after adding a last message to the readme? |
I would say so, see #419 |
But I think there is no release of nc-vue with this change yet. |
Doesn't matter? We will not remove existing packages from npm, so you can continue using those. |
I would like to propose to merge the two Dashboard components into
nextcloud/vue
(sorry if this has been discussed already).The short reason for this is that the effort of maintaining a separate repository for only two components is not worth the rather ideological benefit of doing so.
The longer list of reasons for merging is:
nextcloud-vue-dashboard
repository is quite outdated (showing that the effort is quite high):nextcloud/vue@3
. This would be immediately tackled if the Dashboard components would live innextcloud/vue
itself.rollup-plugin-vue
is not even maintained anymore (they recommend usingvite
and@vitejs/plugin-vue
now).rollup
yet. Whilerollup
seems nice, this more than doubles the effort to maintainnextcloud/vue
andnextcloud/vue-dashboard
separately.nextcloud/vue
. Merging it intonextcloud/vue
would not increase the package size of either package.nextcloud/vue
. While the components themself don't need any change for vue 3 (just a small one for nextcloud/vue@5), the configuration is a bit challenging (for me, I couldn't get it to work properly with vue 3 yet, see my try in Migrate to vue 3 #406).The only rational against merging I could think of is that the two components are not used within an app, hence, don't strictly belong to components logically. But in my opinion this is more than outweighed by the above reasons.
@eneiluj @juliushaertl @nickvergessen @marcoambrosini @skjnldsv Since you contributed the most here.
In case you are ok with this approach, I am happy to send a PR with the necessary adjustments to
nextcloud/vue
. (In fact, I have the two components in mynextcloud/vue#vue3
nextcloud-libraries/nextcloud-vue#2637 branch already, since I couldn't get it to work as a standalone repo yet, npm link is a challenge here as well).The text was updated successfully, but these errors were encountered: