alexjoverm/typescript-library-starter

Suggestion: separated starter script form codebase

Open

#135 opened on 2017年11月24日

GitHub で見る
 (4 comments) (1 reaction) (0 assignees)TypeScript (4,362 stars) (481 forks)user submission
enhancementhelp wanted

説明

Initially based on the script you have that runs after installing the dependencies, I've created a script that simplifies the process in only one step (it clones the repo and runs the script) and has also the benefit of being outside the codebase.

You can run the script with:

npx github:gimenete/create-typescript-library <dirname>

Repo here: https://github.com/gimenete/create-typescript-library

Besides the library name it also asks for a few other things:

  • What do you want the library to be called?
  • Is this a web app or a Node.js app? Node.js / Webapp
  • Is this a library? Standalone application? Yes / No
  • Do you want to use travis? Yes / No
  • Do you want to use commitizen? Yes / No

Maybe we can remove the embedded script you have in the project and promote using this one. My suggestion is to put this script in your repo in a different branch. Then it will be run like this:

npx github:alexjoverm/typescript-library-starter#script <dirname>

Where script is the branch name.

コントリビューターガイド

Suggestion: separated starter script form codebase · alexjoverm/typescript-library-starter#135 | Good First Issue