Skip to content

Remove shadcn dependency from package.json#1291

Merged
shm11C3 merged 1 commit into
developfrom
chore/remove-unused-package
Mar 26, 2026
Merged

Remove shadcn dependency from package.json#1291
shm11C3 merged 1 commit into
developfrom
chore/remove-unused-package

Conversation

@shm11C3

@shm11C3 shm11C3 commented Mar 26, 2026

Copy link
Copy Markdown
Owner

Summary

Removing the shadcn dependency from package.json simplifies the project's dependencies and reduces potential bloat.

Related Issues

Type of Change

  • Bug fix (fix/ branch)
  • New feature (feat/ branch)
  • Refactoring (refactor/ branch)
  • Documentation (docs/ branch)
  • Dependencies update
  • Other (chore/ branch)

Screenshots / Videos

Test Plan

  • Manual testing
  • Unit tests

Checklist

  • Self-reviewed the code
  • Linting and formatting pass (npm run lint && npm run format / cargo tauri-lint && cargo tauri-fmt)
  • Tests pass (npm test / cargo tauri-test)
  • No new warnings or errors

Copilot AI review requested due to automatic review settings March 26, 2026 16:18
@github-actions github-actions Bot added dependencies Pull requests that update a dependency file frontend labels Mar 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 99.09% (🎯 60%) 990 / 999
🔵 Statements 98.87% (🎯 60%) 1051 / 1063
🔵 Functions 98.79% (🎯 60%) 245 / 248
🔵 Branches 93.96% (🎯 60%) 327 / 348
File CoverageNo changed files found.
Generated in workflow #2564 for commit fa20c99 by the Vitest Coverage Report Action

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Removes the shadcn CLI package from the project’s Node devDependencies to reduce dependency bloat, and updates the lockfile accordingly.

Changes:

  • Removed shadcn from package.json devDependencies.
  • Updated package-lock.json to reflect the dependency graph after removing shadcn (including dropping its transitive packages).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
package.json Drops shadcn from devDependencies.
package-lock.json Lockfile re-resolve reflecting removal of shadcn and its transitive deps.

Comment thread package.json
Comment on lines 38 to 42
"jsdom": "^29.0.1",
"license-checker": "^25.0.1",
"rollup-plugin-visualizer": "^7.0.0",
"shadcn": "^4.0.0",
"tailwindcss": "^4.1.17",
"typescript": "^6.0.2",

Copilot AI Mar 26, 2026

Copy link

Choose a reason for hiding this comment

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

shadcn (the CLI) is being removed from devDependencies, but the repo still contains components.json with a shadcn/ui schema and UI files that mention they were generated by shadcn/ui. If we still expect contributors to scaffold/update components via the CLI, consider either keeping shadcn as a devDependency or updating docs/workflows to use npx shadcn@<version> and clarifying that it’s not installed locally.

Copilot uses AI. Check for mistakes.
@shm11C3 shm11C3 merged commit 888fd0b into develop Mar 26, 2026
25 checks passed
@shm11C3 shm11C3 deleted the chore/remove-unused-package branch March 26, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants