File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ * @ seambot
Original file line number Diff line number Diff line change @@ -20,8 +20,10 @@ Bootstrap a new TypeScript module in five minutes or less.
2020- Code coverage reporting with [ Istanbul] and [ c8] .
2121- Continuous testing and package publishing with [ GitHub Actions] .
2222- Consistent coding with [ EditorConfig] .
23+ - Get PR reviews directly from [ code owners] .
2324
2425[ AVA ] : https://github.com/avajs/ava
26+ [ code owners ] : https://github.blog/2017-07-06-introducing-code-owners/
2527[ ECMAScript module ] : https://nodejs.org/api/esm.html
2628[ ESLint ] : https://eslint.org/
2729[ EditorConfig ] : https://editorconfig.org/
Original file line number Diff line number Diff line change @@ -49,17 +49,19 @@ makenew () {
4949 echo ' Answer all prompts.'
5050 echo ' There are no defaults.'
5151 echo ' Example values are shown in parentheses.'
52+ read -p ' > Your GitHub username (my-user): ' mk_codeowner
5253 read -p ' > Package title (My Package): ' mk_title
5354 read -p ' > Package name (@namespace/my-package): ' mk_slug
5455 read -p ' > Short package description (Foos and bars.): ' mk_description
5556 read -p ' > GitHub repository name (my-repo): ' mk_repo
5657
57- sed_delete README.md ' 9,88d '
58+ sed_delete README.md ' 9,90d '
5859 sed_insert README.md ' 9i' ' TODO'
5960
6061 find_replace " s/^ \" version\" : \" .*\" / \" version\" : \" 0.0.0\" /g"
6162 find_replace " s/TypeScript Module Package Skeleton/${mk_title} /g"
6263 find_replace " s/Package skeleton for a TypeScript module\./${mk_description} /g"
64+ find_replace " s/@seambot/${mk_codeowner} /g"
6365 find_replace " s|@seamapi/makenew-tsmodule|${mk_slug} |g"
6466 find_replace " s|makenew-tsmodule|${mk_repo} |g"
6567
You can’t perform that action at this time.
0 commit comments