create-typescript-app 2.4.6 → 2.6.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 +1 -1
- package/lib/base.d.ts +14 -0
- package/lib/base.js +20 -3
- package/lib/blocks/blockAllContributors.d.ts +6 -0
- package/lib/blocks/blockAreTheTypesWrong.d.ts +6 -0
- package/lib/blocks/blockCSpell.d.ts +6 -0
- package/lib/blocks/blockCodecov.d.ts +6 -0
- package/lib/blocks/blockContributingDocs.d.ts +6 -0
- package/lib/blocks/blockContributingDocs.js +2 -2
- package/lib/blocks/blockContributorCovenant.d.ts +6 -0
- package/lib/blocks/blockDevelopmentDocs.d.ts +6 -0
- package/lib/blocks/blockESLint.d.ts +6 -0
- package/lib/blocks/blockESLintComments.d.ts +6 -0
- package/lib/blocks/blockESLintJSDoc.d.ts +6 -0
- package/lib/blocks/blockESLintJSONC.d.ts +6 -0
- package/lib/blocks/blockESLintMarkdown.d.ts +6 -0
- package/lib/blocks/blockESLintMoreStyling.d.ts +6 -0
- package/lib/blocks/blockESLintNode.d.ts +6 -0
- package/lib/blocks/blockESLintPackageJson.d.ts +6 -0
- package/lib/blocks/blockESLintPerfectionist.d.ts +6 -0
- package/lib/blocks/blockESLintRegexp.d.ts +6 -0
- package/lib/blocks/blockESLintYML.d.ts +6 -0
- package/lib/blocks/blockExampleFiles.d.ts +6 -0
- package/lib/blocks/blockFunding.d.ts +6 -0
- package/lib/blocks/blockGitHubActionsCI.d.ts +6 -0
- package/lib/blocks/blockGitHubApps.d.ts +6 -0
- package/lib/blocks/blockGitHubIssueTemplates.d.ts +6 -0
- package/lib/blocks/blockGitHubPRTemplate.d.ts +6 -0
- package/lib/blocks/blockGitHubPRTemplate.js +1 -1
- package/lib/blocks/blockGitignore.d.ts +6 -0
- package/lib/blocks/blockKnip.d.ts +6 -0
- package/lib/blocks/blockMITLicense.d.ts +6 -0
- package/lib/blocks/blockMarkdownlint.d.ts +6 -0
- package/lib/blocks/blockNvmrc.d.ts +6 -0
- package/lib/blocks/blockPRCompliance.d.ts +6 -0
- package/lib/blocks/blockPackageJson.d.ts +6 -0
- package/lib/blocks/blockPnpmDedupe.d.ts +6 -0
- package/lib/blocks/blockPrettier.d.ts +6 -0
- package/lib/blocks/blockPrettierPluginCurly.d.ts +6 -0
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts +6 -0
- package/lib/blocks/blockPrettierPluginSh.d.ts +6 -0
- package/lib/blocks/blockREADME.d.ts +6 -0
- package/lib/blocks/blockREADME.js +1 -1
- package/lib/blocks/blockReleaseIt.d.ts +6 -0
- package/lib/blocks/blockRenovate.d.ts +6 -0
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts +7 -1
- package/lib/blocks/blockRepositoryBranchRuleset.js +25 -32
- package/lib/blocks/blockRepositoryLabels.d.ts +6 -0
- package/lib/blocks/blockRepositoryLabels.js +47 -12
- package/lib/blocks/blockRepositorySecrets.d.ts +6 -0
- package/lib/blocks/blockRepositorySettings.d.ts +6 -0
- package/lib/blocks/blockRepositorySettings.js +22 -23
- package/lib/blocks/blockSecurityDocs.d.ts +6 -0
- package/lib/blocks/blockTSup.d.ts +6 -0
- package/lib/blocks/blockTemplatedWith.d.ts +6 -0
- package/lib/blocks/blockTypeScript.d.ts +6 -0
- package/lib/blocks/blockVSCode.d.ts +6 -0
- package/lib/blocks/blockVitest.d.ts +6 -0
- package/lib/blocks/index.d.ts +258 -0
- package/lib/blocks/options.fakes.d.ts +1 -0
- package/lib/blocks/options.fakes.js +1 -0
- package/lib/blocks/outcomeLabels.js +2 -2
- package/lib/data/packageData.d.ts +9 -7
- package/lib/index.d.ts +20 -0
- package/lib/options/getExistingLabels.d.ts +9 -0
- package/lib/options/getExistingLabels.js +22 -0
- package/lib/options/parseEmojiFromDescription.d.ts +3 -0
- package/lib/options/parseEmojiFromDescription.js +6 -0
- package/lib/options/readDefaultsFromReadme.d.ts +1 -1
- package/lib/options/readDefaultsFromReadme.js +2 -2
- package/lib/presets/common.d.ts +14 -0
- package/lib/presets/everything.d.ts +14 -0
- package/lib/presets/index.d.ts +42 -0
- package/lib/presets/minimal.d.ts +14 -0
- package/lib/template.d.ts +14 -0
- package/package.json +9 -7
package/README.md
CHANGED
|
@@ -59,7 +59,7 @@ You can read more about `create-typescript-app` and the tooling it supports:
|
|
|
59
59
|
## Development
|
|
60
60
|
|
|
61
61
|
See [`.github/CONTRIBUTING.md`](./.github/CONTRIBUTING.md), then [`.github/DEVELOPMENT.md`](./.github/DEVELOPMENT.md).
|
|
62
|
-
Thanks!
|
|
62
|
+
Thanks! 🎁
|
|
63
63
|
|
|
64
64
|
## Contributors
|
|
65
65
|
|
package/lib/base.d.ts
CHANGED
|
@@ -64,6 +64,20 @@ declare const base: bingo_stratum.Base<{
|
|
|
64
64
|
github: string;
|
|
65
65
|
npm: string;
|
|
66
66
|
}>;
|
|
67
|
+
emoji: z.ZodOptional<z.ZodString>;
|
|
68
|
+
existingLabels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
69
|
+
color: z.ZodString;
|
|
70
|
+
description: z.ZodString;
|
|
71
|
+
name: z.ZodString;
|
|
72
|
+
}, "strip", z.ZodTypeAny, {
|
|
73
|
+
name: string;
|
|
74
|
+
description: string;
|
|
75
|
+
color: string;
|
|
76
|
+
}, {
|
|
77
|
+
name: string;
|
|
78
|
+
description: string;
|
|
79
|
+
color: string;
|
|
80
|
+
}>, "many">>;
|
|
67
81
|
explainer: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
68
82
|
funding: z.ZodOptional<z.ZodString>;
|
|
69
83
|
guide: z.ZodOptional<z.ZodObject<{
|
package/lib/base.js
CHANGED
|
@@ -8,6 +8,8 @@ import lazyValue from "lazy-value";
|
|
|
8
8
|
import npmUser from "npm-user";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
import { inputFromOctokit } from "./inputs/inputFromOctokit.js";
|
|
11
|
+
import { getExistingLabels } from "./options/getExistingLabels.js";
|
|
12
|
+
import { parseEmojiFromDescription } from "./options/parseEmojiFromDescription.js";
|
|
11
13
|
import { parsePackageAuthor } from "./options/parsePackageAuthor.js";
|
|
12
14
|
import { readAllContributors } from "./options/readAllContributors.js";
|
|
13
15
|
import { readDefaultsFromReadme } from "./options/readDefaultsFromReadme.js";
|
|
@@ -34,7 +36,7 @@ const base = createBase({
|
|
|
34
36
|
author: z.string().optional().describe("username on npm to publish packages under"),
|
|
35
37
|
bin: z.string().optional().describe('value to set in `package.json`\'s `"bin"` property'),
|
|
36
38
|
contributors: z.array(zContributor).optional().describe("AllContributors contributors to store in .all-contributorsrc"),
|
|
37
|
-
description: z.string().default("A very lovely package. Hooray!
|
|
39
|
+
description: z.string().default("A very lovely package. Hooray!").describe("'Sentence case.' description of the repository"),
|
|
38
40
|
directory: z.string().describe("Directory to create the repository in"),
|
|
39
41
|
documentation: z.string().optional().describe("any additional docs to add to .github/DEVELOPMENT.md"),
|
|
40
42
|
email: z.union([
|
|
@@ -48,6 +50,14 @@ const base = createBase({
|
|
|
48
50
|
).describe(
|
|
49
51
|
"email address to be listed as the point of contact in docs and packages"
|
|
50
52
|
),
|
|
53
|
+
emoji: z.string().optional().describe("decorative emoji to use in descriptions and docs"),
|
|
54
|
+
existingLabels: z.array(
|
|
55
|
+
z.object({
|
|
56
|
+
color: z.string(),
|
|
57
|
+
description: z.string(),
|
|
58
|
+
name: z.string()
|
|
59
|
+
})
|
|
60
|
+
).optional().describe("existing labels from the GitHub repository"),
|
|
51
61
|
explainer: z.array(z.string()).optional().describe("additional README.md sentence(s) describing the package"),
|
|
52
62
|
funding: z.string().optional().describe("GitHub organization or username to mention in `funding.yml`"),
|
|
53
63
|
guide: z.object({
|
|
@@ -90,6 +100,9 @@ const base = createBase({
|
|
|
90
100
|
filePath: ".nvmrc"
|
|
91
101
|
})
|
|
92
102
|
);
|
|
103
|
+
const existingLabels = lazyValue(
|
|
104
|
+
async () => getExistingLabels(take, await owner(), await repository())
|
|
105
|
+
);
|
|
93
106
|
const githubCliUser = lazyValue(async () => {
|
|
94
107
|
return swallowError(
|
|
95
108
|
await take(inputFromScript, {
|
|
@@ -110,6 +123,8 @@ const base = createBase({
|
|
|
110
123
|
(ruleset) => ruleset.name === "Branch protection for main"
|
|
111
124
|
)?.id;
|
|
112
125
|
});
|
|
126
|
+
const emoji = async () => parseEmojiFromDescription(description);
|
|
127
|
+
const description = async () => await readDescription(packageData, readme);
|
|
113
128
|
const gitDefaults = tryCatchLazyValueAsync(
|
|
114
129
|
async () => gitUrlParse(await gitRemoteOriginUrl())
|
|
115
130
|
);
|
|
@@ -145,9 +160,11 @@ const base = createBase({
|
|
|
145
160
|
author,
|
|
146
161
|
bin: async () => (await packageData()).bin,
|
|
147
162
|
contributors: allContributors,
|
|
148
|
-
description
|
|
163
|
+
description,
|
|
149
164
|
documentation,
|
|
150
165
|
email,
|
|
166
|
+
emoji,
|
|
167
|
+
existingLabels,
|
|
151
168
|
funding: readFunding,
|
|
152
169
|
guide: readGuide,
|
|
153
170
|
login: author,
|
|
@@ -164,7 +181,7 @@ const base = createBase({
|
|
|
164
181
|
pnpm,
|
|
165
182
|
repository,
|
|
166
183
|
rulesetId,
|
|
167
|
-
...readDefaultsFromReadme(readme, repository),
|
|
184
|
+
...readDefaultsFromReadme(emoji, readme, repository),
|
|
168
185
|
version
|
|
169
186
|
};
|
|
170
187
|
}
|
|
@@ -21,6 +21,12 @@ declare const blockAllContributors: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -21,6 +21,12 @@ declare const blockAreTheTypesWrong: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -24,6 +24,12 @@ declare const blockCSpell: bingo_stratum.BlockWithAddons<{
|
|
|
24
24
|
profile: string;
|
|
25
25
|
}[] | undefined;
|
|
26
26
|
documentation?: string | undefined;
|
|
27
|
+
emoji?: string | undefined;
|
|
28
|
+
existingLabels?: {
|
|
29
|
+
name: string;
|
|
30
|
+
description: string;
|
|
31
|
+
color: string;
|
|
32
|
+
}[] | undefined;
|
|
27
33
|
explainer?: string[] | undefined;
|
|
28
34
|
funding?: string | undefined;
|
|
29
35
|
guide?: {
|
|
@@ -23,6 +23,12 @@ declare const blockCodecov: bingo_stratum.BlockWithAddons<{
|
|
|
23
23
|
profile: string;
|
|
24
24
|
}[] | undefined;
|
|
25
25
|
documentation?: string | undefined;
|
|
26
|
+
emoji?: string | undefined;
|
|
27
|
+
existingLabels?: {
|
|
28
|
+
name: string;
|
|
29
|
+
description: string;
|
|
30
|
+
color: string;
|
|
31
|
+
}[] | undefined;
|
|
26
32
|
explainer?: string[] | undefined;
|
|
27
33
|
funding?: string | undefined;
|
|
28
34
|
guide?: {
|
|
@@ -21,6 +21,12 @@ declare const blockContributingDocs: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -10,7 +10,7 @@ const blockContributingDocs = base.createBlock({
|
|
|
10
10
|
".github": {
|
|
11
11
|
"CONTRIBUTING.md": `# Contributing
|
|
12
12
|
|
|
13
|
-
Thanks for your interest in contributing to \`${options.repository}\`!
|
|
13
|
+
Thanks for your interest in contributing to \`${options.repository}\`! ${options.emoji}
|
|
14
14
|
|
|
15
15
|
> After this page, see [DEVELOPMENT.md](./DEVELOPMENT.md) for local development instructions.
|
|
16
16
|
|
|
@@ -104,7 +104,7 @@ Please do ping the maintainer who merged your PR if that doesn't happen within 2
|
|
|
104
104
|
|
|
105
105
|
If you made it all the way to the end, bravo dear user, we love you.
|
|
106
106
|
Please include your favorite emoji in the bottom of your issues and PRs to signal to us that you did in fact read this file and are trying to conform to it as best as possible.
|
|
107
|
-
|
|
107
|
+
${options.emoji} is a good starter if you're not sure which to use.
|
|
108
108
|
`
|
|
109
109
|
}
|
|
110
110
|
}
|
|
@@ -21,6 +21,12 @@ declare const blockContributorCovenant: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -35,6 +35,12 @@ declare const blockDevelopmentDocs: bingo_stratum.BlockWithAddons<{
|
|
|
35
35
|
profile: string;
|
|
36
36
|
}[] | undefined;
|
|
37
37
|
documentation?: string | undefined;
|
|
38
|
+
emoji?: string | undefined;
|
|
39
|
+
existingLabels?: {
|
|
40
|
+
name: string;
|
|
41
|
+
description: string;
|
|
42
|
+
color: string;
|
|
43
|
+
}[] | undefined;
|
|
38
44
|
explainer?: string[] | undefined;
|
|
39
45
|
funding?: string | undefined;
|
|
40
46
|
guide?: {
|
|
@@ -47,6 +47,12 @@ declare const blockESLint: bingo_stratum.BlockWithAddons<{
|
|
|
47
47
|
profile: string;
|
|
48
48
|
}[] | undefined;
|
|
49
49
|
documentation?: string | undefined;
|
|
50
|
+
emoji?: string | undefined;
|
|
51
|
+
existingLabels?: {
|
|
52
|
+
name: string;
|
|
53
|
+
description: string;
|
|
54
|
+
color: string;
|
|
55
|
+
}[] | undefined;
|
|
50
56
|
explainer?: string[] | undefined;
|
|
51
57
|
funding?: string | undefined;
|
|
52
58
|
guide?: {
|
|
@@ -21,6 +21,12 @@ declare const blockESLintComments: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -21,6 +21,12 @@ declare const blockESLintJSDoc: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -21,6 +21,12 @@ declare const blockESLintJSONC: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -21,6 +21,12 @@ declare const blockESLintMarkdown: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -21,6 +21,12 @@ declare const blockESLintMoreStyling: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -21,6 +21,12 @@ declare const blockESLintNode: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -21,6 +21,12 @@ declare const blockESLintPackageJson: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -21,6 +21,12 @@ declare const blockESLintPerfectionist: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -21,6 +21,12 @@ declare const blockESLintRegexp: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -21,6 +21,12 @@ declare const blockESLintYML: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -23,6 +23,12 @@ declare const blockExampleFiles: bingo_stratum.BlockWithAddons<{
|
|
|
23
23
|
profile: string;
|
|
24
24
|
}[] | undefined;
|
|
25
25
|
documentation?: string | undefined;
|
|
26
|
+
emoji?: string | undefined;
|
|
27
|
+
existingLabels?: {
|
|
28
|
+
name: string;
|
|
29
|
+
description: string;
|
|
30
|
+
color: string;
|
|
31
|
+
}[] | undefined;
|
|
26
32
|
explainer?: string[] | undefined;
|
|
27
33
|
funding?: string | undefined;
|
|
28
34
|
guide?: {
|
|
@@ -21,6 +21,12 @@ declare const blockFunding: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -60,6 +60,12 @@ declare const blockGitHubActionsCI: bingo_stratum.BlockWithAddons<{
|
|
|
60
60
|
profile: string;
|
|
61
61
|
}[] | undefined;
|
|
62
62
|
documentation?: string | undefined;
|
|
63
|
+
emoji?: string | undefined;
|
|
64
|
+
existingLabels?: {
|
|
65
|
+
name: string;
|
|
66
|
+
description: string;
|
|
67
|
+
color: string;
|
|
68
|
+
}[] | undefined;
|
|
63
69
|
explainer?: string[] | undefined;
|
|
64
70
|
funding?: string | undefined;
|
|
65
71
|
guide?: {
|
|
@@ -26,6 +26,12 @@ declare const blockGitHubApps: bingo_stratum.BlockWithAddons<{
|
|
|
26
26
|
profile: string;
|
|
27
27
|
}[] | undefined;
|
|
28
28
|
documentation?: string | undefined;
|
|
29
|
+
emoji?: string | undefined;
|
|
30
|
+
existingLabels?: {
|
|
31
|
+
name: string;
|
|
32
|
+
description: string;
|
|
33
|
+
color: string;
|
|
34
|
+
}[] | undefined;
|
|
29
35
|
explainer?: string[] | undefined;
|
|
30
36
|
funding?: string | undefined;
|
|
31
37
|
guide?: {
|
|
@@ -21,6 +21,12 @@ declare const blockGitHubIssueTemplates: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -21,6 +21,12 @@ declare const blockGitHubPRTemplate: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -7,7 +7,7 @@ const blockGitHubPRTemplate = base.createBlock({
|
|
|
7
7
|
return {
|
|
8
8
|
files: {
|
|
9
9
|
".github": {
|
|
10
|
-
"PULL_REQUEST_TEMPLATE.md": `<!-- \u{1F44B} Hi, thanks for sending a PR to ${options.repository}!
|
|
10
|
+
"PULL_REQUEST_TEMPLATE.md": `<!-- \u{1F44B} Hi, thanks for sending a PR to ${options.repository}! ${options.emoji}.
|
|
11
11
|
Please fill out all fields below and make sure each item is true and [x] checked.
|
|
12
12
|
Otherwise we may not be able to review your PR. -->
|
|
13
13
|
|
|
@@ -23,6 +23,12 @@ declare const blockGitignore: bingo_stratum.BlockWithAddons<{
|
|
|
23
23
|
profile: string;
|
|
24
24
|
}[] | undefined;
|
|
25
25
|
documentation?: string | undefined;
|
|
26
|
+
emoji?: string | undefined;
|
|
27
|
+
existingLabels?: {
|
|
28
|
+
name: string;
|
|
29
|
+
description: string;
|
|
30
|
+
color: string;
|
|
31
|
+
}[] | undefined;
|
|
26
32
|
explainer?: string[] | undefined;
|
|
27
33
|
funding?: string | undefined;
|
|
28
34
|
guide?: {
|
|
@@ -23,6 +23,12 @@ declare const blockKnip: bingo_stratum.BlockWithAddons<{
|
|
|
23
23
|
profile: string;
|
|
24
24
|
}[] | undefined;
|
|
25
25
|
documentation?: string | undefined;
|
|
26
|
+
emoji?: string | undefined;
|
|
27
|
+
existingLabels?: {
|
|
28
|
+
name: string;
|
|
29
|
+
description: string;
|
|
30
|
+
color: string;
|
|
31
|
+
}[] | undefined;
|
|
26
32
|
explainer?: string[] | undefined;
|
|
27
33
|
funding?: string | undefined;
|
|
28
34
|
guide?: {
|
|
@@ -21,6 +21,12 @@ declare const blockMITLicense: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -23,6 +23,12 @@ declare const blockMarkdownlint: bingo_stratum.BlockWithAddons<{
|
|
|
23
23
|
profile: string;
|
|
24
24
|
}[] | undefined;
|
|
25
25
|
documentation?: string | undefined;
|
|
26
|
+
emoji?: string | undefined;
|
|
27
|
+
existingLabels?: {
|
|
28
|
+
name: string;
|
|
29
|
+
description: string;
|
|
30
|
+
color: string;
|
|
31
|
+
}[] | undefined;
|
|
26
32
|
explainer?: string[] | undefined;
|
|
27
33
|
funding?: string | undefined;
|
|
28
34
|
guide?: {
|
|
@@ -21,6 +21,12 @@ declare const blockNvmrc: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -21,6 +21,12 @@ declare const blockPRCompliance: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -30,6 +30,12 @@ declare const blockPackageJson: bingo_stratum.BlockWithAddons<{
|
|
|
30
30
|
profile: string;
|
|
31
31
|
}[] | undefined;
|
|
32
32
|
documentation?: string | undefined;
|
|
33
|
+
emoji?: string | undefined;
|
|
34
|
+
existingLabels?: {
|
|
35
|
+
name: string;
|
|
36
|
+
description: string;
|
|
37
|
+
color: string;
|
|
38
|
+
}[] | undefined;
|
|
33
39
|
explainer?: string[] | undefined;
|
|
34
40
|
funding?: string | undefined;
|
|
35
41
|
guide?: {
|
|
@@ -21,6 +21,12 @@ declare const blockPnpmDedupe: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -30,6 +30,12 @@ declare const blockPrettier: bingo_stratum.BlockWithAddons<{
|
|
|
30
30
|
profile: string;
|
|
31
31
|
}[] | undefined;
|
|
32
32
|
documentation?: string | undefined;
|
|
33
|
+
emoji?: string | undefined;
|
|
34
|
+
existingLabels?: {
|
|
35
|
+
name: string;
|
|
36
|
+
description: string;
|
|
37
|
+
color: string;
|
|
38
|
+
}[] | undefined;
|
|
33
39
|
explainer?: string[] | undefined;
|
|
34
40
|
funding?: string | undefined;
|
|
35
41
|
guide?: {
|
|
@@ -21,6 +21,12 @@ declare const blockPrettierPluginCurly: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -21,6 +21,12 @@ declare const blockPrettierPluginPackageJson: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -21,6 +21,12 @@ declare const blockPrettierPluginSh: bingo_stratum.BlockWithoutAddons<{
|
|
|
21
21
|
profile: string;
|
|
22
22
|
}[] | undefined;
|
|
23
23
|
documentation?: string | undefined;
|
|
24
|
+
emoji?: string | undefined;
|
|
25
|
+
existingLabels?: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
color: string;
|
|
29
|
+
}[] | undefined;
|
|
24
30
|
explainer?: string[] | undefined;
|
|
25
31
|
funding?: string | undefined;
|
|
26
32
|
guide?: {
|
|
@@ -25,6 +25,12 @@ declare const blockREADME: bingo_stratum.BlockWithAddons<{
|
|
|
25
25
|
profile: string;
|
|
26
26
|
}[] | undefined;
|
|
27
27
|
documentation?: string | undefined;
|
|
28
|
+
emoji?: string | undefined;
|
|
29
|
+
existingLabels?: {
|
|
30
|
+
name: string;
|
|
31
|
+
description: string;
|
|
32
|
+
color: string;
|
|
33
|
+
}[] | undefined;
|
|
28
34
|
explainer?: string[] | undefined;
|
|
29
35
|
funding?: string | undefined;
|
|
30
36
|
guide?: {
|
|
@@ -42,7 +42,7 @@ ${options.usage}
|
|
|
42
42
|
## Development
|
|
43
43
|
|
|
44
44
|
See [\`.github/CONTRIBUTING.md\`](./.github/CONTRIBUTING.md), then [\`.github/DEVELOPMENT.md\`](./.github/DEVELOPMENT.md).
|
|
45
|
-
Thanks!
|
|
45
|
+
Thanks! ${options.emoji}
|
|
46
46
|
${sections.map((section) => `
|
|
47
47
|
${section}`).join("")}
|
|
48
48
|
${notices.length ? `
|