Skip to content

Commit

Permalink
feat: adjust blocks to put funding in common and security in minimal
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Jan 16, 2025
1 parent 970fd6e commit 360c9ef
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { base } from "../base.js";
import { blockCSpell } from "./blockCSpell.js";
import { blockREADME } from "./blockREADME.js";

export const blockTemplatedBy = base.createBlock({
export const blockTemplatedWith = base.createBlock({
about: {
name: "Templated By Notice",
},
Expand Down
2 changes: 1 addition & 1 deletion src/next/blocks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export * from "./blockREADME.js";
export * from "./blockReleaseIt.js";
export * from "./blockRenovate.js";
export * from "./blockSecurityDocs.js";
export * from "./blockTemplatedBy.js";
export * from "./blockTemplatedWith.js";
export * from "./blockTSup.js";
export * from "./blockTypeScript.js";
export * from "./blockVitest.js";
Expand Down
2 changes: 2 additions & 0 deletions src/next/presets/presetCommon.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { base } from "../base.js";
import { blockAllContributors } from "../blocks/blockAllContributors.js";
import { blockCodecov } from "../blocks/blockCodecov.js";
import { blockFunding } from "../blocks/blockFunding.js";
import { blockReleaseIt } from "../blocks/blockReleaseIt.js";
import { blockVitest } from "../blocks/blockVitest.js";
import { presetMinimal } from "./presetMinimal.js";
Expand All @@ -15,6 +16,7 @@ export const presetCommon = base.createPreset({
...presetMinimal.blocks,
blockAllContributors,
blockCodecov,
blockFunding,
blockReleaseIt,
blockVitest,
],
Expand Down
2 changes: 0 additions & 2 deletions src/next/presets/presetEverything.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import { blockPrettierPluginCurly } from "../blocks/blockPrettierPluginCurly.js"
import { blockPrettierPluginPackageJson } from "../blocks/blockPrettierPluginPackageJson.js";
import { blockPrettierPluginSh } from "../blocks/blockPrettierPluginSh.js";
import { blockRenovate } from "../blocks/blockRenovate.js";
import { blockSecurityDocs } from "../blocks/blockSecurityDocs.js";
import { blockVSCode } from "../blocks/blockVSCode.js";
import { presetCommon } from "../presets/presetCommon.js";

Expand Down Expand Up @@ -51,7 +50,6 @@ export const presetEverything = base.createPreset({
blockPrettierPluginPackageJson,
blockPrettierPluginSh,
blockRenovate,
blockSecurityDocs,
blockVSCode,
],
});
8 changes: 4 additions & 4 deletions src/next/presets/presetMinimal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { blockContributorCovenant } from "../blocks/blockContributorCovenant.js"
import { blockDevelopmentDocs } from "../blocks/blockDevelopmentDocs.js";
import { blockESLint } from "../blocks/blockESLint.js";
import { blockExampleFiles } from "../blocks/blockExampleFiles.js";
import { blockFunding } from "../blocks/blockFunding.js";
import { blockGitHubActionsCI } from "../blocks/blockGitHubActionsCI.js";
import { blockGitHubApps } from "../blocks/blockGitHubApps.js";
import { blockGitHubIssueTemplates } from "../blocks/blockGitHubIssueTemplates.js";
Expand All @@ -18,7 +17,8 @@ import { blockRepositoryBranchRuleset } from "../blocks/blockRepositoryBranchRul
import { blockRepositoryLabels } from "../blocks/blockRepositoryLabels.js";
import { blockRepositorySecrets } from "../blocks/blockRepositorySecrets.js";
import { blockRepositorySettings } from "../blocks/blockRepositorySettings.js";
import { blockTemplatedBy } from "../blocks/blockTemplatedBy.js";
import { blockSecurityDocs } from "../blocks/blockSecurityDocs.js";
import { blockTemplatedWith } from "../blocks/blockTemplatedWith.js";
import { blockTSup } from "../blocks/blockTSup.js";
import { blockTypeScript } from "../blocks/blockTypeScript.js";

Expand All @@ -34,7 +34,6 @@ export const presetMinimal = base.createPreset({
blockDevelopmentDocs,
blockESLint,
blockExampleFiles,
blockFunding,
blockGitHubActionsCI,
blockGitHubApps,
blockGitHubIssueTemplates,
Expand All @@ -48,7 +47,8 @@ export const presetMinimal = base.createPreset({
blockRepositoryLabels,
blockRepositorySecrets,
blockRepositorySettings,
blockTemplatedBy,
blockSecurityDocs,
blockTemplatedWith,
blockTSup,
blockTypeScript,
],
Expand Down

0 comments on commit 360c9ef

Please sign in to comment.