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

Allow templating in apm's init #12

Open
rgbkrk opened this issue Mar 20, 2014 · 0 comments
Open

Allow templating in apm's init #12

rgbkrk opened this issue Mar 20, 2014 · 0 comments

Comments

@rgbkrk
Copy link

rgbkrk commented Mar 20, 2014

This probably belongs in apm, but since that repo isn't available this seems like the next best entrypoint.

package-generator is using apm init underneath to generate packages. It would be great if the package defaulted to setting the

  • repository name in package.json to https://github.com/{{ username|configured_org }}/{{ package_name }}
  • full name in LICENSE.md
  • license the user prefers

The first two I'm sure are linked to their configured GitHub account anyway, so those can probably be slurped directly with no user interaction. The third requires user input "somewhere", possibly on the settings pane for this package.

There are more steps I'd like to automate to make sure people are using the right flow, but this at least saves people from having to do boilerplate work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants