create-typescript-app 2.62.0 → 2.63.1
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/README.md +1 -1
- package/lib/_virtual/_rolldown/runtime.js +14 -0
- package/lib/base.d.ts +175 -0
- package/lib/base.d.ts.map +1 -0
- package/lib/base.js +3 -3
- package/lib/base.js.map +1 -0
- package/lib/blocks/actions/resolveUses.d.ts +6 -0
- package/lib/blocks/actions/resolveUses.d.ts.map +1 -0
- package/lib/blocks/actions/resolveUses.js +3 -3
- package/lib/blocks/actions/resolveUses.js.map +1 -0
- package/lib/blocks/actions/steps.d.ts +37 -0
- package/lib/blocks/actions/steps.d.ts.map +1 -0
- package/lib/blocks/actions/steps.js +3 -3
- package/lib/blocks/actions/steps.js.map +1 -0
- package/lib/blocks/bin/getPrimaryBin.d.ts +5 -0
- package/lib/blocks/bin/getPrimaryBin.d.ts.map +1 -0
- package/lib/blocks/bin/getPrimaryBin.js +3 -2
- package/lib/blocks/bin/getPrimaryBin.js.map +1 -0
- package/lib/blocks/blockAllContributors.d.ts +72 -0
- package/lib/blocks/blockAllContributors.d.ts.map +1 -0
- package/lib/blocks/blockAllContributors.js +3 -3
- package/lib/blocks/blockAllContributors.js.map +1 -0
- package/lib/blocks/blockAreTheTypesWrong.d.ts +72 -0
- package/lib/blocks/blockAreTheTypesWrong.d.ts.map +1 -0
- package/lib/blocks/blockAreTheTypesWrong.js +3 -3
- package/lib/blocks/blockAreTheTypesWrong.js.map +1 -0
- package/lib/blocks/blockCSpell.d.ts +75 -0
- package/lib/blocks/blockCSpell.d.ts.map +1 -0
- package/lib/blocks/blockCSpell.js +7 -7
- package/lib/blocks/blockCSpell.js.map +1 -0
- package/lib/blocks/blockCTATransitions.d.ts +72 -0
- package/lib/blocks/blockCTATransitions.d.ts.map +1 -0
- package/lib/blocks/blockCTATransitions.js +3 -3
- package/lib/blocks/blockCTATransitions.js.map +1 -0
- package/lib/blocks/blockCodecov.d.ts +74 -0
- package/lib/blocks/blockCodecov.d.ts.map +1 -0
- package/lib/blocks/blockCodecov.js +4 -4
- package/lib/blocks/blockCodecov.js.map +1 -0
- package/lib/blocks/blockContributingDocs.d.ts +72 -0
- package/lib/blocks/blockContributingDocs.d.ts.map +1 -0
- package/lib/blocks/blockContributingDocs.js +5 -4
- package/lib/blocks/blockContributingDocs.js.map +1 -0
- package/lib/blocks/blockContributorCovenant.d.ts +72 -0
- package/lib/blocks/blockContributorCovenant.d.ts.map +1 -0
- package/lib/blocks/blockContributorCovenant.js +3 -3
- package/lib/blocks/blockContributorCovenant.js.map +1 -0
- package/lib/blocks/blockDevelopmentDocs.d.ts +86 -0
- package/lib/blocks/blockDevelopmentDocs.d.ts.map +1 -0
- package/lib/blocks/blockDevelopmentDocs.js +5 -6
- package/lib/blocks/blockDevelopmentDocs.js.map +1 -0
- package/lib/blocks/blockESLint.d.ts +96 -0
- package/lib/blocks/blockESLint.d.ts.map +1 -0
- package/lib/blocks/blockESLint.js +4 -4
- package/lib/blocks/blockESLint.js.map +1 -0
- package/lib/blocks/blockESLintComments.d.ts +72 -0
- package/lib/blocks/blockESLintComments.d.ts.map +1 -0
- package/lib/blocks/blockESLintComments.js +3 -3
- package/lib/blocks/blockESLintComments.js.map +1 -0
- package/lib/blocks/blockESLintJSDoc.d.ts +72 -0
- package/lib/blocks/blockESLintJSDoc.d.ts.map +1 -0
- package/lib/blocks/blockESLintJSDoc.js +3 -3
- package/lib/blocks/blockESLintJSDoc.js.map +1 -0
- package/lib/blocks/blockESLintJSONC.d.ts +72 -0
- package/lib/blocks/blockESLintJSONC.d.ts.map +1 -0
- package/lib/blocks/blockESLintJSONC.js +3 -3
- package/lib/blocks/blockESLintJSONC.js.map +1 -0
- package/lib/blocks/blockESLintMarkdown.d.ts +72 -0
- package/lib/blocks/blockESLintMarkdown.d.ts.map +1 -0
- package/lib/blocks/blockESLintMarkdown.js +3 -3
- package/lib/blocks/blockESLintMarkdown.js.map +1 -0
- package/lib/blocks/blockESLintMoreStyling.d.ts +73 -0
- package/lib/blocks/blockESLintMoreStyling.d.ts.map +1 -0
- package/lib/blocks/blockESLintMoreStyling.js +3 -3
- package/lib/blocks/blockESLintMoreStyling.js.map +1 -0
- package/lib/blocks/blockESLintNode.d.ts +72 -0
- package/lib/blocks/blockESLintNode.d.ts.map +1 -0
- package/lib/blocks/blockESLintNode.js +4 -8
- package/lib/blocks/blockESLintNode.js.map +1 -0
- package/lib/blocks/blockESLintPackageJson.d.ts +72 -0
- package/lib/blocks/blockESLintPackageJson.d.ts.map +1 -0
- package/lib/blocks/blockESLintPackageJson.js +3 -3
- package/lib/blocks/blockESLintPackageJson.js.map +1 -0
- package/lib/blocks/blockESLintPerfectionist.d.ts +72 -0
- package/lib/blocks/blockESLintPerfectionist.d.ts.map +1 -0
- package/lib/blocks/blockESLintPerfectionist.js +3 -3
- package/lib/blocks/blockESLintPerfectionist.js.map +1 -0
- package/lib/blocks/blockESLintPlugin.d.ts +74 -0
- package/lib/blocks/blockESLintPlugin.d.ts.map +1 -0
- package/lib/blocks/blockESLintPlugin.js +3 -3
- package/lib/blocks/blockESLintPlugin.js.map +1 -0
- package/lib/blocks/blockESLintRegexp.d.ts +72 -0
- package/lib/blocks/blockESLintRegexp.d.ts.map +1 -0
- package/lib/blocks/blockESLintRegexp.js +3 -3
- package/lib/blocks/blockESLintRegexp.js.map +1 -0
- package/lib/blocks/blockESLintYML.d.ts +72 -0
- package/lib/blocks/blockESLintYML.d.ts.map +1 -0
- package/lib/blocks/blockESLintYML.js +3 -3
- package/lib/blocks/blockESLintYML.js.map +1 -0
- package/lib/blocks/blockExampleFiles.d.ts +75 -0
- package/lib/blocks/blockExampleFiles.d.ts.map +1 -0
- package/lib/blocks/blockExampleFiles.js +3 -3
- package/lib/blocks/blockExampleFiles.js.map +1 -0
- package/lib/blocks/blockExports.d.ts +75 -0
- package/lib/blocks/blockExports.d.ts.map +1 -0
- package/lib/blocks/blockExports.js +3 -3
- package/lib/blocks/blockExports.js.map +1 -0
- package/lib/blocks/blockFunding.d.ts +72 -0
- package/lib/blocks/blockFunding.d.ts.map +1 -0
- package/lib/blocks/blockFunding.js +3 -3
- package/lib/blocks/blockFunding.js.map +1 -0
- package/lib/blocks/blockGitHubActionsCI.d.ts +88 -0
- package/lib/blocks/blockGitHubActionsCI.d.ts.map +1 -0
- package/lib/blocks/blockGitHubActionsCI.js +3 -3
- package/lib/blocks/blockGitHubActionsCI.js.map +1 -0
- package/lib/blocks/blockGitHubApps.d.ts +77 -0
- package/lib/blocks/blockGitHubApps.d.ts.map +1 -0
- package/lib/blocks/blockGitHubApps.js +3 -3
- package/lib/blocks/blockGitHubApps.js.map +1 -0
- package/lib/blocks/blockGitHubIssueTemplates.d.ts +72 -0
- package/lib/blocks/blockGitHubIssueTemplates.d.ts.map +1 -0
- package/lib/blocks/blockGitHubIssueTemplates.js +3 -3
- package/lib/blocks/blockGitHubIssueTemplates.js.map +1 -0
- package/lib/blocks/blockGitHubPRTemplate.d.ts +72 -0
- package/lib/blocks/blockGitHubPRTemplate.d.ts.map +1 -0
- package/lib/blocks/blockGitHubPRTemplate.js +3 -3
- package/lib/blocks/blockGitHubPRTemplate.js.map +1 -0
- package/lib/blocks/blockGitignore.d.ts +74 -0
- package/lib/blocks/blockGitignore.d.ts.map +1 -0
- package/lib/blocks/blockGitignore.js +3 -3
- package/lib/blocks/blockGitignore.js.map +1 -0
- package/lib/blocks/blockKnip.d.ts +76 -0
- package/lib/blocks/blockKnip.d.ts.map +1 -0
- package/lib/blocks/blockKnip.js +3 -3
- package/lib/blocks/blockKnip.js.map +1 -0
- package/lib/blocks/blockMITLicense.d.ts +72 -0
- package/lib/blocks/blockMITLicense.d.ts.map +1 -0
- package/lib/blocks/blockMITLicense.js +3 -3
- package/lib/blocks/blockMITLicense.js.map +1 -0
- package/lib/blocks/blockNcc.d.ts +74 -0
- package/lib/blocks/blockNcc.d.ts.map +1 -0
- package/lib/blocks/blockNcc.js +3 -3
- package/lib/blocks/blockNcc.js.map +1 -0
- package/lib/blocks/blockNvmrc.d.ts +72 -0
- package/lib/blocks/blockNvmrc.d.ts.map +1 -0
- package/lib/blocks/blockNvmrc.js +3 -3
- package/lib/blocks/blockNvmrc.js.map +1 -0
- package/lib/blocks/blockOctoGuide.d.ts +74 -0
- package/lib/blocks/blockOctoGuide.d.ts.map +1 -0
- package/lib/blocks/blockOctoGuide.js +3 -3
- package/lib/blocks/blockOctoGuide.js.map +1 -0
- package/lib/blocks/blockOctoGuideStrict.d.ts +72 -0
- package/lib/blocks/blockOctoGuideStrict.d.ts.map +1 -0
- package/lib/blocks/blockOctoGuideStrict.js +3 -3
- package/lib/blocks/blockOctoGuideStrict.js.map +1 -0
- package/lib/blocks/blockPackageJson.d.ts +149 -0
- package/lib/blocks/blockPackageJson.d.ts.map +1 -0
- package/lib/blocks/blockPackageJson.js +3 -3
- package/lib/blocks/blockPackageJson.js.map +1 -0
- package/lib/blocks/blockPnpmDedupe.d.ts +72 -0
- package/lib/blocks/blockPnpmDedupe.d.ts.map +1 -0
- package/lib/blocks/blockPnpmDedupe.js +3 -3
- package/lib/blocks/blockPnpmDedupe.js.map +1 -0
- package/lib/blocks/blockPrettier.d.ts +82 -0
- package/lib/blocks/blockPrettier.d.ts.map +1 -0
- package/lib/blocks/blockPrettier.js +3 -3
- package/lib/blocks/blockPrettier.js.map +1 -0
- package/lib/blocks/blockPrettierPluginCurly.d.ts +72 -0
- package/lib/blocks/blockPrettierPluginCurly.d.ts.map +1 -0
- package/lib/blocks/blockPrettierPluginCurly.js +3 -3
- package/lib/blocks/blockPrettierPluginCurly.js.map +1 -0
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts +72 -0
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts.map +1 -0
- package/lib/blocks/blockPrettierPluginPackageJson.js +3 -3
- package/lib/blocks/blockPrettierPluginPackageJson.js.map +1 -0
- package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts +72 -0
- package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts.map +1 -0
- package/lib/blocks/blockPrettierPluginSentencesPerLine.js +3 -3
- package/lib/blocks/blockPrettierPluginSentencesPerLine.js.map +1 -0
- package/lib/blocks/blockPrettierPluginSh.d.ts +72 -0
- package/lib/blocks/blockPrettierPluginSh.d.ts.map +1 -0
- package/lib/blocks/blockPrettierPluginSh.js +3 -3
- package/lib/blocks/blockPrettierPluginSh.js.map +1 -0
- package/lib/blocks/blockREADME.d.ts +85 -0
- package/lib/blocks/blockREADME.d.ts.map +1 -0
- package/lib/blocks/blockREADME.js +3 -3
- package/lib/blocks/blockREADME.js.map +1 -0
- package/lib/blocks/blockReleaseIt.d.ts +77 -0
- package/lib/blocks/blockReleaseIt.d.ts.map +1 -0
- package/lib/blocks/blockReleaseIt.js +3 -3
- package/lib/blocks/blockReleaseIt.js.map +1 -0
- package/lib/blocks/blockRemoveDependencies.d.ts +74 -0
- package/lib/blocks/blockRemoveDependencies.d.ts.map +1 -0
- package/lib/blocks/blockRemoveDependencies.js +3 -3
- package/lib/blocks/blockRemoveDependencies.js.map +1 -0
- package/lib/blocks/blockRemoveFiles.d.ts +74 -0
- package/lib/blocks/blockRemoveFiles.d.ts.map +1 -0
- package/lib/blocks/blockRemoveFiles.js +3 -3
- package/lib/blocks/blockRemoveFiles.js.map +1 -0
- package/lib/blocks/blockRemoveWorkflows.d.ts +74 -0
- package/lib/blocks/blockRemoveWorkflows.d.ts.map +1 -0
- package/lib/blocks/blockRemoveWorkflows.js +3 -3
- package/lib/blocks/blockRemoveWorkflows.js.map +1 -0
- package/lib/blocks/blockRenovate.d.ts +74 -0
- package/lib/blocks/blockRenovate.d.ts.map +1 -0
- package/lib/blocks/blockRenovate.js +4 -4
- package/lib/blocks/blockRenovate.js.map +1 -0
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts +74 -0
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts.map +1 -0
- package/lib/blocks/blockRepositoryBranchRuleset.js +3 -3
- package/lib/blocks/blockRepositoryBranchRuleset.js.map +1 -0
- package/lib/blocks/blockRepositoryLabels.d.ts +72 -0
- package/lib/blocks/blockRepositoryLabels.d.ts.map +1 -0
- package/lib/blocks/blockRepositoryLabels.js +3 -3
- package/lib/blocks/blockRepositoryLabels.js.map +1 -0
- package/lib/blocks/blockRepositorySecrets.d.ts +77 -0
- package/lib/blocks/blockRepositorySecrets.d.ts.map +1 -0
- package/lib/blocks/blockRepositorySecrets.js +3 -3
- package/lib/blocks/blockRepositorySecrets.js.map +1 -0
- package/lib/blocks/blockRepositorySettings.d.ts +72 -0
- package/lib/blocks/blockRepositorySettings.d.ts.map +1 -0
- package/lib/blocks/blockRepositorySettings.js +3 -3
- package/lib/blocks/blockRepositorySettings.js.map +1 -0
- package/lib/blocks/blockSecurityDocs.d.ts +72 -0
- package/lib/blocks/blockSecurityDocs.d.ts.map +1 -0
- package/lib/blocks/blockSecurityDocs.js +3 -3
- package/lib/blocks/blockSecurityDocs.js.map +1 -0
- package/lib/blocks/blockSideEffects.d.ts +74 -0
- package/lib/blocks/blockSideEffects.d.ts.map +1 -0
- package/lib/blocks/blockSideEffects.js +3 -3
- package/lib/blocks/blockSideEffects.js.map +1 -0
- package/lib/blocks/blockTSDown.d.ts +76 -0
- package/lib/blocks/blockTSDown.d.ts.map +1 -0
- package/lib/blocks/blockTSDown.js +4 -6
- package/lib/blocks/blockTSDown.js.map +1 -0
- package/lib/blocks/blockTemplatedWith.d.ts +72 -0
- package/lib/blocks/blockTemplatedWith.d.ts.map +1 -0
- package/lib/blocks/blockTemplatedWith.js +3 -3
- package/lib/blocks/blockTemplatedWith.js.map +1 -0
- package/lib/blocks/blockTypeScript.d.ts +184 -0
- package/lib/blocks/blockTypeScript.d.ts.map +1 -0
- package/lib/blocks/blockTypeScript.js +3 -3
- package/lib/blocks/blockTypeScript.js.map +1 -0
- package/lib/blocks/blockVSCode.d.ts +81 -0
- package/lib/blocks/blockVSCode.d.ts.map +1 -0
- package/lib/blocks/blockVSCode.js +3 -3
- package/lib/blocks/blockVSCode.js.map +1 -0
- package/lib/blocks/blockVitest.d.ts +89 -0
- package/lib/blocks/blockVitest.d.ts.map +1 -0
- package/lib/blocks/blockVitest.js +5 -5
- package/lib/blocks/blockVitest.js.map +1 -0
- package/lib/blocks/blockWebExt.d.ts +72 -0
- package/lib/blocks/blockWebExt.d.ts.map +1 -0
- package/lib/blocks/blockWebExt.js +3 -3
- package/lib/blocks/blockWebExt.js.map +1 -0
- package/lib/blocks/eslint/blockESLintIntake.d.ts +11 -0
- package/lib/blocks/eslint/blockESLintIntake.d.ts.map +1 -0
- package/lib/blocks/eslint/blockESLintIntake.js +10 -10
- package/lib/blocks/eslint/blockESLintIntake.js.map +1 -0
- package/lib/blocks/eslint/blockESLintPluginIntake.d.ts +7 -0
- package/lib/blocks/eslint/blockESLintPluginIntake.d.ts.map +1 -0
- package/lib/blocks/eslint/blockESLintPluginIntake.js +3 -3
- package/lib/blocks/eslint/blockESLintPluginIntake.js.map +1 -0
- package/lib/blocks/eslint/getScriptFileExtension.d.ts +8 -0
- package/lib/blocks/eslint/getScriptFileExtension.d.ts.map +1 -0
- package/lib/blocks/eslint/getScriptFileExtension.js +3 -2
- package/lib/blocks/eslint/getScriptFileExtension.js.map +1 -0
- package/lib/blocks/eslint/mergeAllExtensions.d.ts +17 -0
- package/lib/blocks/eslint/mergeAllExtensions.d.ts.map +1 -0
- package/lib/blocks/eslint/mergeAllExtensions.js +4 -3
- package/lib/blocks/eslint/mergeAllExtensions.js.map +1 -0
- package/lib/blocks/eslint/schemas.d.ts +112 -0
- package/lib/blocks/eslint/schemas.d.ts.map +1 -0
- package/lib/blocks/eslint/schemas.js +3 -3
- package/lib/blocks/eslint/schemas.js.map +1 -0
- package/lib/blocks/files/createJobName.d.ts +5 -0
- package/lib/blocks/files/createJobName.d.ts.map +1 -0
- package/lib/blocks/files/createJobName.js +3 -2
- package/lib/blocks/files/createJobName.js.map +1 -0
- package/lib/blocks/files/createMultiWorkflowFile.d.ts +24 -0
- package/lib/blocks/files/createMultiWorkflowFile.d.ts.map +1 -0
- package/lib/blocks/files/createMultiWorkflowFile.js +3 -3
- package/lib/blocks/files/createMultiWorkflowFile.js.map +1 -0
- package/lib/blocks/files/createSoloWorkflowFile.d.ts +65 -0
- package/lib/blocks/files/createSoloWorkflowFile.d.ts.map +1 -0
- package/lib/blocks/files/createSoloWorkflowFile.js +3 -3
- package/lib/blocks/files/createSoloWorkflowFile.js.map +1 -0
- package/lib/blocks/files/formatIgnoreFile.d.ts +5 -0
- package/lib/blocks/files/formatIgnoreFile.d.ts.map +1 -0
- package/lib/blocks/files/formatIgnoreFile.js +3 -2
- package/lib/blocks/files/formatIgnoreFile.js.map +1 -0
- package/lib/blocks/files/formatWorkflowYaml.d.ts +5 -0
- package/lib/blocks/files/formatWorkflowYaml.d.ts.map +1 -0
- package/lib/blocks/files/formatWorkflowYaml.js +3 -3
- package/lib/blocks/files/formatWorkflowYaml.js.map +1 -0
- package/lib/blocks/files/formatYaml.d.ts +5 -0
- package/lib/blocks/files/formatYaml.d.ts.map +1 -0
- package/lib/blocks/files/formatYaml.js +3 -3
- package/lib/blocks/files/formatYaml.js.map +1 -0
- package/lib/blocks/files/removeUsesQuotes.d.ts +5 -0
- package/lib/blocks/files/removeUsesQuotes.d.ts.map +1 -0
- package/lib/blocks/files/removeUsesQuotes.js +3 -2
- package/lib/blocks/files/removeUsesQuotes.js.map +1 -0
- package/lib/blocks/getInstallationSuggestions.d.ts +5 -0
- package/lib/blocks/getInstallationSuggestions.d.ts.map +1 -0
- package/lib/blocks/getInstallationSuggestions.js +3 -2
- package/lib/blocks/getInstallationSuggestions.js.map +1 -0
- package/lib/blocks/index.d.ts +3713 -0
- package/lib/blocks/index.d.ts.map +1 -0
- package/lib/blocks/index.js +3 -3
- package/lib/blocks/index.js.map +1 -0
- package/lib/blocks/intake/intakeFile.d.ts +6 -0
- package/lib/blocks/intake/intakeFile.d.ts.map +1 -0
- package/lib/blocks/intake/intakeFile.js +3 -2
- package/lib/blocks/intake/intakeFile.js.map +1 -0
- package/lib/blocks/intake/intakeFileAsJson.d.ts +6 -0
- package/lib/blocks/intake/intakeFileAsJson.d.ts.map +1 -0
- package/lib/blocks/intake/intakeFileAsJson.js +3 -3
- package/lib/blocks/intake/intakeFileAsJson.js.map +1 -0
- package/lib/blocks/intake/intakeFileAsYaml.d.ts +6 -0
- package/lib/blocks/intake/intakeFileAsYaml.d.ts.map +1 -0
- package/lib/blocks/intake/intakeFileAsYaml.js +3 -3
- package/lib/blocks/intake/intakeFileAsYaml.js.map +1 -0
- package/lib/blocks/intake/intakeFileDefineConfig.d.ts +6 -0
- package/lib/blocks/intake/intakeFileDefineConfig.d.ts.map +1 -0
- package/lib/blocks/intake/intakeFileDefineConfig.js +3 -3
- package/lib/blocks/intake/intakeFileDefineConfig.js.map +1 -0
- package/lib/blocks/intake/intakeFileExportObject.d.ts +6 -0
- package/lib/blocks/intake/intakeFileExportObject.d.ts.map +1 -0
- package/lib/blocks/intake/intakeFileExportObject.js +3 -3
- package/lib/blocks/intake/intakeFileExportObject.js.map +1 -0
- package/lib/blocks/options.fakes.d.ts +26 -0
- package/lib/blocks/options.fakes.d.ts.map +1 -0
- package/lib/blocks/options.fakes.js +3 -2
- package/lib/blocks/options.fakes.js.map +1 -0
- package/lib/blocks/outcomeLabels.d.ts +15 -0
- package/lib/blocks/outcomeLabels.d.ts.map +1 -0
- package/lib/blocks/outcomeLabels.js +3 -2
- package/lib/blocks/outcomeLabels.js.map +1 -0
- package/lib/blocks/phases.d.ts +11 -0
- package/lib/blocks/phases.d.ts.map +1 -0
- package/lib/blocks/phases.js +3 -2
- package/lib/blocks/phases.js.map +1 -0
- package/lib/constants.d.ts +10 -0
- package/lib/constants.d.ts.map +1 -0
- package/lib/constants.js +3 -2
- package/lib/constants.js.map +1 -0
- package/lib/data/contributions.d.ts +5 -0
- package/lib/data/contributions.d.ts.map +1 -0
- package/lib/data/contributions.js +3 -2
- package/lib/data/contributions.js.map +1 -0
- package/lib/data/packageData.d.ts +10 -0
- package/lib/data/packageData.d.ts.map +1 -0
- package/lib/data/packageData.js +4 -6
- package/lib/data/packageData.js.map +1 -0
- package/lib/index.d.ts +294 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +3 -3
- package/lib/index.js.map +1 -0
- package/lib/inputs/inputFromDirectory.d.ts +8 -0
- package/lib/inputs/inputFromDirectory.d.ts.map +1 -0
- package/lib/inputs/inputFromDirectory.js +3 -3
- package/lib/inputs/inputFromDirectory.js.map +1 -0
- package/lib/inputs/inputFromOctokit.d.ts +9 -0
- package/lib/inputs/inputFromOctokit.d.ts.map +1 -0
- package/lib/inputs/inputFromOctokit.js +3 -3
- package/lib/inputs/inputFromOctokit.js.map +1 -0
- package/lib/options/readAccess.d.ts +6 -0
- package/lib/options/readAccess.d.ts.map +1 -0
- package/lib/options/readAccess.js +3 -2
- package/lib/options/readAccess.js.map +1 -0
- package/lib/options/readAllContributors.d.ts +7 -0
- package/lib/options/readAllContributors.d.ts.map +1 -0
- package/lib/options/readAllContributors.js +3 -3
- package/lib/options/readAllContributors.js.map +1 -0
- package/lib/options/readAuthor.d.ts +9 -0
- package/lib/options/readAuthor.d.ts.map +1 -0
- package/lib/options/readAuthor.js +3 -2
- package/lib/options/readAuthor.js.map +1 -0
- package/lib/options/readBin.d.ts +6 -0
- package/lib/options/readBin.d.ts.map +1 -0
- package/lib/options/readBin.js +3 -3
- package/lib/options/readBin.js.map +1 -0
- package/lib/options/readDescription.d.ts +6 -0
- package/lib/options/readDescription.d.ts.map +1 -0
- package/lib/options/readDescription.js +3 -3
- package/lib/options/readDescription.js.map +1 -0
- package/lib/options/readDescriptionFromReadme.d.ts +5 -0
- package/lib/options/readDescriptionFromReadme.d.ts.map +1 -0
- package/lib/options/readDescriptionFromReadme.js +3 -2
- package/lib/options/readDescriptionFromReadme.js.map +1 -0
- package/lib/options/readDevelopmentDocumentation.d.ts +6 -0
- package/lib/options/readDevelopmentDocumentation.d.ts.map +1 -0
- package/lib/options/readDevelopmentDocumentation.js +4 -4
- package/lib/options/readDevelopmentDocumentation.js.map +1 -0
- package/lib/options/readDocumentation.d.ts +6 -0
- package/lib/options/readDocumentation.d.ts.map +1 -0
- package/lib/options/readDocumentation.js +3 -2
- package/lib/options/readDocumentation.js.map +1 -0
- package/lib/options/readEmailFromCodeOfConduct.d.ts +6 -0
- package/lib/options/readEmailFromCodeOfConduct.d.ts.map +1 -0
- package/lib/options/readEmailFromCodeOfConduct.js +3 -3
- package/lib/options/readEmailFromCodeOfConduct.js.map +1 -0
- package/lib/options/readEmailFromGit.d.ts +6 -0
- package/lib/options/readEmailFromGit.d.ts.map +1 -0
- package/lib/options/readEmailFromGit.js +3 -3
- package/lib/options/readEmailFromGit.js.map +1 -0
- package/lib/options/readEmailFromNpm.d.ts +7 -0
- package/lib/options/readEmailFromNpm.d.ts.map +1 -0
- package/lib/options/readEmailFromNpm.js +3 -2
- package/lib/options/readEmailFromNpm.js.map +1 -0
- package/lib/options/readEmails.d.ts +9 -0
- package/lib/options/readEmails.d.ts.map +1 -0
- package/lib/options/readEmails.js +3 -2
- package/lib/options/readEmails.js.map +1 -0
- package/lib/options/readEmoji.d.ts +5 -0
- package/lib/options/readEmoji.d.ts.map +1 -0
- package/lib/options/readEmoji.js +3 -2
- package/lib/options/readEmoji.js.map +1 -0
- package/lib/options/readExistingLabels.d.ts +10 -0
- package/lib/options/readExistingLabels.d.ts.map +1 -0
- package/lib/options/readExistingLabels.js +3 -3
- package/lib/options/readExistingLabels.js.map +1 -0
- package/lib/options/readFileAsJson.d.ts +5 -0
- package/lib/options/readFileAsJson.d.ts.map +1 -0
- package/lib/options/readFileAsJson.js +3 -3
- package/lib/options/readFileAsJson.js.map +1 -0
- package/lib/options/readFileSafe.d.ts +5 -0
- package/lib/options/readFileSafe.d.ts.map +1 -0
- package/lib/options/readFileSafe.js +3 -3
- package/lib/options/readFileSafe.js.map +1 -0
- package/lib/options/readFunding.d.ts +6 -0
- package/lib/options/readFunding.d.ts.map +1 -0
- package/lib/options/readFunding.js +3 -3
- package/lib/options/readFunding.js.map +1 -0
- package/lib/options/readGitDefaults.d.ts +7 -0
- package/lib/options/readGitDefaults.d.ts.map +1 -0
- package/lib/options/readGitDefaults.js +3 -3
- package/lib/options/readGitDefaults.js.map +1 -0
- package/lib/options/readGuide.d.ts +9 -0
- package/lib/options/readGuide.d.ts.map +1 -0
- package/lib/options/readGuide.js +3 -3
- package/lib/options/readGuide.js.map +1 -0
- package/lib/options/readKeywords.d.ts +6 -0
- package/lib/options/readKeywords.d.ts.map +1 -0
- package/lib/options/readKeywords.js +3 -2
- package/lib/options/readKeywords.js.map +1 -0
- package/lib/options/readLogo.d.ts +10 -0
- package/lib/options/readLogo.d.ts.map +1 -0
- package/lib/options/readLogo.js +5 -4
- package/lib/options/readLogo.js.map +1 -0
- package/lib/options/readLogoSizing.d.ts +9 -0
- package/lib/options/readLogoSizing.d.ts.map +1 -0
- package/lib/options/readLogoSizing.js +3 -3
- package/lib/options/readLogoSizing.js.map +1 -0
- package/lib/options/readNode.d.ts +9 -0
- package/lib/options/readNode.d.ts.map +1 -0
- package/lib/options/readNode.js +3 -3
- package/lib/options/readNode.js.map +1 -0
- package/lib/options/readNpmDefaults.d.ts +6 -0
- package/lib/options/readNpmDefaults.d.ts.map +1 -0
- package/lib/options/readNpmDefaults.js +3 -3
- package/lib/options/readNpmDefaults.js.map +1 -0
- package/lib/options/readOwner.d.ts +8 -0
- package/lib/options/readOwner.d.ts.map +1 -0
- package/lib/options/readOwner.js +3 -3
- package/lib/options/readOwner.js.map +1 -0
- package/lib/options/readPackageAuthor.d.ts +10 -0
- package/lib/options/readPackageAuthor.d.ts.map +1 -0
- package/lib/options/readPackageAuthor.js +3 -3
- package/lib/options/readPackageAuthor.js.map +1 -0
- package/lib/options/readPackageData.d.ts +7 -0
- package/lib/options/readPackageData.d.ts.map +1 -0
- package/lib/options/readPackageData.js +3 -3
- package/lib/options/readPackageData.js.map +1 -0
- package/lib/options/readPnpm.d.ts +6 -0
- package/lib/options/readPnpm.d.ts.map +1 -0
- package/lib/options/readPnpm.js +3 -2
- package/lib/options/readPnpm.js.map +1 -0
- package/lib/options/readReadmeAdditional.d.ts +5 -0
- package/lib/options/readReadmeAdditional.d.ts.map +1 -0
- package/lib/options/readReadmeAdditional.js +3 -3
- package/lib/options/readReadmeAdditional.js.map +1 -0
- package/lib/options/readReadmeExplainer.d.ts +5 -0
- package/lib/options/readReadmeExplainer.d.ts.map +1 -0
- package/lib/options/readReadmeExplainer.js +3 -2
- package/lib/options/readReadmeExplainer.js.map +1 -0
- package/lib/options/readReadmeFootnotes.d.ts +6 -0
- package/lib/options/readReadmeFootnotes.d.ts.map +1 -0
- package/lib/options/readReadmeFootnotes.js +3 -2
- package/lib/options/readReadmeFootnotes.js.map +1 -0
- package/lib/options/readReadmeUsage.d.ts +5 -0
- package/lib/options/readReadmeUsage.d.ts.map +1 -0
- package/lib/options/readReadmeUsage.js +3 -2
- package/lib/options/readReadmeUsage.js.map +1 -0
- package/lib/options/readRepository.d.ts +10 -0
- package/lib/options/readRepository.d.ts.map +1 -0
- package/lib/options/readRepository.js +3 -2
- package/lib/options/readRepository.js.map +1 -0
- package/lib/options/readRulesetId.d.ts +6 -0
- package/lib/options/readRulesetId.d.ts.map +1 -0
- package/lib/options/readRulesetId.js +3 -3
- package/lib/options/readRulesetId.js.map +1 -0
- package/lib/options/readTitle.d.ts +5 -0
- package/lib/options/readTitle.d.ts.map +1 -0
- package/lib/options/readTitle.js +3 -3
- package/lib/options/readTitle.js.map +1 -0
- package/lib/options/readWords.d.ts +6 -0
- package/lib/options/readWords.d.ts.map +1 -0
- package/lib/options/readWords.js +3 -3
- package/lib/options/readWords.js.map +1 -0
- package/lib/options/readWorkflowsVersions.d.ts +7 -0
- package/lib/options/readWorkflowsVersions.d.ts.map +1 -0
- package/lib/options/readWorkflowsVersions.js +3 -3
- package/lib/options/readWorkflowsVersions.js.map +1 -0
- package/lib/package.json.d.ts +138 -0
- package/lib/package.json.d.ts.map +1 -0
- package/lib/presets/common.d.ts +170 -0
- package/lib/presets/common.d.ts.map +1 -0
- package/lib/presets/common.js +3 -3
- package/lib/presets/common.js.map +1 -0
- package/lib/presets/everything.d.ts +170 -0
- package/lib/presets/everything.d.ts.map +1 -0
- package/lib/presets/everything.js +3 -3
- package/lib/presets/everything.js.map +1 -0
- package/lib/presets/index.d.ts +507 -0
- package/lib/presets/index.d.ts.map +1 -0
- package/lib/presets/index.js +3 -3
- package/lib/presets/index.js.map +1 -0
- package/lib/presets/minimal.d.ts +170 -0
- package/lib/presets/minimal.d.ts.map +1 -0
- package/lib/presets/minimal.js +3 -3
- package/lib/presets/minimal.js.map +1 -0
- package/lib/schemas.d.ts +111 -0
- package/lib/schemas.d.ts.map +1 -0
- package/lib/schemas.js +3 -3
- package/lib/schemas.js.map +1 -0
- package/lib/template.d.ts +170 -0
- package/lib/template.d.ts.map +1 -0
- package/lib/template.js +3 -3
- package/lib/template.js.map +1 -0
- package/lib/types.d.ts +42 -0
- package/lib/types.d.ts.map +1 -0
- package/lib/types.js +1 -1
- package/lib/utils/htmlToTextSafe.d.ts +5 -0
- package/lib/utils/htmlToTextSafe.d.ts.map +1 -0
- package/lib/utils/htmlToTextSafe.js +3 -3
- package/lib/utils/htmlToTextSafe.js.map +1 -0
- package/lib/utils/resolveBin.d.ts +5 -0
- package/lib/utils/resolveBin.d.ts.map +1 -0
- package/lib/utils/resolveBin.js +3 -3
- package/lib/utils/resolveBin.js.map +1 -0
- package/lib/utils/swallowError.d.ts +5 -0
- package/lib/utils/swallowError.d.ts.map +1 -0
- package/lib/utils/swallowError.js +3 -2
- package/lib/utils/swallowError.js.map +1 -0
- package/lib/utils/swallowErrorAsync.d.ts +5 -0
- package/lib/utils/swallowErrorAsync.d.ts.map +1 -0
- package/lib/utils/swallowErrorAsync.js +3 -2
- package/lib/utils/swallowErrorAsync.js.map +1 -0
- package/lib/utils/trimPrecedingSlash.d.ts +5 -0
- package/lib/utils/trimPrecedingSlash.d.ts.map +1 -0
- package/lib/utils/trimPrecedingSlash.js +3 -2
- package/lib/utils/trimPrecedingSlash.js.map +1 -0
- package/lib/utils/tryCatch.d.ts +5 -0
- package/lib/utils/tryCatch.d.ts.map +1 -0
- package/lib/utils/tryCatch.js +3 -2
- package/lib/utils/tryCatch.js.map +1 -0
- package/package.json +40 -40
|
@@ -2,7 +2,6 @@ import { base } from "../base.js";
|
|
|
2
2
|
import { blockGitHubActionsCI } from "./blockGitHubActionsCI.js";
|
|
3
3
|
import { blockPackageJson } from "./blockPackageJson.js";
|
|
4
4
|
import { blockRemoveWorkflows } from "./blockRemoveWorkflows.js";
|
|
5
|
-
|
|
6
5
|
//#region src/blocks/blockPnpmDedupe.ts
|
|
7
6
|
const blockPnpmDedupe = base.createBlock({
|
|
8
7
|
about: { name: "pnpm Dedupe" },
|
|
@@ -16,6 +15,7 @@ const blockPnpmDedupe = base.createBlock({
|
|
|
16
15
|
return { addons: [blockRemoveWorkflows({ workflows: ["lint-packages"] })] };
|
|
17
16
|
}
|
|
18
17
|
});
|
|
19
|
-
|
|
20
18
|
//#endregion
|
|
21
|
-
export { blockPnpmDedupe };
|
|
19
|
+
export { blockPnpmDedupe };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=blockPnpmDedupe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockPnpmDedupe.js","names":[],"sources":["../../src/blocks/blockPnpmDedupe.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockGitHubActionsCI } from \"./blockGitHubActionsCI.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockRemoveWorkflows } from \"./blockRemoveWorkflows.js\";\n\nexport const blockPnpmDedupe = base.createBlock({\n\tabout: {\n\t\tname: \"pnpm Dedupe\",\n\t},\n\tproduce() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockGitHubActionsCI({\n\t\t\t\t\tjobs: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"Dedupe Check\",\n\t\t\t\t\t\t\tsteps: [{ run: \"pnpm dedupe --check\" }],\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockPackageJson({\n\t\t\t\t\tcleanupCommands: [\"pnpm dedupe\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n\ttransition() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockRemoveWorkflows({\n\t\t\t\t\tworkflows: [\"lint-packages\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;AAKA,MAAa,kBAAkB,KAAK,YAAY;CAC/C,OAAO,EACN,MAAM,cACP;CACA,UAAU;EACT,OAAO,EACN,QAAQ,CACP,qBAAqB,EACpB,MAAM,CACL;GACC,MAAM;GACN,OAAO,CAAC,EAAE,KAAK,sBAAsB,CAAC;EACvC,CACD,EACD,CAAC,GACD,iBAAiB,EAChB,iBAAiB,CAAC,aAAa,EAChC,CAAC,CACF,EACD;CACD;CACA,aAAa;EACZ,OAAO,EACN,QAAQ,CACP,qBAAqB,EACpB,WAAW,CAAC,eAAe,EAC5B,CAAC,CACF,EACD;CACD;AACD,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
//#region src/blocks/blockPrettier.d.ts
|
|
2
|
+
declare const blockPrettier: import("bingo-stratum").BlockWithAddons<{
|
|
3
|
+
overrides: {
|
|
4
|
+
options: {
|
|
5
|
+
parser: string;
|
|
6
|
+
};
|
|
7
|
+
files: string;
|
|
8
|
+
}[];
|
|
9
|
+
ignores: string[];
|
|
10
|
+
plugins: string[];
|
|
11
|
+
runBefore: string[];
|
|
12
|
+
}, {
|
|
13
|
+
access: "public" | "restricted";
|
|
14
|
+
description: string;
|
|
15
|
+
directory: string;
|
|
16
|
+
documentation: {
|
|
17
|
+
readme: {
|
|
18
|
+
additional?: string | undefined;
|
|
19
|
+
explainer?: string | undefined;
|
|
20
|
+
footnotes?: string | undefined;
|
|
21
|
+
usage?: string | undefined;
|
|
22
|
+
};
|
|
23
|
+
development?: string | undefined;
|
|
24
|
+
};
|
|
25
|
+
email: {
|
|
26
|
+
github: string;
|
|
27
|
+
npm: string;
|
|
28
|
+
};
|
|
29
|
+
title: string;
|
|
30
|
+
node: {
|
|
31
|
+
minimum: string;
|
|
32
|
+
pinned?: string | undefined;
|
|
33
|
+
};
|
|
34
|
+
owner: string;
|
|
35
|
+
repository: string;
|
|
36
|
+
type?: "commonjs" | "module" | undefined;
|
|
37
|
+
author?: string | undefined;
|
|
38
|
+
bin?: string | Record<string, string> | undefined;
|
|
39
|
+
contributors?: {
|
|
40
|
+
avatar_url: string;
|
|
41
|
+
contributions: string[];
|
|
42
|
+
login: string;
|
|
43
|
+
name: string;
|
|
44
|
+
profile: string;
|
|
45
|
+
}[] | undefined;
|
|
46
|
+
emoji?: string | undefined;
|
|
47
|
+
existingLabels?: {
|
|
48
|
+
name: string;
|
|
49
|
+
description: string;
|
|
50
|
+
color: string;
|
|
51
|
+
}[] | undefined;
|
|
52
|
+
funding?: string | undefined;
|
|
53
|
+
guide?: {
|
|
54
|
+
href: string;
|
|
55
|
+
title: string;
|
|
56
|
+
} | undefined;
|
|
57
|
+
keywords?: string[] | undefined;
|
|
58
|
+
logo?: {
|
|
59
|
+
alt: string;
|
|
60
|
+
src: string;
|
|
61
|
+
height?: number | undefined;
|
|
62
|
+
width?: number | undefined;
|
|
63
|
+
} | undefined;
|
|
64
|
+
packageData?: {
|
|
65
|
+
dependencies?: Record<string, string> | undefined;
|
|
66
|
+
devDependencies?: Record<string, string> | undefined;
|
|
67
|
+
peerDependencies?: Record<string, string> | undefined;
|
|
68
|
+
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
69
|
+
scripts?: Record<string, string | undefined> | undefined;
|
|
70
|
+
} | undefined;
|
|
71
|
+
pnpm?: string | undefined;
|
|
72
|
+
rulesetId?: string | undefined;
|
|
73
|
+
version?: string | undefined;
|
|
74
|
+
words?: string[] | undefined;
|
|
75
|
+
workflowsVersions?: Record<string, Record<string, {
|
|
76
|
+
hash?: string | undefined;
|
|
77
|
+
pinned?: boolean | undefined;
|
|
78
|
+
}>> | undefined;
|
|
79
|
+
}>;
|
|
80
|
+
//#endregion
|
|
81
|
+
export { blockPrettier };
|
|
82
|
+
//# sourceMappingURL=blockPrettier.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockPrettier.d.ts","names":[],"sources":["../../src/blocks/blockPrettier.ts"],"mappings":";cAea,uCAAa"}
|
|
@@ -11,7 +11,6 @@ import { blockCSpell } from "./blockCSpell.js";
|
|
|
11
11
|
import { blockRemoveDependencies } from "./blockRemoveDependencies.js";
|
|
12
12
|
import { formatIgnoreFile } from "./files/formatIgnoreFile.js";
|
|
13
13
|
import { z } from "zod";
|
|
14
|
-
|
|
15
14
|
//#region src/blocks/blockPrettier.ts
|
|
16
15
|
const blockPrettier = base.createBlock({
|
|
17
16
|
about: { name: "Prettier" },
|
|
@@ -92,6 +91,7 @@ pnpm format --write
|
|
|
92
91
|
] };
|
|
93
92
|
}
|
|
94
93
|
});
|
|
95
|
-
|
|
96
94
|
//#endregion
|
|
97
|
-
export { blockPrettier };
|
|
95
|
+
export { blockPrettier };
|
|
96
|
+
|
|
97
|
+
//# sourceMappingURL=blockPrettier.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockPrettier.js","names":[],"sources":["../../src/blocks/blockPrettier.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { getPackageDependencies } from \"../data/packageData.js\";\nimport { blockCSpell } from \"./blockCSpell.js\";\nimport { blockDevelopmentDocs } from \"./blockDevelopmentDocs.js\";\nimport { blockGitHubActionsCI } from \"./blockGitHubActionsCI.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockRemoveDependencies } from \"./blockRemoveDependencies.js\";\nimport { blockRemoveFiles } from \"./blockRemoveFiles.js\";\nimport { blockRemoveWorkflows } from \"./blockRemoveWorkflows.js\";\nimport { blockVSCode } from \"./blockVSCode.js\";\nimport { formatIgnoreFile } from \"./files/formatIgnoreFile.js\";\nimport { CommandPhase } from \"./phases.js\";\n\nexport const blockPrettier = base.createBlock({\n\tabout: {\n\t\tname: \"Prettier\",\n\t},\n\taddons: {\n\t\tignores: z.array(z.string()).default([]),\n\t\toverrides: z\n\t\t\t.array(\n\t\t\t\tz.object({\n\t\t\t\t\tfiles: z.string(),\n\t\t\t\t\toptions: z.object({\n\t\t\t\t\t\tparser: z.string(),\n\t\t\t\t\t}),\n\t\t\t\t}),\n\t\t\t)\n\t\t\t.default([]),\n\t\tplugins: z.array(z.string()).default([]),\n\t\trunBefore: z.array(z.string()).default([]),\n\t},\n\tproduce({ addons }) {\n\t\tconst { ignores, overrides, plugins, runBefore } = addons;\n\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockCSpell({\n\t\t\t\t\tignorePaths: [\".all-contributorsrc\"],\n\t\t\t\t}),\n\t\t\t\tblockDevelopmentDocs({\n\t\t\t\t\tsections: {\n\t\t\t\t\t\tFormatting: {\n\t\t\t\t\t\t\tcontents: `\n[Prettier](https://prettier.io) is used to format code.\nIt should be applied automatically when you save files in VS Code or make a Git commit.\n\nTo manually reformat all files, you can run:\n\n\\`\\`\\`shell\npnpm format --write\n\\`\\`\\`\n`,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockGitHubActionsCI({\n\t\t\t\t\tjobs: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: \"Format Check\",\n\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t...runBefore.map((run) => ({ run })),\n\t\t\t\t\t\t\t\t{ run: \"pnpm format --list-different\" },\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockPackageJson({\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\tdevDependencies: getPackageDependencies(\n\t\t\t\t\t\t\t...plugins.filter((plugin) => !plugin.startsWith(\".\")),\n\t\t\t\t\t\t\t\"husky\",\n\t\t\t\t\t\t\t\"lint-staged\",\n\t\t\t\t\t\t\t\"prettier\",\n\t\t\t\t\t\t),\n\t\t\t\t\t\t\"lint-staged\": {\n\t\t\t\t\t\t\t\"*\": \"prettier --ignore-unknown --write\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\tscripts: {\n\t\t\t\t\t\t\tformat: \"prettier .\",\n\t\t\t\t\t\t\tprepare: \"husky\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockVSCode({\n\t\t\t\t\textensions: [\"esbenp.prettier-vscode\"],\n\t\t\t\t\tsettings: { \"editor.defaultFormatter\": \"esbenp.prettier-vscode\" },\n\t\t\t\t}),\n\t\t\t],\n\t\t\tfiles: {\n\t\t\t\t\".husky\": {\n\t\t\t\t\t\".gitignore\": \"_\\n\",\n\t\t\t\t\t\"pre-commit\": [\"npx lint-staged\\n\", { executable: true }],\n\t\t\t\t},\n\t\t\t\t\".prettierignore\": formatIgnoreFile(\n\t\t\t\t\t[\"/.husky\", \"/lib\", \"/pnpm-lock.yaml\", ...ignores].sort(),\n\t\t\t\t),\n\t\t\t\t\".prettierrc.json\": JSON.stringify({\n\t\t\t\t\t$schema: \"http://json.schemastore.org/prettierrc\",\n\t\t\t\t\t...(overrides.length && { overrides: overrides.sort() }),\n\t\t\t\t\t...(plugins.length && { plugins: plugins.sort() }),\n\t\t\t\t\tuseTabs: true,\n\t\t\t\t}),\n\t\t\t},\n\t\t\tscripts: [\n\t\t\t\t{\n\t\t\t\t\tcommands: [...runBefore, \"pnpm format --write\"],\n\t\t\t\t\tphase: CommandPhase.Format,\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t},\n\ttransition() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockRemoveDependencies({\n\t\t\t\t\tdependencies: [\"eslint-config-prettier\", \"eslint-plugin-prettier\"],\n\t\t\t\t}),\n\t\t\t\tblockRemoveFiles({\n\t\t\t\t\tfiles: [\n\t\t\t\t\t\t\".prettierrc\",\n\t\t\t\t\t\t\".prettierrc.{c*,js,m*,t*}\",\n\t\t\t\t\t\t\"prettier.config*\",\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockRemoveWorkflows({\n\t\t\t\t\tworkflows: [\"format\", \"prettier\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;;;;;;;;AAeA,MAAa,gBAAgB,KAAK,YAAY;CAC7C,OAAO,EACN,MAAM,WACP;CACA,QAAQ;EACP,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;EACvC,WAAW,EACT,MACA,EAAE,OAAO;GACR,OAAO,EAAE,OAAO;GAChB,SAAS,EAAE,OAAO,EACjB,QAAQ,EAAE,OAAO,EAClB,CAAC;EACF,CAAC,CACF,CAAC,CACA,QAAQ,CAAC,CAAC;EACZ,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;EACvC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;CAC1C;CACA,QAAQ,EAAE,UAAU;EACnB,MAAM,EAAE,SAAS,WAAW,SAAS,cAAc;EAEnD,OAAO;GACN,QAAQ;IACP,YAAY,EACX,aAAa,CAAC,qBAAqB,EACpC,CAAC;IACD,qBAAqB,EACpB,UAAU,EACT,YAAY,EACX,UAAU;;;;;;;;;EAUX,EACD,EACD,CAAC;IACD,qBAAqB,EACpB,MAAM,CACL;KACC,MAAM;KACN,OAAO,CACN,GAAG,UAAU,KAAK,SAAS,EAAE,IAAI,EAAE,GACnC,EAAE,KAAK,+BAA+B,CACvC;IACD,CACD,EACD,CAAC;IACD,iBAAiB,EAChB,YAAY;KACX,iBAAiB,uBAChB,GAAG,QAAQ,QAAQ,WAAW,CAAC,OAAO,WAAW,GAAG,CAAC,GACrD,SACA,eACA,UACD;KACA,eAAe,EACd,KAAK,oCACN;KACA,SAAS;MACR,QAAQ;MACR,SAAS;KACV;IACD,EACD,CAAC;IACD,YAAY;KACX,YAAY,CAAC,wBAAwB;KACrC,UAAU,EAAE,2BAA2B,yBAAyB;IACjE,CAAC;GACF;GACA,OAAO;IACN,UAAU;KACT,cAAc;KACd,cAAc,CAAC,qBAAqB,EAAE,YAAY,KAAK,CAAC;IACzD;IACA,mBAAmB,iBAClB;KAAC;KAAW;KAAQ;KAAmB,GAAG;IAAO,CAAC,CAAC,KAAK,CACzD;IACA,oBAAoB,KAAK,UAAU;KAClC,SAAS;KACT,GAAI,UAAU,UAAU,EAAE,WAAW,UAAU,KAAK,EAAE;KACtD,GAAI,QAAQ,UAAU,EAAE,SAAS,QAAQ,KAAK,EAAE;KAChD,SAAS;IACV,CAAC;GACF;GACA,SAAS,CACR;IACC,UAAU,CAAC,GAAG,WAAW,qBAAqB;IAC9C,OAAO,aAAa;GACrB,CACD;EACD;CACD;CACA,aAAa;EACZ,OAAO,EACN,QAAQ;GACP,wBAAwB,EACvB,cAAc,CAAC,0BAA0B,wBAAwB,EAClE,CAAC;GACD,iBAAiB,EAChB,OAAO;IACN;IACA;IACA;GACD,EACD,CAAC;GACD,qBAAqB,EACpB,WAAW,CAAC,UAAU,UAAU,EACjC,CAAC;EACF,EACD;CACD;AACD,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
//#region src/blocks/blockPrettierPluginCurly.d.ts
|
|
2
|
+
declare const blockPrettierPluginCurly: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
|
+
access: "public" | "restricted";
|
|
4
|
+
description: string;
|
|
5
|
+
directory: string;
|
|
6
|
+
documentation: {
|
|
7
|
+
readme: {
|
|
8
|
+
additional?: string | undefined;
|
|
9
|
+
explainer?: string | undefined;
|
|
10
|
+
footnotes?: string | undefined;
|
|
11
|
+
usage?: string | undefined;
|
|
12
|
+
};
|
|
13
|
+
development?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
email: {
|
|
16
|
+
github: string;
|
|
17
|
+
npm: string;
|
|
18
|
+
};
|
|
19
|
+
title: string;
|
|
20
|
+
node: {
|
|
21
|
+
minimum: string;
|
|
22
|
+
pinned?: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
owner: string;
|
|
25
|
+
repository: string;
|
|
26
|
+
type?: "commonjs" | "module" | undefined;
|
|
27
|
+
author?: string | undefined;
|
|
28
|
+
bin?: string | Record<string, string> | undefined;
|
|
29
|
+
contributors?: {
|
|
30
|
+
avatar_url: string;
|
|
31
|
+
contributions: string[];
|
|
32
|
+
login: string;
|
|
33
|
+
name: string;
|
|
34
|
+
profile: string;
|
|
35
|
+
}[] | undefined;
|
|
36
|
+
emoji?: string | undefined;
|
|
37
|
+
existingLabels?: {
|
|
38
|
+
name: string;
|
|
39
|
+
description: string;
|
|
40
|
+
color: string;
|
|
41
|
+
}[] | undefined;
|
|
42
|
+
funding?: string | undefined;
|
|
43
|
+
guide?: {
|
|
44
|
+
href: string;
|
|
45
|
+
title: string;
|
|
46
|
+
} | undefined;
|
|
47
|
+
keywords?: string[] | undefined;
|
|
48
|
+
logo?: {
|
|
49
|
+
alt: string;
|
|
50
|
+
src: string;
|
|
51
|
+
height?: number | undefined;
|
|
52
|
+
width?: number | undefined;
|
|
53
|
+
} | undefined;
|
|
54
|
+
packageData?: {
|
|
55
|
+
dependencies?: Record<string, string> | undefined;
|
|
56
|
+
devDependencies?: Record<string, string> | undefined;
|
|
57
|
+
peerDependencies?: Record<string, string> | undefined;
|
|
58
|
+
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
59
|
+
scripts?: Record<string, string | undefined> | undefined;
|
|
60
|
+
} | undefined;
|
|
61
|
+
pnpm?: string | undefined;
|
|
62
|
+
rulesetId?: string | undefined;
|
|
63
|
+
version?: string | undefined;
|
|
64
|
+
words?: string[] | undefined;
|
|
65
|
+
workflowsVersions?: Record<string, Record<string, {
|
|
66
|
+
hash?: string | undefined;
|
|
67
|
+
pinned?: boolean | undefined;
|
|
68
|
+
}>> | undefined;
|
|
69
|
+
}>;
|
|
70
|
+
//#endregion
|
|
71
|
+
export { blockPrettierPluginCurly };
|
|
72
|
+
//# sourceMappingURL=blockPrettierPluginCurly.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockPrettierPluginCurly.d.ts","names":[],"sources":["../../src/blocks/blockPrettierPluginCurly.ts"],"mappings":";cAGa,kDAAwB"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { base } from "../base.js";
|
|
2
2
|
import { blockPrettier } from "./blockPrettier.js";
|
|
3
|
-
|
|
4
3
|
//#region src/blocks/blockPrettierPluginCurly.ts
|
|
5
4
|
const blockPrettierPluginCurly = base.createBlock({
|
|
6
5
|
about: { name: "Prettier Plugin Curly" },
|
|
@@ -8,6 +7,7 @@ const blockPrettierPluginCurly = base.createBlock({
|
|
|
8
7
|
return { addons: [blockPrettier({ plugins: ["prettier-plugin-curly"] })] };
|
|
9
8
|
}
|
|
10
9
|
});
|
|
11
|
-
|
|
12
10
|
//#endregion
|
|
13
|
-
export { blockPrettierPluginCurly };
|
|
11
|
+
export { blockPrettierPluginCurly };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=blockPrettierPluginCurly.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockPrettierPluginCurly.js","names":[],"sources":["../../src/blocks/blockPrettierPluginCurly.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockPrettier } from \"./blockPrettier.js\";\n\nexport const blockPrettierPluginCurly = base.createBlock({\n\tabout: {\n\t\tname: \"Prettier Plugin Curly\",\n\t},\n\tproduce() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockPrettier({\n\t\t\t\t\tplugins: [\"prettier-plugin-curly\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;AAGA,MAAa,2BAA2B,KAAK,YAAY;CACxD,OAAO,EACN,MAAM,wBACP;CACA,UAAU;EACT,OAAO,EACN,QAAQ,CACP,cAAc,EACb,SAAS,CAAC,uBAAuB,EAClC,CAAC,CACF,EACD;CACD;AACD,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
//#region src/blocks/blockPrettierPluginPackageJson.d.ts
|
|
2
|
+
declare const blockPrettierPluginPackageJson: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
|
+
access: "public" | "restricted";
|
|
4
|
+
description: string;
|
|
5
|
+
directory: string;
|
|
6
|
+
documentation: {
|
|
7
|
+
readme: {
|
|
8
|
+
additional?: string | undefined;
|
|
9
|
+
explainer?: string | undefined;
|
|
10
|
+
footnotes?: string | undefined;
|
|
11
|
+
usage?: string | undefined;
|
|
12
|
+
};
|
|
13
|
+
development?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
email: {
|
|
16
|
+
github: string;
|
|
17
|
+
npm: string;
|
|
18
|
+
};
|
|
19
|
+
title: string;
|
|
20
|
+
node: {
|
|
21
|
+
minimum: string;
|
|
22
|
+
pinned?: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
owner: string;
|
|
25
|
+
repository: string;
|
|
26
|
+
type?: "commonjs" | "module" | undefined;
|
|
27
|
+
author?: string | undefined;
|
|
28
|
+
bin?: string | Record<string, string> | undefined;
|
|
29
|
+
contributors?: {
|
|
30
|
+
avatar_url: string;
|
|
31
|
+
contributions: string[];
|
|
32
|
+
login: string;
|
|
33
|
+
name: string;
|
|
34
|
+
profile: string;
|
|
35
|
+
}[] | undefined;
|
|
36
|
+
emoji?: string | undefined;
|
|
37
|
+
existingLabels?: {
|
|
38
|
+
name: string;
|
|
39
|
+
description: string;
|
|
40
|
+
color: string;
|
|
41
|
+
}[] | undefined;
|
|
42
|
+
funding?: string | undefined;
|
|
43
|
+
guide?: {
|
|
44
|
+
href: string;
|
|
45
|
+
title: string;
|
|
46
|
+
} | undefined;
|
|
47
|
+
keywords?: string[] | undefined;
|
|
48
|
+
logo?: {
|
|
49
|
+
alt: string;
|
|
50
|
+
src: string;
|
|
51
|
+
height?: number | undefined;
|
|
52
|
+
width?: number | undefined;
|
|
53
|
+
} | undefined;
|
|
54
|
+
packageData?: {
|
|
55
|
+
dependencies?: Record<string, string> | undefined;
|
|
56
|
+
devDependencies?: Record<string, string> | undefined;
|
|
57
|
+
peerDependencies?: Record<string, string> | undefined;
|
|
58
|
+
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
59
|
+
scripts?: Record<string, string | undefined> | undefined;
|
|
60
|
+
} | undefined;
|
|
61
|
+
pnpm?: string | undefined;
|
|
62
|
+
rulesetId?: string | undefined;
|
|
63
|
+
version?: string | undefined;
|
|
64
|
+
words?: string[] | undefined;
|
|
65
|
+
workflowsVersions?: Record<string, Record<string, {
|
|
66
|
+
hash?: string | undefined;
|
|
67
|
+
pinned?: boolean | undefined;
|
|
68
|
+
}>> | undefined;
|
|
69
|
+
}>;
|
|
70
|
+
//#endregion
|
|
71
|
+
export { blockPrettierPluginPackageJson };
|
|
72
|
+
//# sourceMappingURL=blockPrettierPluginPackageJson.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockPrettierPluginPackageJson.d.ts","names":[],"sources":["../../src/blocks/blockPrettierPluginPackageJson.ts"],"mappings":";cAGa,wDAA8B"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { base } from "../base.js";
|
|
2
2
|
import { blockPrettier } from "./blockPrettier.js";
|
|
3
|
-
|
|
4
3
|
//#region src/blocks/blockPrettierPluginPackageJson.ts
|
|
5
4
|
const blockPrettierPluginPackageJson = base.createBlock({
|
|
6
5
|
about: { name: "Prettier Plugin Package JSON" },
|
|
@@ -8,6 +7,7 @@ const blockPrettierPluginPackageJson = base.createBlock({
|
|
|
8
7
|
return { addons: [blockPrettier({ plugins: ["prettier-plugin-packagejson"] })] };
|
|
9
8
|
}
|
|
10
9
|
});
|
|
11
|
-
|
|
12
10
|
//#endregion
|
|
13
|
-
export { blockPrettierPluginPackageJson };
|
|
11
|
+
export { blockPrettierPluginPackageJson };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=blockPrettierPluginPackageJson.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockPrettierPluginPackageJson.js","names":[],"sources":["../../src/blocks/blockPrettierPluginPackageJson.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockPrettier } from \"./blockPrettier.js\";\n\nexport const blockPrettierPluginPackageJson = base.createBlock({\n\tabout: {\n\t\tname: \"Prettier Plugin Package JSON\",\n\t},\n\tproduce() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockPrettier({\n\t\t\t\t\tplugins: [\"prettier-plugin-packagejson\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;AAGA,MAAa,iCAAiC,KAAK,YAAY;CAC9D,OAAO,EACN,MAAM,+BACP;CACA,UAAU;EACT,OAAO,EACN,QAAQ,CACP,cAAc,EACb,SAAS,CAAC,6BAA6B,EACxC,CAAC,CACF,EACD;CACD;AACD,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
//#region src/blocks/blockPrettierPluginSentencesPerLine.d.ts
|
|
2
|
+
declare const blockPrettierPluginSentencesPerLine: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
|
+
access: "public" | "restricted";
|
|
4
|
+
description: string;
|
|
5
|
+
directory: string;
|
|
6
|
+
documentation: {
|
|
7
|
+
readme: {
|
|
8
|
+
additional?: string | undefined;
|
|
9
|
+
explainer?: string | undefined;
|
|
10
|
+
footnotes?: string | undefined;
|
|
11
|
+
usage?: string | undefined;
|
|
12
|
+
};
|
|
13
|
+
development?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
email: {
|
|
16
|
+
github: string;
|
|
17
|
+
npm: string;
|
|
18
|
+
};
|
|
19
|
+
title: string;
|
|
20
|
+
node: {
|
|
21
|
+
minimum: string;
|
|
22
|
+
pinned?: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
owner: string;
|
|
25
|
+
repository: string;
|
|
26
|
+
type?: "commonjs" | "module" | undefined;
|
|
27
|
+
author?: string | undefined;
|
|
28
|
+
bin?: string | Record<string, string> | undefined;
|
|
29
|
+
contributors?: {
|
|
30
|
+
avatar_url: string;
|
|
31
|
+
contributions: string[];
|
|
32
|
+
login: string;
|
|
33
|
+
name: string;
|
|
34
|
+
profile: string;
|
|
35
|
+
}[] | undefined;
|
|
36
|
+
emoji?: string | undefined;
|
|
37
|
+
existingLabels?: {
|
|
38
|
+
name: string;
|
|
39
|
+
description: string;
|
|
40
|
+
color: string;
|
|
41
|
+
}[] | undefined;
|
|
42
|
+
funding?: string | undefined;
|
|
43
|
+
guide?: {
|
|
44
|
+
href: string;
|
|
45
|
+
title: string;
|
|
46
|
+
} | undefined;
|
|
47
|
+
keywords?: string[] | undefined;
|
|
48
|
+
logo?: {
|
|
49
|
+
alt: string;
|
|
50
|
+
src: string;
|
|
51
|
+
height?: number | undefined;
|
|
52
|
+
width?: number | undefined;
|
|
53
|
+
} | undefined;
|
|
54
|
+
packageData?: {
|
|
55
|
+
dependencies?: Record<string, string> | undefined;
|
|
56
|
+
devDependencies?: Record<string, string> | undefined;
|
|
57
|
+
peerDependencies?: Record<string, string> | undefined;
|
|
58
|
+
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
59
|
+
scripts?: Record<string, string | undefined> | undefined;
|
|
60
|
+
} | undefined;
|
|
61
|
+
pnpm?: string | undefined;
|
|
62
|
+
rulesetId?: string | undefined;
|
|
63
|
+
version?: string | undefined;
|
|
64
|
+
words?: string[] | undefined;
|
|
65
|
+
workflowsVersions?: Record<string, Record<string, {
|
|
66
|
+
hash?: string | undefined;
|
|
67
|
+
pinned?: boolean | undefined;
|
|
68
|
+
}>> | undefined;
|
|
69
|
+
}>;
|
|
70
|
+
//#endregion
|
|
71
|
+
export { blockPrettierPluginSentencesPerLine };
|
|
72
|
+
//# sourceMappingURL=blockPrettierPluginSentencesPerLine.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockPrettierPluginSentencesPerLine.d.ts","names":[],"sources":["../../src/blocks/blockPrettierPluginSentencesPerLine.ts"],"mappings":";cAGa,6DAAmC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { base } from "../base.js";
|
|
2
2
|
import { blockPrettier } from "./blockPrettier.js";
|
|
3
|
-
|
|
4
3
|
//#region src/blocks/blockPrettierPluginSentencesPerLine.ts
|
|
5
4
|
const blockPrettierPluginSentencesPerLine = base.createBlock({
|
|
6
5
|
about: { name: "Prettier Plugin Sentences Per Line" },
|
|
@@ -8,6 +7,7 @@ const blockPrettierPluginSentencesPerLine = base.createBlock({
|
|
|
8
7
|
return { addons: [blockPrettier({ plugins: ["prettier-plugin-sentences-per-line"] })] };
|
|
9
8
|
}
|
|
10
9
|
});
|
|
11
|
-
|
|
12
10
|
//#endregion
|
|
13
|
-
export { blockPrettierPluginSentencesPerLine };
|
|
11
|
+
export { blockPrettierPluginSentencesPerLine };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=blockPrettierPluginSentencesPerLine.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockPrettierPluginSentencesPerLine.js","names":[],"sources":["../../src/blocks/blockPrettierPluginSentencesPerLine.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockPrettier } from \"./blockPrettier.js\";\n\nexport const blockPrettierPluginSentencesPerLine = base.createBlock({\n\tabout: {\n\t\tname: \"Prettier Plugin Sentences Per Line\",\n\t},\n\tproduce() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockPrettier({\n\t\t\t\t\tplugins: [\"prettier-plugin-sentences-per-line\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;AAGA,MAAa,sCAAsC,KAAK,YAAY;CACnE,OAAO,EACN,MAAM,qCACP;CACA,UAAU;EACT,OAAO,EACN,QAAQ,CACP,cAAc,EACb,SAAS,CAAC,oCAAoC,EAC/C,CAAC,CACF,EACD;CACD;AACD,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
//#region src/blocks/blockPrettierPluginSh.d.ts
|
|
2
|
+
declare const blockPrettierPluginSh: import("bingo-stratum").BlockWithoutAddons<{
|
|
3
|
+
access: "public" | "restricted";
|
|
4
|
+
description: string;
|
|
5
|
+
directory: string;
|
|
6
|
+
documentation: {
|
|
7
|
+
readme: {
|
|
8
|
+
additional?: string | undefined;
|
|
9
|
+
explainer?: string | undefined;
|
|
10
|
+
footnotes?: string | undefined;
|
|
11
|
+
usage?: string | undefined;
|
|
12
|
+
};
|
|
13
|
+
development?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
email: {
|
|
16
|
+
github: string;
|
|
17
|
+
npm: string;
|
|
18
|
+
};
|
|
19
|
+
title: string;
|
|
20
|
+
node: {
|
|
21
|
+
minimum: string;
|
|
22
|
+
pinned?: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
owner: string;
|
|
25
|
+
repository: string;
|
|
26
|
+
type?: "commonjs" | "module" | undefined;
|
|
27
|
+
author?: string | undefined;
|
|
28
|
+
bin?: string | Record<string, string> | undefined;
|
|
29
|
+
contributors?: {
|
|
30
|
+
avatar_url: string;
|
|
31
|
+
contributions: string[];
|
|
32
|
+
login: string;
|
|
33
|
+
name: string;
|
|
34
|
+
profile: string;
|
|
35
|
+
}[] | undefined;
|
|
36
|
+
emoji?: string | undefined;
|
|
37
|
+
existingLabels?: {
|
|
38
|
+
name: string;
|
|
39
|
+
description: string;
|
|
40
|
+
color: string;
|
|
41
|
+
}[] | undefined;
|
|
42
|
+
funding?: string | undefined;
|
|
43
|
+
guide?: {
|
|
44
|
+
href: string;
|
|
45
|
+
title: string;
|
|
46
|
+
} | undefined;
|
|
47
|
+
keywords?: string[] | undefined;
|
|
48
|
+
logo?: {
|
|
49
|
+
alt: string;
|
|
50
|
+
src: string;
|
|
51
|
+
height?: number | undefined;
|
|
52
|
+
width?: number | undefined;
|
|
53
|
+
} | undefined;
|
|
54
|
+
packageData?: {
|
|
55
|
+
dependencies?: Record<string, string> | undefined;
|
|
56
|
+
devDependencies?: Record<string, string> | undefined;
|
|
57
|
+
peerDependencies?: Record<string, string> | undefined;
|
|
58
|
+
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
59
|
+
scripts?: Record<string, string | undefined> | undefined;
|
|
60
|
+
} | undefined;
|
|
61
|
+
pnpm?: string | undefined;
|
|
62
|
+
rulesetId?: string | undefined;
|
|
63
|
+
version?: string | undefined;
|
|
64
|
+
words?: string[] | undefined;
|
|
65
|
+
workflowsVersions?: Record<string, Record<string, {
|
|
66
|
+
hash?: string | undefined;
|
|
67
|
+
pinned?: boolean | undefined;
|
|
68
|
+
}>> | undefined;
|
|
69
|
+
}>;
|
|
70
|
+
//#endregion
|
|
71
|
+
export { blockPrettierPluginSh };
|
|
72
|
+
//# sourceMappingURL=blockPrettierPluginSh.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockPrettierPluginSh.d.ts","names":[],"sources":["../../src/blocks/blockPrettierPluginSh.ts"],"mappings":";cAGa,+CAAqB"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { base } from "../base.js";
|
|
2
2
|
import { blockPrettier } from "./blockPrettier.js";
|
|
3
|
-
|
|
4
3
|
//#region src/blocks/blockPrettierPluginSh.ts
|
|
5
4
|
const blockPrettierPluginSh = base.createBlock({
|
|
6
5
|
about: { name: "Prettier Plugin Sh" },
|
|
@@ -8,6 +7,7 @@ const blockPrettierPluginSh = base.createBlock({
|
|
|
8
7
|
return { addons: [blockPrettier({ plugins: ["prettier-plugin-sh"] })] };
|
|
9
8
|
}
|
|
10
9
|
});
|
|
11
|
-
|
|
12
10
|
//#endregion
|
|
13
|
-
export { blockPrettierPluginSh };
|
|
11
|
+
export { blockPrettierPluginSh };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=blockPrettierPluginSh.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockPrettierPluginSh.js","names":[],"sources":["../../src/blocks/blockPrettierPluginSh.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { blockPrettier } from \"./blockPrettier.js\";\n\nexport const blockPrettierPluginSh = base.createBlock({\n\tabout: {\n\t\tname: \"Prettier Plugin Sh\",\n\t},\n\tproduce() {\n\t\treturn {\n\t\t\taddons: [\n\t\t\t\tblockPrettier({\n\t\t\t\t\tplugins: [\"prettier-plugin-sh\"],\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;AAGA,MAAa,wBAAwB,KAAK,YAAY;CACrD,OAAO,EACN,MAAM,qBACP;CACA,UAAU;EACT,OAAO,EACN,QAAQ,CACP,cAAc,EACb,SAAS,CAAC,oBAAoB,EAC/B,CAAC,CACF,EACD;CACD;AACD,CAAC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
//#region src/blocks/blockREADME.d.ts
|
|
2
|
+
declare const blockREADME: import("bingo-stratum").BlockWithAddons<{
|
|
3
|
+
badges: {
|
|
4
|
+
alt: string;
|
|
5
|
+
src: string;
|
|
6
|
+
href?: string | undefined;
|
|
7
|
+
comments?: {
|
|
8
|
+
before: string;
|
|
9
|
+
after: string;
|
|
10
|
+
} | undefined;
|
|
11
|
+
}[];
|
|
12
|
+
defaultUsage: string[];
|
|
13
|
+
notices: string[];
|
|
14
|
+
sections: string[];
|
|
15
|
+
}, {
|
|
16
|
+
access: "public" | "restricted";
|
|
17
|
+
description: string;
|
|
18
|
+
directory: string;
|
|
19
|
+
documentation: {
|
|
20
|
+
readme: {
|
|
21
|
+
additional?: string | undefined;
|
|
22
|
+
explainer?: string | undefined;
|
|
23
|
+
footnotes?: string | undefined;
|
|
24
|
+
usage?: string | undefined;
|
|
25
|
+
};
|
|
26
|
+
development?: string | undefined;
|
|
27
|
+
};
|
|
28
|
+
email: {
|
|
29
|
+
github: string;
|
|
30
|
+
npm: string;
|
|
31
|
+
};
|
|
32
|
+
title: string;
|
|
33
|
+
node: {
|
|
34
|
+
minimum: string;
|
|
35
|
+
pinned?: string | undefined;
|
|
36
|
+
};
|
|
37
|
+
owner: string;
|
|
38
|
+
repository: string;
|
|
39
|
+
type?: "commonjs" | "module" | undefined;
|
|
40
|
+
author?: string | undefined;
|
|
41
|
+
bin?: string | Record<string, string> | undefined;
|
|
42
|
+
contributors?: {
|
|
43
|
+
avatar_url: string;
|
|
44
|
+
contributions: string[];
|
|
45
|
+
login: string;
|
|
46
|
+
name: string;
|
|
47
|
+
profile: string;
|
|
48
|
+
}[] | undefined;
|
|
49
|
+
emoji?: string | undefined;
|
|
50
|
+
existingLabels?: {
|
|
51
|
+
name: string;
|
|
52
|
+
description: string;
|
|
53
|
+
color: string;
|
|
54
|
+
}[] | undefined;
|
|
55
|
+
funding?: string | undefined;
|
|
56
|
+
guide?: {
|
|
57
|
+
href: string;
|
|
58
|
+
title: string;
|
|
59
|
+
} | undefined;
|
|
60
|
+
keywords?: string[] | undefined;
|
|
61
|
+
logo?: {
|
|
62
|
+
alt: string;
|
|
63
|
+
src: string;
|
|
64
|
+
height?: number | undefined;
|
|
65
|
+
width?: number | undefined;
|
|
66
|
+
} | undefined;
|
|
67
|
+
packageData?: {
|
|
68
|
+
dependencies?: Record<string, string> | undefined;
|
|
69
|
+
devDependencies?: Record<string, string> | undefined;
|
|
70
|
+
peerDependencies?: Record<string, string> | undefined;
|
|
71
|
+
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
72
|
+
scripts?: Record<string, string | undefined> | undefined;
|
|
73
|
+
} | undefined;
|
|
74
|
+
pnpm?: string | undefined;
|
|
75
|
+
rulesetId?: string | undefined;
|
|
76
|
+
version?: string | undefined;
|
|
77
|
+
words?: string[] | undefined;
|
|
78
|
+
workflowsVersions?: Record<string, Record<string, {
|
|
79
|
+
hash?: string | undefined;
|
|
80
|
+
pinned?: boolean | undefined;
|
|
81
|
+
}>> | undefined;
|
|
82
|
+
}>;
|
|
83
|
+
//#endregion
|
|
84
|
+
export { blockREADME };
|
|
85
|
+
//# sourceMappingURL=blockREADME.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockREADME.d.ts","names":[],"sources":["../../src/blocks/blockREADME.ts"],"mappings":";cAyBa,qCAAW"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { base } from "../base.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
|
|
4
3
|
//#region src/blocks/blockREADME.ts
|
|
5
4
|
function printAttributes(attributes) {
|
|
6
5
|
return Object.entries(attributes).map(([key, value]) => `${key}="${value}"`).sort().join(" ");
|
|
@@ -71,6 +70,7 @@ function formatDescription(description) {
|
|
|
71
70
|
function removeEmojis(text) {
|
|
72
71
|
return text.replaceAll(/\p{Emoji}/gu, "").trim();
|
|
73
72
|
}
|
|
74
|
-
|
|
75
73
|
//#endregion
|
|
76
|
-
export { blockREADME };
|
|
74
|
+
export { blockREADME };
|
|
75
|
+
|
|
76
|
+
//# sourceMappingURL=blockREADME.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockREADME.js","names":[],"sources":["../../src/blocks/blockREADME.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\n\nfunction printAttributes(attributes: Record<string, number | string>) {\n\treturn Object.entries(attributes)\n\t\t.map(([key, value]) => `${key}=\"${value}\"`)\n\t\t.sort()\n\t\t.join(\" \");\n}\n\nconst zBadge = z.object({\n\talt: z.string(),\n\tcomments: z\n\t\t.object({\n\t\t\tafter: z.string(),\n\t\t\tbefore: z.string(),\n\t\t})\n\t\t.optional(),\n\thref: z.string().optional(),\n\tsrc: z.string(),\n});\n\ntype Badge = z.infer<typeof zBadge>;\n\nexport const blockREADME = base.createBlock({\n\tabout: {\n\t\tname: \"README.md\",\n\t},\n\taddons: {\n\t\tbadges: z.array(zBadge).default([]),\n\t\tdefaultUsage: z.array(z.string()).default([]),\n\t\tnotices: z.array(z.string()).default([]),\n\t\tsections: z.array(z.string()).default([]),\n\t},\n\tproduce({ addons, options }) {\n\t\tconst { badges, defaultUsage, notices, sections } = addons;\n\n\t\tconst explainer =\n\t\t\toptions.documentation.readme.explainer &&\n\t\t\t`\\n${options.documentation.readme.explainer}\\n`;\n\n\t\tconst logo =\n\t\t\toptions.logo &&\n\t\t\t`\\n<img ${printAttributes({ align: \"right\", ...options.logo })}>\\n`;\n\n\t\tconst suffixes = [\n\t\t\t...notices,\n\t\t\toptions.documentation.readme.footnotes,\n\t\t].filter((suffix) => typeof suffix === \"string\");\n\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\"README.md\": `<h1 align=\"center\">${options.title}</h1>\n\n<p align=\"center\">${formatDescription(options.description)}</p>\n\n<p align=\"center\">\n${formatBadges(badges)}\n</p>\n${[logo, explainer].filter(Boolean).join(\"\")}\n## Usage\n\n${options.documentation.readme.usage ?? defaultUsage.join(\"\\n\\n\")}\n\n## Development\n\nSee [\\`.github/CONTRIBUTING.md\\`](./.github/CONTRIBUTING.md), then [\\`.github/DEVELOPMENT.md\\`](./.github/DEVELOPMENT.md).\nThanks! ${options.emoji}\n${[...sections, options.documentation.readme.additional]\n\t.filter(Boolean)\n\t.map((section) => `\\n${section}`)\n\t.join(\"\")}\n${suffixes.length ? `\\n${suffixes.map((suffix) => suffix.trim()).join(\"\\n\\n\")}` : \"\"}`,\n\t\t\t},\n\t\t};\n\t},\n});\n\nfunction badgeSorter(a: Badge, b: Badge) {\n\treturn removeEmojis(a.alt).localeCompare(removeEmojis(b.alt));\n}\n\nfunction formatBadge(badge: Badge) {\n\tconst image = `<img alt=\"${badge.alt}\" src=\"${badge.src}\" />`;\n\tconst tagged = badge.href\n\t\t? `<a href=\"${badge.href}\" target=\"_blank\">${image}</a>`\n\t\t: image;\n\tconst commented = badge.comments\n\t\t? `${badge.comments.before}${tagged}${badge.comments.after}`\n\t\t: tagged;\n\n\treturn `\\t${commented}`;\n}\n\nfunction formatBadges(badges: Badge[]) {\n\treturn [\n\t\t...badges,\n\t\t{\n\t\t\talt: \"💪 TypeScript: Strict\",\n\t\t\tsrc: \"https://img.shields.io/badge/%F0%9F%92%AA_typescript-strict-21bb42.svg\",\n\t\t},\n\t]\n\t\t.sort(badgeSorter)\n\t\t.map(formatBadge)\n\t\t.join(\"\\n\");\n}\n\nfunction formatDescription(description: string) {\n\tif (!description.includes(\". \")) {\n\t\treturn description;\n\t}\n\n\treturn \"\\n\\t\" + description.replaceAll(\". \", \".\\n\\t\") + \"\\n\";\n}\n\nfunction removeEmojis(text: string) {\n\treturn text.replaceAll(/\\p{Emoji}/gu, \"\").trim();\n}\n"],"mappings":";;;AAIA,SAAS,gBAAgB,YAA6C;CACrE,OAAO,OAAO,QAAQ,UAAU,CAAC,CAC/B,KAAK,CAAC,KAAK,WAAW,GAAG,IAAI,IAAI,MAAM,EAAE,CAAC,CAC1C,KAAK,CAAC,CACN,KAAK,GAAG;AACX;AAEA,MAAM,SAAS,EAAE,OAAO;CACvB,KAAK,EAAE,OAAO;CACd,UAAU,EACR,OAAO;EACP,OAAO,EAAE,OAAO;EAChB,QAAQ,EAAE,OAAO;CAClB,CAAC,CAAC,CACD,SAAS;CACX,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,KAAK,EAAE,OAAO;AACf,CAAC;AAID,MAAa,cAAc,KAAK,YAAY;CAC3C,OAAO,EACN,MAAM,YACP;CACA,QAAQ;EACP,QAAQ,EAAE,MAAM,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAC;EAClC,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;EAC5C,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;EACvC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;CACzC;CACA,QAAQ,EAAE,QAAQ,WAAW;EAC5B,MAAM,EAAE,QAAQ,cAAc,SAAS,aAAa;EAEpD,MAAM,YACL,QAAQ,cAAc,OAAO,aAC7B,KAAK,QAAQ,cAAc,OAAO,UAAU;EAE7C,MAAM,OACL,QAAQ,QACR,UAAU,gBAAgB;GAAE,OAAO;GAAS,GAAG,QAAQ;EAAK,CAAC,EAAE;EAEhE,MAAM,WAAW,CAChB,GAAG,SACH,QAAQ,cAAc,OAAO,SAC9B,CAAC,CAAC,QAAQ,WAAW,OAAO,WAAW,QAAQ;EAE/C,OAAO,EACN,OAAO,EACN,aAAa,sBAAsB,QAAQ,MAAM;;oBAEjC,kBAAkB,QAAQ,WAAW,EAAE;;;EAGzD,aAAa,MAAM,EAAE;;EAErB,CAAC,MAAM,SAAS,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE;;;EAG3C,QAAQ,cAAc,OAAO,SAAS,aAAa,KAAK,MAAM,EAAE;;;;;UAKxD,QAAQ,MAAM;EACtB,CAAC,GAAG,UAAU,QAAQ,cAAc,OAAO,UAAU,CAAC,CACtD,OAAO,OAAO,CAAC,CACf,KAAK,YAAY,KAAK,SAAS,CAAC,CAChC,KAAK,EAAE,EAAE;EACT,SAAS,SAAS,KAAK,SAAS,KAAK,WAAW,OAAO,KAAK,CAAC,CAAC,CAAC,KAAK,MAAM,MAAM,KAC/E,EACD;CACD;AACD,CAAC;AAED,SAAS,YAAY,GAAU,GAAU;CACxC,OAAO,aAAa,EAAE,GAAG,CAAC,CAAC,cAAc,aAAa,EAAE,GAAG,CAAC;AAC7D;AAEA,SAAS,YAAY,OAAc;CAClC,MAAM,QAAQ,aAAa,MAAM,IAAI,SAAS,MAAM,IAAI;CACxD,MAAM,SAAS,MAAM,OAClB,YAAY,MAAM,KAAK,oBAAoB,MAAM,QACjD;CAKH,OAAO,KAJW,MAAM,WACrB,GAAG,MAAM,SAAS,SAAS,SAAS,MAAM,SAAS,UACnD;AAGJ;AAEA,SAAS,aAAa,QAAiB;CACtC,OAAO,CACN,GAAG,QACH;EACC,KAAK;EACL,KAAK;CACN,CACD,CAAC,CACC,KAAK,WAAW,CAAC,CACjB,IAAI,WAAW,CAAC,CAChB,KAAK,IAAI;AACZ;AAEA,SAAS,kBAAkB,aAAqB;CAC/C,IAAI,CAAC,YAAY,SAAS,IAAI,GAC7B,OAAO;CAGR,OAAO,QAAS,YAAY,WAAW,MAAM,MAAO,IAAI;AACzD;AAEA,SAAS,aAAa,MAAc;CACnC,OAAO,KAAK,WAAW,eAAe,EAAE,CAAC,CAAC,KAAK;AAChD"}
|