create-typescript-app 2.21.4 → 2.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/base.d.ts +25 -2
- package/lib/base.js +21 -9
- package/lib/blocks/blockAllContributors.d.ts +7 -2
- package/lib/blocks/blockAreTheTypesWrong.d.ts +7 -2
- package/lib/blocks/blockCSpell.d.ts +7 -2
- package/lib/blocks/blockCTATransitions.d.ts +7 -2
- package/lib/blocks/blockCodecov.d.ts +7 -2
- package/lib/blocks/blockContributingDocs.d.ts +7 -2
- package/lib/blocks/blockContributorCovenant.d.ts +7 -2
- package/lib/blocks/blockDevelopmentDocs.d.ts +7 -2
- package/lib/blocks/blockDevelopmentDocs.js +1 -1
- package/lib/blocks/blockESLint.d.ts +7 -2
- package/lib/blocks/blockESLintComments.d.ts +7 -2
- package/lib/blocks/blockESLintJSDoc.d.ts +7 -2
- package/lib/blocks/blockESLintJSONC.d.ts +7 -2
- package/lib/blocks/blockESLintMarkdown.d.ts +7 -2
- package/lib/blocks/blockESLintMoreStyling.d.ts +7 -2
- package/lib/blocks/blockESLintNode.d.ts +7 -2
- package/lib/blocks/blockESLintPackageJson.d.ts +7 -2
- package/lib/blocks/blockESLintPerfectionist.d.ts +7 -2
- package/lib/blocks/blockESLintRegexp.d.ts +7 -2
- package/lib/blocks/blockESLintYML.d.ts +7 -2
- package/lib/blocks/blockExampleFiles.d.ts +7 -2
- package/lib/blocks/blockFunding.d.ts +7 -2
- package/lib/blocks/blockGitHubActionsCI.d.ts +7 -2
- package/lib/blocks/blockGitHubApps.d.ts +7 -2
- package/lib/blocks/blockGitHubIssueTemplates.d.ts +7 -2
- package/lib/blocks/blockGitHubPRTemplate.d.ts +7 -2
- package/lib/blocks/blockGitignore.d.ts +7 -2
- package/lib/blocks/blockKnip.d.ts +7 -2
- package/lib/blocks/blockKnip.js +14 -1
- package/lib/blocks/blockMITLicense.d.ts +7 -2
- package/lib/blocks/blockMain.d.ts +7 -2
- package/lib/blocks/blockMarkdownlint.d.ts +7 -2
- package/lib/blocks/blockNcc.d.ts +7 -2
- package/lib/blocks/blockNvmrc.d.ts +7 -2
- package/lib/blocks/blockPRCompliance.d.ts +7 -2
- package/lib/blocks/blockPackageJson.d.ts +7 -2
- package/lib/blocks/blockPnpmDedupe.d.ts +7 -2
- package/lib/blocks/blockPrettier.d.ts +7 -2
- package/lib/blocks/blockPrettierPluginCurly.d.ts +7 -2
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts +7 -2
- package/lib/blocks/blockPrettierPluginSh.d.ts +7 -2
- package/lib/blocks/blockREADME.d.ts +7 -2
- package/lib/blocks/blockREADME.js +2 -2
- package/lib/blocks/blockReleaseIt.d.ts +7 -2
- package/lib/blocks/blockRemoveDependencies.d.ts +7 -2
- package/lib/blocks/blockRemoveFiles.d.ts +7 -2
- package/lib/blocks/blockRemoveWorkflows.d.ts +7 -2
- package/lib/blocks/blockRenovate.d.ts +7 -2
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts +7 -2
- package/lib/blocks/blockRepositoryLabels.d.ts +7 -2
- package/lib/blocks/blockRepositorySecrets.d.ts +7 -2
- package/lib/blocks/blockRepositorySettings.d.ts +7 -2
- package/lib/blocks/blockSecurityDocs.d.ts +7 -2
- package/lib/blocks/blockTSup.d.ts +7 -2
- package/lib/blocks/blockTemplatedWith.d.ts +7 -2
- package/lib/blocks/blockTypeScript.d.ts +7 -2
- package/lib/blocks/blockVSCode.d.ts +7 -2
- package/lib/blocks/blockVitest.d.ts +7 -2
- package/lib/blocks/index.d.ts +315 -90
- package/lib/blocks/intake/intakeFileAsJson.d.ts +5 -0
- package/lib/blocks/intake/intakeFileAsJson.js +13 -0
- package/lib/blocks/options.fakes.d.ts +5 -0
- package/lib/blocks/options.fakes.js +5 -0
- package/lib/data/packageData.d.ts +2 -2
- package/lib/index.d.ts +32 -4
- package/lib/options/readDevelopmentDocumentation.d.ts +5 -0
- package/lib/options/readDevelopmentDocumentation.js +27 -0
- package/lib/options/readDocumentation.d.ts +3 -2
- package/lib/options/readDocumentation.js +13 -23
- package/lib/options/readReadmeAdditional.d.ts +3 -0
- package/lib/options/readReadmeAdditional.js +20 -0
- package/lib/options/readReadmeUsage.d.ts +3 -0
- package/lib/options/{readUsage.js → readReadmeUsage.js} +2 -2
- package/lib/presets/common.d.ts +25 -2
- package/lib/presets/everything.d.ts +25 -2
- package/lib/presets/index.d.ts +75 -6
- package/lib/presets/minimal.d.ts +25 -2
- package/lib/schemas.d.ts +38 -1
- package/lib/schemas.js +10 -0
- package/lib/template.d.ts +25 -2
- package/package.json +2 -2
- package/lib/options/readUsage.d.ts +0 -3
package/lib/base.d.ts
CHANGED
|
@@ -27,7 +27,31 @@ declare const base: bingo_stratum.Base<{
|
|
|
27
27
|
}>, "many">>;
|
|
28
28
|
description: z.ZodDefault<z.ZodString>;
|
|
29
29
|
directory: z.ZodString;
|
|
30
|
-
documentation: z.
|
|
30
|
+
documentation: z.ZodObject<{
|
|
31
|
+
development: z.ZodOptional<z.ZodString>;
|
|
32
|
+
readme: z.ZodObject<{
|
|
33
|
+
additional: z.ZodOptional<z.ZodString>;
|
|
34
|
+
usage: z.ZodString;
|
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
|
36
|
+
usage: string;
|
|
37
|
+
additional?: string | undefined;
|
|
38
|
+
}, {
|
|
39
|
+
usage: string;
|
|
40
|
+
additional?: string | undefined;
|
|
41
|
+
}>;
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
readme: {
|
|
44
|
+
usage: string;
|
|
45
|
+
additional?: string | undefined;
|
|
46
|
+
};
|
|
47
|
+
development?: string | undefined;
|
|
48
|
+
}, {
|
|
49
|
+
readme: {
|
|
50
|
+
usage: string;
|
|
51
|
+
additional?: string | undefined;
|
|
52
|
+
};
|
|
53
|
+
development?: string | undefined;
|
|
54
|
+
}>;
|
|
31
55
|
email: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
32
56
|
github: z.ZodString;
|
|
33
57
|
npm: z.ZodString;
|
|
@@ -121,7 +145,6 @@ declare const base: bingo_stratum.Base<{
|
|
|
121
145
|
repository: z.ZodString;
|
|
122
146
|
rulesetId: z.ZodOptional<z.ZodString>;
|
|
123
147
|
title: z.ZodString;
|
|
124
|
-
usage: z.ZodOptional<z.ZodString>;
|
|
125
148
|
version: z.ZodOptional<z.ZodString>;
|
|
126
149
|
words: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
127
150
|
workflowsVersions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
|
package/lib/base.js
CHANGED
|
@@ -8,6 +8,7 @@ import { readAllContributors } from "./options/readAllContributors.js";
|
|
|
8
8
|
import { readAuthor } from "./options/readAuthor.js";
|
|
9
9
|
import { readBin } from "./options/readBin.js";
|
|
10
10
|
import { readDescription } from "./options/readDescription.js";
|
|
11
|
+
import { readDevelopmentDocumentation } from "./options/readDevelopmentDocumentation.js";
|
|
11
12
|
import { readDocumentation } from "./options/readDocumentation.js";
|
|
12
13
|
import { readEmailFromCodeOfConduct } from "./options/readEmailFromCodeOfConduct.js";
|
|
13
14
|
import { readEmailFromGit } from "./options/readEmailFromGit.js";
|
|
@@ -27,13 +28,14 @@ import { readOwner } from "./options/readOwner.js";
|
|
|
27
28
|
import { readPackageAuthor } from "./options/readPackageAuthor.js";
|
|
28
29
|
import { readPackageData } from "./options/readPackageData.js";
|
|
29
30
|
import { readPnpm } from "./options/readPnpm.js";
|
|
31
|
+
import { readReadmeAdditional } from "./options/readReadmeAdditional.js";
|
|
32
|
+
import { readReadmeUsage } from "./options/readReadmeUsage.js";
|
|
30
33
|
import { readRepository } from "./options/readRepository.js";
|
|
31
34
|
import { readRulesetId } from "./options/readRulesetId.js";
|
|
32
35
|
import { readTitle } from "./options/readTitle.js";
|
|
33
|
-
import { readUsage } from "./options/readUsage.js";
|
|
34
36
|
import { readWords } from "./options/readWords.js";
|
|
35
37
|
import { readWorkflowsVersions } from "./options/readWorkflowsVersions.js";
|
|
36
|
-
import { zContributor, zWorkflowsVersions } from "./schemas.js";
|
|
38
|
+
import { zContributor, zDocumentation, zWorkflowsVersions } from "./schemas.js";
|
|
37
39
|
const base = createBase({
|
|
38
40
|
options: {
|
|
39
41
|
access: z.union([z.literal("public"), z.literal("restricted")]).describe("which `npm publish --access` to release npm packages with"),
|
|
@@ -42,7 +44,9 @@ const base = createBase({
|
|
|
42
44
|
contributors: z.array(zContributor).optional().describe("AllContributors contributors to store in .all-contributorsrc"),
|
|
43
45
|
description: z.string().default("A very lovely package. Hooray!").describe("'Sentence case.' description of the repository"),
|
|
44
46
|
directory: z.string().describe("Directory to create the repository in"),
|
|
45
|
-
documentation:
|
|
47
|
+
documentation: zDocumentation.describe(
|
|
48
|
+
"additional docs to add to .md files"
|
|
49
|
+
),
|
|
46
50
|
email: z.union([
|
|
47
51
|
z.string(),
|
|
48
52
|
z.object({
|
|
@@ -95,7 +99,6 @@ const base = createBase({
|
|
|
95
99
|
repository: z.string().describe("'kebab-case' or 'PascalCase' title of the repository"),
|
|
96
100
|
rulesetId: z.string().optional().describe("GitHub branch ruleset ID for main branch protections"),
|
|
97
101
|
title: z.string().describe("'Title Case' title for the repository"),
|
|
98
|
-
usage: z.string().optional().describe("Markdown docs to put in README.md under the ## Usage heading"),
|
|
99
102
|
version: z.string().optional().describe("package version to publish as and store in `package.json`"),
|
|
100
103
|
words: z.array(z.string()).optional().describe("additional words to add to the CSpell dictionary"),
|
|
101
104
|
workflowsVersions: zWorkflowsVersions.optional().describe("existing versions of GitHub Actions workflows used")
|
|
@@ -113,8 +116,15 @@ const base = createBase({
|
|
|
113
116
|
const getDescription = lazyValue(
|
|
114
117
|
async () => await readDescription(getPackageData, getReadme)
|
|
115
118
|
);
|
|
119
|
+
const getDevelopmentDocumentation = lazyValue(
|
|
120
|
+
async () => await readDevelopmentDocumentation(take)
|
|
121
|
+
);
|
|
116
122
|
const getDocumentation = lazyValue(
|
|
117
|
-
async () => await readDocumentation(
|
|
123
|
+
async () => await readDocumentation(
|
|
124
|
+
getDevelopmentDocumentation,
|
|
125
|
+
getReadmeAdditional,
|
|
126
|
+
getReadmeUsage
|
|
127
|
+
)
|
|
118
128
|
);
|
|
119
129
|
const getEmail = lazyValue(
|
|
120
130
|
async () => await readEmails(
|
|
@@ -163,6 +173,12 @@ const base = createBase({
|
|
|
163
173
|
const getReadme = lazyValue(
|
|
164
174
|
async () => await readFileSafe("README.md", "")
|
|
165
175
|
);
|
|
176
|
+
const getReadmeAdditional = lazyValue(
|
|
177
|
+
async () => await readReadmeAdditional(getReadme)
|
|
178
|
+
);
|
|
179
|
+
const getReadmeUsage = lazyValue(
|
|
180
|
+
async () => await readReadmeUsage(getEmoji, getReadme, getRepository)
|
|
181
|
+
);
|
|
166
182
|
const getRepository = lazyValue(
|
|
167
183
|
async () => await readRepository(getGitDefaults, getPackageData, options)
|
|
168
184
|
);
|
|
@@ -172,9 +188,6 @@ const base = createBase({
|
|
|
172
188
|
const getTitle = lazyValue(
|
|
173
189
|
async () => await readTitle(getReadme, getRepository)
|
|
174
190
|
);
|
|
175
|
-
const getUsage = lazyValue(
|
|
176
|
-
async () => await readUsage(getEmoji, getReadme, getRepository)
|
|
177
|
-
);
|
|
178
191
|
const getVersion = lazyValue(async () => (await getPackageData()).version);
|
|
179
192
|
const getWords = lazyValue(async () => await readWords(take));
|
|
180
193
|
const getWorkflowData = lazyValue(
|
|
@@ -201,7 +214,6 @@ const base = createBase({
|
|
|
201
214
|
repository: getRepository,
|
|
202
215
|
rulesetId: getRulesetId,
|
|
203
216
|
title: getTitle,
|
|
204
|
-
usage: getUsage,
|
|
205
217
|
version: getVersion,
|
|
206
218
|
words: getWords,
|
|
207
219
|
workflowsVersions: getWorkflowData
|
|
@@ -4,6 +4,13 @@ declare const blockAllContributors: bingo_stratum.BlockWithoutAddons<{
|
|
|
4
4
|
access: "public" | "restricted";
|
|
5
5
|
description: string;
|
|
6
6
|
directory: string;
|
|
7
|
+
documentation: {
|
|
8
|
+
readme: {
|
|
9
|
+
usage: string;
|
|
10
|
+
additional?: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
development?: string | undefined;
|
|
13
|
+
};
|
|
7
14
|
email: {
|
|
8
15
|
github: string;
|
|
9
16
|
npm: string;
|
|
@@ -20,7 +27,6 @@ declare const blockAllContributors: bingo_stratum.BlockWithoutAddons<{
|
|
|
20
27
|
name: string;
|
|
21
28
|
profile: string;
|
|
22
29
|
}[] | undefined;
|
|
23
|
-
documentation?: string | undefined;
|
|
24
30
|
emoji?: string | undefined;
|
|
25
31
|
existingLabels?: {
|
|
26
32
|
name: string;
|
|
@@ -53,7 +59,6 @@ declare const blockAllContributors: bingo_stratum.BlockWithoutAddons<{
|
|
|
53
59
|
} | undefined;
|
|
54
60
|
pnpm?: string | undefined;
|
|
55
61
|
rulesetId?: string | undefined;
|
|
56
|
-
usage?: string | undefined;
|
|
57
62
|
version?: string | undefined;
|
|
58
63
|
words?: string[] | undefined;
|
|
59
64
|
workflowsVersions?: Record<string, Record<string, {
|
|
@@ -4,6 +4,13 @@ declare const blockAreTheTypesWrong: bingo_stratum.BlockWithoutAddons<{
|
|
|
4
4
|
access: "public" | "restricted";
|
|
5
5
|
description: string;
|
|
6
6
|
directory: string;
|
|
7
|
+
documentation: {
|
|
8
|
+
readme: {
|
|
9
|
+
usage: string;
|
|
10
|
+
additional?: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
development?: string | undefined;
|
|
13
|
+
};
|
|
7
14
|
email: {
|
|
8
15
|
github: string;
|
|
9
16
|
npm: string;
|
|
@@ -20,7 +27,6 @@ declare const blockAreTheTypesWrong: bingo_stratum.BlockWithoutAddons<{
|
|
|
20
27
|
name: string;
|
|
21
28
|
profile: string;
|
|
22
29
|
}[] | undefined;
|
|
23
|
-
documentation?: string | undefined;
|
|
24
30
|
emoji?: string | undefined;
|
|
25
31
|
existingLabels?: {
|
|
26
32
|
name: string;
|
|
@@ -53,7 +59,6 @@ declare const blockAreTheTypesWrong: bingo_stratum.BlockWithoutAddons<{
|
|
|
53
59
|
} | undefined;
|
|
54
60
|
pnpm?: string | undefined;
|
|
55
61
|
rulesetId?: string | undefined;
|
|
56
|
-
usage?: string | undefined;
|
|
57
62
|
version?: string | undefined;
|
|
58
63
|
words?: string[] | undefined;
|
|
59
64
|
workflowsVersions?: Record<string, Record<string, {
|
|
@@ -7,6 +7,13 @@ declare const blockCSpell: bingo_stratum.BlockWithAddons<{
|
|
|
7
7
|
access: "public" | "restricted";
|
|
8
8
|
description: string;
|
|
9
9
|
directory: string;
|
|
10
|
+
documentation: {
|
|
11
|
+
readme: {
|
|
12
|
+
usage: string;
|
|
13
|
+
additional?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
development?: string | undefined;
|
|
16
|
+
};
|
|
10
17
|
email: {
|
|
11
18
|
github: string;
|
|
12
19
|
npm: string;
|
|
@@ -23,7 +30,6 @@ declare const blockCSpell: bingo_stratum.BlockWithAddons<{
|
|
|
23
30
|
name: string;
|
|
24
31
|
profile: string;
|
|
25
32
|
}[] | undefined;
|
|
26
|
-
documentation?: string | undefined;
|
|
27
33
|
emoji?: string | undefined;
|
|
28
34
|
existingLabels?: {
|
|
29
35
|
name: string;
|
|
@@ -56,7 +62,6 @@ declare const blockCSpell: bingo_stratum.BlockWithAddons<{
|
|
|
56
62
|
} | undefined;
|
|
57
63
|
pnpm?: string | undefined;
|
|
58
64
|
rulesetId?: string | undefined;
|
|
59
|
-
usage?: string | undefined;
|
|
60
65
|
version?: string | undefined;
|
|
61
66
|
words?: string[] | undefined;
|
|
62
67
|
workflowsVersions?: Record<string, Record<string, {
|
|
@@ -4,6 +4,13 @@ declare const blockCTATransitions: bingo_stratum.BlockWithoutAddons<{
|
|
|
4
4
|
access: "public" | "restricted";
|
|
5
5
|
description: string;
|
|
6
6
|
directory: string;
|
|
7
|
+
documentation: {
|
|
8
|
+
readme: {
|
|
9
|
+
usage: string;
|
|
10
|
+
additional?: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
development?: string | undefined;
|
|
13
|
+
};
|
|
7
14
|
email: {
|
|
8
15
|
github: string;
|
|
9
16
|
npm: string;
|
|
@@ -20,7 +27,6 @@ declare const blockCTATransitions: bingo_stratum.BlockWithoutAddons<{
|
|
|
20
27
|
name: string;
|
|
21
28
|
profile: string;
|
|
22
29
|
}[] | undefined;
|
|
23
|
-
documentation?: string | undefined;
|
|
24
30
|
emoji?: string | undefined;
|
|
25
31
|
existingLabels?: {
|
|
26
32
|
name: string;
|
|
@@ -53,7 +59,6 @@ declare const blockCTATransitions: bingo_stratum.BlockWithoutAddons<{
|
|
|
53
59
|
} | undefined;
|
|
54
60
|
pnpm?: string | undefined;
|
|
55
61
|
rulesetId?: string | undefined;
|
|
56
|
-
usage?: string | undefined;
|
|
57
62
|
version?: string | undefined;
|
|
58
63
|
words?: string[] | undefined;
|
|
59
64
|
workflowsVersions?: Record<string, Record<string, {
|
|
@@ -6,6 +6,13 @@ declare const blockCodecov: bingo_stratum.BlockWithAddons<{
|
|
|
6
6
|
access: "public" | "restricted";
|
|
7
7
|
description: string;
|
|
8
8
|
directory: string;
|
|
9
|
+
documentation: {
|
|
10
|
+
readme: {
|
|
11
|
+
usage: string;
|
|
12
|
+
additional?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
development?: string | undefined;
|
|
15
|
+
};
|
|
9
16
|
email: {
|
|
10
17
|
github: string;
|
|
11
18
|
npm: string;
|
|
@@ -22,7 +29,6 @@ declare const blockCodecov: bingo_stratum.BlockWithAddons<{
|
|
|
22
29
|
name: string;
|
|
23
30
|
profile: string;
|
|
24
31
|
}[] | undefined;
|
|
25
|
-
documentation?: string | undefined;
|
|
26
32
|
emoji?: string | undefined;
|
|
27
33
|
existingLabels?: {
|
|
28
34
|
name: string;
|
|
@@ -55,7 +61,6 @@ declare const blockCodecov: bingo_stratum.BlockWithAddons<{
|
|
|
55
61
|
} | undefined;
|
|
56
62
|
pnpm?: string | undefined;
|
|
57
63
|
rulesetId?: string | undefined;
|
|
58
|
-
usage?: string | undefined;
|
|
59
64
|
version?: string | undefined;
|
|
60
65
|
words?: string[] | undefined;
|
|
61
66
|
workflowsVersions?: Record<string, Record<string, {
|
|
@@ -4,6 +4,13 @@ declare const blockContributingDocs: bingo_stratum.BlockWithoutAddons<{
|
|
|
4
4
|
access: "public" | "restricted";
|
|
5
5
|
description: string;
|
|
6
6
|
directory: string;
|
|
7
|
+
documentation: {
|
|
8
|
+
readme: {
|
|
9
|
+
usage: string;
|
|
10
|
+
additional?: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
development?: string | undefined;
|
|
13
|
+
};
|
|
7
14
|
email: {
|
|
8
15
|
github: string;
|
|
9
16
|
npm: string;
|
|
@@ -20,7 +27,6 @@ declare const blockContributingDocs: bingo_stratum.BlockWithoutAddons<{
|
|
|
20
27
|
name: string;
|
|
21
28
|
profile: string;
|
|
22
29
|
}[] | undefined;
|
|
23
|
-
documentation?: string | undefined;
|
|
24
30
|
emoji?: string | undefined;
|
|
25
31
|
existingLabels?: {
|
|
26
32
|
name: string;
|
|
@@ -53,7 +59,6 @@ declare const blockContributingDocs: bingo_stratum.BlockWithoutAddons<{
|
|
|
53
59
|
} | undefined;
|
|
54
60
|
pnpm?: string | undefined;
|
|
55
61
|
rulesetId?: string | undefined;
|
|
56
|
-
usage?: string | undefined;
|
|
57
62
|
version?: string | undefined;
|
|
58
63
|
words?: string[] | undefined;
|
|
59
64
|
workflowsVersions?: Record<string, Record<string, {
|
|
@@ -4,6 +4,13 @@ declare const blockContributorCovenant: bingo_stratum.BlockWithoutAddons<{
|
|
|
4
4
|
access: "public" | "restricted";
|
|
5
5
|
description: string;
|
|
6
6
|
directory: string;
|
|
7
|
+
documentation: {
|
|
8
|
+
readme: {
|
|
9
|
+
usage: string;
|
|
10
|
+
additional?: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
development?: string | undefined;
|
|
13
|
+
};
|
|
7
14
|
email: {
|
|
8
15
|
github: string;
|
|
9
16
|
npm: string;
|
|
@@ -20,7 +27,6 @@ declare const blockContributorCovenant: bingo_stratum.BlockWithoutAddons<{
|
|
|
20
27
|
name: string;
|
|
21
28
|
profile: string;
|
|
22
29
|
}[] | undefined;
|
|
23
|
-
documentation?: string | undefined;
|
|
24
30
|
emoji?: string | undefined;
|
|
25
31
|
existingLabels?: {
|
|
26
32
|
name: string;
|
|
@@ -53,7 +59,6 @@ declare const blockContributorCovenant: bingo_stratum.BlockWithoutAddons<{
|
|
|
53
59
|
} | undefined;
|
|
54
60
|
pnpm?: string | undefined;
|
|
55
61
|
rulesetId?: string | undefined;
|
|
56
|
-
usage?: string | undefined;
|
|
57
62
|
version?: string | undefined;
|
|
58
63
|
words?: string[] | undefined;
|
|
59
64
|
workflowsVersions?: Record<string, Record<string, {
|
|
@@ -18,6 +18,13 @@ declare const blockDevelopmentDocs: bingo_stratum.BlockWithAddons<{
|
|
|
18
18
|
access: "public" | "restricted";
|
|
19
19
|
description: string;
|
|
20
20
|
directory: string;
|
|
21
|
+
documentation: {
|
|
22
|
+
readme: {
|
|
23
|
+
usage: string;
|
|
24
|
+
additional?: string | undefined;
|
|
25
|
+
};
|
|
26
|
+
development?: string | undefined;
|
|
27
|
+
};
|
|
21
28
|
email: {
|
|
22
29
|
github: string;
|
|
23
30
|
npm: string;
|
|
@@ -34,7 +41,6 @@ declare const blockDevelopmentDocs: bingo_stratum.BlockWithAddons<{
|
|
|
34
41
|
name: string;
|
|
35
42
|
profile: string;
|
|
36
43
|
}[] | undefined;
|
|
37
|
-
documentation?: string | undefined;
|
|
38
44
|
emoji?: string | undefined;
|
|
39
45
|
existingLabels?: {
|
|
40
46
|
name: string;
|
|
@@ -67,7 +73,6 @@ declare const blockDevelopmentDocs: bingo_stratum.BlockWithAddons<{
|
|
|
67
73
|
} | undefined;
|
|
68
74
|
pnpm?: string | undefined;
|
|
69
75
|
rulesetId?: string | undefined;
|
|
70
|
-
usage?: string | undefined;
|
|
71
76
|
version?: string | undefined;
|
|
72
77
|
words?: string[] | undefined;
|
|
73
78
|
workflowsVersions?: Record<string, Record<string, {
|
|
@@ -65,7 +65,7 @@ const blockDevelopmentDocs = base.createBlock({
|
|
|
65
65
|
``,
|
|
66
66
|
...addons.hints.length ? [...addons.hints, ``] : [],
|
|
67
67
|
...Object.entries(addons.sections).sort(([a], [b]) => a.localeCompare(b)).flatMap(([heading, section]) => printSection(heading, section)),
|
|
68
|
-
...options.documentation ? [options.documentation] : []
|
|
68
|
+
...options.documentation.development ? [options.documentation.development] : []
|
|
69
69
|
];
|
|
70
70
|
return {
|
|
71
71
|
files: {
|
|
@@ -30,6 +30,13 @@ declare const blockESLint: bingo_stratum.BlockWithAddons<{
|
|
|
30
30
|
access: "public" | "restricted";
|
|
31
31
|
description: string;
|
|
32
32
|
directory: string;
|
|
33
|
+
documentation: {
|
|
34
|
+
readme: {
|
|
35
|
+
usage: string;
|
|
36
|
+
additional?: string | undefined;
|
|
37
|
+
};
|
|
38
|
+
development?: string | undefined;
|
|
39
|
+
};
|
|
33
40
|
email: {
|
|
34
41
|
github: string;
|
|
35
42
|
npm: string;
|
|
@@ -46,7 +53,6 @@ declare const blockESLint: bingo_stratum.BlockWithAddons<{
|
|
|
46
53
|
name: string;
|
|
47
54
|
profile: string;
|
|
48
55
|
}[] | undefined;
|
|
49
|
-
documentation?: string | undefined;
|
|
50
56
|
emoji?: string | undefined;
|
|
51
57
|
existingLabels?: {
|
|
52
58
|
name: string;
|
|
@@ -79,7 +85,6 @@ declare const blockESLint: bingo_stratum.BlockWithAddons<{
|
|
|
79
85
|
} | undefined;
|
|
80
86
|
pnpm?: string | undefined;
|
|
81
87
|
rulesetId?: string | undefined;
|
|
82
|
-
usage?: string | undefined;
|
|
83
88
|
version?: string | undefined;
|
|
84
89
|
words?: string[] | undefined;
|
|
85
90
|
workflowsVersions?: Record<string, Record<string, {
|
|
@@ -4,6 +4,13 @@ declare const blockESLintComments: bingo_stratum.BlockWithoutAddons<{
|
|
|
4
4
|
access: "public" | "restricted";
|
|
5
5
|
description: string;
|
|
6
6
|
directory: string;
|
|
7
|
+
documentation: {
|
|
8
|
+
readme: {
|
|
9
|
+
usage: string;
|
|
10
|
+
additional?: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
development?: string | undefined;
|
|
13
|
+
};
|
|
7
14
|
email: {
|
|
8
15
|
github: string;
|
|
9
16
|
npm: string;
|
|
@@ -20,7 +27,6 @@ declare const blockESLintComments: bingo_stratum.BlockWithoutAddons<{
|
|
|
20
27
|
name: string;
|
|
21
28
|
profile: string;
|
|
22
29
|
}[] | undefined;
|
|
23
|
-
documentation?: string | undefined;
|
|
24
30
|
emoji?: string | undefined;
|
|
25
31
|
existingLabels?: {
|
|
26
32
|
name: string;
|
|
@@ -53,7 +59,6 @@ declare const blockESLintComments: bingo_stratum.BlockWithoutAddons<{
|
|
|
53
59
|
} | undefined;
|
|
54
60
|
pnpm?: string | undefined;
|
|
55
61
|
rulesetId?: string | undefined;
|
|
56
|
-
usage?: string | undefined;
|
|
57
62
|
version?: string | undefined;
|
|
58
63
|
words?: string[] | undefined;
|
|
59
64
|
workflowsVersions?: Record<string, Record<string, {
|
|
@@ -4,6 +4,13 @@ declare const blockESLintJSDoc: bingo_stratum.BlockWithoutAddons<{
|
|
|
4
4
|
access: "public" | "restricted";
|
|
5
5
|
description: string;
|
|
6
6
|
directory: string;
|
|
7
|
+
documentation: {
|
|
8
|
+
readme: {
|
|
9
|
+
usage: string;
|
|
10
|
+
additional?: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
development?: string | undefined;
|
|
13
|
+
};
|
|
7
14
|
email: {
|
|
8
15
|
github: string;
|
|
9
16
|
npm: string;
|
|
@@ -20,7 +27,6 @@ declare const blockESLintJSDoc: bingo_stratum.BlockWithoutAddons<{
|
|
|
20
27
|
name: string;
|
|
21
28
|
profile: string;
|
|
22
29
|
}[] | undefined;
|
|
23
|
-
documentation?: string | undefined;
|
|
24
30
|
emoji?: string | undefined;
|
|
25
31
|
existingLabels?: {
|
|
26
32
|
name: string;
|
|
@@ -53,7 +59,6 @@ declare const blockESLintJSDoc: bingo_stratum.BlockWithoutAddons<{
|
|
|
53
59
|
} | undefined;
|
|
54
60
|
pnpm?: string | undefined;
|
|
55
61
|
rulesetId?: string | undefined;
|
|
56
|
-
usage?: string | undefined;
|
|
57
62
|
version?: string | undefined;
|
|
58
63
|
words?: string[] | undefined;
|
|
59
64
|
workflowsVersions?: Record<string, Record<string, {
|
|
@@ -4,6 +4,13 @@ declare const blockESLintJSONC: bingo_stratum.BlockWithoutAddons<{
|
|
|
4
4
|
access: "public" | "restricted";
|
|
5
5
|
description: string;
|
|
6
6
|
directory: string;
|
|
7
|
+
documentation: {
|
|
8
|
+
readme: {
|
|
9
|
+
usage: string;
|
|
10
|
+
additional?: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
development?: string | undefined;
|
|
13
|
+
};
|
|
7
14
|
email: {
|
|
8
15
|
github: string;
|
|
9
16
|
npm: string;
|
|
@@ -20,7 +27,6 @@ declare const blockESLintJSONC: bingo_stratum.BlockWithoutAddons<{
|
|
|
20
27
|
name: string;
|
|
21
28
|
profile: string;
|
|
22
29
|
}[] | undefined;
|
|
23
|
-
documentation?: string | undefined;
|
|
24
30
|
emoji?: string | undefined;
|
|
25
31
|
existingLabels?: {
|
|
26
32
|
name: string;
|
|
@@ -53,7 +59,6 @@ declare const blockESLintJSONC: bingo_stratum.BlockWithoutAddons<{
|
|
|
53
59
|
} | undefined;
|
|
54
60
|
pnpm?: string | undefined;
|
|
55
61
|
rulesetId?: string | undefined;
|
|
56
|
-
usage?: string | undefined;
|
|
57
62
|
version?: string | undefined;
|
|
58
63
|
words?: string[] | undefined;
|
|
59
64
|
workflowsVersions?: Record<string, Record<string, {
|
|
@@ -4,6 +4,13 @@ declare const blockESLintMarkdown: bingo_stratum.BlockWithoutAddons<{
|
|
|
4
4
|
access: "public" | "restricted";
|
|
5
5
|
description: string;
|
|
6
6
|
directory: string;
|
|
7
|
+
documentation: {
|
|
8
|
+
readme: {
|
|
9
|
+
usage: string;
|
|
10
|
+
additional?: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
development?: string | undefined;
|
|
13
|
+
};
|
|
7
14
|
email: {
|
|
8
15
|
github: string;
|
|
9
16
|
npm: string;
|
|
@@ -20,7 +27,6 @@ declare const blockESLintMarkdown: bingo_stratum.BlockWithoutAddons<{
|
|
|
20
27
|
name: string;
|
|
21
28
|
profile: string;
|
|
22
29
|
}[] | undefined;
|
|
23
|
-
documentation?: string | undefined;
|
|
24
30
|
emoji?: string | undefined;
|
|
25
31
|
existingLabels?: {
|
|
26
32
|
name: string;
|
|
@@ -53,7 +59,6 @@ declare const blockESLintMarkdown: bingo_stratum.BlockWithoutAddons<{
|
|
|
53
59
|
} | undefined;
|
|
54
60
|
pnpm?: string | undefined;
|
|
55
61
|
rulesetId?: string | undefined;
|
|
56
|
-
usage?: string | undefined;
|
|
57
62
|
version?: string | undefined;
|
|
58
63
|
words?: string[] | undefined;
|
|
59
64
|
workflowsVersions?: Record<string, Record<string, {
|
|
@@ -4,6 +4,13 @@ declare const blockESLintMoreStyling: bingo_stratum.BlockWithoutAddons<{
|
|
|
4
4
|
access: "public" | "restricted";
|
|
5
5
|
description: string;
|
|
6
6
|
directory: string;
|
|
7
|
+
documentation: {
|
|
8
|
+
readme: {
|
|
9
|
+
usage: string;
|
|
10
|
+
additional?: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
development?: string | undefined;
|
|
13
|
+
};
|
|
7
14
|
email: {
|
|
8
15
|
github: string;
|
|
9
16
|
npm: string;
|
|
@@ -20,7 +27,6 @@ declare const blockESLintMoreStyling: bingo_stratum.BlockWithoutAddons<{
|
|
|
20
27
|
name: string;
|
|
21
28
|
profile: string;
|
|
22
29
|
}[] | undefined;
|
|
23
|
-
documentation?: string | undefined;
|
|
24
30
|
emoji?: string | undefined;
|
|
25
31
|
existingLabels?: {
|
|
26
32
|
name: string;
|
|
@@ -53,7 +59,6 @@ declare const blockESLintMoreStyling: bingo_stratum.BlockWithoutAddons<{
|
|
|
53
59
|
} | undefined;
|
|
54
60
|
pnpm?: string | undefined;
|
|
55
61
|
rulesetId?: string | undefined;
|
|
56
|
-
usage?: string | undefined;
|
|
57
62
|
version?: string | undefined;
|
|
58
63
|
words?: string[] | undefined;
|
|
59
64
|
workflowsVersions?: Record<string, Record<string, {
|
|
@@ -4,6 +4,13 @@ declare const blockESLintNode: bingo_stratum.BlockWithoutAddons<{
|
|
|
4
4
|
access: "public" | "restricted";
|
|
5
5
|
description: string;
|
|
6
6
|
directory: string;
|
|
7
|
+
documentation: {
|
|
8
|
+
readme: {
|
|
9
|
+
usage: string;
|
|
10
|
+
additional?: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
development?: string | undefined;
|
|
13
|
+
};
|
|
7
14
|
email: {
|
|
8
15
|
github: string;
|
|
9
16
|
npm: string;
|
|
@@ -20,7 +27,6 @@ declare const blockESLintNode: bingo_stratum.BlockWithoutAddons<{
|
|
|
20
27
|
name: string;
|
|
21
28
|
profile: string;
|
|
22
29
|
}[] | undefined;
|
|
23
|
-
documentation?: string | undefined;
|
|
24
30
|
emoji?: string | undefined;
|
|
25
31
|
existingLabels?: {
|
|
26
32
|
name: string;
|
|
@@ -53,7 +59,6 @@ declare const blockESLintNode: bingo_stratum.BlockWithoutAddons<{
|
|
|
53
59
|
} | undefined;
|
|
54
60
|
pnpm?: string | undefined;
|
|
55
61
|
rulesetId?: string | undefined;
|
|
56
|
-
usage?: string | undefined;
|
|
57
62
|
version?: string | undefined;
|
|
58
63
|
words?: string[] | undefined;
|
|
59
64
|
workflowsVersions?: Record<string, Record<string, {
|
|
@@ -4,6 +4,13 @@ declare const blockESLintPackageJson: bingo_stratum.BlockWithoutAddons<{
|
|
|
4
4
|
access: "public" | "restricted";
|
|
5
5
|
description: string;
|
|
6
6
|
directory: string;
|
|
7
|
+
documentation: {
|
|
8
|
+
readme: {
|
|
9
|
+
usage: string;
|
|
10
|
+
additional?: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
development?: string | undefined;
|
|
13
|
+
};
|
|
7
14
|
email: {
|
|
8
15
|
github: string;
|
|
9
16
|
npm: string;
|
|
@@ -20,7 +27,6 @@ declare const blockESLintPackageJson: bingo_stratum.BlockWithoutAddons<{
|
|
|
20
27
|
name: string;
|
|
21
28
|
profile: string;
|
|
22
29
|
}[] | undefined;
|
|
23
|
-
documentation?: string | undefined;
|
|
24
30
|
emoji?: string | undefined;
|
|
25
31
|
existingLabels?: {
|
|
26
32
|
name: string;
|
|
@@ -53,7 +59,6 @@ declare const blockESLintPackageJson: bingo_stratum.BlockWithoutAddons<{
|
|
|
53
59
|
} | undefined;
|
|
54
60
|
pnpm?: string | undefined;
|
|
55
61
|
rulesetId?: string | undefined;
|
|
56
|
-
usage?: string | undefined;
|
|
57
62
|
version?: string | undefined;
|
|
58
63
|
words?: string[] | undefined;
|
|
59
64
|
workflowsVersions?: Record<string, Record<string, {
|
|
@@ -4,6 +4,13 @@ declare const blockESLintPerfectionist: bingo_stratum.BlockWithoutAddons<{
|
|
|
4
4
|
access: "public" | "restricted";
|
|
5
5
|
description: string;
|
|
6
6
|
directory: string;
|
|
7
|
+
documentation: {
|
|
8
|
+
readme: {
|
|
9
|
+
usage: string;
|
|
10
|
+
additional?: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
development?: string | undefined;
|
|
13
|
+
};
|
|
7
14
|
email: {
|
|
8
15
|
github: string;
|
|
9
16
|
npm: string;
|
|
@@ -20,7 +27,6 @@ declare const blockESLintPerfectionist: bingo_stratum.BlockWithoutAddons<{
|
|
|
20
27
|
name: string;
|
|
21
28
|
profile: string;
|
|
22
29
|
}[] | undefined;
|
|
23
|
-
documentation?: string | undefined;
|
|
24
30
|
emoji?: string | undefined;
|
|
25
31
|
existingLabels?: {
|
|
26
32
|
name: string;
|
|
@@ -53,7 +59,6 @@ declare const blockESLintPerfectionist: bingo_stratum.BlockWithoutAddons<{
|
|
|
53
59
|
} | undefined;
|
|
54
60
|
pnpm?: string | undefined;
|
|
55
61
|
rulesetId?: string | undefined;
|
|
56
|
-
usage?: string | undefined;
|
|
57
62
|
version?: string | undefined;
|
|
58
63
|
words?: string[] | undefined;
|
|
59
64
|
workflowsVersions?: Record<string, Record<string, {
|
|
@@ -4,6 +4,13 @@ declare const blockESLintRegexp: bingo_stratum.BlockWithoutAddons<{
|
|
|
4
4
|
access: "public" | "restricted";
|
|
5
5
|
description: string;
|
|
6
6
|
directory: string;
|
|
7
|
+
documentation: {
|
|
8
|
+
readme: {
|
|
9
|
+
usage: string;
|
|
10
|
+
additional?: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
development?: string | undefined;
|
|
13
|
+
};
|
|
7
14
|
email: {
|
|
8
15
|
github: string;
|
|
9
16
|
npm: string;
|
|
@@ -20,7 +27,6 @@ declare const blockESLintRegexp: bingo_stratum.BlockWithoutAddons<{
|
|
|
20
27
|
name: string;
|
|
21
28
|
profile: string;
|
|
22
29
|
}[] | undefined;
|
|
23
|
-
documentation?: string | undefined;
|
|
24
30
|
emoji?: string | undefined;
|
|
25
31
|
existingLabels?: {
|
|
26
32
|
name: string;
|
|
@@ -53,7 +59,6 @@ declare const blockESLintRegexp: bingo_stratum.BlockWithoutAddons<{
|
|
|
53
59
|
} | undefined;
|
|
54
60
|
pnpm?: string | undefined;
|
|
55
61
|
rulesetId?: string | undefined;
|
|
56
|
-
usage?: string | undefined;
|
|
57
62
|
version?: string | undefined;
|
|
58
63
|
words?: string[] | undefined;
|
|
59
64
|
workflowsVersions?: Record<string, Record<string, {
|