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

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

Conversation

jaylinski
Copy link
Member

@jaylinski jaylinski commented Jan 17, 2025

When running npm run build the size of /js/store-C4tptVlq.chunk.mjs will shrink by 0.28 kB (gzip).

The npm ci command is now about 0.5 to 1.0 seconds faster.
The npm install command now installs 990 dependencies instead of 993.

src/models/task.js Outdated Show resolved Hide resolved
@jaylinski jaylinski marked this pull request as draft January 17, 2025 22:52
"sortablejs-vue3": "^1.2.11",
"uuid": "^11.0.5",
Copy link
Member Author

@jaylinski jaylinski Jan 17, 2025

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.

Depends on nextcloud/calendar-js#785.

Copy link
Member Author

@jaylinski jaylinski Feb 1, 2025

Choose a reason for hiding this comment

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

PR was merged, released in v8.1.0 and added in 24723da.

@@ -27,7 +27,6 @@
"bugs": "https://github.com/nextcloud/tasks/issues",
"contributors": [],
"dependencies": {
"@nextcloud/auth": "^2.4.0",
Copy link
Member Author

@jaylinski jaylinski Jan 17, 2025

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 but not used directly in the code (via import).

@@ -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
Member 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.

Copy link

github-actions bot commented Feb 1, 2025

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

@jaylinski jaylinski force-pushed the chore/remove-unused-npm-deps branch from e686cd6 to af6544d Compare February 1, 2025 19:03
Signed-off-by: Jakob Linskeseder <[email protected]>
@jaylinski jaylinski force-pushed the chore/remove-unused-npm-deps branch from af6544d to ca29a87 Compare February 1, 2025 19:13
@jaylinski jaylinski marked this pull request as ready for review February 1, 2025 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant