Skip to content

Commit ab9a81a

Browse files
fix: remove last hydrate/setup vestiges in setup (#661)
## PR Checklist - [x] Addresses an existing open issue: fixes #660 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/template-typescript-node-package/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Removes a few more bits of setup info. Also fixes a string in the script.
1 parent 014c0c4 commit ab9a81a

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/setup/setupWithInformation.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ export async function setupWithInformation({
7777
if (values.skipUninstalls) {
7878
skipSpinnerBlock(`Skipping uninstall of packages only used for setup.`);
7979
} else {
80-
await withSpinner(uninstallPackages, "removing packages only");
80+
await withSpinner(
81+
uninstallPackages,
82+
"removing packages only used for setup",
83+
);
8184
}
8285
}

src/setup/steps/removeSetupScripts.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import fs from "node:fs/promises";
22

33
const globPaths = [
4+
"./bin",
45
"./script",
56
"./src/hydrate",
67
"./src/setup",

src/setup/steps/updateLocalFiles.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export async function updateLocalFiles({
3838
[/"setup": ".*/g, ``, "./package.json"],
3939

4040
[/## Explainer.*## Usage/gs, `## Usage`, "./README.md"],
41-
[/\n### Testing the Setup Script.*$/gs, "", "./.github/DEVELOPMENT.md"],
41+
[/\n## The .+ Script.*$/gs, "", "./.github/DEVELOPMENT.md"],
4242
[`,\n\t\t["src/setup/*.json"`, ``, "./cspell.json"],
4343
[`\t\t"src/hydrate/index.ts",\n`, ``, "./knip.jsonc"],
4444
[`\t\t"src/setup/index.ts",\n`, ``, "./knip.jsonc"],

0 commit comments

Comments
 (0)