diff --git a/README.md b/README.md index b1eac594b..e915caa66 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/src/steps/updateLocalFiles.test.ts b/src/steps/updateLocalFiles.test.ts index c2b825989..2d040907d 100644 --- a/src/steps/updateLocalFiles.test.ts +++ b/src/steps/updateLocalFiles.test.ts @@ -150,7 +150,7 @@ describe("updateLocalFiles", () => { { "allowEmptyPaths": true, "files": "./README.md", - "from": /## Getting Started\\.\\*## Development/gs, + "from": /## Usage\\.\\*## Development/gs, "to": "## Development", }, ], @@ -317,7 +317,7 @@ describe("updateLocalFiles", () => { { "allowEmptyPaths": true, "files": "./README.md", - "from": /## Getting Started\\.\\*## Development/gs, + "from": /## Usage\\.\\*## Development/gs, "to": "## Development", }, ], diff --git a/src/steps/updateLocalFiles.ts b/src/steps/updateLocalFiles.ts index e5ddc0fbe..89a80d3e7 100644 --- a/src/steps/updateLocalFiles.ts +++ b/src/steps/updateLocalFiles.ts @@ -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"], diff --git a/src/steps/writeReadme/findIntroSectionClose.test.ts b/src/steps/writeReadme/findIntroSectionClose.test.ts index fc6381a61..36bf49302 100644 --- a/src/steps/writeReadme/findIntroSectionClose.test.ts +++ b/src/steps/writeReadme/findIntroSectionClose.test.ts @@ -55,7 +55,7 @@ Next line. First intro text. -## Getting Started +## Usage `, 173, ],