Skip to content

chore: Remove unused chalk, @types/jsdom and ts-node dependencies - #14731

Draft
amoore108 wants to merge 3 commits into
latestfrom
amoore108-remove-unused-dependencies
Draft

amoore108 wants to merge 3 commits into
latestfrom
amoore108-remove-unused-dependencies

Conversation

@amoore108

Copy link
Copy Markdown
Contributor

Resolves JIRA:

Summary

A dependency audit found three dev dependencies that nothing uses any more. This PR removes them, which drops 15 packages from the lockfile and offline cache.

Code changes

  • Remove chalk from the root devDependencies: nothing imports it.
  • Remove @types/jsdom from the root devDependencies: jsdom is only imported from a plain JavaScript script, and jest-environment-jsdom still brings in its own copy.
  • Remove ts-node from the ws-nextjs-app devDependencies: Jest 30 loads jest.config.ts with Node's built-in TypeScript support, and the app's .ts scripts already run directly under node.

Testing

  1. Run yarn install, then yarn test:dependencies and check that it reports 0 unused and 0 missing.
  2. Run yarn test:unit and check that it passes.
  3. In ws-nextjs-app, run yarn test and check that Jest loads ../jest.config.ts and the suites pass.

Useful Links

Nothing in the repo imports chalk.
jsdom is only imported from a plain JavaScript script, so nothing needs
its types. jest-environment-jsdom still brings in its own copy.
Jest 30 loads jest.config.ts with Node's built-in TypeScript support, and
the app's .ts scripts run directly under node, so ts-node is never used.
@amoore108
amoore108 requested a review from a team as a code owner November 29, 2026 11:45
Copilot AI balanced review requested due to automatic review settings November 29, 2026 11:45
@amoore108 amoore108 self-assigned this Nov 29, 2026

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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

This branch has not been deployed

No deployments
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.

2 participants