Remove redundant and obsolete dependencies#1760
Remove redundant and obsolete dependencies#1760pverscha merged 3 commits intodevelopunipept/unipept:developfrom chore/remove-obsolete-dependencies-9276605349074716066unipept/unipept:chore/remove-obsolete-dependencies-9276605349074716066Copy head branch name to clipboard
Conversation
Removed unused or obsolete dependencies to clean up the project: - `async`: replaced with native `runParallel` implementation using `Promise.race` and `Promise.all` in `pept2filtered.worker.ts`. - `webfontloader`: removed as fonts are loaded via CSS/HTML. Removed corresponding plugin and imports. - `roboto-fontface`: removed (unused). - `@types/d3`: moved to devDependencies (but kept as it is required). - `@types/uuid`: removed (redundant with `uuid` v13 types). - `@types/webfontloader`: removed. Verified changes with `yarn lint`, `yarn types:check`, `yarn test`, and `yarn test:e2e` (Note: Peptonizer E2E test has an existing timeout issue unrelated to these changes).
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
pverscha
left a comment
There was a problem hiding this comment.
I have made some extra changes:
- Added loading of Roboto font through embed in index.html head
- Removed async from the included optimizedDeps in Vite
All looks well now
Removed
async,webfontloader,roboto-fontface, and redundant@typespackages. Refactoredpept2filtered.worker.tsto use native Promises for concurrency control instead ofasync.parallelLimit. Updatedplugins/index.tsandRecentAnalysisCard.vueto remove unused imports.PR created automatically by Jules for task 9276605349074716066 started by @pverscha