Skip to content

Commit 340b8fb

Browse files
chore: use set-github-repository-labels and populate-all-contributors-for-repository internally (#1772)
## PR Checklist - [x] Addresses an existing open issue: fixes #1768 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Brings on a few utilities I recently extracted: * https://github.com/JoshuaKGoldberg/octokit-from-auth * https://github.com/JoshuaKGoldberg/populate-all-contributors-for-repository * https://github.com/JoshuaKGoldberg/set-github-repository-labels These should all have the same functionality as before. This should be a `chore:` PR, not a `feat:` or `fix:`. The utility here is that the latter two are now used as standalone scripts in onboarding to the "create" engine. I thought they'd be done as network requests (#1752), but in this way I found it a lot simpler to have them as standalone scripts (#1751, JoshuaKGoldberg/bingo#60). 💖
1 parent df464d8 commit 340b8fb

28 files changed

+570
-934
lines changed

knip.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"$schema": "https://unpkg.com/knip@latest/schema.json",
33
"entry": ["script/*e2e.js", "src/index.ts!", "src/**/*.test.*"],
4+
"ignoreDependencies": ["all-contributors-cli"],
45
"ignoreExportsUsedInFile": { "interface": true, "type": true },
56
"project": ["src/**/*.ts!", "script/**/*.js"]
67
}

package.json

+7-5
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,9 @@
4343
"dependencies": {
4444
"@clack/prompts": "^0.8.2",
4545
"@prettier/sync": "^0.5.2",
46-
"all-contributors-for-repository": "^0.3.0",
4746
"chalk": "^5.3.0",
48-
"create": "0.1.0-alpha.3",
47+
"create": "0.1.0-alpha.4",
4948
"execa": "^9.5.1",
50-
"get-github-auth-token": "^0.1.0",
5149
"git-remote-origin-url": "^4.0.0",
5250
"git-url-parse": "^16.0.0",
5351
"input-from-file": "0.1.0-alpha.0",
@@ -56,14 +54,17 @@
5654
"lazy-value": "^3.0.0",
5755
"npm-user": "^6.1.1",
5856
"octokit": "^4.0.2",
57+
"octokit-from-auth": "^0.2.0",
5958
"parse-author": "^2.0.0",
6059
"parse-package-name": "^1.0.0",
60+
"populate-all-contributors-for-repository": "^0.1.0",
6161
"prettier": "^3.4.1",
6262
"replace-in-file": "^8.2.0",
6363
"rimraf": "^6.0.1",
64+
"set-github-repository-labels": "^0.1.0",
6465
"sort-package-json": "^2.12.0",
6566
"title-case": "^4.3.2",
66-
"zod": "^3.23.8",
67+
"zod": "^3.24.1",
6768
"zod-validation-error": "^3.4.0"
6869
},
6970
"devDependencies": {
@@ -78,9 +79,10 @@
7879
"@types/parse-author": "2.0.3",
7980
"@vitest/coverage-v8": "2.1.8",
8081
"@vitest/eslint-plugin": "1.1.14",
82+
"all-contributors-cli": "^6.26.1",
8183
"c8": "10.1.2",
8284
"console-fail-test": "0.5.0",
83-
"create-testers": "0.1.0-alpha.3",
85+
"create-testers": "0.1.0-alpha.4",
8486
"cspell": "8.16.1",
8587
"eslint": "9.16.0",
8688
"eslint-plugin-jsdoc": "50.6.0",

0 commit comments

Comments
 (0)