create-typescript-app 2.7.3 → 2.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  <p align="center">
9
9
  <!-- prettier-ignore-start -->
10
10
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
11
- <a href="#contributors" target="_blank"><img alt="👪 All Contributors: 53" src="https://img.shields.io/badge/%F0%9F%91%AA_all_contributors-53-21bb42.svg" /></a>
11
+ <a href="#contributors" target="_blank"><img alt="👪 All Contributors: 54" src="https://img.shields.io/badge/%F0%9F%91%AA_all_contributors-54-21bb42.svg" /></a>
12
12
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
13
13
  <!-- prettier-ignore-end -->
14
14
  <a href="https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CODE_OF_CONDUCT.md" target="_blank"><img alt="🤝 Code of Conduct: Kept" src="https://img.shields.io/badge/%F0%9F%A4%9D_code_of_conduct-kept-21bb42" /></a>
@@ -106,33 +106,34 @@ Thanks! 🎁
106
106
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/Aslemammad"><img src="https://avatars.githubusercontent.com/u/37929992?v=4?s=100" width="100px;" alt="Mohammad Bagher Abiyat"/><br /><sub><b>Mohammad Bagher Abiyat</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=aslemammad" title="Code">💻</a></td>
107
107
  </tr>
108
108
  <tr>
109
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/natepmay"><img src="https://avatars.githubusercontent.com/u/57735824?v=4?s=100" width="100px;" alt="Nate May"/><br /><sub><b>Nate May</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=author%3Anatepmay" title="Bug reports">🐛</a></td>
109
110
  <td align="center" valign="top" width="14.28%"><a href="https://navinmoorthy.me/"><img src="https://avatars.githubusercontent.com/u/39694575?v=4?s=100" width="100px;" alt="Navin Moorthy"/><br /><sub><b>Navin Moorthy</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=author%3Anavin-moorthy" title="Bug reports">🐛</a> <a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=navin-moorthy" title="Code">💻</a> <a href="#ideas-navin-moorthy" title="Ideas, Planning, & Feedback">🤔</a></td>
110
111
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/NazCodeland"><img src="https://avatars.githubusercontent.com/u/113494366?v=4?s=100" width="100px;" alt="NazCodeland"/><br /><sub><b>NazCodeland</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=NazCodeland" title="Code">💻</a></td>
111
112
  <td align="center" valign="top" width="14.28%"><a href="https://orta.io"><img src="https://avatars.githubusercontent.com/u/49038?v=4?s=100" width="100px;" alt="Orta Therox"/><br /><sub><b>Orta Therox</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=orta" title="Code">💻</a> <a href="#ideas-orta" title="Ideas, Planning, & Feedback">🤔</a></td>
112
113
  <td align="center" valign="top" width="14.28%"><a href="https://paulisaweso.me/"><img src="https://avatars.githubusercontent.com/u/6335792?v=4?s=100" width="100px;" alt="Paul Esch-Laurent"/><br /><sub><b>Paul Esch-Laurent</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=Pinjasaur" title="Code">💻</a></td>
113
114
  <td align="center" valign="top" width="14.28%"><a href="https://kodfabrik.se/"><img src="https://avatars.githubusercontent.com/u/34457?v=4?s=100" width="100px;" alt="Pelle Wessman"/><br /><sub><b>Pelle Wessman</b></sub></a><br /><a href="#ideas-voxpelli" title="Ideas, Planning, & Feedback">🤔</a></td>
114
115
  <td align="center" valign="top" width="14.28%"><a href="https://praveenshinde.vercel.app/"><img src="https://avatars.githubusercontent.com/u/107350270?v=4?s=100" width="100px;" alt="Praveen Shinde"/><br /><sub><b>Praveen Shinde</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=praveenshinde3" title="Code">💻</a></td>
115
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/promise-dash"><img src="https://avatars.githubusercontent.com/u/86062880?v=4?s=100" width="100px;" alt="Promise Dash"/><br /><sub><b>Promise Dash</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=promise-dash" title="Code">💻</a></td>
116
116
  </tr>
117
117
  <tr>
