Skip to content

Commit 4df06c6

Browse files
feat: document 145, and re-add npm publishing
1 parent 14819bc commit 4df06c6

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
github-token: ${{ secrets.ACCESS_TOKEN }}
4343
# Note: keep this inline script in sync with script/setup.js!
4444
# Todo: it would be nice to not have two sources of truth...
45+
# https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues/145
4546
script: |
4647
github.request(
4748
`PUT /repos/JoshuaKGoldberg/template-typescript-node-package/branches/main/protection`,

.release-it.json

-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
"release": true,
77
"releaseName": "v${version}"
88
},
9-
"npm": {
10-
"publish": false
11-
},
129
"plugins": {
1310
"@release-it/conventional-changelog": {
1411
"header": "# Changelog",

script/setup.js

+1
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ try {
199199

200200
// Note: keep this inline script in sync with .github/workflows/release.yml!
201201
// Todo: it would be nice to not have two sources of truth...
202+
// https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues/145
202203
await octokit.request(
203204
`PUT /repos/${owner}/${repository}/branches/main/protection`,
204205
{

0 commit comments

Comments
 (0)