Skip to content
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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jaylinski
Copy link
Contributor

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.

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())
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jaylinski jaylinski marked this pull request as draft January 17, 2025 22:52
"sortablejs-vue3": "^1.2.11",
"uuid": "^11.0.5",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ This is a peer-dependency of @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",
Copy link
Contributor Author

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",
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant