Skip to content

Commit e7fc398

Browse files
feat: fill in existing contributors in hydration (#639)
## PR Checklist - [x] Addresses an existing open issue: fixes #448 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/template-typescript-node-package/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Adds detecting existing contributors with [`all-contributors-for-repository`](https://github.com/JoshuaKGoldberg/all-contributors-for-repository), along with a `--skip-contributors` flag to skip that.
1 parent 1118d8e commit e7fc398

File tree

9 files changed

+236
-91
lines changed

9 files changed

+236
-91
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ npx template-typescript-node-package --releases false --unitTests false
129129

130130
You can prevent the hydration script from making network-based changes using either or both of the following CLI flags:
131131

132+
- `--skip-contributors` _(`boolean`)_: Skips detecting existing contributors with [`all-contributors-for-repository`](https://github.com/JoshuaKGoldberg/all-contributors-for-repository)
132133
- `--skip-install` _(`boolean`)_: Skips installing all the new template packages with `pnpm`
133134
- `--skip-setup` _(`boolean`)_: Skips running the setup script at the end of hydration
134135

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
},
4444
"dependencies": {
4545
"@clack/prompts": "^0.6.3",
46+
"all-contributors-for-repository": "^0.0.10",
4647
"chalk": "^5.2.0",
4748
"execa": "^7.1.1",
4849
"git-remote-origin-url": "^4.0.0",

0 commit comments

Comments
 (0)