-
Notifications
You must be signed in to change notification settings - Fork 99
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
chore: remove unused npm dependencies #2763
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Jakob Linskeseder <[email protected]>
@@ -83,7 +82,7 @@ export default class Task { | |||
|
|||
if (!this.vtodo.hasProperty('uid')) { | |||
console.debug('This task did not have a proper uid. Setting a new one for ', this) | |||
this.vtodo.addPropertyWithValue('uid', uuid()) | |||
this.vtodo.addPropertyWithValue('uid', crypto.randomUUID()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function is supported by all Nextcloud-supported browsers:
"sortablejs-vue3": "^1.2.11", | ||
"uuid": "^11.0.5", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nextcloud/[email protected]
. It has to be removed there first before we can remove it here.
@@ -27,7 +27,6 @@ | |||
"bugs": "https://github.com/nextcloud/tasks/issues", | |||
"contributors": [], | |||
"dependencies": { | |||
"@nextcloud/auth": "^2.4.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a direct dependency of @nextcloud/axios
.
@@ -43,15 +42,12 @@ | |||
"color-convert": "^2.0.1", | |||
"debounce": "^2.2.0", | |||
"ical.js": "^2.1.0", | |||
"linkify-it": "^5.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a direct dependency of markdown-it
.
When running
npm run build
the size of the JS output stays the same.The
npm ci
command is now about 0.5 to 1.0 seconds faster.