Skip to content

Commit

Permalink
chore: switch 'Getting Started' to 'Usage' (#1877)
Browse files Browse the repository at this point in the history
## PR Checklist

- [x] Addresses an existing open issue: fixes #1872
- [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

💖
  • Loading branch information
JoshuaKGoldberg authored Jan 15, 2025
1 parent a71b951 commit 1fac1a1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
`create-typescript-app` is a one-stop-shop solution to set up a new or existing repository with the latest and greatest TypeScript tooling.
It includes options not just for building and testing but also GitHub repository templates, contributor recognition, automated release management, and more.

## Getting Started
## Usage

First make sure you have the following installed:

Expand Down
4 changes: 2 additions & 2 deletions src/steps/updateLocalFiles.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ describe("updateLocalFiles", () => {
{
"allowEmptyPaths": true,
"files": "./README.md",
"from": /## Getting Started\\.\\*## Development/gs,
"from": /## Usage\\.\\*## Development/gs,
"to": "## Development",
},
],
Expand Down Expand Up @@ -317,7 +317,7 @@ describe("updateLocalFiles", () => {
{
"allowEmptyPaths": true,
"files": "./README.md",
"from": /## Getting Started\\.\\*## Development/gs,
"from": /## Usage\\.\\*## Development/gs,
"to": "## Development",
},
],
Expand Down
6 changes: 1 addition & 5 deletions src/steps/updateLocalFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,7 @@ export async function updateLocalFiles(options: Options) {
[/"test:initialize": ".*/g, ``, "./package.json"],
[/"initialize": ".*/g, ``, "./package.json"],
[/"test:migrate": ".+\n/g, ``, "./package.json"],
[
/## Getting Started.*## Development/gs,
`## Development`,
"./README.md",
],
[/## Usage.*## Development/gs, `## Development`, "./README.md"],
[/\n## Setup Scripts.*$/gs, "", "./.github/DEVELOPMENT.md"],
[`\t\t"src/initialize/index.ts",\n`, ``, "./knip.json"],
[`\t\t"src/migrate/index.ts",\n`, ``, "./knip.json"],
Expand Down
2 changes: 1 addition & 1 deletion src/steps/writeReadme/findIntroSectionClose.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Next line.
First intro text.
## Getting Started
## Usage
`,
173,
],
Expand Down

0 comments on commit 1fac1a1

Please sign in to comment.