Repository navigation
Conversation
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.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
chalkfrom the root devDependencies: nothing imports it.@types/jsdomfrom the root devDependencies:jsdomis only imported from a plain JavaScript script, andjest-environment-jsdomstill brings in its own copy.ts-nodefrom thews-nextjs-appdevDependencies: Jest 30 loadsjest.config.tswith Node's built-in TypeScript support, and the app's.tsscripts already run directly undernode.Testing
yarn install, thenyarn test:dependenciesand check that it reports 0 unused and 0 missing.yarn test:unitand check that it passes.ws-nextjs-app, runyarn testand check that Jest loads../jest.config.tsand the suites pass.Useful Links