118
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/promise-dash"><img src="https://avatars.githubusercontent.com/u/86062880?v=4?s=100" width="100px;" alt="Promise Dash"/><br /><sub><b>Promise Dash</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=promise-dash" title="Code">💻</a></td>
118
119
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/RebeccaStevens"><img src="https://avatars.githubusercontent.com/u/7224206?v=4?s=100" width="100px;" alt="Rebecca Stevens"/><br /><sub><b>Rebecca Stevens</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=RebeccaStevens" title="Code">💻</a> <a href="#infra-RebeccaStevens" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
119
120
  <td align="center" valign="top" width="14.28%"><a href="https://linktr.ee/ronbraha"><img src="https://avatars.githubusercontent.com/u/45559220?v=4?s=100" width="100px;" alt="Ron Braha"/><br /><sub><b>Ron Braha</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=RNR1" title="Code">💻</a> <a href="#design-RNR1" title="Design">🎨</a> <a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=RNR1" title="Tests">⚠️</a></td>
120
121
  <td align="center" valign="top" width="14.28%"><a href="http://ronjeanfrancois.com"><img src="https://avatars.githubusercontent.com/u/105710107?v=4?s=100" width="100px;" alt="Ron Jean-Francois"/><br /><sub><b>Ron Jean-Francois</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=ronthetech" title="Code">💻</a> <a href="#infra-ronthetech" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
121
122
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/RuthwikReddy09"><img src="https://avatars.githubusercontent.com/u/126862059?v=4?s=100" width="100px;" alt="Ruthwik"/><br /><sub><b>Ruthwik</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=ruthwikreddy09" title="Code">💻</a></td>
122
123
  <td align="center" valign="top" width="14.28%"><a href="https://ryota-murakami.github.io/"><img src="https://avatars.githubusercontent.com/u/5501268?v=4?s=100" width="100px;" alt="Ryota Murakami"/><br /><sub><b>Ryota Murakami</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=ryota-murakami" title="Code">💻</a> <a href="https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=author%3Aryota-murakami" title="Bug reports">🐛</a></td>
123
124
  <td align="center" valign="top" width="14.28%"><a href="https://www.shraddha.tech"><img src="https://avatars.githubusercontent.com/u/27571141?v=4?s=100" width="100px;" alt="Shraddha"/><br /><sub><b>Shraddha</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=5hraddha" title="Code">💻</a></td>
124
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/the-lazy-learner"><img src="https://avatars.githubusercontent.com/u/13695177?v=4?s=100" width="100px;" alt="Sudhansu"/><br /><sub><b>Sudhansu</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=the-lazy-learner" title="Code">💻</a></td>
125
125
  </tr>
126
126
  <tr>
127
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/the-lazy-learner"><img src="https://avatars.githubusercontent.com/u/13695177?v=4?s=100" width="100px;" alt="Sudhansu"/><br /><sub><b>Sudhansu</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=the-lazy-learner" title="Code">💻</a></td>
127
128
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/mrswastik-robot"><img src="https://avatars.githubusercontent.com/u/107865087?v=4?s=100" width="100px;" alt="Swastik Patel"/><br /><sub><b>Swastik Patel</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=mrswastik-robot" title="Documentation">📖</a></td>
128
129
  <td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/timonjurschitsch/"><img src="https://avatars.githubusercontent.com/u/103483059?v=4?s=100" width="100px;" alt="Timon Jurschitsch"/><br /><sub><b>Timon Jurschitsch</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=dertimonius" title="Code">💻</a></td>
129
130
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/tungbq"><img src="https://avatars.githubusercontent.com/u/85242618?v=4?s=100" width="100px;" alt="Tung Bui (Leo)"/><br /><sub><b>Tung Bui (Leo)</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=tungbq" title="Code">💻</a></td>
130
131
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/valon-loshaj"><img src="https://avatars.githubusercontent.com/u/73202963?v=4?s=100" width="100px;" alt="Valon"/><br /><sub><b>Valon</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=valon-loshaj" title="Documentation">📖</a></td>
131
132
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/vasanth9"><img src="https://avatars.githubusercontent.com/u/42891954?v=4?s=100" width="100px;" alt="Vasanth Kumar Cheepurupalli"/><br /><sub><b>Vasanth Kumar Cheepurupalli</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=vasanth9" title="Code">💻</a></td>
132
133
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/xl4624"><img src="https://avatars.githubusercontent.com/u/116298054?v=4?s=100" width="100px;" alt="Xiaomin Liu"/><br /><sub><b>Xiaomin Liu</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=xl4624" title="Code">💻</a></td>
133
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/lcforbes"><img src="https://avatars.githubusercontent.com/u/42080532?v=4?s=100" width="100px;" alt="lcforbes"/><br /><sub><b>lcforbes</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=author%3Alcforbes" title="Bug reports">🐛</a></td>
134
134
  </tr>
