-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
Context
In PR #1994, we identified that duplicated dependency specifications can occur in the webui workspace when multiple node_modules directories exist. Currently, this requires manual intervention to resolve.
Reference: #1994 (comment)
Proposed Solution
-
Add utility task to
taskfiles/deps/lock.yaml:- Create a task that automates the npm workspace deduplication process
- Commands to include:
cd components/webui rm -rf node_modules server/node_modules npm dedupe npm install --workspaces
-
Add CI check:
- Implement a CI workflow check to detect duplicated dependency specifications
- This should fail the build if duplicates are found, preventing the issue from reoccurring
Benefits
- Prevents manual intervention for dependency conflicts
- Ensures consistent dependency resolution across the workspace
- Catches duplication issues early in CI before they reach production
Related
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels