Skip to content

Commit 9307ea2

Browse files
fix: run migration rm scripts with silent: true (#1884)
## PR Checklist - [x] Addresses an existing open issue: fixes #1883 - [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. 💖
1 parent f53d42b commit 9307ea2

11 files changed

+11
-0
lines changed

src/next/blocks/blockCodecov.ts

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export const blockCodecov = base.createBlock({
1414
return {
1515
scripts: [
1616
{
17+
silent: true,
1718
commands: ["rm .github/codecov.yml codecov.yml"],
1819
phase: CommandPhase.Migrations,
1920
silent: true,

src/next/blocks/blockContributingDocs.ts

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export const blockContributingDocs = base.createBlock({
99
return {
1010
scripts: [
1111
{
12+
silent: true,
1213
commands: ["rm CONTRIBUTING.md"],
1314
phase: CommandPhase.Migrations,
1415
silent: true,

src/next/blocks/blockContributorCovenant.ts

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export const blockContributorCovenant = base.createBlock({
99
return {
1010
scripts: [
1111
{
12+
silent: true,
1213
commands: ["rm CODE_OF_CONDUCT.md"],
1314
phase: CommandPhase.Migrations,
1415
silent: true,

src/next/blocks/blockDevelopmentDocs.ts

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export const blockDevelopmentDocs = base.createBlock({
6868
return {
6969
scripts: [
7070
{
71+
silent: true,
7172
commands: ["rm DEVELOPMENT.md"],
7273
phase: CommandPhase.Migrations,
7374
silent: true,

src/next/blocks/blockESLint.ts

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export const blockESLint = base.createBlock({
6868
return {
6969
scripts: [
7070
{
71+
silent: true,
7172
commands: ["rm .eslintrc* .eslintignore eslint.config.*"],
7273
phase: CommandPhase.Migrations,
7374
silent: true,

src/next/blocks/blockGitHubActionsCI.ts

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export const blockGitHubActionsCI = base.createBlock({
3333
return {
3434
scripts: [
3535
{
36+
silent: true,
3637
commands: ["rm -rf .circleci travis.yml"],
3738
phase: CommandPhase.Migrations,
3839
silent: true,

src/next/blocks/blockKnip.ts

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export const blockKnip = base.createBlock({
1818
return {
1919
scripts: [
2020
{
21+
silent: true,
2122
commands: ["rm .knip* knip.*"],
2223
phase: CommandPhase.Migrations,
2324
silent: true,

src/next/blocks/blockPackageJson.ts

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export const blockPackageJson = base.createBlock({
3030
return {
3131
scripts: [
3232
{
33+
silent: true,
3334
commands: ["rm package-lock.json yarn.lock"],
3435
phase: CommandPhase.Migrations,
3536
silent: true,

src/next/blocks/blockPrettier.ts

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export const blockPrettier = base.createBlock({
3232
return {
3333
scripts: [
3434
{
35+
silent: true,
3536
commands: ["rm .prettierrc* prettier.config*"],
3637
phase: CommandPhase.Migrations,
3738
silent: true,

src/next/blocks/blockTSup.ts

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export const blockTSup = base.createBlock({
2020
return {
2121
scripts: [
2222
{
23+
silent: true,
2324
commands: ["rm -rf .babelrc* babel.config.* dist lib"],
2425
phase: CommandPhase.Migrations,
2526
silent: true,

src/next/blocks/blockVitest.ts

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export const blockVitest = base.createBlock({
3333
return {
3434
scripts: [
3535
{
36+
silent: true,
3637
commands: ["rm .mocha* jest.config.* vitest.config.*"],
3738
phase: CommandPhase.Migrations,
3839
silent: true,

0 commit comments

Comments
 (0)