🚀 Feature: Add a --bin option for projects with a bin runner #938
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
Quite a few of the repositories I've created with this template have a
"bin": ...
entry inpackage.json
. That way you cannpx <package-name>
them.It's been a little inconvenient having to always manually add to template tooling to get support for
bin
. Plus sometimes there are bugs (e.g. #934).Let's add a
--bin
option. That way templates can:bin
package.json
entry and minimalbin/index.js
Additional Info
Packages might be able to avoid running
pnpm build
beforepnpm lint
if there's nobin
? Not sure, haven't looked into it.The text was updated successfully, but these errors were encountered: