Skip to content

Commit

Permalink
Merge branch 'main' into ruleset-job-names
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Jan 16, 2025
2 parents c08ffa9 + 5ac2ebe commit e94cca1
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 15 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"@prettier/sync": "^0.5.2",
"chalk": "^5.4.1",
"create": "^0.1.0-alpha.15",
"create-fs": "^0.1.1",
"cspell-populate-words": "^0.3.0",
"execa": "^9.5.2",
"git-remote-origin-url": "^4.0.0",
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/next/blocks/blockContributorCovenant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export const blockContributorCovenant = base.createBlock({
return {
scripts: [
{
silent: true,
commands: ["rm CODE_OF_CONDUCT.md"],
phase: CommandPhase.Migrations,
silent: true,
Expand Down
1 change: 0 additions & 1 deletion src/next/blocks/blockDevelopmentDocs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ export const blockDevelopmentDocs = base.createBlock({
return {
scripts: [
{
silent: true,
commands: ["rm DEVELOPMENT.md"],
phase: CommandPhase.Migrations,
silent: true,
Expand Down
1 change: 0 additions & 1 deletion src/next/blocks/blockESLint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ export const blockESLint = base.createBlock({
return {
scripts: [
{
silent: true,
commands: ["rm .eslintrc* .eslintignore eslint.config.*"],
phase: CommandPhase.Migrations,
silent: true,
Expand Down
1 change: 0 additions & 1 deletion src/next/blocks/blockKnip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export const blockKnip = base.createBlock({
return {
scripts: [
{
silent: true,
commands: ["rm .knip* knip.*"],
phase: CommandPhase.Migrations,
silent: true,
Expand Down
1 change: 0 additions & 1 deletion src/next/blocks/blockPackageJson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export const blockPackageJson = base.createBlock({
return {
scripts: [
{
silent: true,
commands: ["rm package-lock.json yarn.lock"],
phase: CommandPhase.Migrations,
silent: true,
Expand Down
1 change: 0 additions & 1 deletion src/next/blocks/blockTSup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export const blockTSup = base.createBlock({
return {
scripts: [
{
silent: true,
commands: ["rm -rf .babelrc* babel.config.* dist lib"],
phase: CommandPhase.Migrations,
silent: true,
Expand Down
1 change: 0 additions & 1 deletion src/next/blocks/blockVitest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export const blockVitest = base.createBlock({
return {
scripts: [
{
silent: true,
commands: ["rm .mocha* jest.config.* vitest.config.*"],
phase: CommandPhase.Migrations,
silent: true,
Expand Down
10 changes: 3 additions & 7 deletions src/steps/writing/creation/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import {
CreatedFiles,
produceBase,
producePreset,
SystemFetchers,
} from "create";
import { produceBase, producePreset, SystemFetchers } from "create";
import { CreatedDirectory } from "create-fs";
import prettier from "prettier";

import { presetCommon } from "../../../next/presets/presetCommon.js";
Expand Down Expand Up @@ -62,7 +58,7 @@ export async function createStructure(
};
}

async function recursivelyFormat(files: CreatedFiles): Promise<Structure> {
async function recursivelyFormat(files: CreatedDirectory): Promise<Structure> {
const result: Structure = {};

for (const [key, value] of Object.entries(files)) {
Expand Down
3 changes: 2 additions & 1 deletion src/steps/writing/writeStructure.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { applyFilesToSystem, createWritingFileSystem } from "create";
import { applyFilesToSystem } from "create";
import { createWritingFileSystem } from "create-fs";
import { $ } from "execa";

import { isUsingCreateEngine } from "../../shared/isUsingCreateEngine.js";
Expand Down

0 comments on commit e94cca1

Please sign in to comment.