🚀 Feature: Default --description to repo's description if the in-repository one is the default #1363
Open
2 tasks done
Labels
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,
--description
defaults to thedescription
in apackage.json
file:create-typescript-app/src/shared/options/createOptionDefaults/index.ts
Line 34 in dd4fc29
...but, in a repository newly created from the template, that description will likely be the default create-typescript-app one:
If the
package.json
description is the same default description ascreate-typescript-app
's as seen in that code block, then it's not likely a good suggestion for a newly created package. Let's have the logic also check the GitHub repository's About as second thing:...and don't include a suggestion if both are the default description.
Additional Info
No response
The text was updated successfully, but these errors were encountered: