File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed 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.
20
20
- Code coverage reporting with [ Istanbul] and [ c8] .
21
21
- Continuous testing and package publishing with [ GitHub Actions] .
22
22
- Consistent coding with [ EditorConfig] .
23
+ - Get PR reviews directly from [ code owners] .
23
24
24
25
[ AVA ] : https://github.com/avajs/ava
26
+ [ code owners ] : https://github.blog/2017-07-06-introducing-code-owners/
25
27
[ ECMAScript module ] : https://nodejs.org/api/esm.html
26
28
[ ESLint ] : https://eslint.org/
27
29
[ EditorConfig ] : https://editorconfig.org/
Original file line number Diff line number Diff line change @@ -49,17 +49,19 @@ makenew () {
49
49
echo ' Answer all prompts.'
50
50
echo ' There are no defaults.'
51
51
echo ' Example values are shown in parentheses.'
52
+ read -p ' > Your GitHub username (my-user): ' mk_codeowner
52
53
read -p ' > Package title (My Package): ' mk_title
53
54
read -p ' > Package name (@namespace/my-package): ' mk_slug
54
55
read -p ' > Short package description (Foos and bars.): ' mk_description
55
56
read -p ' > GitHub repository name (my-repo): ' mk_repo
56
57
57
- sed_delete README.md ' 9,88d '
58
+ sed_delete README.md ' 9,90d '
58
59
sed_insert README.md ' 9i' ' TODO'
59
60
60
61
find_replace " s/^ \" version\" : \" .*\" / \" version\" : \" 0.0.0\" /g"
61
62
find_replace " s/TypeScript Module Package Skeleton/${mk_title} /g"
62
63
find_replace " s/Package skeleton for a TypeScript module\./${mk_description} /g"
64
+ find_replace " s/@seambot/${mk_codeowner} /g"
63
65
find_replace " s|@seamapi/makenew-tsmodule|${mk_slug} |g"
64
66
find_replace " s|makenew-tsmodule|${mk_repo} |g"
65
67
You can’t perform that action at this time.
0 commit comments