Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

package specialization: CLI #59

Open
10 of 17 tasks
travi opened this issue May 30, 2018 · 2 comments
Open
10 of 17 tasks

package specialization: CLI #59

travi opened this issue May 30, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@travi
Copy link
Member

travi commented May 30, 2018

  • .npmrc with save-exact=true
  • /bin/ instead of /lib/ in .eslintignore
  • /bin/ instead of /lib/ in .gitignore
  • capture script name since it will likely be different from the package name (default to the package name though)
  • bin property in package.json set to bin/<script-name>.js
  • no main or module properties in package.json
  • /bin/ instead of /lib/ in the files property of the package.json
  • /bin/ instead of /lib/ in the clean script in package.json
  • devDependencies of rollup-plugin-executable and rollup-plugin-json
  • dependency on update-notifier
  • dependency on cli framework, such as yargs or commander
  • enable json() and executable() plugins in the rollup.config.js
  • bin output in rollup.config.js with shebang banner
  • README.md content
  • pacakge publishing
  • scope in package name
  • framework choice (minimist, commander, yargs, oclif)
@travi travi added the enhancement New feature or request label Dec 24, 2018
@travi
Copy link
Member Author

travi commented Apr 14, 2019

this commit includes many of the changes for what needs to be different from a normal package: form8ion/utils-cli@39ac831, but don't forget to specify the command name properly

@travi
Copy link
Member Author

travi commented Apr 16, 2019

extract overlap between cli and package scaffolding

@travi travi closed this as completed Apr 16, 2019
@travi travi reopened this Apr 16, 2019
travi added a commit that referenced this issue May 20, 2019
to prepare for actually exposing it as an option

for #59
travi added a commit that referenced this issue May 21, 2019
but there are still some details to finish up with the actual scaffolding. this should be helpful
tho, even with those outstanding details

for #59
travi added a commit that referenced this issue May 28, 2019
and backfilled integration coverage for package name including the scope

for #59
@travi travi pinned this issue Feb 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant