Skip to content

Commit

Permalink
fix: run migration rm scripts with silent: true (#1882)
Browse files Browse the repository at this point in the history
## PR Checklist

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

Corresponding to JoshuaKGoldberg/bingo#137.

💖
  • Loading branch information
JoshuaKGoldberg authored Jan 16, 2025
1 parent 0698506 commit 69cb704
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/next/blocks/blockCodecov.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ describe("blockCodecov", () => {
"rm .github/codecov.yml codecov.yml",
],
"phase": 0,
"silent": true,
},
],
}
Expand Down
1 change: 1 addition & 0 deletions src/next/blocks/blockCodecov.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const blockCodecov = base.createBlock({
{
commands: ["rm .github/codecov.yml codecov.yml"],
phase: CommandPhase.Migrations,
silent: true,
},
],
};
Expand Down
1 change: 1 addition & 0 deletions src/next/blocks/blockContributingDocs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ describe("blockContributingDocs", () => {
"rm CONTRIBUTING.md",
],
"phase": 0,
"silent": true,
},
],
}
Expand Down
1 change: 1 addition & 0 deletions src/next/blocks/blockContributingDocs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const blockContributingDocs = base.createBlock({
{
commands: ["rm CONTRIBUTING.md"],
phase: CommandPhase.Migrations,
silent: true,
},
],
};
Expand Down
1 change: 1 addition & 0 deletions src/next/blocks/blockContributorCovenant.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ describe("blockContributorCovenant", () => {
"rm CODE_OF_CONDUCT.md",
],
"phase": 0,
"silent": true,
},
],
}
Expand Down
1 change: 1 addition & 0 deletions src/next/blocks/blockContributorCovenant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const blockContributorCovenant = base.createBlock({
{
commands: ["rm CODE_OF_CONDUCT.md"],
phase: CommandPhase.Migrations,
silent: true,
},
],
};
Expand Down
1 change: 1 addition & 0 deletions src/next/blocks/blockDevelopmentDocs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ describe("blockDevelopmentDocs", () => {
"rm DEVELOPMENT.md",
],
"phase": 0,
"silent": true,
},
],
}
Expand Down
1 change: 1 addition & 0 deletions src/next/blocks/blockDevelopmentDocs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export const blockDevelopmentDocs = base.createBlock({
{
commands: ["rm DEVELOPMENT.md"],
phase: CommandPhase.Migrations,
silent: true,
},
],
};
Expand Down
1 change: 1 addition & 0 deletions src/next/blocks/blockESLint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export const blockESLint = base.createBlock({
{
commands: ["rm .eslintrc* .eslintignore eslint.config.*"],
phase: CommandPhase.Migrations,
silent: true,
},
],
};
Expand Down
1 change: 1 addition & 0 deletions src/next/blocks/blockGitHubActionsCI.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ describe("blockGitHubActionsCI", () => {
"rm -rf .circleci travis.yml",
],
"phase": 0,
"silent": true,
},
],
}
Expand Down
1 change: 1 addition & 0 deletions src/next/blocks/blockGitHubActionsCI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export const blockGitHubActionsCI = base.createBlock({
{
commands: ["rm -rf .circleci travis.yml"],
phase: CommandPhase.Migrations,
silent: true,
},
],
};
Expand Down
1 change: 1 addition & 0 deletions src/next/blocks/blockKnip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const blockKnip = base.createBlock({
{
commands: ["rm .knip* knip.*"],
phase: CommandPhase.Migrations,
silent: true,
},
],
};
Expand Down
1 change: 1 addition & 0 deletions src/next/blocks/blockPackageJson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export const blockPackageJson = base.createBlock({
{
commands: ["rm package-lock.json yarn.lock"],
phase: CommandPhase.Migrations,
silent: true,
},
],
};
Expand Down
1 change: 1 addition & 0 deletions src/next/blocks/blockPrettier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const blockPrettier = base.createBlock({
{
commands: ["rm .prettierrc* prettier.config*"],
phase: CommandPhase.Migrations,
silent: true,
},
],
};
Expand Down
1 change: 1 addition & 0 deletions src/next/blocks/blockTSup.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ describe("blockTSup", () => {
"rm -rf .babelrc* babel.config.* dist lib",
],
"phase": 0,
"silent": true,
},
],
}
Expand Down
1 change: 1 addition & 0 deletions src/next/blocks/blockTSup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export const blockTSup = base.createBlock({
{
commands: ["rm -rf .babelrc* babel.config.* dist lib"],
phase: CommandPhase.Migrations,
silent: true,
},
],
};
Expand Down
1 change: 1 addition & 0 deletions src/next/blocks/blockVitest.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ describe("blockVitest", () => {
"rm .mocha* jest.config.* vitest.config.*",
],
"phase": 0,
"silent": true,
},
],
}
Expand Down
1 change: 1 addition & 0 deletions src/next/blocks/blockVitest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export const blockVitest = base.createBlock({
{
commands: ["rm .mocha* jest.config.* vitest.config.*"],
phase: CommandPhase.Migrations,
silent: true,
},
],
};
Expand Down

0 comments on commit 69cb704

Please sign in to comment.