135
135
  <tr>
136
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/lcforbes"><img src="https://avatars.githubusercontent.com/u/42080532?v=4?s=100" width="100px;" alt="lcforbes"/><br /><sub><b>lcforbes</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=author%3Alcforbes" title="Bug reports">🐛</a></td>
136
137
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/michaelfaith"><img src="https://avatars.githubusercontent.com/u/8071845?v=4?s=100" width="100px;" alt="michael faith"/><br /><sub><b>michael faith</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=michaelfaith" title="Code">💻</a> <a href="https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=author%3Amichaelfaith" title="Bug reports">🐛</a></td>
137
138
  <td align="center" valign="top" width="14.28%"><a href="http://nandertga.ddns.net"><img src="https://avatars.githubusercontent.com/u/65074195?v=4?s=100" width="100px;" alt="nandertga"/><br /><sub><b>nandertga</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=nandertga" title="Code">💻</a></td>
138
139
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/rubiesonthesky"><img src="https://avatars.githubusercontent.com/u/2591240?v=4?s=100" width="100px;" alt="rubiesonthesky"/><br /><sub><b>rubiesonthesky</b></sub></a><br /><a href="#ideas-rubiesonthesky" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/JoshuaKGoldberg/create-typescript-app/commits?author=rubiesonthesky" title="Code">💻</a></td>
@@ -1,6 +1,7 @@
1
1
  import _ from "lodash";
2
2
  import { base } from "../base.js";
3
3
  import { ownerContributions } from "../data/contributions.js";
4
+ import { blockPrettier } from "./blockPrettier.js";
4
5
  import { blockREADME } from "./blockREADME.js";
5
6
  import { blockRepositorySecrets } from "./blockRepositorySecrets.js";
6
7
  import { createSoloWorkflowFile } from "./files/createSoloWorkflowFile.js";
