create-typescript-app 2.58.0 → 2.59.0
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 +4 -1
- package/lib/base.d.ts +2 -2
- package/lib/base.d.ts.map +1 -1
- package/lib/blocks/blockAllContributors.d.ts +2 -2
- package/lib/blocks/blockAllContributors.d.ts.map +1 -1
- package/lib/blocks/blockAreTheTypesWrong.d.ts +2 -2
- package/lib/blocks/blockCSpell.d.ts +2 -2
- package/lib/blocks/blockCTATransitions.d.ts +2 -2
- package/lib/blocks/blockCodecov.d.ts +2 -2
- package/lib/blocks/blockCodecov.d.ts.map +1 -1
- package/lib/blocks/blockContributingDocs.d.ts +2 -2
- package/lib/blocks/blockContributingDocs.d.ts.map +1 -1
- package/lib/blocks/blockContributorCovenant.d.ts +2 -2
- package/lib/blocks/blockContributorCovenant.d.ts.map +1 -1
- package/lib/blocks/blockDevelopmentDocs.d.ts +3 -3
- package/lib/blocks/blockDevelopmentDocs.d.ts.map +1 -1
- package/lib/blocks/blockESLint.d.ts +6 -6
- package/lib/blocks/blockESLint.d.ts.map +1 -1
- package/lib/blocks/blockESLint.js +2 -2
- package/lib/blocks/blockESLint.js.map +1 -1
- package/lib/blocks/blockESLintComments.d.ts +2 -2
- package/lib/blocks/blockESLintComments.d.ts.map +1 -1
- package/lib/blocks/blockESLintJSDoc.d.ts +2 -2
- package/lib/blocks/blockESLintJSDoc.d.ts.map +1 -1
- package/lib/blocks/blockESLintJSONC.d.ts +2 -2
- package/lib/blocks/blockESLintJSONC.d.ts.map +1 -1
- package/lib/blocks/blockESLintMarkdown.d.ts +2 -2
- package/lib/blocks/blockESLintMarkdown.d.ts.map +1 -1
- package/lib/blocks/blockESLintMoreStyling.d.ts +2 -2
- package/lib/blocks/blockESLintMoreStyling.d.ts.map +1 -1
- package/lib/blocks/blockESLintNode.d.ts +2 -2
- package/lib/blocks/blockESLintNode.d.ts.map +1 -1
- package/lib/blocks/blockESLintPackageJson.d.ts +2 -2
- package/lib/blocks/blockESLintPackageJson.d.ts.map +1 -1
- package/lib/blocks/blockESLintPerfectionist.d.ts +2 -2
- package/lib/blocks/blockESLintPerfectionist.d.ts.map +1 -1
- package/lib/blocks/blockESLintPlugin.d.ts +2 -2
- package/lib/blocks/blockESLintRegexp.d.ts +2 -2
- package/lib/blocks/blockESLintRegexp.d.ts.map +1 -1
- package/lib/blocks/blockESLintYML.d.ts +2 -2
- package/lib/blocks/blockExampleFiles.d.ts +2 -2
- package/lib/blocks/blockFunding.d.ts +2 -2
- package/lib/blocks/blockFunding.d.ts.map +1 -1
- package/lib/blocks/blockGitHubActionsCI.d.ts +2 -2
- package/lib/blocks/blockGitHubApps.d.ts +2 -2
- package/lib/blocks/blockGitHubIssueTemplates.d.ts +2 -2
- package/lib/blocks/blockGitHubIssueTemplates.js +2 -2
- package/lib/blocks/blockGitHubIssueTemplates.js.map +1 -1
- package/lib/blocks/blockGitHubPRTemplate.d.ts +2 -2
- package/lib/blocks/blockGitignore.d.ts +2 -2
- package/lib/blocks/blockKnip.d.ts +2 -2
- package/lib/blocks/blockMITLicense.d.ts +2 -2
- package/lib/blocks/blockMain.d.ts +2 -2
- package/lib/blocks/blockNcc.d.ts +2 -2
- package/lib/blocks/blockNvmrc.d.ts +2 -2
- package/lib/blocks/blockOctoGuide.d.ts +2 -2
- package/lib/blocks/blockOctoGuideStrict.d.ts +2 -2
- package/lib/blocks/blockPackageJson.d.ts +5 -5
- package/lib/blocks/blockPnpmDedupe.d.ts +2 -2
- package/lib/blocks/blockPrettier.d.ts +3 -3
- package/lib/blocks/blockPrettier.d.ts.map +1 -1
- package/lib/blocks/blockPrettierPluginCurly.d.ts +2 -2
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts +2 -2
- package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts +2 -2
- package/lib/blocks/blockPrettierPluginSh.d.ts +2 -2
- package/lib/blocks/blockREADME.d.ts +3 -3
- package/lib/blocks/blockReleaseIt.d.ts +2 -2
- package/lib/blocks/blockReleaseIt.d.ts.map +1 -1
- package/lib/blocks/blockReleaseIt.js +5 -11
- package/lib/blocks/blockReleaseIt.js.map +1 -1
- package/lib/blocks/blockRemoveDependencies.d.ts +2 -2
- package/lib/blocks/blockRemoveFiles.d.ts +2 -2
- package/lib/blocks/blockRemoveWorkflows.d.ts +2 -2
- package/lib/blocks/blockRenovate.d.ts +2 -2
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts +2 -2
- package/lib/blocks/blockRepositoryLabels.d.ts +2 -2
- package/lib/blocks/blockRepositorySecrets.d.ts +2 -2
- package/lib/blocks/blockRepositorySettings.d.ts +2 -2
- package/lib/blocks/blockSecurityDocs.d.ts +2 -2
- package/lib/blocks/blockTSDown.d.ts +2 -2
- package/lib/blocks/blockTemplatedWith.d.ts +2 -2
- package/lib/blocks/blockTypeScript.d.ts +2 -2
- package/lib/blocks/blockVSCode.d.ts +3 -3
- package/lib/blocks/blockVSCode.d.ts.map +1 -1
- package/lib/blocks/blockVitest.d.ts +2 -2
- package/lib/blocks/blockWebExt.d.ts +2 -2
- package/lib/blocks/eslint/mergeAllExtensions.d.ts +2 -2
- package/lib/blocks/eslint/mergeAllExtensions.d.ts.map +1 -1
- package/lib/blocks/eslint/schemas.d.ts +4 -4
- package/lib/blocks/eslint/schemas.d.ts.map +1 -1
- package/lib/blocks/index.d.ts +60 -60
- package/lib/inputs/inputFromDirectory.d.ts +2 -2
- package/lib/inputs/inputFromOctokit.d.ts +2 -2
- package/lib/package.d.ts +1 -5
- package/lib/package.d.ts.map +1 -1
- package/lib/presets/common.d.ts +69 -69
- package/lib/presets/common.d.ts.map +1 -1
- package/lib/presets/everything.d.ts +69 -69
- package/lib/presets/index.d.ts +203 -203
- package/lib/presets/minimal.d.ts +69 -69
- package/lib/schemas.d.ts +6 -6
- package/lib/template.d.ts +67 -67
- package/package.json +6 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockGitHubIssueTemplates.js","names":[],"sources":["../../src/blocks/blockGitHubIssueTemplates.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { formatYaml } from \"./files/formatYaml.js\";\n\nexport const blockGitHubIssueTemplates = base.createBlock({\n\tabout: {\n\t\tname: \"GitHub Issue Templates\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\tISSUE_TEMPLATE: {\n\t\t\t\t\t\t\"01-bug.yaml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Bug Report Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have tried restarting my IDE and the issue persists.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have pulled the latest `main` branch of the repository.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What did you expect to happen?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Expected\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What happened instead?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Actual\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription: \"Report a bug trying to run the code\",\n\t\t\t\t\t\t\tlabels: [\"type: bug\"],\n\t\t\t\t\t\t\tname: \"🐛 Bug\",\n\t\t\t\t\t\t\ttitle: \"🐛 Bug: <short description of the bug>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"02-documentation.yaml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Documentation Report Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have looked at the latest `main` branch of the repository.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What would you like to report?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Overview\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription: \"Report a typo or missing area of documentation\",\n\t\t\t\t\t\t\tlabels: [\"area: documentation\"],\n\t\t\t\t\t\t\tname: \"📝 Documentation\",\n\t\t\t\t\t\t\ttitle: \"📝 Documentation: <short description of the request>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"03-feature.yaml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Feature Request Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have looked at the latest version of the project.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What did you expect to be able to do?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Overview\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\"Request that a new feature be added or an existing feature improved\",\n\t\t\t\t\t\t\tlabels: [\"type: feature\"],\n\t\t\t\t\t\t\tname: \"🚀 Feature\",\n\t\t\t\t\t\t\ttitle: \"🚀 Feature: <short description of the feature>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"04-tooling.yaml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Tooling Report Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have tried restarting my IDE and the issue persists.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have pulled the latest `main` branch of the repository.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What did you expect to be able to do?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Overview\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\"Report a bug or request an enhancement in repository tooling\",\n\t\t\t\t\t\t\tlabels: [\"area: tooling\"],\n\t\t\t\t\t\t\tname: \"🛠 Tooling\",\n\t\t\t\t\t\t\ttitle: \"🛠 Tooling: <short description of the change>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t},\n\t\t\t\t\t\"ISSUE_TEMPLATE.md\": `<!-- Note: Please must use one of our issue templates to file an issue! 🛑 -->\n<!-- 👉 https://github.com/${options.owner}/${options.repository}/issues/new/choose 👈 -->\n<!-- **Issues that should have been filed with a template will be closed without action, and we will ask you to use a template.** -->\n\n<!-- This blank issue template is only for issues that don't fit any of the templates. -->\n\n## Overview\n\n...\n`,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAGA,MAAa,4BAA4B,KAAK,YAAY;CACzD,OAAO,EACN,MAAM,0BACN;CACD,QAAQ,EAAE,WAAW;AACpB,SAAO,EACN,OAAO,EACN,WAAW;GACV,gBAAgB;IACf,eAAe,WAAW;KACzB,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS;SACR;UACC,OACC;UACD,UAAU;UACV;SACD;UACC,OACC;UACD,UAAU;UACV;SACD;UACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;UACtG,UAAU;UACV;SACD;QACD;OACD,MAAM;OACN;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN;MACD;KACD,aAAa;KACb,QAAQ,CAAC,YAAY;KACrB,MAAM;KACN,OAAO;KACP,CAAC;IACF,yBAAyB,WAAW;KACnC,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS,CACR;SACC,OACC;SACD,UAAU;SACV,EACD;SACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;SACtG,UAAU;SACV,CACD;QACD;OACD,MAAM;OACN;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN;MACD;KACD,aAAa;KACb,QAAQ,CAAC,sBAAsB;KAC/B,MAAM;KACN,OAAO;KACP,CAAC;IACF,mBAAmB,WAAW;KAC7B,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS,CACR;SACC,OACC;SACD,UAAU;SACV,EACD;SACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;SACtG,UAAU;SACV,CACD;QACD;OACD,MAAM;OACN;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN;MACD;KACD,aACC;KACD,QAAQ,CAAC,gBAAgB;KACzB,MAAM;KACN,OAAO;KACP,CAAC;IACF,mBAAmB,WAAW;KAC7B,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS;SACR;UACC,OACC;UACD,UAAU;UACV;SACD;UACC,OACC;UACD,UAAU;UACV;SACD;UACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;UACtG,UAAU;UACV;SACD;QACD;OACD,MAAM;OACN;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN;MACD;KACD,aACC;KACD,QAAQ,CAAC,gBAAgB;KACzB,MAAM;KACN,OAAO;KACP,CAAC;IACF;GACD,qBAAqB;6BACG,QAAQ,MAAM,GAAG,QAAQ,WAAW;;;;;;;;;GAS5D,EACD,EACD;;CAEF,CAAC"}
|
|
1
|
+
{"version":3,"file":"blockGitHubIssueTemplates.js","names":[],"sources":["../../src/blocks/blockGitHubIssueTemplates.ts"],"sourcesContent":["import { base } from \"../base.js\";\nimport { formatYaml } from \"./files/formatYaml.js\";\n\nexport const blockGitHubIssueTemplates = base.createBlock({\n\tabout: {\n\t\tname: \"GitHub Issue Templates\",\n\t},\n\tproduce({ options }) {\n\t\treturn {\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\tISSUE_TEMPLATE: {\n\t\t\t\t\t\t\"01-bug.yaml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Bug Report Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have tried restarting my IDE and the issue persists.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have pulled in the newest version of the project.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What did you expect to happen?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Expected\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What happened instead?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Actual\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription: \"Report a bug trying to run the code\",\n\t\t\t\t\t\t\tlabels: [\"type: bug\"],\n\t\t\t\t\t\t\tname: \"🐛 Bug\",\n\t\t\t\t\t\t\ttitle: \"🐛 Bug: <short description of the bug>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"02-documentation.yaml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Documentation Report Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have looked at the latest `main` branch of the repository.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What would you like to report?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Overview\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription: \"Report a typo or missing area of documentation\",\n\t\t\t\t\t\t\tlabels: [\"area: documentation\"],\n\t\t\t\t\t\t\tname: \"📝 Documentation\",\n\t\t\t\t\t\t\ttitle: \"📝 Documentation: <short description of the request>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"03-feature.yaml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Feature Request Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have looked at the latest version of the project.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What did you expect to be able to do?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Overview\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\"Request that a new feature be added or an existing feature improved\",\n\t\t\t\t\t\t\tlabels: [\"type: feature\"],\n\t\t\t\t\t\t\tname: \"🚀 Feature\",\n\t\t\t\t\t\t\ttitle: \"🚀 Feature: <short description of the feature>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"04-tooling.yaml\": formatYaml({\n\t\t\t\t\t\t\tbody: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\t\t\t\"If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Tooling Report Checklist\",\n\t\t\t\t\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have tried restarting my IDE and the issue persists.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"I have pulled in the newest version of the project.\",\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: `I have [searched for related issues](https://github.com/${options.owner}/${options.repository}/issues?q=is%3Aissue) and found none that matched my issue.`,\n\t\t\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"checkboxes\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"What did you expect to be able to do?\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Overview\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t\tvalidations: {\n\t\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tattributes: {\n\t\t\t\t\t\t\t\t\t\tdescription: \"Any additional info you'd like to provide.\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Additional Info\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttype: \"textarea\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tdescription:\n\t\t\t\t\t\t\t\t\"Report a bug or request an enhancement in repository tooling\",\n\t\t\t\t\t\t\tlabels: [\"area: tooling\"],\n\t\t\t\t\t\t\tname: \"🛠 Tooling\",\n\t\t\t\t\t\t\ttitle: \"🛠 Tooling: <short description of the change>\",\n\t\t\t\t\t\t}),\n\t\t\t\t\t},\n\t\t\t\t\t\"ISSUE_TEMPLATE.md\": `<!-- Note: Please must use one of our issue templates to file an issue! 🛑 -->\n<!-- 👉 https://github.com/${options.owner}/${options.repository}/issues/new/choose 👈 -->\n<!-- **Issues that should have been filed with a template will be closed without action, and we will ask you to use a template.** -->\n\n<!-- This blank issue template is only for issues that don't fit any of the templates. -->\n\n## Overview\n\n...\n`,\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t},\n});\n"],"mappings":";;;;AAGA,MAAa,4BAA4B,KAAK,YAAY;CACzD,OAAO,EACN,MAAM,0BACN;CACD,QAAQ,EAAE,WAAW;AACpB,SAAO,EACN,OAAO,EACN,WAAW;GACV,gBAAgB;IACf,eAAe,WAAW;KACzB,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS;SACR;UACC,OACC;UACD,UAAU;UACV;SACD;UACC,OACC;UACD,UAAU;UACV;SACD;UACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;UACtG,UAAU;UACV;SACD;QACD;OACD,MAAM;OACN;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN;MACD;KACD,aAAa;KACb,QAAQ,CAAC,YAAY;KACrB,MAAM;KACN,OAAO;KACP,CAAC;IACF,yBAAyB,WAAW;KACnC,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS,CACR;SACC,OACC;SACD,UAAU;SACV,EACD;SACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;SACtG,UAAU;SACV,CACD;QACD;OACD,MAAM;OACN;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN;MACD;KACD,aAAa;KACb,QAAQ,CAAC,sBAAsB;KAC/B,MAAM;KACN,OAAO;KACP,CAAC;IACF,mBAAmB,WAAW;KAC7B,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS,CACR;SACC,OACC;SACD,UAAU;SACV,EACD;SACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;SACtG,UAAU;SACV,CACD;QACD;OACD,MAAM;OACN;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN;MACD;KACD,aACC;KACD,QAAQ,CAAC,gBAAgB;KACzB,MAAM;KACN,OAAO;KACP,CAAC;IACF,mBAAmB,WAAW;KAC7B,MAAM;MACL;OACC,YAAY;QACX,aACC;QACD,OAAO;QACP,SAAS;SACR;UACC,OACC;UACD,UAAU;UACV;SACD;UACC,OACC;UACD,UAAU;UACV;SACD;UACC,OAAO,2DAA2D,QAAQ,MAAM,GAAG,QAAQ,WAAW;UACtG,UAAU;UACV;SACD;QACD;OACD,MAAM;OACN;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN,aAAa,EACZ,UAAU,MACV;OACD;MACD;OACC,YAAY;QACX,aAAa;QACb,OAAO;QACP;OACD,MAAM;OACN;MACD;KACD,aACC;KACD,QAAQ,CAAC,gBAAgB;KACzB,MAAM;KACN,OAAO;KACP,CAAC;IACF;GACD,qBAAqB;6BACG,QAAQ,MAAM,GAAG,QAAQ,WAAW;;;;;;;;;GAS5D,EACD,EACD;;CAEF,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum22 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockGitHubPRTemplate.d.ts
|
|
4
|
-
declare const blockGitHubPRTemplate:
|
|
4
|
+
declare const blockGitHubPRTemplate: bingo_stratum22.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum23 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockGitignore.d.ts
|
|
4
|
-
declare const blockGitignore:
|
|
4
|
+
declare const blockGitignore: bingo_stratum23.BlockWithAddons<{
|
|
5
5
|
ignores: string[];
|
|
6
6
|
}, {
|
|
7
7
|
access: "public" | "restricted";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum24 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockKnip.d.ts
|
|
4
|
-
declare const blockKnip:
|
|
4
|
+
declare const blockKnip: bingo_stratum24.BlockWithAddons<{
|
|
5
5
|
entry?: string[] | undefined;
|
|
6
6
|
ignoreDependencies?: string[] | undefined;
|
|
7
7
|
project?: string[] | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum25 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockMITLicense.d.ts
|
|
4
|
-
declare const blockMITLicense:
|
|
4
|
+
declare const blockMITLicense: bingo_stratum25.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum29 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockMain.d.ts
|
|
4
|
-
declare const blockMain:
|
|
4
|
+
declare const blockMain: bingo_stratum29.BlockWithAddons<{
|
|
5
5
|
runArgs: string[];
|
|
6
6
|
filePath?: string | undefined;
|
|
7
7
|
}, {
|
package/lib/blocks/blockNcc.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum30 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockNcc.d.ts
|
|
4
|
-
declare const blockNcc:
|
|
4
|
+
declare const blockNcc: bingo_stratum30.BlockWithAddons<{
|
|
5
5
|
entry?: string | undefined;
|
|
6
6
|
}, {
|
|
7
7
|
access: "public" | "restricted";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum31 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockNvmrc.d.ts
|
|
4
|
-
declare const blockNvmrc:
|
|
4
|
+
declare const blockNvmrc: bingo_stratum31.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum33 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockOctoGuide.d.ts
|
|
4
|
-
declare const blockOctoGuide:
|
|
4
|
+
declare const blockOctoGuide: bingo_stratum33.BlockWithAddons<{
|
|
5
5
|
config?: "strict" | "recommended" | undefined;
|
|
6
6
|
}, {
|
|
7
7
|
access: "public" | "restricted";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum34 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockOctoGuideStrict.d.ts
|
|
4
|
-
declare const blockOctoGuideStrict:
|
|
4
|
+
declare const blockOctoGuideStrict: bingo_stratum34.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum36 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockPackageJson.d.ts
|
|
4
|
-
declare const blockPackageJson:
|
|
4
|
+
declare const blockPackageJson: bingo_stratum36.BlockWithAddons<{
|
|
5
5
|
properties: {
|
|
6
6
|
type?: "commonjs" | "module" | undefined;
|
|
7
7
|
author?: string | {
|
|
@@ -42,6 +42,7 @@ declare const blockPackageJson: bingo_stratum26.BlockWithAddons<{
|
|
|
42
42
|
engines?: Record<string, string> | undefined;
|
|
43
43
|
packageManager?: string | undefined;
|
|
44
44
|
files?: string[] | undefined;
|
|
45
|
+
overrides?: Record<string, unknown> | undefined;
|
|
45
46
|
license?: string | undefined;
|
|
46
47
|
config?: Record<string, unknown> | undefined;
|
|
47
48
|
private?: boolean | undefined;
|
|
@@ -52,8 +53,6 @@ declare const blockPackageJson: bingo_stratum26.BlockWithAddons<{
|
|
|
52
53
|
email?: string | undefined;
|
|
53
54
|
})[] | undefined;
|
|
54
55
|
main?: string | undefined;
|
|
55
|
-
types?: string | undefined;
|
|
56
|
-
imports?: Record<string, unknown> | undefined;
|
|
57
56
|
bugs?: string | {
|
|
58
57
|
url?: string | undefined;
|
|
59
58
|
email?: string | undefined;
|
|
@@ -64,15 +63,16 @@ declare const blockPackageJson: bingo_stratum26.BlockWithAddons<{
|
|
|
64
63
|
bundleDependencies?: boolean | string[] | undefined;
|
|
65
64
|
bundledDependencies?: boolean | string[] | undefined;
|
|
66
65
|
optionalDependencies?: Record<string, string> | undefined;
|
|
67
|
-
overrides?: Record<string, unknown> | undefined;
|
|
68
66
|
os?: string[] | undefined;
|
|
69
67
|
cpu?: string[] | undefined;
|
|
70
68
|
publishConfig?: Record<string, unknown> | undefined;
|
|
71
69
|
workspaces?: string[] | undefined;
|
|
72
70
|
deprecated?: string | undefined;
|
|
71
|
+
types?: string | undefined;
|
|
73
72
|
typings?: string | undefined;
|
|
74
73
|
typesVersions?: Record<string, Record<string, string[]>> | undefined;
|
|
75
74
|
sideEffects?: boolean | string[] | undefined;
|
|
75
|
+
imports?: Record<string, unknown> | undefined;
|
|
76
76
|
exports?: string | string[] | Record<string, unknown> | null | undefined;
|
|
77
77
|
} & {
|
|
78
78
|
[k: string]: unknown;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum39 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockPnpmDedupe.d.ts
|
|
4
|
-
declare const blockPnpmDedupe:
|
|
4
|
+
declare const blockPnpmDedupe: bingo_stratum39.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum38 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockPrettier.d.ts
|
|
4
|
-
declare const blockPrettier:
|
|
5
|
-
plugins: string[];
|
|
4
|
+
declare const blockPrettier: bingo_stratum38.BlockWithAddons<{
|
|
6
5
|
ignores: string[];
|
|
7
6
|
overrides: {
|
|
8
7
|
options: {
|
|
@@ -10,6 +9,7 @@ declare const blockPrettier: bingo_stratum27.BlockWithAddons<{
|
|
|
10
9
|
};
|
|
11
10
|
files: string;
|
|
12
11
|
}[];
|
|
12
|
+
plugins: string[];
|
|
13
13
|
runBefore: string[];
|
|
14
14
|
}, {
|
|
15
15
|
access: "public" | "restricted";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockPrettier.d.ts","names":[],"sources":["../../src/blocks/blockPrettier.ts"],"sourcesContent":[],"mappings":";;;cAea,+BAAa;;;
|
|
1
|
+
{"version":3,"file":"blockPrettier.d.ts","names":[],"sources":["../../src/blocks/blockPrettier.ts"],"sourcesContent":[],"mappings":";;;cAea,+BAAa;;;IAAb,OAAA,EAAA;;;;;;;;;eAAa,MAAA;EAAA,SAAA,EAAA,MAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum37 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockPrettierPluginCurly.d.ts
|
|
4
|
-
declare const blockPrettierPluginCurly:
|
|
4
|
+
declare const blockPrettierPluginCurly: bingo_stratum37.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum40 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockPrettierPluginPackageJson.d.ts
|
|
4
|
-
declare const blockPrettierPluginPackageJson:
|
|
4
|
+
declare const blockPrettierPluginPackageJson: bingo_stratum40.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum42 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockPrettierPluginSentencesPerLine.d.ts
|
|
4
|
-
declare const blockPrettierPluginSentencesPerLine:
|
|
4
|
+
declare const blockPrettierPluginSentencesPerLine: bingo_stratum42.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum43 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockPrettierPluginSh.d.ts
|
|
4
|
-
declare const blockPrettierPluginSh:
|
|
4
|
+
declare const blockPrettierPluginSh: bingo_stratum43.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum48 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockREADME.d.ts
|
|
4
|
-
declare const blockREADME:
|
|
4
|
+
declare const blockREADME: bingo_stratum48.BlockWithAddons<{
|
|
5
5
|
sections: string[];
|
|
6
6
|
badges: {
|
|
7
7
|
alt: string;
|
|
8
8
|
src: string;
|
|
9
9
|
href?: string | undefined;
|
|
10
10
|
comments?: {
|
|
11
|
-
before: string;
|
|
12
11
|
after: string;
|
|
12
|
+
before: string;
|
|
13
13
|
} | undefined;
|
|
14
14
|
}[];
|
|
15
15
|
defaultUsage: string[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum49 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockReleaseIt.d.ts
|
|
4
|
-
declare const blockReleaseIt:
|
|
4
|
+
declare const blockReleaseIt: bingo_stratum49.BlockWithAddons<{
|
|
5
5
|
builders: {
|
|
6
6
|
run: string;
|
|
7
7
|
order: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockReleaseIt.d.ts","names":[],"sources":["../../src/blocks/blockReleaseIt.ts"],"sourcesContent":[],"mappings":";;;cAUa,gCAAc;;;IAAd,KAAA,EAAA,
|
|
1
|
+
{"version":3,"file":"blockReleaseIt.d.ts","names":[],"sources":["../../src/blocks/blockReleaseIt.ts"],"sourcesContent":[],"mappings":";;;cAUa,gCAAc;;;IAAd,KAAA,EAAA,MAqLX;;;;;;;;;eArLyB,CAAA,EAAA,MAAA,GAAA,SAAA;MAAA,SAAA,CAAA,EAAA,MAAA,GAAA,SAAA"}
|
|
@@ -20,7 +20,6 @@ const blockReleaseIt = base.createBlock({
|
|
|
20
20
|
addons: [
|
|
21
21
|
blockPackageJson({ properties: {
|
|
22
22
|
devDependencies: getPackageDependencies("@release-it/conventional-changelog", "release-it"),
|
|
23
|
-
publishConfig: { provenance: true },
|
|
24
23
|
scripts: { "should-semantic-release": void 0 }
|
|
25
24
|
} }),
|
|
26
25
|
blockREADME({ badges: [{
|
|
@@ -31,9 +30,6 @@ const blockReleaseIt = base.createBlock({
|
|
|
31
30
|
blockRepositorySecrets({ secrets: [{
|
|
32
31
|
description: "a GitHub PAT with repo and workflow permissions",
|
|
33
32
|
name: "ACCESS_TOKEN"
|
|
34
|
-
}, {
|
|
35
|
-
description: "an npm access token with automation permissions",
|
|
36
|
-
name: "NPM_TOKEN"
|
|
37
33
|
}] })
|
|
38
34
|
],
|
|
39
35
|
files: {
|
|
@@ -89,11 +85,8 @@ const blockReleaseIt = base.createBlock({
|
|
|
89
85
|
{ uses: "./.github/actions/prepare" },
|
|
90
86
|
...builders.sort((a, b) => a.order - b.order).map(({ run }) => ({ run })),
|
|
91
87
|
{
|
|
92
|
-
env: {
|
|
93
|
-
|
|
94
|
-
NPM_TOKEN: "${{ secrets.NPM_TOKEN }}"
|
|
95
|
-
},
|
|
96
|
-
uses: resolveUses("JoshuaKGoldberg/release-it-action", "v0.3.2", options.workflowsVersions)
|
|
88
|
+
env: { GITHUB_TOKEN: "${{ secrets.ACCESS_TOKEN }}" },
|
|
89
|
+
uses: resolveUses("JoshuaKGoldberg/release-it-action", "v0.4.0", options.workflowsVersions)
|
|
97
90
|
}
|
|
98
91
|
]
|
|
99
92
|
})
|
|
@@ -107,7 +100,7 @@ const blockReleaseIt = base.createBlock({
|
|
|
107
100
|
release: true,
|
|
108
101
|
releaseName: "v${version}"
|
|
109
102
|
},
|
|
110
|
-
npm: {
|
|
103
|
+
npm: { skipChecks: true },
|
|
111
104
|
plugins: { "@release-it/conventional-changelog": {
|
|
112
105
|
infile: "CHANGELOG.md",
|
|
113
106
|
preset: "conventionalcommits",
|
|
@@ -155,7 +148,8 @@ const blockReleaseIt = base.createBlock({
|
|
|
155
148
|
]
|
|
156
149
|
} }
|
|
157
150
|
})
|
|
158
|
-
}
|
|
151
|
+
},
|
|
152
|
+
suggestions: [[`- add ${options.owner}/${options.repository} and \`release.yaml\` as a Trusted Publisher on:`, ` https://www.npmjs.com/package/${options.repository}/access`].join("\n")]
|
|
159
153
|
};
|
|
160
154
|
}
|
|
161
155
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockReleaseIt.js","names":[],"sources":["../../src/blocks/blockReleaseIt.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { getPackageDependencies } from \"../data/packageData.js\";\nimport { resolveUses } from \"./actions/resolveUses.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockREADME } from \"./blockREADME.js\";\nimport { blockRepositorySecrets } from \"./blockRepositorySecrets.js\";\nimport { createSoloWorkflowFile } from \"./files/createSoloWorkflowFile.js\";\n\nexport const blockReleaseIt = base.createBlock({\n\tabout: {\n\t\tname: \"release-it\",\n\t},\n\taddons: {\n\t\tbuilders: z\n\t\t\t.array(\n\t\t\t\tz.object({\n\t\t\t\t\torder: z.number(),\n\t\t\t\t\trun: z.string(),\n\t\t\t\t}),\n\t\t\t)\n\t\t\t.default([]),\n\t},\n\tproduce({ addons, options }) {\n\t\tconst { builders } = addons;\n\n\t\treturn {\n\t\t\taddons: [\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\"@release-it/conventional-changelog\",\n\t\t\t\t\t\t\t\"release-it\",\n\t\t\t\t\t\t),\n\t\t\t\t\t\
|
|
1
|
+
{"version":3,"file":"blockReleaseIt.js","names":[],"sources":["../../src/blocks/blockReleaseIt.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { base } from \"../base.js\";\nimport { getPackageDependencies } from \"../data/packageData.js\";\nimport { resolveUses } from \"./actions/resolveUses.js\";\nimport { blockPackageJson } from \"./blockPackageJson.js\";\nimport { blockREADME } from \"./blockREADME.js\";\nimport { blockRepositorySecrets } from \"./blockRepositorySecrets.js\";\nimport { createSoloWorkflowFile } from \"./files/createSoloWorkflowFile.js\";\n\nexport const blockReleaseIt = base.createBlock({\n\tabout: {\n\t\tname: \"release-it\",\n\t},\n\taddons: {\n\t\tbuilders: z\n\t\t\t.array(\n\t\t\t\tz.object({\n\t\t\t\t\torder: z.number(),\n\t\t\t\t\trun: z.string(),\n\t\t\t\t}),\n\t\t\t)\n\t\t\t.default([]),\n\t},\n\tproduce({ addons, options }) {\n\t\tconst { builders } = addons;\n\n\t\treturn {\n\t\t\taddons: [\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\"@release-it/conventional-changelog\",\n\t\t\t\t\t\t\t\"release-it\",\n\t\t\t\t\t\t),\n\t\t\t\t\t\tscripts: {\n\t\t\t\t\t\t\t\"should-semantic-release\": undefined,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tblockREADME({\n\t\t\t\t\tbadges: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\talt: \"📦 npm version\",\n\t\t\t\t\t\t\thref: `http://npmjs.com/package/${options.repository}`,\n\t\t\t\t\t\t\tsrc: `https://img.shields.io/npm/v/${options.repository}?color=21bb42&label=%F0%9F%93%A6%20npm`,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t\tblockRepositorySecrets({\n\t\t\t\t\tsecrets: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdescription: \"a GitHub PAT with repo and workflow permissions\",\n\t\t\t\t\t\t\tname: \"ACCESS_TOKEN\",\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t}),\n\t\t\t],\n\t\t\tfiles: {\n\t\t\t\t\".github\": {\n\t\t\t\t\tworkflows: {\n\t\t\t\t\t\t\"post-release.yaml\": createSoloWorkflowFile({\n\t\t\t\t\t\t\tname: \"Post Release\",\n\t\t\t\t\t\t\ton: {\n\t\t\t\t\t\t\t\trelease: {\n\t\t\t\t\t\t\t\t\ttypes: [\"published\"],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tpermissions: {\n\t\t\t\t\t\t\t\tissues: \"write\",\n\t\t\t\t\t\t\t\t\"pull-requests\": \"write\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\"actions/checkout\",\n\t\t\t\t\t\t\t\t\t\t\"v4\",\n\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\twith: { \"fetch-depth\": 0 },\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\trun: `echo \"npm_version=$(npm pkg get version | tr -d '\"')\" >> \"$GITHUB_ENV\"`,\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\"apexskier/github-release-commenter\",\n\t\t\t\t\t\t\t\t\t\t\"v1\",\n\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\twith: {\n\t\t\t\t\t\t\t\t\t\t\"comment-template\": `\n\t\t\t\t\t\t\t:tada: This is included in version {release_link} :tada:\n\n\t\t\t\t\t\t\tThe release is available on:\n\n\t\t\t\t\t\t\t* [GitHub releases](https://github.com/${options.owner}/${options.repository}/releases/tag/{release_tag})\n\t\t\t\t\t\t\t* [npm package (@latest dist-tag)](https://www.npmjs.com/package/${options.repository}/v/\\${{ env.npm_version }})\n\n\t\t\t\t\t\t\tCheers! 📦🚀\n\t\t\t\t\t\t`,\n\t\t\t\t\t\t\t\t\t\tGITHUB_TOKEN: \"${{ secrets.GITHUB_TOKEN }}\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t\"release.yaml\": createSoloWorkflowFile({\n\t\t\t\t\t\t\tconcurrency: {\n\t\t\t\t\t\t\t\tgroup: \"${{ github.workflow }}\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tname: \"Release\",\n\t\t\t\t\t\t\ton: {\n\t\t\t\t\t\t\t\tpush: {\n\t\t\t\t\t\t\t\t\tbranches: [\"main\"],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tpermissions: {\n\t\t\t\t\t\t\t\tcontents: \"write\",\n\t\t\t\t\t\t\t\t\"id-token\": \"write\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsteps: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\"actions/checkout\",\n\t\t\t\t\t\t\t\t\t\t\"v4\",\n\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\twith: {\n\t\t\t\t\t\t\t\t\t\t\"fetch-depth\": 0,\n\t\t\t\t\t\t\t\t\t\tref: \"main\",\n\t\t\t\t\t\t\t\t\t\ttoken: \"${{ secrets.ACCESS_TOKEN }}\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tuses: \"./.github/actions/prepare\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t...builders\n\t\t\t\t\t\t\t\t\t.sort((a, b) => a.order - b.order)\n\t\t\t\t\t\t\t\t\t.map(({ run }) => ({ run })),\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tenv: {\n\t\t\t\t\t\t\t\t\t\tGITHUB_TOKEN: \"${{ secrets.ACCESS_TOKEN }}\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tuses: resolveUses(\n\t\t\t\t\t\t\t\t\t\t\"JoshuaKGoldberg/release-it-action\",\n\t\t\t\t\t\t\t\t\t\t\"v0.4.0\",\n\t\t\t\t\t\t\t\t\t\toptions.workflowsVersions,\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t},\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\t\".release-it.json\": JSON.stringify({\n\t\t\t\t\tgit: {\n\t\t\t\t\t\tcommitMessage: \"chore: release v${version}\",\n\t\t\t\t\t\trequireCommits: true,\n\t\t\t\t\t},\n\t\t\t\t\tgithub: {\n\t\t\t\t\t\trelease: true,\n\t\t\t\t\t\treleaseName: \"v${version}\",\n\t\t\t\t\t},\n\t\t\t\t\tnpm: { skipChecks: true },\n\t\t\t\t\tplugins: {\n\t\t\t\t\t\t\"@release-it/conventional-changelog\": {\n\t\t\t\t\t\t\tinfile: \"CHANGELOG.md\",\n\t\t\t\t\t\t\tpreset: \"conventionalcommits\",\n\t\t\t\t\t\t\ttypes: [\n\t\t\t\t\t\t\t\t{ section: \"Features\", type: \"feat\" },\n\t\t\t\t\t\t\t\t{ section: \"Bug Fixes\", type: \"fix\" },\n\t\t\t\t\t\t\t\t{ section: \"Performance Improvements\", type: \"perf\" },\n\t\t\t\t\t\t\t\t{ hidden: true, type: \"build\" },\n\t\t\t\t\t\t\t\t{ hidden: true, type: \"chore\" },\n\t\t\t\t\t\t\t\t{ hidden: true, type: \"ci\" },\n\t\t\t\t\t\t\t\t{ hidden: true, type: \"docs\" },\n\t\t\t\t\t\t\t\t{ hidden: true, type: \"refactor\" },\n\t\t\t\t\t\t\t\t{ hidden: true, type: \"style\" },\n\t\t\t\t\t\t\t\t{ hidden: true, type: \"test\" },\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},\n\t\t\tsuggestions: [\n\t\t\t\t[\n\t\t\t\t\t`- add ${options.owner}/${options.repository} and \\`release.yaml\\` as a Trusted Publisher on:`,\n\t\t\t\t\t` https://www.npmjs.com/package/${options.repository}/access`,\n\t\t\t\t].join(\"\\n\"),\n\t\t\t],\n\t\t};\n\t},\n});\n"],"mappings":";;;;;;;;;;AAUA,MAAa,iBAAiB,KAAK,YAAY;CAC9C,OAAO,EACN,MAAM,cACN;CACD,QAAQ,EACP,UAAU,EACR,MACA,EAAE,OAAO;EACR,OAAO,EAAE,QAAQ;EACjB,KAAK,EAAE,QAAQ;EACf,CAAC,CACF,CACA,QAAQ,EAAE,CAAC,EACb;CACD,QAAQ,EAAE,QAAQ,WAAW;EAC5B,MAAM,EAAE,aAAa;AAErB,SAAO;GACN,QAAQ;IACP,iBAAiB,EAChB,YAAY;KACX,iBAAiB,uBAChB,sCACA,aACA;KACD,SAAS,EACR,2BAA2B,QAC3B;KACD,EACD,CAAC;IACF,YAAY,EACX,QAAQ,CACP;KACC,KAAK;KACL,MAAM,4BAA4B,QAAQ;KAC1C,KAAK,gCAAgC,QAAQ,WAAW;KACxD,CACD,EACD,CAAC;IACF,uBAAuB,EACtB,SAAS,CACR;KACC,aAAa;KACb,MAAM;KACN,CACD,EACD,CAAC;IACF;GACD,OAAO;IACN,WAAW,EACV,WAAW;KACV,qBAAqB,uBAAuB;MAC3C,MAAM;MACN,IAAI,EACH,SAAS,EACR,OAAO,CAAC,YAAY,EACpB,EACD;MACD,aAAa;OACZ,QAAQ;OACR,iBAAiB;OACjB;MACD,OAAO;OACN;QACC,MAAM,YACL,oBACA,MACA,QAAQ,kBACR;QACD,MAAM,EAAE,eAAe,GAAG;QAC1B;OACD,EACC,KAAK,0EACL;OACD;QACC,MAAM,YACL,sCACA,MACA,QAAQ,kBACR;QACD,MAAM;SACL,oBAAoB;;;;;gDAKkB,QAAQ,MAAM,GAAG,QAAQ,WAAW;0EACV,QAAQ,WAAW;;;;SAInF,cAAc;SACd;QACD;OACD;MACD,CAAC;KACF,gBAAgB,uBAAuB;MACtC,aAAa,EACZ,OAAO,0BACP;MACD,MAAM;MACN,IAAI,EACH,MAAM,EACL,UAAU,CAAC,OAAO,EAClB,EACD;MACD,aAAa;OACZ,UAAU;OACV,YAAY;OACZ;MACD,OAAO;OACN;QACC,MAAM,YACL,oBACA,MACA,QAAQ,kBACR;QACD,MAAM;SACL,eAAe;SACf,KAAK;SACL,OAAO;SACP;QACD;OACD,EACC,MAAM,6BACN;OACD,GAAG,SACD,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,MAAM,CACjC,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE;OAC7B;QACC,KAAK,EACJ,cAAc,+BACd;QACD,MAAM,YACL,qCACA,UACA,QAAQ,kBACR;QACD;OACD;MACD,CAAC;KACF,EACD;IACD,oBAAoB,KAAK,UAAU;KAClC,KAAK;MACJ,eAAe;MACf,gBAAgB;MAChB;KACD,QAAQ;MACP,SAAS;MACT,aAAa;MACb;KACD,KAAK,EAAE,YAAY,MAAM;KACzB,SAAS,EACR,sCAAsC;MACrC,QAAQ;MACR,QAAQ;MACR,OAAO;OACN;QAAE,SAAS;QAAY,MAAM;QAAQ;OACrC;QAAE,SAAS;QAAa,MAAM;QAAO;OACrC;QAAE,SAAS;QAA4B,MAAM;QAAQ;OACrD;QAAE,QAAQ;QAAM,MAAM;QAAS;OAC/B;QAAE,QAAQ;QAAM,MAAM;QAAS;OAC/B;QAAE,QAAQ;QAAM,MAAM;QAAM;OAC5B;QAAE,QAAQ;QAAM,MAAM;QAAQ;OAC9B;QAAE,QAAQ;QAAM,MAAM;QAAY;OAClC;QAAE,QAAQ;QAAM,MAAM;QAAS;OAC/B;QAAE,QAAQ;QAAM,MAAM;QAAQ;OAC9B;MACD,EACD;KACD,CAAC;IACF;GACD,aAAa,CACZ,CACC,SAAS,QAAQ,MAAM,GAAG,QAAQ,WAAW,mDAC7C,oCAAoC,QAAQ,WAAW,SACvD,CAAC,KAAK,KAAK,CACZ;GACD;;CAEF,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum50 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockRemoveDependencies.d.ts
|
|
4
|
-
declare const blockRemoveDependencies:
|
|
4
|
+
declare const blockRemoveDependencies: bingo_stratum50.BlockWithAddons<{
|
|
5
5
|
dependencies?: string[] | undefined;
|
|
6
6
|
}, {
|
|
7
7
|
access: "public" | "restricted";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum53 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockRemoveFiles.d.ts
|
|
4
|
-
declare const blockRemoveFiles:
|
|
4
|
+
declare const blockRemoveFiles: bingo_stratum53.BlockWithAddons<{
|
|
5
5
|
files?: string[] | undefined;
|
|
6
6
|
}, {
|
|
7
7
|
access: "public" | "restricted";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum41 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockRemoveWorkflows.d.ts
|
|
4
|
-
declare const blockRemoveWorkflows:
|
|
4
|
+
declare const blockRemoveWorkflows: bingo_stratum41.BlockWithAddons<{
|
|
5
5
|
workflows?: string[] | undefined;
|
|
6
6
|
}, {
|
|
7
7
|
access: "public" | "restricted";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum44 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockRenovate.d.ts
|
|
4
|
-
declare const blockRenovate:
|
|
4
|
+
declare const blockRenovate: bingo_stratum44.BlockWithAddons<{
|
|
5
5
|
ignoreDeps: string[];
|
|
6
6
|
}, {
|
|
7
7
|
access: "public" | "restricted";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum46 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockRepositoryBranchRuleset.d.ts
|
|
4
|
-
declare const blockRepositoryBranchRuleset:
|
|
4
|
+
declare const blockRepositoryBranchRuleset: bingo_stratum46.BlockWithAddons<{
|
|
5
5
|
requiredStatusChecks?: string[] | undefined;
|
|
6
6
|
}, {
|
|
7
7
|
access: "public" | "restricted";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum45 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockRepositoryLabels.d.ts
|
|
4
|
-
declare const blockRepositoryLabels:
|
|
4
|
+
declare const blockRepositoryLabels: bingo_stratum45.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum51 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockRepositorySecrets.d.ts
|
|
4
|
-
declare const blockRepositorySecrets:
|
|
4
|
+
declare const blockRepositorySecrets: bingo_stratum51.BlockWithAddons<{
|
|
5
5
|
secrets: {
|
|
6
6
|
name: string;
|
|
7
7
|
description: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum47 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockRepositorySettings.d.ts
|
|
4
|
-
declare const blockRepositorySettings:
|
|
4
|
+
declare const blockRepositorySettings: bingo_stratum47.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum52 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockSecurityDocs.d.ts
|
|
4
|
-
declare const blockSecurityDocs:
|
|
4
|
+
declare const blockSecurityDocs: bingo_stratum52.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum54 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockTSDown.d.ts
|
|
4
|
-
declare const blockTSDown:
|
|
4
|
+
declare const blockTSDown: bingo_stratum54.BlockWithAddons<{
|
|
5
5
|
properties: Record<string, unknown>;
|
|
6
6
|
entry: string[];
|
|
7
7
|
runInCI: string[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum35 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockTemplatedWith.d.ts
|
|
4
|
-
declare const blockTemplatedWith:
|
|
4
|
+
declare const blockTemplatedWith: bingo_stratum35.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum55 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockTypeScript.d.ts
|
|
4
|
-
declare const blockTypeScript:
|
|
4
|
+
declare const blockTypeScript: bingo_stratum55.BlockWithAddons<{
|
|
5
5
|
compilerOptions?: {
|
|
6
6
|
allowArbitraryExtensions?: boolean | undefined;
|
|
7
7
|
allowImportingTsExtensions?: boolean | undefined;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum56 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockVSCode.d.ts
|
|
4
|
-
declare const blockVSCode:
|
|
4
|
+
declare const blockVSCode: bingo_stratum56.BlockWithAddons<{
|
|
5
5
|
settings: Record<string, unknown>;
|
|
6
|
-
extensions?: string[] | undefined;
|
|
7
6
|
debuggers?: (Record<string, unknown> & {
|
|
8
7
|
name: string;
|
|
9
8
|
})[] | undefined;
|
|
9
|
+
extensions?: string[] | undefined;
|
|
10
10
|
tasks?: ({
|
|
11
11
|
detail: string;
|
|
12
12
|
} & Record<string, unknown>)[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockVSCode.d.ts","names":[],"sources":["../../src/blocks/blockVSCode.ts"],"sourcesContent":[],"mappings":";;;cAOa,6BAAW;;;
|
|
1
|
+
{"version":3,"file":"blockVSCode.d.ts","names":[],"sources":["../../src/blocks/blockVSCode.ts"],"sourcesContent":[],"mappings":";;;cAOa,6BAAW;;;IAAX,IAAA,EAAA,MAgGX;;;;;;;;;;;;gBAhGsB,CAAA,EAAA,MAAA,GAAA,SAAA;MAAA,SAAA,CAAA,EAAA,MAAA,GAAA,SAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum57 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockVitest.d.ts
|
|
4
|
-
declare const blockVitest:
|
|
4
|
+
declare const blockVitest: bingo_stratum57.BlockWithAddons<{
|
|
5
5
|
exclude: string[];
|
|
6
6
|
actionSteps: ({
|
|
7
7
|
env?: Record<string, string> | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum58 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockWebExt.d.ts
|
|
4
|
-
declare const blockWebExt:
|
|
4
|
+
declare const blockWebExt: bingo_stratum58.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -3,6 +3,8 @@ import { Extension } from "./schemas.js";
|
|
|
3
3
|
//#region src/blocks/eslint/mergeAllExtensions.d.ts
|
|
4
4
|
declare function mergeAllExtensions(...extensions: Extension[]): {
|
|
5
5
|
files: string[];
|
|
6
|
+
plugins?: Record<string, string> | undefined;
|
|
7
|
+
settings?: Record<string, unknown> | undefined;
|
|
6
8
|
rules?: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]> | {
|
|
7
9
|
entries: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]>;
|
|
8
10
|
comment?: string | undefined;
|
|
@@ -10,8 +12,6 @@ declare function mergeAllExtensions(...extensions: Extension[]): {
|
|
|
10
12
|
extends?: string[] | undefined;
|
|
11
13
|
languageOptions?: unknown;
|
|
12
14
|
linterOptions?: unknown;
|
|
13
|
-
plugins?: Record<string, string> | undefined;
|
|
14
|
-
settings?: Record<string, unknown> | undefined;
|
|
15
15
|
}[];
|
|
16
16
|
//#endregion
|
|
17
17
|
export { mergeAllExtensions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mergeAllExtensions.d.ts","names":[],"sources":["../../../src/blocks/eslint/mergeAllExtensions.ts"],"sourcesContent":[],"mappings":";;;iBAEgB,kBAAA,gBAAkC;;EAAlC,
|
|
1
|
+
{"version":3,"file":"mergeAllExtensions.d.ts","names":[],"sources":["../../../src/blocks/eslint/mergeAllExtensions.ts"],"sourcesContent":[],"mappings":";;;iBAEgB,kBAAA,gBAAkC;;EAAlC,OAAA,CAAA,QAAA,CAAA,MAAkB,EAAA,MAAA,CAAA,GAAA,SAAA;EAAgB,QAAA,CAAA,QAAA,CAAA,MAAA,EAAA,OAAA,CAAA,GAAA,SAAA"}
|