create-typescript-app 2.74.1 → 2.74.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.mjs +1 -2
- package/dist/base.d.mts +1 -3
- package/dist/base.mjs +2 -3
- package/dist/blocks/actions/resolveUses.d.mts +1 -3
- package/dist/blocks/actions/resolveUses.mjs +1 -2
- package/dist/blocks/actions/steps.d.mts +1 -3
- package/dist/blocks/actions/steps.mjs +1 -2
- package/dist/blocks/bin/getPrimaryBin.d.mts +1 -3
- package/dist/blocks/bin/getPrimaryBin.mjs +1 -2
- package/dist/blocks/blockAllContributors.d.mts +1 -3
- package/dist/blocks/blockAllContributors.mjs +5 -6
- package/dist/blocks/blockAreTheTypesWrong.d.mts +1 -3
- package/dist/blocks/blockAreTheTypesWrong.mjs +1 -2
- package/dist/blocks/blockBin.d.mts +1 -3
- package/dist/blocks/blockBin.mjs +2 -3
- package/dist/blocks/blockCSpell.d.mts +1 -3
- package/dist/blocks/blockCSpell.mjs +6 -7
- package/dist/blocks/blockCTATransitions.d.mts +1 -3
- package/dist/blocks/blockCTATransitions.mjs +6 -7
- package/dist/blocks/blockCodecov.d.mts +1 -3
- package/dist/blocks/blockCodecov.mjs +5 -6
- package/dist/blocks/blockContributingDocs.d.mts +1 -3
- package/dist/blocks/blockContributingDocs.mjs +1 -2
- package/dist/blocks/blockContributorCovenant.d.mts +1 -3
- package/dist/blocks/blockContributorCovenant.mjs +2 -3
- package/dist/blocks/blockDevelopmentDocs.d.mts +1 -3
- package/dist/blocks/blockDevelopmentDocs.mjs +1 -2
- package/dist/blocks/blockESLint.d.mts +1 -3
- package/dist/blocks/blockESLint.mjs +10 -11
- package/dist/blocks/blockESLintComments.d.mts +1 -3
- package/dist/blocks/blockESLintComments.mjs +2 -3
- package/dist/blocks/blockESLintJSDoc.d.mts +1 -3
- package/dist/blocks/blockESLintJSDoc.mjs +2 -3
- package/dist/blocks/blockESLintJSONC.d.mts +1 -3
- package/dist/blocks/blockESLintJSONC.mjs +1 -2
- package/dist/blocks/blockESLintMarkdown.d.mts +1 -3
- package/dist/blocks/blockESLintMarkdown.mjs +3 -4
- package/dist/blocks/blockESLintMarkdownLinks.d.mts +1 -3
- package/dist/blocks/blockESLintMarkdownLinks.mjs +1 -2
- package/dist/blocks/blockESLintMoreStyling.d.mts +1 -3
- package/dist/blocks/blockESLintMoreStyling.mjs +2 -3
- package/dist/blocks/blockESLintNode.d.mts +1 -3
- package/dist/blocks/blockESLintNode.mjs +2 -3
- package/dist/blocks/blockESLintPackageJson.d.mts +1 -3
- package/dist/blocks/blockESLintPackageJson.mjs +4 -5
- package/dist/blocks/blockESLintPerfectionist.d.mts +1 -3
- package/dist/blocks/blockESLintPerfectionist.mjs +2 -3
- package/dist/blocks/blockESLintPlugin.d.mts +1 -3
- package/dist/blocks/blockESLintPlugin.mjs +8 -9
- package/dist/blocks/blockESLintRegexp.d.mts +1 -3
- package/dist/blocks/blockESLintRegexp.mjs +2 -3
- package/dist/blocks/blockESLintYML.d.mts +1 -3
- package/dist/blocks/blockESLintYML.mjs +1 -2
- package/dist/blocks/blockExampleFiles.d.mts +1 -3
- package/dist/blocks/blockExampleFiles.mjs +1 -2
- package/dist/blocks/blockExports.d.mts +1 -3
- package/dist/blocks/blockExports.mjs +2 -3
- package/dist/blocks/blockFunding.d.mts +1 -3
- package/dist/blocks/blockFunding.mjs +2 -3
- package/dist/blocks/blockGitHubActionsCI.d.mts +1 -3
- package/dist/blocks/blockGitHubActionsCI.mjs +3 -4
- package/dist/blocks/blockGitHubApps.d.mts +1 -3
- package/dist/blocks/blockGitHubApps.mjs +1 -2
- package/dist/blocks/blockGitHubIssueTemplates.d.mts +1 -3
- package/dist/blocks/blockGitHubIssueTemplates.mjs +1 -2
- package/dist/blocks/blockGitHubPRTemplate.d.mts +1 -3
- package/dist/blocks/blockGitHubPRTemplate.mjs +1 -2
- package/dist/blocks/blockGitignore.d.mts +1 -3
- package/dist/blocks/blockGitignore.mjs +2 -3
- package/dist/blocks/blockKnip.d.mts +1 -3
- package/dist/blocks/blockKnip.mjs +6 -7
- package/dist/blocks/blockMITLicense.d.mts +1 -3
- package/dist/blocks/blockMITLicense.mjs +1 -2
- package/dist/blocks/blockNcc.d.mts +1 -3
- package/dist/blocks/blockNcc.mjs +6 -7
- package/dist/blocks/blockNvmrc.d.mts +1 -3
- package/dist/blocks/blockNvmrc.mjs +1 -2
- package/dist/blocks/blockOctoGuide.d.mts +1 -3
- package/dist/blocks/blockOctoGuide.mjs +3 -4
- package/dist/blocks/blockOctoGuideStrict.d.mts +1 -3
- package/dist/blocks/blockOctoGuideStrict.mjs +1 -2
- package/dist/blocks/blockPackageJson.d.mts +1 -3
- package/dist/blocks/blockPackageJson.mjs +4 -5
- package/dist/blocks/blockPnpmDedupe.d.mts +1 -3
- package/dist/blocks/blockPnpmDedupe.mjs +1 -2
- package/dist/blocks/blockPrettier.d.mts +1 -3
- package/dist/blocks/blockPrettier.mjs +8 -9
- package/dist/blocks/blockPrettierPluginCurly.d.mts +1 -3
- package/dist/blocks/blockPrettierPluginCurly.mjs +1 -2
- package/dist/blocks/blockPrettierPluginPackageJson.d.mts +1 -3
- package/dist/blocks/blockPrettierPluginPackageJson.mjs +1 -2
- package/dist/blocks/blockPrettierPluginPaddingLines.d.mts +1 -3
- package/dist/blocks/blockPrettierPluginPaddingLines.mjs +1 -2
- package/dist/blocks/blockPrettierPluginSentencesPerLine.d.mts +1 -3
- package/dist/blocks/blockPrettierPluginSentencesPerLine.mjs +1 -2
- package/dist/blocks/blockPrettierPluginSh.d.mts +1 -3
- package/dist/blocks/blockPrettierPluginSh.mjs +1 -2
- package/dist/blocks/blockREADME.d.mts +1 -3
- package/dist/blocks/blockREADME.mjs +1 -2
- package/dist/blocks/blockReleaseIt.d.mts +1 -3
- package/dist/blocks/blockReleaseIt.mjs +7 -8
- package/dist/blocks/blockRemoveDependencies.d.mts +1 -3
- package/dist/blocks/blockRemoveDependencies.mjs +1 -2
- package/dist/blocks/blockRemoveFiles.d.mts +1 -3
- package/dist/blocks/blockRemoveFiles.mjs +1 -2
- package/dist/blocks/blockRemoveWorkflows.d.mts +1 -3
- package/dist/blocks/blockRemoveWorkflows.mjs +1 -2
- package/dist/blocks/blockRenovate.d.mts +1 -3
- package/dist/blocks/blockRenovate.mjs +2 -3
- package/dist/blocks/blockRepositoryBranchRuleset.d.mts +1 -3
- package/dist/blocks/blockRepositoryBranchRuleset.mjs +1 -2
- package/dist/blocks/blockRepositoryLabels.d.mts +1 -3
- package/dist/blocks/blockRepositoryLabels.mjs +1 -2
- package/dist/blocks/blockRepositorySecrets.d.mts +1 -3
- package/dist/blocks/blockRepositorySecrets.mjs +1 -2
- package/dist/blocks/blockRepositorySettings.d.mts +1 -3
- package/dist/blocks/blockRepositorySettings.mjs +2 -3
- package/dist/blocks/blockSecurityDocs.d.mts +1 -3
- package/dist/blocks/blockSecurityDocs.mjs +1 -2
- package/dist/blocks/blockSideEffects.d.mts +1 -3
- package/dist/blocks/blockSideEffects.mjs +1 -2
- package/dist/blocks/blockTSDown.d.mts +1 -3
- package/dist/blocks/blockTSDown.mjs +11 -12
- package/dist/blocks/blockTemplatedWith.d.mts +1 -3
- package/dist/blocks/blockTemplatedWith.mjs +1 -2
- package/dist/blocks/blockTypeScript.d.mts +6 -4
- package/dist/blocks/blockTypeScript.mjs +8 -9
- package/dist/blocks/blockVSCode.d.mts +1 -3
- package/dist/blocks/blockVSCode.mjs +2 -3
- package/dist/blocks/blockVitest.d.mts +1 -3
- package/dist/blocks/blockVitest.mjs +11 -12
- package/dist/blocks/blockWebExt.d.mts +1 -3
- package/dist/blocks/blockWebExt.mjs +5 -6
- package/dist/blocks/codecov/findCodecovStep.d.mts +1 -3
- package/dist/blocks/codecov/findCodecovStep.mjs +1 -2
- package/dist/blocks/eslint/blockESLintIntake.d.mts +1 -3
- package/dist/blocks/eslint/blockESLintIntake.mjs +1 -2
- package/dist/blocks/eslint/blockESLintPluginIntake.d.mts +1 -3
- package/dist/blocks/eslint/blockESLintPluginIntake.mjs +1 -2
- package/dist/blocks/eslint/getScriptFileExtension.d.mts +1 -3
- package/dist/blocks/eslint/getScriptFileExtension.mjs +1 -2
- package/dist/blocks/eslint/mergeAllExtensions.d.mts +1 -3
- package/dist/blocks/eslint/mergeAllExtensions.mjs +1 -2
- package/dist/blocks/eslint/schemas.d.mts +1 -3
- package/dist/blocks/eslint/schemas.mjs +1 -2
- package/dist/blocks/files/createJobName.d.mts +1 -3
- package/dist/blocks/files/createJobName.mjs +1 -2
- package/dist/blocks/files/createMultiWorkflowFile.d.mts +1 -3
- package/dist/blocks/files/createMultiWorkflowFile.mjs +1 -2
- package/dist/blocks/files/createSoloWorkflowFile.d.mts +1 -2
- package/dist/blocks/files/createSoloWorkflowFile.mjs +1 -2
- package/dist/blocks/files/formatIgnoreFile.d.mts +1 -3
- package/dist/blocks/files/formatIgnoreFile.mjs +1 -2
- package/dist/blocks/files/formatWorkflowYaml.d.mts +1 -3
- package/dist/blocks/files/formatWorkflowYaml.mjs +1 -2
- package/dist/blocks/files/formatYaml.d.mts +1 -3
- package/dist/blocks/files/formatYaml.mjs +1 -2
- package/dist/blocks/files/removeUsesQuotes.d.mts +1 -3
- package/dist/blocks/files/removeUsesQuotes.mjs +1 -2
- package/dist/blocks/files/withPreviously.d.mts +1 -3
- package/dist/blocks/files/withPreviously.mjs +1 -2
- package/dist/blocks/getInstallationSuggestions.d.mts +1 -3
- package/dist/blocks/getInstallationSuggestions.mjs +1 -2
- package/dist/blocks/index.d.mts +9 -7
- package/dist/blocks/index.mjs +31 -32
- package/dist/blocks/intake/intakeFile.d.mts +1 -3
- package/dist/blocks/intake/intakeFile.mjs +1 -2
- package/dist/blocks/intake/intakeFileAsJson.d.mts +1 -3
- package/dist/blocks/intake/intakeFileAsJson.mjs +1 -2
- package/dist/blocks/intake/intakeFileAsYaml.d.mts +1 -3
- package/dist/blocks/intake/intakeFileAsYaml.mjs +1 -2
- package/dist/blocks/intake/intakeFileDefineConfig.d.mts +1 -3
- package/dist/blocks/intake/intakeFileDefineConfig.mjs +1 -2
- package/dist/blocks/intake/intakeFileExportObject.d.mts +1 -3
- package/dist/blocks/intake/intakeFileExportObject.mjs +1 -2
- package/dist/blocks/options.fakes.d.mts +1 -3
- package/dist/blocks/options.fakes.mjs +1 -2
- package/dist/blocks/outcomeLabels.d.mts +1 -3
- package/dist/blocks/outcomeLabels.mjs +1 -2
- package/dist/blocks/phases.d.mts +1 -3
- package/dist/blocks/phases.mjs +1 -2
- package/dist/constants.d.mts +1 -3
- package/dist/constants.mjs +1 -2
- package/dist/data/contributions.d.mts +1 -3
- package/dist/data/contributions.mjs +1 -2
- package/dist/data/packageData.d.mts +1 -3
- package/dist/data/packageData.mjs +0 -1
- package/dist/index.d.mts +2 -4
- package/dist/index.mjs +3 -4
- package/dist/inputs/inputFromDirectory.d.mts +1 -3
- package/dist/inputs/inputFromDirectory.mjs +1 -2
- package/dist/inputs/inputFromOctokit.d.mts +1 -3
- package/dist/inputs/inputFromOctokit.mjs +1 -2
- package/dist/options/readAccess.d.mts +1 -3
- package/dist/options/readAccess.mjs +1 -2
- package/dist/options/readAllContributors.d.mts +1 -3
- package/dist/options/readAllContributors.mjs +1 -2
- package/dist/options/readAuthor.d.mts +1 -3
- package/dist/options/readAuthor.mjs +1 -2
- package/dist/options/readBin.d.mts +1 -3
- package/dist/options/readBin.mjs +1 -2
- package/dist/options/readBundle.d.mts +1 -3
- package/dist/options/readBundle.mjs +1 -2
- package/dist/options/readCodecovToken.d.mts +1 -3
- package/dist/options/readCodecovToken.mjs +3 -4
- package/dist/options/readDescription.d.mts +1 -3
- package/dist/options/readDescription.mjs +1 -2
- package/dist/options/readDescriptionFromReadme.d.mts +1 -3
- package/dist/options/readDescriptionFromReadme.mjs +1 -2
- package/dist/options/readDevelopmentDocumentation.d.mts +1 -3
- package/dist/options/readDevelopmentDocumentation.mjs +1 -2
- package/dist/options/readDocumentation.d.mts +1 -3
- package/dist/options/readDocumentation.mjs +1 -2
- package/dist/options/readEmailFromCodeOfConduct.d.mts +1 -3
- package/dist/options/readEmailFromCodeOfConduct.mjs +1 -2
- package/dist/options/readEmailFromGit.d.mts +1 -3
- package/dist/options/readEmailFromGit.mjs +1 -2
- package/dist/options/readEmailFromNpm.d.mts +1 -3
- package/dist/options/readEmailFromNpm.mjs +1 -2
- package/dist/options/readEmails.d.mts +1 -3
- package/dist/options/readEmails.mjs +1 -2
- package/dist/options/readEmoji.d.mts +1 -3
- package/dist/options/readEmoji.mjs +1 -2
- package/dist/options/readExistingLabels.d.mts +1 -3
- package/dist/options/readExistingLabels.mjs +1 -2
- package/dist/options/readFileAsJson.d.mts +1 -3
- package/dist/options/readFileAsJson.mjs +1 -2
- package/dist/options/readFileSafe.d.mts +1 -3
- package/dist/options/readFileSafe.mjs +1 -2
- package/dist/options/readFunding.d.mts +1 -3
- package/dist/options/readFunding.mjs +1 -2
- package/dist/options/readGitDefaults.d.mts +1 -3
- package/dist/options/readGitDefaults.mjs +1 -2
- package/dist/options/readGuide.d.mts +1 -3
- package/dist/options/readGuide.mjs +1 -2
- package/dist/options/readKeywords.d.mts +1 -3
- package/dist/options/readKeywords.mjs +1 -2
- package/dist/options/readLogo.d.mts +1 -3
- package/dist/options/readLogo.mjs +1 -2
- package/dist/options/readLogoSizing.d.mts +1 -3
- package/dist/options/readLogoSizing.mjs +1 -2
- package/dist/options/readNode.d.mts +1 -3
- package/dist/options/readNode.mjs +2 -3
- package/dist/options/readNpmDefaults.d.mts +1 -3
- package/dist/options/readNpmDefaults.mjs +1 -2
- package/dist/options/readOwner.d.mts +1 -3
- package/dist/options/readOwner.mjs +1 -2
- package/dist/options/readPackageAuthor.d.mts +1 -3
- package/dist/options/readPackageAuthor.mjs +1 -2
- package/dist/options/readPackageData.d.mts +1 -3
- package/dist/options/readPackageData.mjs +1 -2
- package/dist/options/readPnpm.d.mts +1 -3
- package/dist/options/readPnpm.mjs +1 -2
- package/dist/options/readReadmeAdditional.d.mts +1 -3
- package/dist/options/readReadmeAdditional.mjs +1 -2
- package/dist/options/readReadmeExplainer.d.mts +1 -3
- package/dist/options/readReadmeExplainer.mjs +1 -2
- package/dist/options/readReadmeFootnotes.d.mts +1 -3
- package/dist/options/readReadmeFootnotes.mjs +1 -2
- package/dist/options/readReadmeUsage.d.mts +1 -3
- package/dist/options/readReadmeUsage.mjs +1 -2
- package/dist/options/readRepository.d.mts +1 -3
- package/dist/options/readRepository.mjs +1 -2
- package/dist/options/readRulesetId.d.mts +1 -3
- package/dist/options/readRulesetId.mjs +1 -2
- package/dist/options/readTitle.d.mts +1 -3
- package/dist/options/readTitle.mjs +1 -2
- package/dist/options/readWords.d.mts +1 -3
- package/dist/options/readWords.mjs +1 -2
- package/dist/options/readWorkflowsVersions.d.mts +1 -3
- package/dist/options/readWorkflowsVersions.mjs +2 -3
- package/dist/package.json.d.mts +0 -1
- package/dist/presets/common.d.mts +1 -3
- package/dist/presets/common.mjs +3 -4
- package/dist/presets/everything.d.mts +1 -3
- package/dist/presets/everything.mjs +5 -6
- package/dist/presets/index.d.mts +0 -2
- package/dist/presets/index.mjs +2 -3
- package/dist/presets/minimal.d.mts +1 -3
- package/dist/presets/minimal.mjs +18 -19
- package/dist/schemas.d.mts +1 -3
- package/dist/schemas.mjs +1 -2
- package/dist/template.d.mts +1 -3
- package/dist/template.mjs +4 -5
- package/dist/types.d.mts +1 -2
- package/dist/utils/formatFile.d.mts +1 -3
- package/dist/utils/formatFile.mjs +1 -2
- package/dist/utils/htmlToTextSafe.d.mts +1 -3
- package/dist/utils/htmlToTextSafe.mjs +1 -2
- package/dist/utils/parseDefineConfig.d.mts +1 -3
- package/dist/utils/parseDefineConfig.mjs +1 -2
- package/dist/utils/resolveBin.d.mts +1 -3
- package/dist/utils/resolveBin.mjs +1 -2
- package/dist/utils/resolveEmails.d.mts +1 -3
- package/dist/utils/resolveEmails.mjs +1 -2
- package/dist/utils/swallowError.d.mts +1 -3
- package/dist/utils/swallowError.mjs +1 -2
- package/dist/utils/swallowErrorAsync.d.mts +1 -3
- package/dist/utils/swallowErrorAsync.mjs +1 -2
- package/dist/utils/trimPrecedingSlash.d.mts +1 -3
- package/dist/utils/trimPrecedingSlash.mjs +1 -2
- package/dist/utils/tryCatch.d.mts +1 -3
- package/dist/utils/tryCatch.mjs +1 -2
- package/package.json +13 -13
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { base } from "../base.mjs";
|
|
2
2
|
import { blockOctoGuide } from "./blockOctoGuide.mjs";
|
|
3
|
-
|
|
3
|
+
// src/blocks/blockOctoGuideStrict.ts
|
|
4
4
|
const blockOctoGuideStrict = base.createBlock({
|
|
5
5
|
about: { name: "OctoGuide Strict" },
|
|
6
6
|
produce() {
|
|
7
7
|
return { addons: [blockOctoGuide({ config: "strict" })] };
|
|
8
8
|
}
|
|
9
9
|
});
|
|
10
|
-
//#endregion
|
|
11
10
|
export { blockOctoGuideStrict };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/blocks/blockPackageJson.d.ts
|
|
2
1
|
export declare const blockPackageJson: import("bingo-stratum").BlockWithAddons<{
|
|
3
2
|
cleanupCommands: string[];
|
|
4
3
|
existingFiles: string[];
|
|
@@ -195,5 +194,4 @@ export declare const blockPackageJson: import("bingo-stratum").BlockWithAddons<{
|
|
|
195
194
|
hash?: string | undefined;
|
|
196
195
|
pinned?: boolean | undefined;
|
|
197
196
|
}>> | undefined;
|
|
198
|
-
}>;
|
|
199
|
-
//#endregion
|
|
197
|
+
}>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { htmlToTextSafe } from "../utils/htmlToTextSafe.mjs";
|
|
2
1
|
import { base } from "../base.mjs";
|
|
3
|
-
import { CommandPhase } from "./phases.mjs";
|
|
4
|
-
import { blockRemoveFiles } from "./blockRemoveFiles.mjs";
|
|
5
2
|
import { formatFile } from "../utils/formatFile.mjs";
|
|
3
|
+
import { htmlToTextSafe } from "../utils/htmlToTextSafe.mjs";
|
|
6
4
|
import { resolveEmails } from "../utils/resolveEmails.mjs";
|
|
5
|
+
import { blockRemoveFiles } from "./blockRemoveFiles.mjs";
|
|
7
6
|
import { intakeFileAsJson } from "./intake/intakeFileAsJson.mjs";
|
|
7
|
+
import { CommandPhase } from "./phases.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
import semver from "semver";
|
|
10
10
|
import removeUndefinedObjects from "remove-undefined-objects";
|
|
11
11
|
import sortPackageJson from "sort-package-json";
|
|
12
12
|
import { PackageJson } from "zod-package-json";
|
|
13
|
-
|
|
13
|
+
// src/blocks/blockPackageJson.ts
|
|
14
14
|
const PackageJsonWithNullableScripts = PackageJson.partial().extend({ scripts: z.record(z.string(), z.union([z.string(), z.undefined()])).optional() });
|
|
15
15
|
const blockPackageJson = base.createBlock({
|
|
16
16
|
about: { name: "Package JSON" },
|
|
@@ -112,5 +112,4 @@ function useLargerVersions(existing, replacements) {
|
|
|
112
112
|
if (!existing) return replacements;
|
|
113
113
|
return Object.fromEntries(Object.entries(replacements).map(([key, replacement]) => [key, useLargerVersion(existing[key], replacement)]));
|
|
114
114
|
}
|
|
115
|
-
//#endregion
|
|
116
115
|
export { blockPackageJson };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/blocks/blockPnpmDedupe.d.ts
|
|
2
1
|
export declare const blockPnpmDedupe: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
2
|
access: "public" | "restricted";
|
|
4
3
|
description: string;
|
|
@@ -69,5 +68,4 @@ export declare const blockPnpmDedupe: import("bingo-stratum").BlockWithoutAddons
|
|
|
69
68
|
hash?: string | undefined;
|
|
70
69
|
pinned?: boolean | undefined;
|
|
71
70
|
}>> | undefined;
|
|
72
|
-
}>;
|
|
73
|
-
//#endregion
|
|
71
|
+
}>;
|
|
@@ -2,7 +2,7 @@ import { base } from "../base.mjs";
|
|
|
2
2
|
import { blockGitHubActionsCI } from "./blockGitHubActionsCI.mjs";
|
|
3
3
|
import { blockPackageJson } from "./blockPackageJson.mjs";
|
|
4
4
|
import { blockRemoveWorkflows } from "./blockRemoveWorkflows.mjs";
|
|
5
|
-
|
|
5
|
+
// src/blocks/blockPnpmDedupe.ts
|
|
6
6
|
const blockPnpmDedupe = base.createBlock({
|
|
7
7
|
about: { name: "pnpm Dedupe" },
|
|
8
8
|
produce() {
|
|
@@ -15,5 +15,4 @@ const blockPnpmDedupe = base.createBlock({
|
|
|
15
15
|
return { addons: [blockRemoveWorkflows({ workflows: ["lint-packages"] })] };
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
//#endregion
|
|
19
18
|
export { blockPnpmDedupe };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/blocks/blockPrettier.d.ts
|
|
2
1
|
export declare const blockPrettier: import("bingo-stratum").BlockWithAddons<{
|
|
3
2
|
ignores: string[];
|
|
4
3
|
overrides: {
|
|
@@ -79,5 +78,4 @@ export declare const blockPrettier: import("bingo-stratum").BlockWithAddons<{
|
|
|
79
78
|
hash?: string | undefined;
|
|
80
79
|
pinned?: boolean | undefined;
|
|
81
80
|
}>> | undefined;
|
|
82
|
-
}>;
|
|
83
|
-
//#endregion
|
|
81
|
+
}>;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { getPackageDependencies } from "../data/packageData.mjs";
|
|
2
1
|
import { base } from "../base.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { blockRemoveFiles } from "./blockRemoveFiles.mjs";
|
|
5
|
-
import { withPreviously } from "./files/withPreviously.mjs";
|
|
6
|
-
import { blockGitHubActionsCI } from "./blockGitHubActionsCI.mjs";
|
|
2
|
+
import { getPackageDependencies } from "../data/packageData.mjs";
|
|
7
3
|
import { formatFile } from "../utils/formatFile.mjs";
|
|
4
|
+
import { blockCSpell } from "./blockCSpell.mjs";
|
|
8
5
|
import { blockDevelopmentDocs } from "./blockDevelopmentDocs.mjs";
|
|
6
|
+
import { blockGitHubActionsCI } from "./blockGitHubActionsCI.mjs";
|
|
9
7
|
import { blockPackageJson } from "./blockPackageJson.mjs";
|
|
8
|
+
import { blockRemoveDependencies } from "./blockRemoveDependencies.mjs";
|
|
9
|
+
import { blockRemoveFiles } from "./blockRemoveFiles.mjs";
|
|
10
10
|
import { blockRemoveWorkflows } from "./blockRemoveWorkflows.mjs";
|
|
11
11
|
import { blockVSCode } from "./blockVSCode.mjs";
|
|
12
|
-
import { blockCSpell } from "./blockCSpell.mjs";
|
|
13
|
-
import { blockRemoveDependencies } from "./blockRemoveDependencies.mjs";
|
|
14
12
|
import { formatIgnoreFile } from "./files/formatIgnoreFile.mjs";
|
|
13
|
+
import { withPreviously } from "./files/withPreviously.mjs";
|
|
14
|
+
import { CommandPhase } from "./phases.mjs";
|
|
15
15
|
import { z } from "zod";
|
|
16
|
-
|
|
16
|
+
// src/blocks/blockPrettier.ts
|
|
17
17
|
const blockPrettier = base.createBlock({
|
|
18
18
|
about: { name: "Prettier" },
|
|
19
19
|
addons: {
|
|
@@ -91,5 +91,4 @@ export default ${JSON.stringify({
|
|
|
91
91
|
] };
|
|
92
92
|
}
|
|
93
93
|
});
|
|
94
|
-
//#endregion
|
|
95
94
|
export { blockPrettier };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/blocks/blockPrettierPluginCurly.d.ts
|
|
2
1
|
export declare const blockPrettierPluginCurly: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
2
|
access: "public" | "restricted";
|
|
4
3
|
description: string;
|
|
@@ -69,5 +68,4 @@ export declare const blockPrettierPluginCurly: import("bingo-stratum").BlockWith
|
|
|
69
68
|
hash?: string | undefined;
|
|
70
69
|
pinned?: boolean | undefined;
|
|
71
70
|
}>> | undefined;
|
|
72
|
-
}>;
|
|
73
|
-
//#endregion
|
|
71
|
+
}>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { base } from "../base.mjs";
|
|
2
2
|
import { blockPrettier } from "./blockPrettier.mjs";
|
|
3
|
-
|
|
3
|
+
// src/blocks/blockPrettierPluginCurly.ts
|
|
4
4
|
const blockPrettierPluginCurly = base.createBlock({
|
|
5
5
|
about: { name: "Prettier Plugin Curly" },
|
|
6
6
|
produce() {
|
|
7
7
|
return { addons: [blockPrettier({ plugins: ["prettier-plugin-curly"] })] };
|
|
8
8
|
}
|
|
9
9
|
});
|
|
10
|
-
//#endregion
|
|
11
10
|
export { blockPrettierPluginCurly };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/blocks/blockPrettierPluginPackageJson.d.ts
|
|
2
1
|
export declare const blockPrettierPluginPackageJson: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
2
|
access: "public" | "restricted";
|
|
4
3
|
description: string;
|
|
@@ -69,5 +68,4 @@ export declare const blockPrettierPluginPackageJson: import("bingo-stratum").Blo
|
|
|
69
68
|
hash?: string | undefined;
|
|
70
69
|
pinned?: boolean | undefined;
|
|
71
70
|
}>> | undefined;
|
|
72
|
-
}>;
|
|
73
|
-
//#endregion
|
|
71
|
+
}>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { base } from "../base.mjs";
|
|
2
2
|
import { blockPrettier } from "./blockPrettier.mjs";
|
|
3
|
-
|
|
3
|
+
// src/blocks/blockPrettierPluginPackageJson.ts
|
|
4
4
|
const blockPrettierPluginPackageJson = base.createBlock({
|
|
5
5
|
about: { name: "Prettier Plugin Package JSON" },
|
|
6
6
|
produce() {
|
|
7
7
|
return { addons: [blockPrettier({ plugins: ["prettier-plugin-packagejson"] })] };
|
|
8
8
|
}
|
|
9
9
|
});
|
|
10
|
-
//#endregion
|
|
11
10
|
export { blockPrettierPluginPackageJson };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/blocks/blockPrettierPluginPaddingLines.d.ts
|
|
2
1
|
export declare const blockPrettierPluginPaddingLines: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
2
|
access: "public" | "restricted";
|
|
4
3
|
description: string;
|
|
@@ -69,5 +68,4 @@ export declare const blockPrettierPluginPaddingLines: import("bingo-stratum").Bl
|
|
|
69
68
|
hash?: string | undefined;
|
|
70
69
|
pinned?: boolean | undefined;
|
|
71
70
|
}>> | undefined;
|
|
72
|
-
}>;
|
|
73
|
-
//#endregion
|
|
71
|
+
}>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { base } from "../base.mjs";
|
|
2
2
|
import { blockPrettier } from "./blockPrettier.mjs";
|
|
3
|
-
|
|
3
|
+
// src/blocks/blockPrettierPluginPaddingLines.ts
|
|
4
4
|
const blockPrettierPluginPaddingLines = base.createBlock({
|
|
5
5
|
about: { name: "Prettier Plugin Padding Lines" },
|
|
6
6
|
produce() {
|
|
7
7
|
return { addons: [blockPrettier({ plugins: ["prettier-plugin-padding-lines"] })] };
|
|
8
8
|
}
|
|
9
9
|
});
|
|
10
|
-
//#endregion
|
|
11
10
|
export { blockPrettierPluginPaddingLines };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/blocks/blockPrettierPluginSentencesPerLine.d.ts
|
|
2
1
|
export declare const blockPrettierPluginSentencesPerLine: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
2
|
access: "public" | "restricted";
|
|
4
3
|
description: string;
|
|
@@ -69,5 +68,4 @@ export declare const blockPrettierPluginSentencesPerLine: import("bingo-stratum"
|
|
|
69
68
|
hash?: string | undefined;
|
|
70
69
|
pinned?: boolean | undefined;
|
|
71
70
|
}>> | undefined;
|
|
72
|
-
}>;
|
|
73
|
-
//#endregion
|
|
71
|
+
}>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { base } from "../base.mjs";
|
|
2
2
|
import { blockPrettier } from "./blockPrettier.mjs";
|
|
3
|
-
|
|
3
|
+
// src/blocks/blockPrettierPluginSentencesPerLine.ts
|
|
4
4
|
const blockPrettierPluginSentencesPerLine = base.createBlock({
|
|
5
5
|
about: { name: "Prettier Plugin Sentences Per Line" },
|
|
6
6
|
produce() {
|
|
7
7
|
return { addons: [blockPrettier({ plugins: ["prettier-plugin-sentences-per-line"] })] };
|
|
8
8
|
}
|
|
9
9
|
});
|
|
10
|
-
//#endregion
|
|
11
10
|
export { blockPrettierPluginSentencesPerLine };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/blocks/blockPrettierPluginSh.d.ts
|
|
2
1
|
export declare const blockPrettierPluginSh: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
2
|
access: "public" | "restricted";
|
|
4
3
|
description: string;
|
|
@@ -69,5 +68,4 @@ export declare const blockPrettierPluginSh: import("bingo-stratum").BlockWithout
|
|
|
69
68
|
hash?: string | undefined;
|
|
70
69
|
pinned?: boolean | undefined;
|
|
71
70
|
}>> | undefined;
|
|
72
|
-
}>;
|
|
73
|
-
//#endregion
|
|
71
|
+
}>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { base } from "../base.mjs";
|
|
2
2
|
import { blockPrettier } from "./blockPrettier.mjs";
|
|
3
|
-
|
|
3
|
+
// src/blocks/blockPrettierPluginSh.ts
|
|
4
4
|
const blockPrettierPluginSh = base.createBlock({
|
|
5
5
|
about: { name: "Prettier Plugin Sh" },
|
|
6
6
|
produce() {
|
|
7
7
|
return { addons: [blockPrettier({ plugins: ["prettier-plugin-sh"] })] };
|
|
8
8
|
}
|
|
9
9
|
});
|
|
10
|
-
//#endregion
|
|
11
10
|
export { blockPrettierPluginSh };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/blocks/blockREADME.d.ts
|
|
2
1
|
export declare const blockREADME: import("bingo-stratum").BlockWithAddons<{
|
|
3
2
|
badges: {
|
|
4
3
|
alt: string;
|
|
@@ -82,5 +81,4 @@ export declare const blockREADME: import("bingo-stratum").BlockWithAddons<{
|
|
|
82
81
|
hash?: string | undefined;
|
|
83
82
|
pinned?: boolean | undefined;
|
|
84
83
|
}>> | undefined;
|
|
85
|
-
}>;
|
|
86
|
-
//#endregion
|
|
84
|
+
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { base } from "../base.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
|
|
3
|
+
// src/blocks/blockREADME.ts
|
|
4
4
|
function printAttributes(attributes) {
|
|
5
5
|
return Object.entries(attributes).map(([key, value]) => `${key}="${value}"`).sort().join(" ");
|
|
6
6
|
}
|
|
@@ -67,5 +67,4 @@ function formatDescription(description) {
|
|
|
67
67
|
function removeEmojis(text) {
|
|
68
68
|
return text.replaceAll(/\p{Emoji}/gu, "").trim();
|
|
69
69
|
}
|
|
70
|
-
//#endregion
|
|
71
70
|
export { blockREADME };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/blocks/blockReleaseIt.d.ts
|
|
2
1
|
export declare const blockReleaseIt: import("bingo-stratum").BlockWithAddons<{
|
|
3
2
|
builders: {
|
|
4
3
|
order: number;
|
|
@@ -74,5 +73,4 @@ export declare const blockReleaseIt: import("bingo-stratum").BlockWithAddons<{
|
|
|
74
73
|
hash?: string | undefined;
|
|
75
74
|
pinned?: boolean | undefined;
|
|
76
75
|
}>> | undefined;
|
|
77
|
-
}>;
|
|
78
|
-
//#endregion
|
|
76
|
+
}>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { getPackageDependencies } from "../data/packageData.mjs";
|
|
2
1
|
import { base } from "../base.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { createSoloWorkflowFile } from "./files/createSoloWorkflowFile.mjs";
|
|
5
|
-
import { withPreviously } from "./files/withPreviously.mjs";
|
|
2
|
+
import { getPackageDependencies } from "../data/packageData.mjs";
|
|
6
3
|
import { formatFile } from "../utils/formatFile.mjs";
|
|
7
|
-
import {
|
|
4
|
+
import { resolveUses } from "./actions/resolveUses.mjs";
|
|
8
5
|
import { blockCSpell } from "./blockCSpell.mjs";
|
|
9
|
-
import {
|
|
6
|
+
import { blockPackageJson } from "./blockPackageJson.mjs";
|
|
10
7
|
import { blockREADME } from "./blockREADME.mjs";
|
|
8
|
+
import { blockRepositorySecrets } from "./blockRepositorySecrets.mjs";
|
|
9
|
+
import { createSoloWorkflowFile } from "./files/createSoloWorkflowFile.mjs";
|
|
10
|
+
import { withPreviously } from "./files/withPreviously.mjs";
|
|
11
11
|
import { z } from "zod";
|
|
12
|
-
|
|
12
|
+
// src/blocks/blockReleaseIt.ts
|
|
13
13
|
const blockReleaseIt = base.createBlock({
|
|
14
14
|
about: { name: "release-it" },
|
|
15
15
|
addons: { builders: z.array(z.object({
|
|
@@ -157,5 +157,4 @@ const blockReleaseIt = base.createBlock({
|
|
|
157
157
|
};
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
|
-
//#endregion
|
|
161
160
|
export { blockReleaseIt };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/blocks/blockRemoveDependencies.d.ts
|
|
2
1
|
export declare const blockRemoveDependencies: import("bingo-stratum").BlockWithAddons<{
|
|
3
2
|
dependencies?: string[] | undefined;
|
|
4
3
|
}, {
|
|
@@ -71,5 +70,4 @@ export declare const blockRemoveDependencies: import("bingo-stratum").BlockWithA
|
|
|
71
70
|
hash?: string | undefined;
|
|
72
71
|
pinned?: boolean | undefined;
|
|
73
72
|
}>> | undefined;
|
|
74
|
-
}>;
|
|
75
|
-
//#endregion
|
|
73
|
+
}>;
|
|
@@ -2,7 +2,7 @@ import { base } from "../base.mjs";
|
|
|
2
2
|
import { resolveBin } from "../utils/resolveBin.mjs";
|
|
3
3
|
import { CommandPhase } from "./phases.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
|
-
|
|
5
|
+
// src/blocks/blockRemoveDependencies.ts
|
|
6
6
|
const blockRemoveDependencies = base.createBlock({
|
|
7
7
|
about: { name: "Remove Dependencies" },
|
|
8
8
|
addons: { dependencies: z.array(z.string()).optional() },
|
|
@@ -16,5 +16,4 @@ const blockRemoveDependencies = base.createBlock({
|
|
|
16
16
|
}] : void 0 };
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
|
-
//#endregion
|
|
20
19
|
export { blockRemoveDependencies };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/blocks/blockRemoveFiles.d.ts
|
|
2
1
|
export declare const blockRemoveFiles: import("bingo-stratum").BlockWithAddons<{
|
|
3
2
|
files?: string[] | undefined;
|
|
4
3
|
}, {
|
|
@@ -71,5 +70,4 @@ export declare const blockRemoveFiles: import("bingo-stratum").BlockWithAddons<{
|
|
|
71
70
|
hash?: string | undefined;
|
|
72
71
|
pinned?: boolean | undefined;
|
|
73
72
|
}>> | undefined;
|
|
74
|
-
}>;
|
|
75
|
-
//#endregion
|
|
73
|
+
}>;
|
|
@@ -2,7 +2,7 @@ import { base } from "../base.mjs";
|
|
|
2
2
|
import { resolveBin } from "../utils/resolveBin.mjs";
|
|
3
3
|
import { CommandPhase } from "./phases.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
|
-
|
|
5
|
+
// src/blocks/blockRemoveFiles.ts
|
|
6
6
|
const blockRemoveFiles = base.createBlock({
|
|
7
7
|
about: { name: "Remove Files" },
|
|
8
8
|
addons: { files: z.array(z.string()).optional() },
|
|
@@ -17,5 +17,4 @@ const blockRemoveFiles = base.createBlock({
|
|
|
17
17
|
}] : void 0 };
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
|
-
//#endregion
|
|
21
20
|
export { blockRemoveFiles };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/blocks/blockRemoveWorkflows.d.ts
|
|
2
1
|
export declare const blockRemoveWorkflows: import("bingo-stratum").BlockWithAddons<{
|
|
3
2
|
workflows?: string[] | undefined;
|
|
4
3
|
}, {
|
|
@@ -71,5 +70,4 @@ export declare const blockRemoveWorkflows: import("bingo-stratum").BlockWithAddo
|
|
|
71
70
|
hash?: string | undefined;
|
|
72
71
|
pinned?: boolean | undefined;
|
|
73
72
|
}>> | undefined;
|
|
74
|
-
}>;
|
|
75
|
-
//#endregion
|
|
73
|
+
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { base } from "../base.mjs";
|
|
2
2
|
import { blockRemoveFiles } from "./blockRemoveFiles.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
|
-
|
|
4
|
+
// src/blocks/blockRemoveWorkflows.ts
|
|
5
5
|
const blockRemoveWorkflows = base.createBlock({
|
|
6
6
|
about: { name: "Remove Workflows" },
|
|
7
7
|
addons: { workflows: z.array(z.string()).optional() },
|
|
@@ -13,5 +13,4 @@ const blockRemoveWorkflows = base.createBlock({
|
|
|
13
13
|
return { addons: [blockRemoveFiles({ files: workflows?.map((workflow) => `.github/workflows/${workflow}.{yaml,yml}`) })] };
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
//#endregion
|
|
17
16
|
export { blockRemoveWorkflows };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/blocks/blockRenovate.d.ts
|
|
2
1
|
export declare const blockRenovate: import("bingo-stratum").BlockWithAddons<{
|
|
3
2
|
ignoreDeps: string[];
|
|
4
3
|
}, {
|
|
@@ -71,5 +70,4 @@ export declare const blockRenovate: import("bingo-stratum").BlockWithAddons<{
|
|
|
71
70
|
hash?: string | undefined;
|
|
72
71
|
pinned?: boolean | undefined;
|
|
73
72
|
}>> | undefined;
|
|
74
|
-
}>;
|
|
75
|
-
//#endregion
|
|
73
|
+
}>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { base } from "../base.mjs";
|
|
2
2
|
import { formatFile } from "../utils/formatFile.mjs";
|
|
3
|
-
import { intakeFileAsJson } from "./intake/intakeFileAsJson.mjs";
|
|
4
3
|
import { blockGitHubApps } from "./blockGitHubApps.mjs";
|
|
4
|
+
import { intakeFileAsJson } from "./intake/intakeFileAsJson.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
|
-
|
|
6
|
+
// src/blocks/blockRenovate.ts
|
|
7
7
|
const zIgnoreDeps = z.array(z.string()).default([]);
|
|
8
8
|
const blockRenovate = base.createBlock({
|
|
9
9
|
about: { name: "Renovate" },
|
|
@@ -36,5 +36,4 @@ const blockRenovate = base.createBlock({
|
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
|
-
//#endregion
|
|
40
39
|
export { blockRenovate };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/blocks/blockRepositoryBranchRuleset.d.ts
|
|
2
1
|
export declare const blockRepositoryBranchRuleset: import("bingo-stratum").BlockWithAddons<{
|
|
3
2
|
requiredStatusChecks?: string[] | undefined;
|
|
4
3
|
}, {
|
|
@@ -71,5 +70,4 @@ export declare const blockRepositoryBranchRuleset: import("bingo-stratum").Block
|
|
|
71
70
|
hash?: string | undefined;
|
|
72
71
|
pinned?: boolean | undefined;
|
|
73
72
|
}>> | undefined;
|
|
74
|
-
}>;
|
|
75
|
-
//#endregion
|
|
73
|
+
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { base } from "../base.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
|
|
3
|
+
// src/blocks/blockRepositoryBranchRuleset.ts
|
|
4
4
|
const blockRepositoryBranchRuleset = base.createBlock({
|
|
5
5
|
about: { name: "Repository Branch Ruleset" },
|
|
6
6
|
addons: { requiredStatusChecks: z.array(z.string()).optional() },
|
|
@@ -75,5 +75,4 @@ function createRulesetParameters(contexts, options, rulesetId) {
|
|
|
75
75
|
target: "branch"
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
|
-
//#endregion
|
|
79
78
|
export { blockRepositoryBranchRuleset };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/blocks/blockRepositoryLabels.d.ts
|
|
2
1
|
export declare const blockRepositoryLabels: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
2
|
access: "public" | "restricted";
|
|
4
3
|
description: string;
|
|
@@ -69,5 +68,4 @@ export declare const blockRepositoryLabels: import("bingo-stratum").BlockWithout
|
|
|
69
68
|
hash?: string | undefined;
|
|
70
69
|
pinned?: boolean | undefined;
|
|
71
70
|
}>> | undefined;
|
|
72
|
-
}>;
|
|
73
|
-
//#endregion
|
|
71
|
+
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { base } from "../base.mjs";
|
|
2
2
|
import { outcomeLabels } from "./outcomeLabels.mjs";
|
|
3
3
|
import { determineLabelChanges } from "set-github-repository-labels";
|
|
4
|
-
|
|
4
|
+
// src/blocks/blockRepositoryLabels.ts
|
|
5
5
|
const blockRepositoryLabels = base.createBlock({
|
|
6
6
|
about: { name: "Repository Labels" },
|
|
7
7
|
produce({ options }) {
|
|
@@ -48,5 +48,4 @@ const blockRepositoryLabels = base.createBlock({
|
|
|
48
48
|
}) };
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
|
-
//#endregion
|
|
52
51
|
export { blockRepositoryLabels };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/blocks/blockRepositorySecrets.d.ts
|
|
2
1
|
export declare const blockRepositorySecrets: import("bingo-stratum").BlockWithAddons<{
|
|
3
2
|
secrets: {
|
|
4
3
|
description: string;
|
|
@@ -74,5 +73,4 @@ export declare const blockRepositorySecrets: import("bingo-stratum").BlockWithAd
|
|
|
74
73
|
hash?: string | undefined;
|
|
75
74
|
pinned?: boolean | undefined;
|
|
76
75
|
}>> | undefined;
|
|
77
|
-
}>;
|
|
78
|
-
//#endregion
|
|
76
|
+
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { base } from "../base.mjs";
|
|
2
2
|
import { getInstallationSuggestions } from "./getInstallationSuggestions.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
|
-
|
|
4
|
+
// src/blocks/blockRepositorySecrets.ts
|
|
5
5
|
const blockRepositorySecrets = base.createBlock({
|
|
6
6
|
about: { name: "Repository Secrets" },
|
|
7
7
|
addons: { secrets: z.array(z.object({
|
|
@@ -12,5 +12,4 @@ const blockRepositorySecrets = base.createBlock({
|
|
|
12
12
|
return { suggestions: getInstallationSuggestions("populate the secret", addons.secrets.map((secret) => `${secret.name} (${secret.description})`), `https://github.com/${options.owner}/${options.repository}/settings/secrets/actions`) };
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
|
-
//#endregion
|
|
16
15
|
export { blockRepositorySecrets };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/blocks/blockRepositorySettings.d.ts
|
|
2
1
|
export declare const blockRepositorySettings: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
2
|
access: "public" | "restricted";
|
|
4
3
|
description: string;
|
|
@@ -69,5 +68,4 @@ export declare const blockRepositorySettings: import("bingo-stratum").BlockWitho
|
|
|
69
68
|
hash?: string | undefined;
|
|
70
69
|
pinned?: boolean | undefined;
|
|
71
70
|
}>> | undefined;
|
|
72
|
-
}>;
|
|
73
|
-
//#endregion
|
|
71
|
+
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { htmlToTextSafe } from "../utils/htmlToTextSafe.mjs";
|
|
2
1
|
import { base } from "../base.mjs";
|
|
3
|
-
|
|
2
|
+
import { htmlToTextSafe } from "../utils/htmlToTextSafe.mjs";
|
|
3
|
+
// src/blocks/blockRepositorySettings.ts
|
|
4
4
|
const blockRepositorySettings = base.createBlock({
|
|
5
5
|
about: { name: "Repository Settings" },
|
|
6
6
|
produce({ options }) {
|
|
@@ -28,5 +28,4 @@ const blockRepositorySettings = base.createBlock({
|
|
|
28
28
|
}] };
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
|
-
//#endregion
|
|
32
31
|
export { blockRepositorySettings };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/blocks/blockSecurityDocs.d.ts
|
|
2
1
|
export declare const blockSecurityDocs: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
2
|
access: "public" | "restricted";
|
|
4
3
|
description: string;
|
|
@@ -69,5 +68,4 @@ export declare const blockSecurityDocs: import("bingo-stratum").BlockWithoutAddo
|
|
|
69
68
|
hash?: string | undefined;
|
|
70
69
|
pinned?: boolean | undefined;
|
|
71
70
|
}>> | undefined;
|
|
72
|
-
}>;
|
|
73
|
-
//#endregion
|
|
71
|
+
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { base } from "../base.mjs";
|
|
2
2
|
import { resolveEmails } from "../utils/resolveEmails.mjs";
|
|
3
|
-
|
|
3
|
+
// src/blocks/blockSecurityDocs.ts
|
|
4
4
|
const blockSecurityDocs = base.createBlock({
|
|
5
5
|
about: { name: "Security Docs" },
|
|
6
6
|
produce({ options }) {
|
|
@@ -16,5 +16,4 @@ We appreciate your efforts and responsible disclosure and will make every effort
|
|
|
16
16
|
` } } };
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
|
-
//#endregion
|
|
20
19
|
export { blockSecurityDocs };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/blocks/blockSideEffects.d.ts
|
|
2
1
|
export declare const blockSideEffects: import("bingo-stratum").BlockWithAddons<{
|
|
3
2
|
sideEffects?: boolean | string[] | undefined;
|
|
4
3
|
}, {
|
|
@@ -71,5 +70,4 @@ export declare const blockSideEffects: import("bingo-stratum").BlockWithAddons<{
|
|
|
71
70
|
hash?: string | undefined;
|
|
72
71
|
pinned?: boolean | undefined;
|
|
73
72
|
}>> | undefined;
|
|
74
|
-
}>;
|
|
75
|
-
//#endregion
|
|
73
|
+
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { base } from "../base.mjs";
|
|
2
2
|
import { blockPackageJson } from "./blockPackageJson.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
|
-
|
|
4
|
+
// src/blocks/blockSideEffects.ts
|
|
5
5
|
const blockSideEffects = base.createBlock({
|
|
6
6
|
about: { name: "Side Effects" },
|
|
7
7
|
addons: { sideEffects: z.union([z.boolean(), z.array(z.string())]).optional() },
|
|
@@ -10,5 +10,4 @@ const blockSideEffects = base.createBlock({
|
|
|
10
10
|
return { addons: [blockPackageJson({ properties: { sideEffects } })] };
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
|
-
//#endregion
|
|
14
13
|
export { blockSideEffects };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/blocks/blockTSDown.d.ts
|
|
2
1
|
export declare const blockTSDown: import("bingo-stratum").BlockWithAddons<{
|
|
3
2
|
entry: string[];
|
|
4
3
|
properties: Record<string, unknown>;
|
|
@@ -75,5 +74,4 @@ export declare const blockTSDown: import("bingo-stratum").BlockWithAddons<{
|
|
|
75
74
|
hash?: string | undefined;
|
|
76
75
|
pinned?: boolean | undefined;
|
|
77
76
|
}>> | undefined;
|
|
78
|
-
}>;
|
|
79
|
-
//#endregion
|
|
77
|
+
}>;
|