馃殌 Feature: Also remove existing "jest" package.json field #1373
Labels
good first issue
Good for newcomers, please hop on!
status: accepting prs
Please, send a pull request to resolve this!
type: feature
New enhancement or request
Bug Report Checklist
main
branch of the repository.Overview
Right now,
--mode migrate
will attempt to delete any existing Jest config file:create-typescript-app/src/steps/clearUnnecessaryFiles.ts
Line 9 in 592b0c8
...but Jest can be configured with a
"jest"
key in thepackage.json
of a project: https://jestjs.io/docs/configuration. Let's have migration also delete that"jest"
in thepackage.json
if it exists.Additional Info
The logic to remove existing unnecessary fields in a
package.json
is around here:create-typescript-app/src/steps/writing/creation/writePackageJson.ts
Lines 55 to 59 in c5cac23
The text was updated successfully, but these errors were encountered: