Skip to content

Commit 90fad68

Browse files
committed
Add CODEOWNERS file
1 parent 11c3ba6 commit 90fad68

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @seambot

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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/

makenew.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)