create-typescript-app 2.58.1 → 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 +3 -3
- package/lib/blocks/blockAreTheTypesWrong.d.ts +3 -3
- package/lib/blocks/blockCSpell.d.ts +3 -3
- package/lib/blocks/blockCTATransitions.d.ts +3 -3
- package/lib/blocks/blockCodecov.d.ts +3 -3
- package/lib/blocks/blockContributingDocs.d.ts +3 -3
- package/lib/blocks/blockContributingDocs.d.ts.map +1 -1
- package/lib/blocks/blockContributorCovenant.d.ts +3 -3
- package/lib/blocks/blockDevelopmentDocs.d.ts +3 -3
- package/lib/blocks/blockESLint.d.ts +3 -3
- package/lib/blocks/blockESLint.js +2 -2
- package/lib/blocks/blockESLint.js.map +1 -1
- package/lib/blocks/blockESLintComments.d.ts +3 -3
- package/lib/blocks/blockESLintJSDoc.d.ts +3 -3
- package/lib/blocks/blockESLintJSONC.d.ts +3 -3
- package/lib/blocks/blockESLintMarkdown.d.ts +3 -3
- package/lib/blocks/blockESLintMoreStyling.d.ts +3 -3
- package/lib/blocks/blockESLintNode.d.ts +3 -3
- package/lib/blocks/blockESLintPackageJson.d.ts +3 -3
- package/lib/blocks/blockESLintPerfectionist.d.ts +3 -3
- package/lib/blocks/blockESLintPerfectionist.d.ts.map +1 -1
- package/lib/blocks/blockESLintPlugin.d.ts +3 -3
- package/lib/blocks/blockESLintPlugin.d.ts.map +1 -1
- package/lib/blocks/blockESLintRegexp.d.ts +3 -3
- package/lib/blocks/blockESLintRegexp.d.ts.map +1 -1
- package/lib/blocks/blockESLintYML.d.ts +3 -3
- package/lib/blocks/blockExampleFiles.d.ts +3 -3
- package/lib/blocks/blockFunding.d.ts +3 -3
- package/lib/blocks/blockFunding.d.ts.map +1 -1
- package/lib/blocks/blockGitHubActionsCI.d.ts +3 -3
- package/lib/blocks/blockGitHubApps.d.ts +3 -3
- package/lib/blocks/blockGitHubIssueTemplates.d.ts +3 -3
- package/lib/blocks/blockGitHubIssueTemplates.js +2 -2
- package/lib/blocks/blockGitHubIssueTemplates.js.map +1 -1
- package/lib/blocks/blockGitHubPRTemplate.d.ts +1 -1
- package/lib/blocks/blockGitignore.d.ts +3 -3
- package/lib/blocks/blockKnip.d.ts +3 -3
- package/lib/blocks/blockMITLicense.d.ts +3 -3
- package/lib/blocks/blockMain.d.ts +1 -1
- package/lib/blocks/blockNcc.d.ts +3 -3
- package/lib/blocks/blockNvmrc.d.ts +1 -1
- package/lib/blocks/blockOctoGuide.d.ts +3 -3
- package/lib/blocks/blockOctoGuideStrict.d.ts +3 -3
- package/lib/blocks/blockPackageJson.d.ts +4 -4
- package/lib/blocks/blockPackageJson.d.ts.map +1 -1
- package/lib/blocks/blockPnpmDedupe.d.ts +3 -3
- package/lib/blocks/blockPrettier.d.ts +3 -3
- package/lib/blocks/blockPrettierPluginCurly.d.ts +3 -3
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts +3 -3
- package/lib/blocks/blockPrettierPluginSentencesPerLine.d.ts +3 -3
- package/lib/blocks/blockPrettierPluginSh.d.ts +3 -3
- package/lib/blocks/blockREADME.d.ts +3 -3
- package/lib/blocks/blockReleaseIt.d.ts +3 -3
- 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 +3 -3
- package/lib/blocks/blockRemoveDependencies.d.ts.map +1 -1
- package/lib/blocks/blockRemoveFiles.d.ts +3 -3
- package/lib/blocks/blockRemoveFiles.d.ts.map +1 -1
- package/lib/blocks/blockRemoveWorkflows.d.ts +3 -3
- package/lib/blocks/blockRemoveWorkflows.d.ts.map +1 -1
- package/lib/blocks/blockRenovate.d.ts +3 -3
- package/lib/blocks/blockRenovate.d.ts.map +1 -1
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts +3 -3
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts.map +1 -1
- package/lib/blocks/blockRepositoryLabels.d.ts +3 -3
- package/lib/blocks/blockRepositoryLabels.d.ts.map +1 -1
- package/lib/blocks/blockRepositorySecrets.d.ts +3 -3
- package/lib/blocks/blockRepositorySettings.d.ts +3 -3
- package/lib/blocks/blockSecurityDocs.d.ts +3 -3
- package/lib/blocks/blockTSDown.d.ts +3 -3
- package/lib/blocks/blockTemplatedWith.d.ts +3 -3
- package/lib/blocks/blockTypeScript.d.ts +3 -3
- package/lib/blocks/blockVSCode.d.ts +3 -3
- package/lib/blocks/blockVitest.d.ts +3 -3
- package/lib/blocks/blockWebExt.d.ts +3 -3
- package/lib/blocks/index.d.ts +98 -98
- package/lib/index.d.ts +74 -74
- package/lib/index.d.ts.map +1 -1
- 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 +71 -71
- package/lib/presets/everything.d.ts +71 -71
- package/lib/presets/index.d.ts +209 -209
- package/lib/presets/minimal.d.ts +71 -71
- package/lib/schemas.d.ts +6 -6
- package/lib/template.d.ts +69 -69
- package/lib/template.d.ts.map +1 -1
- package/package.json +5 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum32 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockGitHubActionsCI.d.ts
|
|
4
|
-
declare const blockGitHubActionsCI:
|
|
4
|
+
declare const blockGitHubActionsCI: bingo_stratum32.BlockWithAddons<{
|
|
5
5
|
jobs?: {
|
|
6
6
|
name: string;
|
|
7
7
|
steps: ({
|
|
@@ -81,8 +81,8 @@ declare const blockGitHubActionsCI: bingo_stratum14.BlockWithAddons<{
|
|
|
81
81
|
version?: string | undefined;
|
|
82
82
|
words?: string[] | undefined;
|
|
83
83
|
workflowsVersions?: Record<string, Record<string, {
|
|
84
|
-
hash?: string | undefined;
|
|
85
84
|
pinned?: boolean | undefined;
|
|
85
|
+
hash?: string | undefined;
|
|
86
86
|
}>> | undefined;
|
|
87
87
|
}>;
|
|
88
88
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum20 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockGitHubApps.d.ts
|
|
4
|
-
declare const blockGitHubApps:
|
|
4
|
+
declare const blockGitHubApps: bingo_stratum20.BlockWithAddons<{
|
|
5
5
|
apps: {
|
|
6
6
|
name: string;
|
|
7
7
|
url: string;
|
|
@@ -70,8 +70,8 @@ declare const blockGitHubApps: bingo_stratum18.BlockWithAddons<{
|
|
|
70
70
|
version?: string | undefined;
|
|
71
71
|
words?: string[] | undefined;
|
|
72
72
|
workflowsVersions?: Record<string, Record<string, {
|
|
73
|
-
hash?: string | undefined;
|
|
74
73
|
pinned?: boolean | undefined;
|
|
74
|
+
hash?: string | undefined;
|
|
75
75
|
}>> | undefined;
|
|
76
76
|
}>;
|
|
77
77
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum21 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockGitHubIssueTemplates.d.ts
|
|
4
|
-
declare const blockGitHubIssueTemplates:
|
|
4
|
+
declare const blockGitHubIssueTemplates: bingo_stratum21.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -65,8 +65,8 @@ declare const blockGitHubIssueTemplates: bingo_stratum23.BlockWithoutAddons<{
|
|
|
65
65
|
version?: string | undefined;
|
|
66
66
|
words?: string[] | undefined;
|
|
67
67
|
workflowsVersions?: Record<string, Record<string, {
|
|
68
|
-
hash?: string | undefined;
|
|
69
68
|
pinned?: boolean | undefined;
|
|
69
|
+
hash?: string | undefined;
|
|
70
70
|
}>> | undefined;
|
|
71
71
|
}>;
|
|
72
72
|
//#endregion
|
|
@@ -19,7 +19,7 @@ const blockGitHubIssueTemplates = base.createBlock({
|
|
|
19
19
|
required: true
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
|
-
label: "I have pulled the
|
|
22
|
+
label: "I have pulled in the newest version of the project.",
|
|
23
23
|
required: true
|
|
24
24
|
},
|
|
25
25
|
{
|
|
@@ -145,7 +145,7 @@ const blockGitHubIssueTemplates = base.createBlock({
|
|
|
145
145
|
required: true
|
|
146
146
|
},
|
|
147
147
|
{
|
|
148
|
-
label: "I have pulled the
|
|
148
|
+
label: "I have pulled in the newest version of the project.",
|
|
149
149
|
required: true
|
|
150
150
|
},
|
|
151
151
|
{
|
|
@@ -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"}
|
|
@@ -65,8 +65,8 @@ declare const blockGitHubPRTemplate: bingo_stratum22.BlockWithoutAddons<{
|
|
|
65
65
|
version?: string | undefined;
|
|
66
66
|
words?: string[] | undefined;
|
|
67
67
|
workflowsVersions?: Record<string, Record<string, {
|
|
68
|
-
hash?: string | undefined;
|
|
69
68
|
pinned?: boolean | undefined;
|
|
69
|
+
hash?: string | undefined;
|
|
70
70
|
}>> | undefined;
|
|
71
71
|
}>;
|
|
72
72
|
//#endregion
|
|
@@ -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";
|
|
@@ -67,8 +67,8 @@ declare const blockGitignore: bingo_stratum26.BlockWithAddons<{
|
|
|
67
67
|
version?: string | undefined;
|
|
68
68
|
words?: string[] | undefined;
|
|
69
69
|
workflowsVersions?: Record<string, Record<string, {
|
|
70
|
-
hash?: string | undefined;
|
|
71
70
|
pinned?: boolean | undefined;
|
|
71
|
+
hash?: string | undefined;
|
|
72
72
|
}>> | undefined;
|
|
73
73
|
}>;
|
|
74
74
|
//#endregion
|
|
@@ -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;
|
|
@@ -69,8 +69,8 @@ declare const blockKnip: bingo_stratum27.BlockWithAddons<{
|
|
|
69
69
|
version?: string | undefined;
|
|
70
70
|
words?: string[] | undefined;
|
|
71
71
|
workflowsVersions?: Record<string, Record<string, {
|
|
72
|
-
hash?: string | undefined;
|
|
73
72
|
pinned?: boolean | undefined;
|
|
73
|
+
hash?: string | undefined;
|
|
74
74
|
}>> | undefined;
|
|
75
75
|
}>;
|
|
76
76
|
//#endregion
|
|
@@ -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;
|
|
@@ -65,8 +65,8 @@ declare const blockMITLicense: bingo_stratum28.BlockWithoutAddons<{
|
|
|
65
65
|
version?: string | undefined;
|
|
66
66
|
words?: string[] | undefined;
|
|
67
67
|
workflowsVersions?: Record<string, Record<string, {
|
|
68
|
-
hash?: string | undefined;
|
|
69
68
|
pinned?: boolean | undefined;
|
|
69
|
+
hash?: string | undefined;
|
|
70
70
|
}>> | undefined;
|
|
71
71
|
}>;
|
|
72
72
|
//#endregion
|
|
@@ -68,8 +68,8 @@ declare const blockMain: bingo_stratum29.BlockWithAddons<{
|
|
|
68
68
|
version?: string | undefined;
|
|
69
69
|
words?: string[] | undefined;
|
|
70
70
|
workflowsVersions?: Record<string, Record<string, {
|
|
71
|
-
hash?: string | undefined;
|
|
72
71
|
pinned?: boolean | undefined;
|
|
72
|
+
hash?: string | undefined;
|
|
73
73
|
}>> | undefined;
|
|
74
74
|
}>;
|
|
75
75
|
//#endregion
|
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";
|
|
@@ -67,8 +67,8 @@ declare const blockNcc: bingo_stratum32.BlockWithAddons<{
|
|
|
67
67
|
version?: string | undefined;
|
|
68
68
|
words?: string[] | undefined;
|
|
69
69
|
workflowsVersions?: Record<string, Record<string, {
|
|
70
|
-
hash?: string | undefined;
|
|
71
70
|
pinned?: boolean | undefined;
|
|
71
|
+
hash?: string | undefined;
|
|
72
72
|
}>> | undefined;
|
|
73
73
|
}>;
|
|
74
74
|
//#endregion
|
|
@@ -65,8 +65,8 @@ declare const blockNvmrc: bingo_stratum31.BlockWithoutAddons<{
|
|
|
65
65
|
version?: string | undefined;
|
|
66
66
|
words?: string[] | undefined;
|
|
67
67
|
workflowsVersions?: Record<string, Record<string, {
|
|
68
|
-
hash?: string | undefined;
|
|
69
68
|
pinned?: boolean | undefined;
|
|
69
|
+
hash?: string | undefined;
|
|
70
70
|
}>> | undefined;
|
|
71
71
|
}>;
|
|
72
72
|
//#endregion
|
|
@@ -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";
|
|
@@ -67,8 +67,8 @@ declare const blockOctoGuide: bingo_stratum42.BlockWithAddons<{
|
|
|
67
67
|
version?: string | undefined;
|
|
68
68
|
words?: string[] | undefined;
|
|
69
69
|
workflowsVersions?: Record<string, Record<string, {
|
|
70
|
-
hash?: string | undefined;
|
|
71
70
|
pinned?: boolean | undefined;
|
|
71
|
+
hash?: string | undefined;
|
|
72
72
|
}>> | undefined;
|
|
73
73
|
}>;
|
|
74
74
|
//#endregion
|
|
@@ -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;
|
|
@@ -65,8 +65,8 @@ declare const blockOctoGuideStrict: bingo_stratum91.BlockWithoutAddons<{
|
|
|
65
65
|
version?: string | undefined;
|
|
66
66
|
words?: string[] | undefined;
|
|
67
67
|
workflowsVersions?: Record<string, Record<string, {
|
|
68
|
-
hash?: string | undefined;
|
|
69
68
|
pinned?: boolean | undefined;
|
|
69
|
+
hash?: string | undefined;
|
|
70
70
|
}>> | undefined;
|
|
71
71
|
}>;
|
|
72
72
|
//#endregion
|
|
@@ -1,16 +1,16 @@
|
|
|
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
|
-
name?: string | undefined;
|
|
8
7
|
author?: string | {
|
|
9
8
|
name: string;
|
|
10
9
|
url?: string | undefined;
|
|
11
10
|
email?: string | undefined;
|
|
12
11
|
} | undefined;
|
|
13
12
|
bin?: string | Record<string, string> | undefined;
|
|
13
|
+
name?: string | undefined;
|
|
14
14
|
contributors?: (string | {
|
|
15
15
|
name: string;
|
|
16
16
|
url?: string | undefined;
|
|
@@ -142,8 +142,8 @@ declare const blockPackageJson: bingo_stratum92.BlockWithAddons<{
|
|
|
142
142
|
version?: string | undefined;
|
|
143
143
|
words?: string[] | undefined;
|
|
144
144
|
workflowsVersions?: Record<string, Record<string, {
|
|
145
|
-
hash?: string | undefined;
|
|
146
145
|
pinned?: boolean | undefined;
|
|
146
|
+
hash?: string | undefined;
|
|
147
147
|
}>> | undefined;
|
|
148
148
|
}>;
|
|
149
149
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockPackageJson.d.ts","names":[],"sources":["../../src/blocks/blockPackageJson.ts"],"sourcesContent":[],"mappings":";;;cAiBa,kCAAgB;;;IAAhB,
|
|
1
|
+
{"version":3,"file":"blockPackageJson.d.ts","names":[],"sources":["../../src/blocks/blockPackageJson.ts"],"sourcesContent":[],"mappings":";;;cAiBa,kCAAgB;;;IAAhB,MAAA,CAAA,EAAA,MA6EX,GAAA;;;;;;;;;;;;;;;;;;;;;;;;;;kBA7E2B;IAAA,OAAA,CAAA,QAAA,CAAA,MAAA,EAAA,MAAA,GAAA,SAAA,CAAA,GAAA,SAAA"}
|
|
@@ -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;
|
|
@@ -65,8 +65,8 @@ declare const blockPnpmDedupe: bingo_stratum93.BlockWithoutAddons<{
|
|
|
65
65
|
version?: string | undefined;
|
|
66
66
|
words?: string[] | undefined;
|
|
67
67
|
workflowsVersions?: Record<string, Record<string, {
|
|
68
|
-
hash?: string | undefined;
|
|
69
68
|
pinned?: boolean | undefined;
|
|
69
|
+
hash?: string | undefined;
|
|
70
70
|
}>> | undefined;
|
|
71
71
|
}>;
|
|
72
72
|
//#endregion
|
|
@@ -1,7 +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:
|
|
4
|
+
declare const blockPrettier: bingo_stratum38.BlockWithAddons<{
|
|
5
5
|
ignores: string[];
|
|
6
6
|
overrides: {
|
|
7
7
|
options: {
|
|
@@ -75,8 +75,8 @@ declare const blockPrettier: bingo_stratum30.BlockWithAddons<{
|
|
|
75
75
|
version?: string | undefined;
|
|
76
76
|
words?: string[] | undefined;
|
|
77
77
|
workflowsVersions?: Record<string, Record<string, {
|
|
78
|
-
hash?: string | undefined;
|
|
79
78
|
pinned?: boolean | undefined;
|
|
79
|
+
hash?: string | undefined;
|
|
80
80
|
}>> | undefined;
|
|
81
81
|
}>;
|
|
82
82
|
//#endregion
|
|
@@ -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;
|
|
@@ -65,8 +65,8 @@ declare const blockPrettierPluginCurly: bingo_stratum95.BlockWithoutAddons<{
|
|
|
65
65
|
version?: string | undefined;
|
|
66
66
|
words?: string[] | undefined;
|
|
67
67
|
workflowsVersions?: Record<string, Record<string, {
|
|
68
|
-
hash?: string | undefined;
|
|
69
68
|
pinned?: boolean | undefined;
|
|
69
|
+
hash?: string | undefined;
|
|
70
70
|
}>> | undefined;
|
|
71
71
|
}>;
|
|
72
72
|
//#endregion
|
|
@@ -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;
|
|
@@ -65,8 +65,8 @@ declare const blockPrettierPluginPackageJson: bingo_stratum96.BlockWithoutAddons
|
|
|
65
65
|
version?: string | undefined;
|
|
66
66
|
words?: string[] | undefined;
|
|
67
67
|
workflowsVersions?: Record<string, Record<string, {
|
|
68
|
-
hash?: string | undefined;
|
|
69
68
|
pinned?: boolean | undefined;
|
|
69
|
+
hash?: string | undefined;
|
|
70
70
|
}>> | undefined;
|
|
71
71
|
}>;
|
|
72
72
|
//#endregion
|
|
@@ -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;
|
|
@@ -65,8 +65,8 @@ declare const blockPrettierPluginSentencesPerLine: bingo_stratum97.BlockWithoutA
|
|
|
65
65
|
version?: string | undefined;
|
|
66
66
|
words?: string[] | undefined;
|
|
67
67
|
workflowsVersions?: Record<string, Record<string, {
|
|
68
|
-
hash?: string | undefined;
|
|
69
68
|
pinned?: boolean | undefined;
|
|
69
|
+
hash?: string | undefined;
|
|
70
70
|
}>> | undefined;
|
|
71
71
|
}>;
|
|
72
72
|
//#endregion
|
|
@@ -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;
|
|
@@ -65,8 +65,8 @@ declare const blockPrettierPluginSh: bingo_stratum98.BlockWithoutAddons<{
|
|
|
65
65
|
version?: string | undefined;
|
|
66
66
|
words?: string[] | undefined;
|
|
67
67
|
workflowsVersions?: Record<string, Record<string, {
|
|
68
|
-
hash?: string | undefined;
|
|
69
68
|
pinned?: boolean | undefined;
|
|
69
|
+
hash?: string | undefined;
|
|
70
70
|
}>> | undefined;
|
|
71
71
|
}>;
|
|
72
72
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
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;
|
|
@@ -78,8 +78,8 @@ declare const blockREADME: bingo_stratum99.BlockWithAddons<{
|
|
|
78
78
|
version?: string | undefined;
|
|
79
79
|
words?: string[] | undefined;
|
|
80
80
|
workflowsVersions?: Record<string, Record<string, {
|
|
81
|
-
hash?: string | undefined;
|
|
82
81
|
pinned?: boolean | undefined;
|
|
82
|
+
hash?: string | undefined;
|
|
83
83
|
}>> | undefined;
|
|
84
84
|
}>;
|
|
85
85
|
//#endregion
|
|
@@ -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;
|
|
@@ -70,8 +70,8 @@ declare const blockReleaseIt: bingo_stratum94.BlockWithAddons<{
|
|
|
70
70
|
version?: string | undefined;
|
|
71
71
|
words?: string[] | undefined;
|
|
72
72
|
workflowsVersions?: Record<string, Record<string, {
|
|
73
|
-
hash?: string | undefined;
|
|
74
73
|
pinned?: boolean | undefined;
|
|
74
|
+
hash?: string | undefined;
|
|
75
75
|
}>> | undefined;
|
|
76
76
|
}>;
|
|
77
77
|
//#endregion
|
|
@@ -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";
|
|
@@ -67,8 +67,8 @@ declare const blockRemoveDependencies: bingo_stratum107.BlockWithAddons<{
|
|
|
67
67
|
version?: string | undefined;
|
|
68
68
|
words?: string[] | undefined;
|
|
69
69
|
workflowsVersions?: Record<string, Record<string, {
|
|
70
|
-
hash?: string | undefined;
|
|
71
70
|
pinned?: boolean | undefined;
|
|
71
|
+
hash?: string | undefined;
|
|
72
72
|
}>> | undefined;
|
|
73
73
|
}>;
|
|
74
74
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockRemoveDependencies.d.ts","names":[],"sources":["../../src/blocks/blockRemoveDependencies.ts"],"sourcesContent":[],"mappings":";;;cAMa,
|
|
1
|
+
{"version":3,"file":"blockRemoveDependencies.d.ts","names":[],"sources":["../../src/blocks/blockRemoveDependencies.ts"],"sourcesContent":[],"mappings":";;;cAMa,yCAAuB;;;EAAvB,MAAA,EAAA,QAAA,GAAA,YA0BX;;;;;;;;;;IA1BkC,WAAA,CAAA,EAAA,MAAA,GAAA,SAAA"}
|