-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: Scope package into modules #1025
Conversation
Bundle ReportChanges will increase total bundle size by 247.08kB (101.54%) ⬆️
|
I would still prefer do a breaking release and push this for nc 31 and above? :) |
Sure I just wanted to make it non breaking so we might can keep compatible library versions longer for NC releases. |
I personally don't mind both. |
1b1106b
to
d9b9fb6
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1025 +/- ##
=======================================
Coverage 91.77% 91.77%
=======================================
Files 23 23
Lines 632 632
Branches 166 166
=======================================
Hits 580 580
Misses 45 45
Partials 7 7 ☔ View full report in Codecov by Sentry. |
0cec312
to
6a280a9
Compare
This splits the package into two modules: 1. The default one (`@nextcloud/files`) which provides general utils to work with files or the files app 2. DAV utils (`@nextcloud/files/dav`) which provides WebDAV related utils For legacy reasons to not make this a breaking release the DAV utils are exported with their prefixed names in the default module, but this will be then removed with the next major version. Signed-off-by: Ferdinand Thiessen <[email protected]>
6a280a9
to
781517b
Compare
What do you think of this idea?
This splits the package into modules:
@nextcloud/files
) which provides general classes to work with the Node classes we use nearly everywhere@nextcloud/files/dav
) which provides WebDAV related utilsFor legacy reasons to not make this a breaking release the DAV utils are exported with their prefixed names in the default module, but this will be then removed with the next major version.