@@ -13,6 +14,9 @@ const blockAllContributors = base.createBlock({
13
14
  const contributions = options.contributors?.length;
14
15
  return {
15
16
  addons: [
17
+ blockPrettier({
18
+ ignores: ["/.all-contributorsrc"]
19
+ }),
16
20
  blockREADME({
17
21
  badges: [
18
22
  `<!-- prettier-ignore-start -->
@@ -0,0 +1,58 @@
1
+ import * as bingo_stratum from 'bingo-stratum';
2
+
3
+ declare const blockCTATransitions: bingo_stratum.BlockWithoutAddons<{
4
+ access: "public" | "restricted";
5
+ description: string;
6
+ directory: string;
7
+ email: {
8
+ github: string;
9
+ npm: string;
10
+ };
11
+ title: string;
12
+ owner: string;
13
+ repository: string;
14
+ author?: string | undefined;
15
+ bin?: string | undefined;
16
+ contributors?: {
17
+ avatar_url: string;
18
+ contributions: string[];
19
+ login: string;
20
+ name: string;
21
+ profile: string;
22
+ }[] | undefined;
23
+ documentation?: string | undefined;
24
+ emoji?: string | undefined;
25
+ existingLabels?: {
26
+ name: string;
27
+ description: string;
28
+ color: string;
29
+ }[] | undefined;
30
+ explainer?: string[] | undefined;
31
+ funding?: string | undefined;
32
+ guide?: {
33
+ href: string;
34
+ title: string;
35
+ } | undefined;
36
+ keywords?: string[] | undefined;
37
+ logo?: {
38
+ alt: string;
39
+ src: string;
40
+ height?: number | undefined;
41
+ width?: number | undefined;
42
+ } | undefined;
43
+ node?: {
44
+ minimum: string;
45
+ pinned?: string | undefined;
46
+ } | undefined;
47
+ packageData?: {
48
+ dependencies?: Record<string, string> | undefined;
49
+ devDependencies?: Record<string, string> | undefined;
50
+ scripts?: Record<string, string> | undefined;
51
+ } | undefined;
52
+ pnpm?: string | undefined;
53
+ rulesetId?: string | undefined;
54
+ usage?: string | undefined;
55
+ version?: string | undefined;
56
+ }>;
57
+
58
+ export { blockCTATransitions };
@@ -0,0 +1,67 @@
1
+ import { base } from "../base.js";
2
+ import { packageData } from "../data/packageData.js";
3
+ import { blockGitHubActionsCI } from "./blockGitHubActionsCI.js";
4
+ import { blockPackageJson } from "./blockPackageJson.js";
5
+ const blockCTATransitions = base.createBlock({
6
+ about: {
7
+ name: "CTA Transitions"
8
+ },
9
+ produce() {
10
+ return {
11
+ addons: [
12
+ blockGitHubActionsCI({
13
+ jobs: [
14
+ {
15
+ checkoutWith: {
16
+ "fetch-depth": "0",
17
+ ref: "${{github.event.pull_request.head.ref}}",
18
+ repository: "${{github.event.pull_request.head.repo.full_name}}",
19
+ token: '"${{ secrets.ACCESS_TOKEN }}"'
20
+ },
21
+ if: "${{ startsWith(github.head_ref, 'renovate/') && contains(github.event.pull_request.title, 'create-typescript-app') }}",
22
+ name: "CTA Transitions",
23
+ steps: [
24
+ { run: "pnpx create-typescript-app" },
25
+ {
26
+ uses: "stefanzweifel/git-auto-commit-action@v5",
27
+ with: {
28
+ commit_author: "The Friendly Bingo Bot <bot@create.bingo>",
29
+ commit_message: "Check in changes from re-running npx create-typescript-app",
30
+ commit_user_email: "bot@create.bingo",
31
+ commit_user_name: "The Friendly Bingo Bot"
32
+ }
33
+ },
34
+ {
35
+ uses: "mshick/add-pr-comment@v2",
36
+ with: {
37
+ issue: "${{ github.event.pull_request.number }}",
38
+ message: [
39
+ "|",
40
+ "\u{1F916} Beep boop! I ran `npx create-typescript-app` and found same changes.",
41
+ "Please review the latest commit to see if you want to merge it.",
42
+ "Cheers! \u{1F49D}",
43
+ "",
44
+ "> This change was automatically made in CI to keep your repository up-to-date with the templating in [create-typescript-app](https://github.com/JoshuaKGoldberg/create-typescript-app).",
45
+ "> If you want to opt out of these automatic updates, delete the `.github/workflows/cta-transitions.yml` file on your `main` branch."
46
+ ].join("\n"),
47
+ "repo-token": "${{ secrets.ACCESS_TOKEN }}"
48
+ }
49
+ }
50
+ ]
51
+ }
52
+ ]
53
+ }),
54
+ blockPackageJson({
55
+ properties: {
56
+ devDependencies: {
57
+ "create-typescript-app": packageData.version
58
+ }
59
+ }
60
+ })
61
+ ]
62
+ };
63
+ }
64
+ });
65
+ export {
66
+ blockCTATransitions
67
+ };
@@ -1,6 +1,7 @@
1
1
  import * as bingo_stratum from 'bingo-stratum';
2
2
 
3
3
  declare const blockDevelopmentDocs: bingo_stratum.BlockWithAddons<{
4
+ hints: string[];
4
5
  sections: Record<string, {
5
6
  contents?: string | {
6
7
  before?: string | undefined;
@@ -13,7 +14,6 @@ declare const blockDevelopmentDocs: bingo_stratum.BlockWithAddons<{
13
14
  heading: string;
14
15
  }[] | undefined;
15
16
  }>;
16
- hints: string[];
17
17
  }, {
18
18
  access: "public" | "restricted";
19
19
  description: string;
@@ -13,10 +13,10 @@ declare const blockESLint: bingo_stratum.BlockWithAddons<{
13
13
  comment?: string | undefined;
14
14
  }[] | undefined;
15
15
  settings?: Record<string, unknown> | undefined;
16
+ plugins?: Record<string, string> | undefined;
16
17
  extends?: string[] | undefined;
17
18
  languageOptions?: unknown;
18
19
  linterOptions?: unknown;
19
- plugins?: Record<string, string> | undefined;
20
20
  })[];
21
21
  ignores: string[];
22
22
  explanations: string[];
@@ -38,6 +38,8 @@ declare const blockGitHubActionsCI: bingo_stratum.BlockWithAddons<{
38
38
  } | {
39
39
  uses: string;
40
40
  }))[];
41
+ if?: string | undefined;
42
+ checkoutWith?: Record<string, string> | undefined;
41
43
  }[] | undefined;
42
44
  }, {
43
45
  access: "public" | "restricted";
@@ -20,6 +20,8 @@ const blockGitHubActionsCI = base.createBlock({
20
20
  addons: {
21
21
  jobs: z.array(
22
22
  z.object({
23
+ checkoutWith: z.record(z.string(), z.string()).optional(),
24
+ if: z.string().optional(),
23
25
  name: z.string(),
24
26
  steps: z.array(zActionStep)
25
27
  })
@@ -1,9 +1,9 @@
1
1
  import * as bingo_stratum from 'bingo-stratum';
2
2
 
3
3
  declare const blockREADME: bingo_stratum.BlockWithAddons<{
4
+ sections: string[];
4
5
  badges: string[];
5
6
  notices: string[];
6
- sections: string[];
7
7
  }, {
8
8
  access: "public" | "restricted";
9
9
  description: string;
@@ -3,6 +3,8 @@ interface MultiWorkflowFileOptions {
3
3
  name: string;
4
4
  }
5
5
  interface MultiWorkflowJobOptions {
6
+ checkoutWith?: Record<string, string>;
7
+ if?: string;
6
8
  name: string;
7
9
  steps: MultiWorkflowJobStep[];
8
10
  }
@@ -9,10 +9,11 @@ function createMultiWorkflowFile({
9
9
  jobs.map((job) => [
10
10
  createJobName(job.name),
11
11
  {
12
+ if: job.if,
12
13
  name: job.name,
13
14
  "runs-on": "ubuntu-latest",
14
15
  steps: [
15
- { uses: "actions/checkout@v4" },
16
+ { uses: "actions/checkout@v4", with: job.checkoutWith },
16
17
  { uses: "./.github/actions/prepare" },
17
18
  ...job.steps
18
19
  ]
@@ -5,6 +5,7 @@ export { blockCodecov } from './blockCodecov.js';
5
5
  export { blockContributingDocs } from './blockContributingDocs.js';
6
6
  export { blockContributorCovenant } from './blockContributorCovenant.js';
7
7
  export { blockCSpell } from './blockCSpell.js';
8
+ export { blockCTATransitions } from './blockCTATransitions.js';
8
9
  export { blockDevelopmentDocs } from './blockDevelopmentDocs.js';
9
10
  export { blockESLint } from './blockESLint.js';
10
11
  export { blockESLintComments } from './blockESLintComments.js';
@@ -375,6 +376,7 @@ declare const blocks: {
375
376
  version?: string | undefined;
376
377
  }>;
377
378
  blockDevelopmentDocs: bingo_stratum.BlockWithAddons<{
379
+ hints: string[];
378
380
  sections: Record<string, {
379
381
  contents?: string | {
380
382
  before?: string | undefined;
@@ -387,7 +389,6 @@ declare const blocks: {
387
389
  heading: string;
388
390
  }[] | undefined;
389
391
  }>;
390
- hints: string[];
391
392
  }, {
392
393
  access: "public" | "restricted";
393
394
  description: string;
@@ -455,10 +456,10 @@ declare const blocks: {
455
456
  comment?: string | undefined;
456
457
  }[] | undefined;
457
458
  settings?: Record<string, unknown> | undefined;
459
+ plugins?: Record<string, string> | undefined;
458
460
  extends?: string[] | undefined;
459
461
  languageOptions?: unknown;
460
462
  linterOptions?: unknown;
461
- plugins?: Record<string, string> | undefined;
462
463
  })[];
463
464
  ignores: string[];
464
465
  explanations: string[];
@@ -1128,6 +1129,8 @@ declare const blocks: {
1128
1129
  } | {
1129
1130
  uses: string;
1130
1131
  }))[];
1132
+ if?: string | undefined;
1133
+ checkoutWith?: Record<string, string> | undefined;
1131
1134
  }[] | undefined;
1132
1135
  }, {
1133
1136
  access: "public" | "restricted";
@@ -2032,9 +2035,9 @@ declare const blocks: {
2032
2035
  version?: string | undefined;
2033
2036
  }>;
2034
2037
  blockREADME: bingo_stratum.BlockWithAddons<{
2038
+ sections: string[];
2035
2039
  badges: string[];
2036
2040
  notices: string[];
2037
- sections: string[];
2038
2041
  }, {
2039
2042
  access: "public" | "restricted";
2040
2043
  description: string;
@@ -92,6 +92,7 @@ import { blockCodecov as blockCodecov2 } from "./blockCodecov.js";
92
92
  import { blockContributingDocs as blockContributingDocs2 } from "./blockContributingDocs.js";
93
93
  import { blockContributorCovenant as blockContributorCovenant2 } from "./blockContributorCovenant.js";
94
94
  import { blockCSpell as blockCSpell2 } from "./blockCSpell.js";
95
+ import { blockCTATransitions } from "./blockCTATransitions.js";
95
96
  import { blockDevelopmentDocs as blockDevelopmentDocs2 } from "./blockDevelopmentDocs.js";
96
97
  import { blockESLint as blockESLint2 } from "./blockESLint.js";
97
98
  import { blockESLintComments as blockESLintComments2 } from "./blockESLintComments.js";
@@ -133,6 +134,7 @@ export {
133
134
  blockAllContributors2 as blockAllContributors,
134
135
  blockAreTheTypesWrong2 as blockAreTheTypesWrong,
135
136
  blockCSpell2 as blockCSpell,
137
+ blockCTATransitions,
136
138
  blockCodecov2 as blockCodecov,
137
139
  blockContributingDocs2 as blockContributingDocs,
138
140
  blockContributorCovenant2 as blockContributorCovenant,
@@ -1,5 +1,5 @@
1
1
  var name = "create-typescript-app";
2
- var version = "2.7.2";
2
+ var version = "2.8.0";
3
3
  var description = "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁";
4
4
  var repository = {
5
5
  type: "git",
@@ -35,7 +35,7 @@ var scripts = {
35
35
  var dependencies = {
36
36
  bingo: "^0.5.8",
37
37
  "bingo-fs": "^0.5.4",
38
- "bingo-stratum": "^0.5.5",
38
+ "bingo-stratum": "^0.5.7",
39
39
  "cspell-populate-words": "^0.3.0",
40
40
  execa: "^9.5.2",
41
41
  "git-url-parse": "^16.0.1",
@@ -59,6 +59,7 @@ var dependencies = {
59
59
  "sort-keys": "^5.1.0",
60
60
  "sort-package-json": "^3.0.0",
61
61
  "title-case": "^4.3.2",
62
+ "trash-cli": "^6.0.0",
62
63
  zod: "^3.24.2",
63
64
  "zod-package-json": "^1.1.0"
64
65
  };
package/lib/index.d.ts CHANGED
@@ -12,6 +12,7 @@ export { blockCodecov } from './blocks/blockCodecov.js';
12
12
  export { blockContributingDocs } from './blocks/blockContributingDocs.js';
13
13
  export { blockContributorCovenant } from './blocks/blockContributorCovenant.js';
14
14
  export { blockCSpell } from './blocks/blockCSpell.js';
15
+ export { blockCTATransitions } from './blocks/blockCTATransitions.js';
15
16
  export { blockDevelopmentDocs } from './blocks/blockDevelopmentDocs.js';
16
17
  export { blockESLint } from './blocks/blockESLint.js';
17
18
  export { blockESLintComments } from './blocks/blockESLintComments.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-typescript-app",
3
- "version": "2.7.3",
3
+ "version": "2.8.1",
4
4
  "description": "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁",
5
5
  "repository": {
6
6
  "type": "git",
@@ -39,7 +39,7 @@
39
39
  "dependencies": {
40
40
  "bingo": "^0.5.8",
41
41
  "bingo-fs": "^0.5.4",
42
- "bingo-stratum": "^0.5.5",
42
+ "bingo-stratum": "^0.5.7",
43
43
  "cspell-populate-words": "^0.3.0",
44
44
  "execa": "^9.5.2",
45
45
  "git-url-parse": "^16.0.1",
@@ -63,6 +63,7 @@
63
63
  "sort-keys": "^5.1.0",
64
64
  "sort-package-json": "^3.0.0",
65
65
  "title-case": "^4.3.2",
66
+ "trash-cli": "^6.0.0",
66
67
  "zod": "^3.24.2",
67
68
  "zod-package-json": "^1.1.0"
68
69
  },