Skip to content

Commit d52ed53

Browse files
chore: correct missing release-it dependencies for blockReleaseIt (#1770)
## PR Checklist - [x] Addresses an existing open issue: fixes #1769 - [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 Marking as a `chore:` because this only impacts when opting into the new `create` engine with the undocumented `CTA_CREATE_ENGINE` flag. 💖
1 parent 14b6e51 commit d52ed53

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/next/blocks/blockReleaseIt.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { createSoloWorkflowFile } from "../../steps/writing/creation/dotGitHub/c
22
import { base } from "../base.js";
33
import { blockCSpell } from "./blockCSpell.js";
44
import { blockPackageJson } from "./blockPackageJson.js";
5+
import { getPackageDependencies } from "./packageData.js";
56

67
export const blockReleaseIt = base.createBlock({
78
about: {
@@ -15,6 +16,10 @@ export const blockReleaseIt = base.createBlock({
1516
}),
1617
blockPackageJson({
1718
properties: {
19+
devDependencies: getPackageDependencies(
20+
"@release-it/conventional-changelog",
21+
"release-it",
22+
),
1823
publishConfig: {
1924
provenance: true,
2025
},

0 commit comments

Comments
 (0)