🐛 Bug: Migrating an existing package.json shouldn't remove "bin/" entry from "files" #934
Closed
3 tasks done
Labels
status: accepting prs
Please, send a pull request to resolve this!
type: bug
Something isn't working :(
Bug Report Checklist
main
branch of the repository.Expected
Running
npx create-typescript-app --mode migrate
(with any base) on an existing repository shouldn't wipe outfiles
entries if they correspond to files that should exist in the package.Actual
Running
npx create-typescript-app --mode migrate
(with any base) on an existing repository right now overrides the repository'sfiles
entry (among others). But if the repository has file(s) underbin/
, that means the newfiles
entry won't include them anymore. Not good."files": [ - "bin/", "lib/", "package.json", "LICENSE.md", "README.md" ],
Additional Info
No response
The text was updated successfully, but these errors were encountered: