create-typescript-app 2.15.2 → 2.15.3
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 +1 -1
- package/lib/base.js +1 -1
- package/lib/blocks/bin/getPrimaryBin.d.ts +3 -0
- package/lib/blocks/bin/getPrimaryBin.js +6 -0
- package/lib/blocks/blockAllContributors.d.ts +1 -1
- package/lib/blocks/blockAreTheTypesWrong.d.ts +1 -1
- package/lib/blocks/blockCSpell.d.ts +1 -1
- package/lib/blocks/blockCTATransitions.d.ts +1 -1
- package/lib/blocks/blockCodecov.d.ts +1 -1
- package/lib/blocks/blockContributingDocs.d.ts +1 -1
- package/lib/blocks/blockContributorCovenant.d.ts +1 -1
- package/lib/blocks/blockDevelopmentDocs.d.ts +1 -1
- package/lib/blocks/blockESLint.d.ts +1 -1
- package/lib/blocks/blockESLintComments.d.ts +1 -1
- package/lib/blocks/blockESLintJSDoc.d.ts +1 -1
- package/lib/blocks/blockESLintJSONC.d.ts +1 -1
- package/lib/blocks/blockESLintMarkdown.d.ts +1 -1
- package/lib/blocks/blockESLintMoreStyling.d.ts +1 -1
- package/lib/blocks/blockESLintNode.d.ts +1 -1
- package/lib/blocks/blockESLintPackageJson.d.ts +1 -1
- package/lib/blocks/blockESLintPerfectionist.d.ts +1 -1
- package/lib/blocks/blockESLintRegexp.d.ts +1 -1
- package/lib/blocks/blockESLintYML.d.ts +1 -1
- package/lib/blocks/blockExampleFiles.d.ts +1 -1
- package/lib/blocks/blockFunding.d.ts +1 -1
- package/lib/blocks/blockGitHubActionsCI.d.ts +1 -1
- package/lib/blocks/blockGitHubApps.d.ts +1 -1
- package/lib/blocks/blockGitHubIssueTemplates.d.ts +1 -1
- package/lib/blocks/blockGitHubPRTemplate.d.ts +1 -1
- package/lib/blocks/blockGitignore.d.ts +1 -1
- package/lib/blocks/blockKnip.d.ts +1 -1
- package/lib/blocks/blockMITLicense.d.ts +1 -1
- package/lib/blocks/blockMarkdownlint.d.ts +1 -1
- package/lib/blocks/blockNcc.d.ts +1 -1
- package/lib/blocks/blockNvmrc.d.ts +1 -1
- package/lib/blocks/blockPRCompliance.d.ts +1 -1
- package/lib/blocks/blockPackageJson.d.ts +1 -1
- package/lib/blocks/blockPackageJson.js +8 -1
- package/lib/blocks/blockPnpmDedupe.d.ts +1 -1
- package/lib/blocks/blockPrettier.d.ts +1 -1
- package/lib/blocks/blockPrettierPluginCurly.d.ts +1 -1
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts +1 -1
- package/lib/blocks/blockPrettierPluginSh.d.ts +1 -1
- package/lib/blocks/blockREADME.d.ts +1 -1
- package/lib/blocks/blockReleaseIt.d.ts +1 -1
- package/lib/blocks/blockRemoveDependencies.d.ts +1 -1
- package/lib/blocks/blockRemoveFiles.d.ts +1 -1
- package/lib/blocks/blockRemoveWorkflows.d.ts +1 -1
- package/lib/blocks/blockRenovate.d.ts +1 -1
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts +1 -1
- package/lib/blocks/blockRepositoryLabels.d.ts +1 -1
- package/lib/blocks/blockRepositorySecrets.d.ts +1 -1
- package/lib/blocks/blockRepositorySettings.d.ts +1 -1
- package/lib/blocks/blockSecurityDocs.d.ts +1 -1
- package/lib/blocks/blockTSup.d.ts +1 -1
- package/lib/blocks/blockTemplatedWith.d.ts +1 -1
- package/lib/blocks/blockTypeScript.d.ts +1 -1
- package/lib/blocks/blockTypeScript.js +4 -2
- package/lib/blocks/blockVSCode.d.ts +1 -1
- package/lib/blocks/blockVSCode.js +4 -2
- package/lib/blocks/blockVitest.d.ts +1 -1
- package/lib/blocks/index.d.ts +44 -44
- package/lib/data/packageData.d.ts +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/presets/common.d.ts +1 -1
- package/lib/presets/everything.d.ts +1 -1
- package/lib/presets/index.d.ts +3 -3
- package/lib/presets/minimal.d.ts +1 -1
- package/lib/template.d.ts +1 -1
- package/lib/types.d.ts +1 -1
- package/package.json +1 -1
package/lib/base.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { z } from 'zod';
|
|
|
5
5
|
declare const base: bingo_stratum.Base<{
|
|
6
6
|
access: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"restricted">]>;
|
|
7
7
|
author: z.ZodOptional<z.ZodString>;
|
|
8
|
-
bin: z.ZodOptional<z.ZodString
|
|
8
|
+
bin: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
9
9
|
contributors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10
10
|
avatar_url: z.ZodString;
|
|
11
11
|
contributions: z.ZodArray<z.ZodString, "many">;
|
package/lib/base.js
CHANGED
|
@@ -37,7 +37,7 @@ const base = createBase({
|
|
|
37
37
|
options: {
|
|
38
38
|
access: z.union([z.literal("public"), z.literal("restricted")]).describe("which `npm publish --access` to release npm packages with"),
|
|
39
39
|
author: z.string().optional().describe("username on npm to publish packages under"),
|
|
40
|
-
bin: z.string().optional().describe('value to set in `package.json`\'s `"bin"` property'),
|
|
40
|
+
bin: z.union([z.string(), z.record(z.string())]).optional().describe('value to set in `package.json`\'s `"bin"` property'),
|
|
41
41
|
contributors: z.array(zContributor).optional().describe("AllContributors contributors to store in .all-contributorsrc"),
|
|
42
42
|
description: z.string().default("A very lovely package. Hooray!").describe("'Sentence case.' description of the repository"),
|
|
43
43
|
directory: z.string().describe("Directory to create the repository in"),
|
|
@@ -12,7 +12,7 @@ declare const blockAllContributors: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockAreTheTypesWrong: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -15,7 +15,7 @@ declare const blockCSpell: bingo_stratum.BlockWithAddons<{
|
|
|
15
15
|
owner: string;
|
|
16
16
|
repository: string;
|
|
17
17
|
author?: string | undefined;
|
|
18
|
-
bin?: string | undefined;
|
|
18
|
+
bin?: string | Record<string, string> | undefined;
|
|
19
19
|
contributors?: {
|
|
20
20
|
avatar_url: string;
|
|
21
21
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockCTATransitions: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -14,7 +14,7 @@ declare const blockCodecov: bingo_stratum.BlockWithAddons<{
|
|
|
14
14
|
owner: string;
|
|
15
15
|
repository: string;
|
|
16
16
|
author?: string | undefined;
|
|
17
|
-
bin?: string | undefined;
|
|
17
|
+
bin?: string | Record<string, string> | undefined;
|
|
18
18
|
contributors?: {
|
|
19
19
|
avatar_url: string;
|
|
20
20
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockContributingDocs: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockContributorCovenant: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -26,7 +26,7 @@ declare const blockDevelopmentDocs: bingo_stratum.BlockWithAddons<{
|
|
|
26
26
|
owner: string;
|
|
27
27
|
repository: string;
|
|
28
28
|
author?: string | undefined;
|
|
29
|
-
bin?: string | undefined;
|
|
29
|
+
bin?: string | Record<string, string> | undefined;
|
|
30
30
|
contributors?: {
|
|
31
31
|
avatar_url: string;
|
|
32
32
|
contributions: string[];
|
|
@@ -38,7 +38,7 @@ declare const blockESLint: bingo_stratum.BlockWithAddons<{
|
|
|
38
38
|
owner: string;
|
|
39
39
|
repository: string;
|
|
40
40
|
author?: string | undefined;
|
|
41
|
-
bin?: string | undefined;
|
|
41
|
+
bin?: string | Record<string, string> | undefined;
|
|
42
42
|
contributors?: {
|
|
43
43
|
avatar_url: string;
|
|
44
44
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockESLintComments: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockESLintJSDoc: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockESLintJSONC: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockESLintMarkdown: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockESLintMoreStyling: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockESLintNode: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockESLintPackageJson: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockESLintPerfectionist: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockESLintRegexp: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockESLintYML: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -14,7 +14,7 @@ declare const blockExampleFiles: bingo_stratum.BlockWithAddons<{
|
|
|
14
14
|
owner: string;
|
|
15
15
|
repository: string;
|
|
16
16
|
author?: string | undefined;
|
|
17
|
-
bin?: string | undefined;
|
|
17
|
+
bin?: string | Record<string, string> | undefined;
|
|
18
18
|
contributors?: {
|
|
19
19
|
avatar_url: string;
|
|
20
20
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockFunding: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -53,7 +53,7 @@ declare const blockGitHubActionsCI: bingo_stratum.BlockWithAddons<{
|
|
|
53
53
|
owner: string;
|
|
54
54
|
repository: string;
|
|
55
55
|
author?: string | undefined;
|
|
56
|
-
bin?: string | undefined;
|
|
56
|
+
bin?: string | Record<string, string> | undefined;
|
|
57
57
|
contributors?: {
|
|
58
58
|
avatar_url: string;
|
|
59
59
|
contributions: string[];
|
|
@@ -17,7 +17,7 @@ declare const blockGitHubApps: bingo_stratum.BlockWithAddons<{
|
|
|
17
17
|
owner: string;
|
|
18
18
|
repository: string;
|
|
19
19
|
author?: string | undefined;
|
|
20
|
-
bin?: string | undefined;
|
|
20
|
+
bin?: string | Record<string, string> | undefined;
|
|
21
21
|
contributors?: {
|
|
22
22
|
avatar_url: string;
|
|
23
23
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockGitHubIssueTemplates: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockGitHubPRTemplate: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -14,7 +14,7 @@ declare const blockGitignore: bingo_stratum.BlockWithAddons<{
|
|
|
14
14
|
owner: string;
|
|
15
15
|
repository: string;
|
|
16
16
|
author?: string | undefined;
|
|
17
|
-
bin?: string | undefined;
|
|
17
|
+
bin?: string | Record<string, string> | undefined;
|
|
18
18
|
contributors?: {
|
|
19
19
|
avatar_url: string;
|
|
20
20
|
contributions: string[];
|
|
@@ -14,7 +14,7 @@ declare const blockKnip: bingo_stratum.BlockWithAddons<{
|
|
|
14
14
|
owner: string;
|
|
15
15
|
repository: string;
|
|
16
16
|
author?: string | undefined;
|
|
17
|
-
bin?: string | undefined;
|
|
17
|
+
bin?: string | Record<string, string> | undefined;
|
|
18
18
|
contributors?: {
|
|
19
19
|
avatar_url: string;
|
|
20
20
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockMITLicense: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -14,7 +14,7 @@ declare const blockMarkdownlint: bingo_stratum.BlockWithAddons<{
|
|
|
14
14
|
owner: string;
|
|
15
15
|
repository: string;
|
|
16
16
|
author?: string | undefined;
|
|
17
|
-
bin?: string | undefined;
|
|
17
|
+
bin?: string | Record<string, string> | undefined;
|
|
18
18
|
contributors?: {
|
|
19
19
|
avatar_url: string;
|
|
20
20
|
contributions: string[];
|
package/lib/blocks/blockNcc.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ declare const blockNcc: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockNvmrc: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockPRCompliance: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -89,7 +89,7 @@ declare const blockPackageJson: bingo_stratum.BlockWithAddons<{
|
|
|
89
89
|
owner: string;
|
|
90
90
|
repository: string;
|
|
91
91
|
author?: string | undefined;
|
|
92
|
-
bin?: string | undefined;
|
|
92
|
+
bin?: string | Record<string, string> | undefined;
|
|
93
93
|
contributors?: {
|
|
94
94
|
avatar_url: string;
|
|
95
95
|
contributions: string[];
|
|
@@ -53,7 +53,7 @@ const blockPackageJson = base.createBlock({
|
|
|
53
53
|
packageManager: `pnpm@${options.pnpm}`
|
|
54
54
|
},
|
|
55
55
|
files: [
|
|
56
|
-
options.bin
|
|
56
|
+
...collectBinFiles(options.bin),
|
|
57
57
|
...addons.properties.files ?? [],
|
|
58
58
|
"package.json",
|
|
59
59
|
"README.md"
|
|
@@ -95,6 +95,13 @@ const blockPackageJson = base.createBlock({
|
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
97
|
});
|
|
98
|
+
function collectBinFiles(bin) {
|
|
99
|
+
if (!bin) {
|
|
100
|
+
return [];
|
|
101
|
+
}
|
|
102
|
+
const files = typeof bin === "object" ? Object.values(bin) : [bin];
|
|
103
|
+
return files.map((file) => file.replace(/^\.\//, ""));
|
|
104
|
+
}
|
|
98
105
|
function removeRangePrefix(version) {
|
|
99
106
|
return version.replaceAll(/[\^~><=]/gu, "").split(" ")[0];
|
|
100
107
|
}
|
|
@@ -12,7 +12,7 @@ declare const blockPnpmDedupe: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -21,7 +21,7 @@ declare const blockPrettier: bingo_stratum.BlockWithAddons<{
|
|
|
21
21
|
owner: string;
|
|
22
22
|
repository: string;
|
|
23
23
|
author?: string | undefined;
|
|
24
|
-
bin?: string | undefined;
|
|
24
|
+
bin?: string | Record<string, string> | undefined;
|
|
25
25
|
contributors?: {
|
|
26
26
|
avatar_url: string;
|
|
27
27
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockPrettierPluginCurly: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockPrettierPluginPackageJson: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockPrettierPluginSh: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -24,7 +24,7 @@ declare const blockREADME: bingo_stratum.BlockWithAddons<{
|
|
|
24
24
|
owner: string;
|
|
25
25
|
repository: string;
|
|
26
26
|
author?: string | undefined;
|
|
27
|
-
bin?: string | undefined;
|
|
27
|
+
bin?: string | Record<string, string> | undefined;
|
|
28
28
|
contributors?: {
|
|
29
29
|
avatar_url: string;
|
|
30
30
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockReleaseIt: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -14,7 +14,7 @@ declare const blockRemoveDependencies: bingo_stratum.BlockWithAddons<{
|
|
|
14
14
|
owner: string;
|
|
15
15
|
repository: string;
|
|
16
16
|
author?: string | undefined;
|
|
17
|
-
bin?: string | undefined;
|
|
17
|
+
bin?: string | Record<string, string> | undefined;
|
|
18
18
|
contributors?: {
|
|
19
19
|
avatar_url: string;
|
|
20
20
|
contributions: string[];
|
|
@@ -14,7 +14,7 @@ declare const blockRemoveFiles: bingo_stratum.BlockWithAddons<{
|
|
|
14
14
|
owner: string;
|
|
15
15
|
repository: string;
|
|
16
16
|
author?: string | undefined;
|
|
17
|
-
bin?: string | undefined;
|
|
17
|
+
bin?: string | Record<string, string> | undefined;
|
|
18
18
|
contributors?: {
|
|
19
19
|
avatar_url: string;
|
|
20
20
|
contributions: string[];
|
|
@@ -14,7 +14,7 @@ declare const blockRemoveWorkflows: bingo_stratum.BlockWithAddons<{
|
|
|
14
14
|
owner: string;
|
|
15
15
|
repository: string;
|
|
16
16
|
author?: string | undefined;
|
|
17
|
-
bin?: string | undefined;
|
|
17
|
+
bin?: string | Record<string, string> | undefined;
|
|
18
18
|
contributors?: {
|
|
19
19
|
avatar_url: string;
|
|
20
20
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockRenovate: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -14,7 +14,7 @@ declare const blockRepositoryBranchRuleset: bingo_stratum.BlockWithAddons<{
|
|
|
14
14
|
owner: string;
|
|
15
15
|
repository: string;
|
|
16
16
|
author?: string | undefined;
|
|
17
|
-
bin?: string | undefined;
|
|
17
|
+
bin?: string | Record<string, string> | undefined;
|
|
18
18
|
contributors?: {
|
|
19
19
|
avatar_url: string;
|
|
20
20
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockRepositoryLabels: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -17,7 +17,7 @@ declare const blockRepositorySecrets: bingo_stratum.BlockWithAddons<{
|
|
|
17
17
|
owner: string;
|
|
18
18
|
repository: string;
|
|
19
19
|
author?: string | undefined;
|
|
20
|
-
bin?: string | undefined;
|
|
20
|
+
bin?: string | Record<string, string> | undefined;
|
|
21
21
|
contributors?: {
|
|
22
22
|
avatar_url: string;
|
|
23
23
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockRepositorySettings: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockSecurityDocs: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -15,7 +15,7 @@ declare const blockTSup: bingo_stratum.BlockWithAddons<{
|
|
|
15
15
|
owner: string;
|
|
16
16
|
repository: string;
|
|
17
17
|
author?: string | undefined;
|
|
18
|
-
bin?: string | undefined;
|
|
18
|
+
bin?: string | Record<string, string> | undefined;
|
|
19
19
|
contributors?: {
|
|
20
20
|
avatar_url: string;
|
|
21
21
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockTemplatedWith: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -12,7 +12,7 @@ declare const blockTypeScript: bingo_stratum.BlockWithoutAddons<{
|
|
|
12
12
|
owner: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
-
bin?: string | undefined;
|
|
15
|
+
bin?: string | Record<string, string> | undefined;
|
|
16
16
|
contributors?: {
|
|
17
17
|
avatar_url: string;
|
|
18
18
|
contributions: string[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { base } from "../base.js";
|
|
2
2
|
import { getPackageDependencies } from "../data/packageData.js";
|
|
3
|
+
import { getPrimaryBin } from "./bin/getPrimaryBin.js";
|
|
3
4
|
import { blockDevelopmentDocs } from "./blockDevelopmentDocs.js";
|
|
4
5
|
import { blockExampleFiles } from "./blockExampleFiles.js";
|
|
5
6
|
import { blockGitHubActionsCI } from "./blockGitHubActionsCI.js";
|
|
@@ -14,6 +15,7 @@ const blockTypeScript = base.createBlock({
|
|
|
14
15
|
name: "TypeScript"
|
|
15
16
|
},
|
|
16
17
|
produce({ options }) {
|
|
18
|
+
const primaryBin = getPrimaryBin(options.bin, options.repository);
|
|
17
19
|
return {
|
|
18
20
|
addons: [
|
|
19
21
|
blockDevelopmentDocs({
|
|
@@ -85,11 +87,11 @@ export * from "./types.js";
|
|
|
85
87
|
}),
|
|
86
88
|
blockVitest({ coverage: { include: ["src"] }, exclude: ["lib"] }),
|
|
87
89
|
blockVSCode({
|
|
88
|
-
debuggers:
|
|
90
|
+
debuggers: primaryBin ? [
|
|
89
91
|
{
|
|
90
92
|
name: "Debug Program",
|
|
91
93
|
preLaunchTask: "build",
|
|
92
|
-
program:
|
|
94
|
+
program: primaryBin,
|
|
93
95
|
request: "launch",
|
|
94
96
|
skipFiles: ["<node_internals>/**"],
|
|
95
97
|
type: "node"
|
|
@@ -21,7 +21,7 @@ declare const blockVSCode: bingo_stratum.BlockWithAddons<{
|
|
|
21
21
|
owner: string;
|
|
22
22
|
repository: string;
|
|
23
23
|
author?: string | undefined;
|
|
24
|
-
bin?: string | undefined;
|
|
24
|
+
bin?: string | Record<string, string> | undefined;
|
|
25
25
|
contributors?: {
|
|
26
26
|
avatar_url: string;
|
|
27
27
|
contributions: string[];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import sortKeys from "sort-keys";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { base } from "../base.js";
|
|
4
|
+
import { getPrimaryBin } from "./bin/getPrimaryBin.js";
|
|
4
5
|
import { blockDevelopmentDocs } from "./blockDevelopmentDocs.js";
|
|
5
6
|
const blockVSCode = base.createBlock({
|
|
6
7
|
about: {
|
|
@@ -24,6 +25,7 @@ const blockVSCode = base.createBlock({
|
|
|
24
25
|
},
|
|
25
26
|
produce({ addons, options }) {
|
|
26
27
|
const { debuggers, extensions, settings, tasks } = addons;
|
|
28
|
+
const primaryBin = getPrimaryBin(options.bin, options.repository);
|
|
27
29
|
return {
|
|
28
30
|
addons: [
|
|
29
31
|
blockDevelopmentDocs({
|
|
@@ -33,12 +35,12 @@ const blockVSCode = base.createBlock({
|
|
|
33
35
|
],
|
|
34
36
|
sections: {
|
|
35
37
|
Building: {
|
|
36
|
-
innerSections:
|
|
38
|
+
innerSections: primaryBin ? [
|
|
37
39
|
{
|
|
38
40
|
contents: `
|
|
39
41
|
This repository includes a [VS Code launch configuration](https://code.visualstudio.com/docs/editor/debugging) for debugging.
|
|
40
42
|
To debug a \`bin\` app, add a breakpoint to your code, then run _Debug Program_ from the VS Code Debug panel (or press F5).
|
|
41
|
-
VS Code will automatically run the \`build\` task in the background before running \`${
|
|
43
|
+
VS Code will automatically run the \`build\` task in the background before running \`${primaryBin}\`.
|
|
42
44
|
`,
|
|
43
45
|
heading: "Built App Debugging"
|
|
44
46
|
}
|
|
@@ -27,7 +27,7 @@ declare const blockVitest: bingo_stratum.BlockWithAddons<{
|
|
|
27
27
|
owner: string;
|
|
28
28
|
repository: string;
|
|
29
29
|
author?: string | undefined;
|
|
30
|
-
bin?: string | undefined;
|
|
30
|
+
bin?: string | Record<string, string> | undefined;
|
|
31
31
|
contributors?: {
|
|
32
32
|
avatar_url: string;
|
|
33
33
|
contributions: string[];
|
package/lib/blocks/index.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ declare const blocks: {
|
|
|
59
59
|
owner: string;
|
|
60
60
|
repository: string;
|
|
61
61
|
author?: string | undefined;
|
|
62
|
-
bin?: string | undefined;
|
|
62
|
+
bin?: string | Record<string, string> | undefined;
|
|
63
63
|
contributors?: {
|
|
64
64
|
avatar_url: string;
|
|
65
65
|
contributions: string[];
|
|
@@ -118,7 +118,7 @@ declare const blocks: {
|
|
|
118
118
|
owner: string;
|
|
119
119
|
repository: string;
|
|
120
120
|
author?: string | undefined;
|
|
121
|
-
bin?: string | undefined;
|
|
121
|
+
bin?: string | Record<string, string> | undefined;
|
|
122
122
|
contributors?: {
|
|
123
123
|
avatar_url: string;
|
|
124
124
|
contributions: string[];
|
|
@@ -179,7 +179,7 @@ declare const blocks: {
|
|
|
179
179
|
owner: string;
|
|
180
180
|
repository: string;
|
|
181
181
|
author?: string | undefined;
|
|
182
|
-
bin?: string | undefined;
|
|
182
|
+
bin?: string | Record<string, string> | undefined;
|
|
183
183
|
contributors?: {
|
|
184
184
|
avatar_url: string;
|
|
185
185
|
contributions: string[];
|
|
@@ -238,7 +238,7 @@ declare const blocks: {
|
|
|
238
238
|
owner: string;
|
|
239
239
|
repository: string;
|
|
240
240
|
author?: string | undefined;
|
|
241
|
-
bin?: string | undefined;
|
|
241
|
+
bin?: string | Record<string, string> | undefined;
|
|
242
242
|
contributors?: {
|
|
243
243
|
avatar_url: string;
|
|
244
244
|
contributions: string[];
|
|
@@ -297,7 +297,7 @@ declare const blocks: {
|
|
|
297
297
|
owner: string;
|
|
298
298
|
repository: string;
|
|
299
299
|
author?: string | undefined;
|
|
300
|
-
bin?: string | undefined;
|
|
300
|
+
bin?: string | Record<string, string> | undefined;
|
|
301
301
|
contributors?: {
|
|
302
302
|
avatar_url: string;
|
|
303
303
|
contributions: string[];
|
|
@@ -359,7 +359,7 @@ declare const blocks: {
|
|
|
359
359
|
owner: string;
|
|
360
360
|
repository: string;
|
|
361
361
|
author?: string | undefined;
|
|
362
|
-
bin?: string | undefined;
|
|
362
|
+
bin?: string | Record<string, string> | undefined;
|
|
363
363
|
contributors?: {
|
|
364
364
|
avatar_url: string;
|
|
365
365
|
contributions: string[];
|
|
@@ -432,7 +432,7 @@ declare const blocks: {
|
|
|
432
432
|
owner: string;
|
|
433
433
|
repository: string;
|
|
434
434
|
author?: string | undefined;
|
|
435
|
-
bin?: string | undefined;
|
|
435
|
+
bin?: string | Record<string, string> | undefined;
|
|
436
436
|
contributors?: {
|
|
437
437
|
avatar_url: string;
|
|
438
438
|
contributions: string[];
|
|
@@ -517,7 +517,7 @@ declare const blocks: {
|
|
|
517
517
|
owner: string;
|
|
518
518
|
repository: string;
|
|
519
519
|
author?: string | undefined;
|
|
520
|
-
bin?: string | undefined;
|
|
520
|
+
bin?: string | Record<string, string> | undefined;
|
|
521
521
|
contributors?: {
|
|
522
522
|
avatar_url: string;
|
|
523
523
|
contributions: string[];
|
|
@@ -576,7 +576,7 @@ declare const blocks: {
|
|
|
576
576
|
owner: string;
|
|
577
577
|
repository: string;
|
|
578
578
|
author?: string | undefined;
|
|
579
|
-
bin?: string | undefined;
|
|
579
|
+
bin?: string | Record<string, string> | undefined;
|
|
580
580
|
contributors?: {
|
|
581
581
|
avatar_url: string;
|
|
582
582
|
contributions: string[];
|
|
@@ -635,7 +635,7 @@ declare const blocks: {
|
|
|
635
635
|
owner: string;
|
|
636
636
|
repository: string;
|
|
637
637
|
author?: string | undefined;
|
|
638
|
-
bin?: string | undefined;
|
|
638
|
+
bin?: string | Record<string, string> | undefined;
|
|
639
639
|
contributors?: {
|
|
640
640
|
avatar_url: string;
|
|
641
641
|
contributions: string[];
|
|
@@ -694,7 +694,7 @@ declare const blocks: {
|
|
|
694
694
|
owner: string;
|
|
695
695
|
repository: string;
|
|
696
696
|
author?: string | undefined;
|
|
697
|
-
bin?: string | undefined;
|
|
697
|
+
bin?: string | Record<string, string> | undefined;
|
|
698
698
|
contributors?: {
|
|
699
699
|
avatar_url: string;
|
|
700
700
|
contributions: string[];
|
|
@@ -753,7 +753,7 @@ declare const blocks: {
|
|
|
753
753
|
owner: string;
|
|
754
754
|
repository: string;
|
|
755
755
|
author?: string | undefined;
|
|
756
|
-
bin?: string | undefined;
|
|
756
|
+
bin?: string | Record<string, string> | undefined;
|
|
757
757
|
contributors?: {
|
|
758
758
|
avatar_url: string;
|
|
759
759
|
contributions: string[];
|
|
@@ -812,7 +812,7 @@ declare const blocks: {
|
|
|
812
812
|
owner: string;
|
|
813
813
|
repository: string;
|
|
814
814
|
author?: string | undefined;
|
|
815
|
-
bin?: string | undefined;
|
|
815
|
+
bin?: string | Record<string, string> | undefined;
|
|
816
816
|
contributors?: {
|
|
817
817
|
avatar_url: string;
|
|
818
818
|
contributions: string[];
|
|
@@ -871,7 +871,7 @@ declare const blocks: {
|
|
|
871
871
|
owner: string;
|
|
872
872
|
repository: string;
|
|
873
873
|
author?: string | undefined;
|
|
874
|
-
bin?: string | undefined;
|
|
874
|
+
bin?: string | Record<string, string> | undefined;
|
|
875
875
|
contributors?: {
|
|
876
876
|
avatar_url: string;
|
|
877
877
|
contributions: string[];
|
|
@@ -930,7 +930,7 @@ declare const blocks: {
|
|
|
930
930
|
owner: string;
|
|
931
931
|
repository: string;
|
|
932
932
|
author?: string | undefined;
|
|
933
|
-
bin?: string | undefined;
|
|
933
|
+
bin?: string | Record<string, string> | undefined;
|
|
934
934
|
contributors?: {
|
|
935
935
|
avatar_url: string;
|
|
936
936
|
contributions: string[];
|
|
@@ -989,7 +989,7 @@ declare const blocks: {
|
|
|
989
989
|
owner: string;
|
|
990
990
|
repository: string;
|
|
991
991
|
author?: string | undefined;
|
|
992
|
-
bin?: string | undefined;
|
|
992
|
+
bin?: string | Record<string, string> | undefined;
|
|
993
993
|
contributors?: {
|
|
994
994
|
avatar_url: string;
|
|
995
995
|
contributions: string[];
|
|
@@ -1048,7 +1048,7 @@ declare const blocks: {
|
|
|
1048
1048
|
owner: string;
|
|
1049
1049
|
repository: string;
|
|
1050
1050
|
author?: string | undefined;
|
|
1051
|
-
bin?: string | undefined;
|
|
1051
|
+
bin?: string | Record<string, string> | undefined;
|
|
1052
1052
|
contributors?: {
|
|
1053
1053
|
avatar_url: string;
|
|
1054
1054
|
contributions: string[];
|
|
@@ -1107,7 +1107,7 @@ declare const blocks: {
|
|
|
1107
1107
|
owner: string;
|
|
1108
1108
|
repository: string;
|
|
1109
1109
|
author?: string | undefined;
|
|
1110
|
-
bin?: string | undefined;
|
|
1110
|
+
bin?: string | Record<string, string> | undefined;
|
|
1111
1111
|
contributors?: {
|
|
1112
1112
|
avatar_url: string;
|
|
1113
1113
|
contributions: string[];
|
|
@@ -1166,7 +1166,7 @@ declare const blocks: {
|
|
|
1166
1166
|
owner: string;
|
|
1167
1167
|
repository: string;
|
|
1168
1168
|
author?: string | undefined;
|
|
1169
|
-
bin?: string | undefined;
|
|
1169
|
+
bin?: string | Record<string, string> | undefined;
|
|
1170
1170
|
contributors?: {
|
|
1171
1171
|
avatar_url: string;
|
|
1172
1172
|
contributions: string[];
|
|
@@ -1240,7 +1240,7 @@ declare const blocks: {
|
|
|
1240
1240
|
owner: string;
|
|
1241
1241
|
repository: string;
|
|
1242
1242
|
author?: string | undefined;
|
|
1243
|
-
bin?: string | undefined;
|
|
1243
|
+
bin?: string | Record<string, string> | undefined;
|
|
1244
1244
|
contributors?: {
|
|
1245
1245
|
avatar_url: string;
|
|
1246
1246
|
contributions: string[];
|
|
@@ -1299,7 +1299,7 @@ declare const blocks: {
|
|
|
1299
1299
|
owner: string;
|
|
1300
1300
|
repository: string;
|
|
1301
1301
|
author?: string | undefined;
|
|
1302
|
-
bin?: string | undefined;
|
|
1302
|
+
bin?: string | Record<string, string> | undefined;
|
|
1303
1303
|
contributors?: {
|
|
1304
1304
|
avatar_url: string;
|
|
1305
1305
|
contributions: string[];
|
|
@@ -1358,7 +1358,7 @@ declare const blocks: {
|
|
|
1358
1358
|
owner: string;
|
|
1359
1359
|
repository: string;
|
|
1360
1360
|
author?: string | undefined;
|
|
1361
|
-
bin?: string | undefined;
|
|
1361
|
+
bin?: string | Record<string, string> | undefined;
|
|
1362
1362
|
contributors?: {
|
|
1363
1363
|
avatar_url: string;
|
|
1364
1364
|
contributions: string[];
|
|
@@ -1419,7 +1419,7 @@ declare const blocks: {
|
|
|
1419
1419
|
owner: string;
|
|
1420
1420
|
repository: string;
|
|
1421
1421
|
author?: string | undefined;
|
|
1422
|
-
bin?: string | undefined;
|
|
1422
|
+
bin?: string | Record<string, string> | undefined;
|
|
1423
1423
|
contributors?: {
|
|
1424
1424
|
avatar_url: string;
|
|
1425
1425
|
contributions: string[];
|
|
@@ -1480,7 +1480,7 @@ declare const blocks: {
|
|
|
1480
1480
|
owner: string;
|
|
1481
1481
|
repository: string;
|
|
1482
1482
|
author?: string | undefined;
|
|
1483
|
-
bin?: string | undefined;
|
|
1483
|
+
bin?: string | Record<string, string> | undefined;
|
|
1484
1484
|
contributors?: {
|
|
1485
1485
|
avatar_url: string;
|
|
1486
1486
|
contributions: string[];
|
|
@@ -1541,7 +1541,7 @@ declare const blocks: {
|
|
|
1541
1541
|
owner: string;
|
|
1542
1542
|
repository: string;
|
|
1543
1543
|
author?: string | undefined;
|
|
1544
|
-
bin?: string | undefined;
|
|
1544
|
+
bin?: string | Record<string, string> | undefined;
|
|
1545
1545
|
contributors?: {
|
|
1546
1546
|
avatar_url: string;
|
|
1547
1547
|
contributions: string[];
|
|
@@ -1600,7 +1600,7 @@ declare const blocks: {
|
|
|
1600
1600
|
owner: string;
|
|
1601
1601
|
repository: string;
|
|
1602
1602
|
author?: string | undefined;
|
|
1603
|
-
bin?: string | undefined;
|
|
1603
|
+
bin?: string | Record<string, string> | undefined;
|
|
1604
1604
|
contributors?: {
|
|
1605
1605
|
avatar_url: string;
|
|
1606
1606
|
contributions: string[];
|
|
@@ -1659,7 +1659,7 @@ declare const blocks: {
|
|
|
1659
1659
|
owner: string;
|
|
1660
1660
|
repository: string;
|
|
1661
1661
|
author?: string | undefined;
|
|
1662
|
-
bin?: string | undefined;
|
|
1662
|
+
bin?: string | Record<string, string> | undefined;
|
|
1663
1663
|
contributors?: {
|
|
1664
1664
|
avatar_url: string;
|
|
1665
1665
|
contributions: string[];
|
|
@@ -1718,7 +1718,7 @@ declare const blocks: {
|
|
|
1718
1718
|
owner: string;
|
|
1719
1719
|
repository: string;
|
|
1720
1720
|
author?: string | undefined;
|
|
1721
|
-
bin?: string | undefined;
|
|
1721
|
+
bin?: string | Record<string, string> | undefined;
|
|
1722
1722
|
contributors?: {
|
|
1723
1723
|
avatar_url: string;
|
|
1724
1724
|
contributions: string[];
|
|
@@ -1854,7 +1854,7 @@ declare const blocks: {
|
|
|
1854
1854
|
owner: string;
|
|
1855
1855
|
repository: string;
|
|
1856
1856
|
author?: string | undefined;
|
|
1857
|
-
bin?: string | undefined;
|
|
1857
|
+
bin?: string | Record<string, string> | undefined;
|
|
1858
1858
|
contributors?: {
|
|
1859
1859
|
avatar_url: string;
|
|
1860
1860
|
contributions: string[];
|
|
@@ -1913,7 +1913,7 @@ declare const blocks: {
|
|
|
1913
1913
|
owner: string;
|
|
1914
1914
|
repository: string;
|
|
1915
1915
|
author?: string | undefined;
|
|
1916
|
-
bin?: string | undefined;
|
|
1916
|
+
bin?: string | Record<string, string> | undefined;
|
|
1917
1917
|
contributors?: {
|
|
1918
1918
|
avatar_url: string;
|
|
1919
1919
|
contributions: string[];
|
|
@@ -1972,7 +1972,7 @@ declare const blocks: {
|
|
|
1972
1972
|
owner: string;
|
|
1973
1973
|
repository: string;
|
|
1974
1974
|
author?: string | undefined;
|
|
1975
|
-
bin?: string | undefined;
|
|
1975
|
+
bin?: string | Record<string, string> | undefined;
|
|
1976
1976
|
contributors?: {
|
|
1977
1977
|
avatar_url: string;
|
|
1978
1978
|
contributions: string[];
|
|
@@ -2040,7 +2040,7 @@ declare const blocks: {
|
|
|
2040
2040
|
owner: string;
|
|
2041
2041
|
repository: string;
|
|
2042
2042
|
author?: string | undefined;
|
|
2043
|
-
bin?: string | undefined;
|
|
2043
|
+
bin?: string | Record<string, string> | undefined;
|
|
2044
2044
|
contributors?: {
|
|
2045
2045
|
avatar_url: string;
|
|
2046
2046
|
contributions: string[];
|
|
@@ -2099,7 +2099,7 @@ declare const blocks: {
|
|
|
2099
2099
|
owner: string;
|
|
2100
2100
|
repository: string;
|
|
2101
2101
|
author?: string | undefined;
|
|
2102
|
-
bin?: string | undefined;
|
|
2102
|
+
bin?: string | Record<string, string> | undefined;
|
|
2103
2103
|
contributors?: {
|
|
2104
2104
|
avatar_url: string;
|
|
2105
2105
|
contributions: string[];
|
|
@@ -2158,7 +2158,7 @@ declare const blocks: {
|
|
|
2158
2158
|
owner: string;
|
|
2159
2159
|
repository: string;
|
|
2160
2160
|
author?: string | undefined;
|
|
2161
|
-
bin?: string | undefined;
|
|
2161
|
+
bin?: string | Record<string, string> | undefined;
|
|
2162
2162
|
contributors?: {
|
|
2163
2163
|
avatar_url: string;
|
|
2164
2164
|
contributions: string[];
|
|
@@ -2217,7 +2217,7 @@ declare const blocks: {
|
|
|
2217
2217
|
owner: string;
|
|
2218
2218
|
repository: string;
|
|
2219
2219
|
author?: string | undefined;
|
|
2220
|
-
bin?: string | undefined;
|
|
2220
|
+
bin?: string | Record<string, string> | undefined;
|
|
2221
2221
|
contributors?: {
|
|
2222
2222
|
avatar_url: string;
|
|
2223
2223
|
contributions: string[];
|
|
@@ -2288,7 +2288,7 @@ declare const blocks: {
|
|
|
2288
2288
|
owner: string;
|
|
2289
2289
|
repository: string;
|
|
2290
2290
|
author?: string | undefined;
|
|
2291
|
-
bin?: string | undefined;
|
|
2291
|
+
bin?: string | Record<string, string> | undefined;
|
|
2292
2292
|
contributors?: {
|
|
2293
2293
|
avatar_url: string;
|
|
2294
2294
|
contributions: string[];
|
|
@@ -2347,7 +2347,7 @@ declare const blocks: {
|
|
|
2347
2347
|
owner: string;
|
|
2348
2348
|
repository: string;
|
|
2349
2349
|
author?: string | undefined;
|
|
2350
|
-
bin?: string | undefined;
|
|
2350
|
+
bin?: string | Record<string, string> | undefined;
|
|
2351
2351
|
contributors?: {
|
|
2352
2352
|
avatar_url: string;
|
|
2353
2353
|
contributions: string[];
|
|
@@ -2406,7 +2406,7 @@ declare const blocks: {
|
|
|
2406
2406
|
owner: string;
|
|
2407
2407
|
repository: string;
|
|
2408
2408
|
author?: string | undefined;
|
|
2409
|
-
bin?: string | undefined;
|
|
2409
|
+
bin?: string | Record<string, string> | undefined;
|
|
2410
2410
|
contributors?: {
|
|
2411
2411
|
avatar_url: string;
|
|
2412
2412
|
contributions: string[];
|
|
@@ -2465,7 +2465,7 @@ declare const blocks: {
|
|
|
2465
2465
|
owner: string;
|
|
2466
2466
|
repository: string;
|
|
2467
2467
|
author?: string | undefined;
|
|
2468
|
-
bin?: string | undefined;
|
|
2468
|
+
bin?: string | Record<string, string> | undefined;
|
|
2469
2469
|
contributors?: {
|
|
2470
2470
|
avatar_url: string;
|
|
2471
2471
|
contributions: string[];
|
|
@@ -2524,7 +2524,7 @@ declare const blocks: {
|
|
|
2524
2524
|
owner: string;
|
|
2525
2525
|
repository: string;
|
|
2526
2526
|
author?: string | undefined;
|
|
2527
|
-
bin?: string | undefined;
|
|
2527
|
+
bin?: string | Record<string, string> | undefined;
|
|
2528
2528
|
contributors?: {
|
|
2529
2529
|
avatar_url: string;
|
|
2530
2530
|
contributions: string[];
|
|
@@ -2586,7 +2586,7 @@ declare const blocks: {
|
|
|
2586
2586
|
owner: string;
|
|
2587
2587
|
repository: string;
|
|
2588
2588
|
author?: string | undefined;
|
|
2589
|
-
bin?: string | undefined;
|
|
2589
|
+
bin?: string | Record<string, string> | undefined;
|
|
2590
2590
|
contributors?: {
|
|
2591
2591
|
avatar_url: string;
|
|
2592
2592
|
contributions: string[];
|
|
@@ -2645,7 +2645,7 @@ declare const blocks: {
|
|
|
2645
2645
|
owner: string;
|
|
2646
2646
|
repository: string;
|
|
2647
2647
|
author?: string | undefined;
|
|
2648
|
-
bin?: string | undefined;
|
|
2648
|
+
bin?: string | Record<string, string> | undefined;
|
|
2649
2649
|
contributors?: {
|
|
2650
2650
|
avatar_url: string;
|
|
2651
2651
|
contributions: string[];
|
|
@@ -2719,7 +2719,7 @@ declare const blocks: {
|
|
|
2719
2719
|
owner: string;
|
|
2720
2720
|
repository: string;
|
|
2721
2721
|
author?: string | undefined;
|
|
2722
|
-
bin?: string | undefined;
|
|
2722
|
+
bin?: string | Record<string, string> | undefined;
|
|
2723
2723
|
contributors?: {
|
|
2724
2724
|
avatar_url: string;
|
|
2725
2725
|
contributions: string[];
|
|
@@ -2787,7 +2787,7 @@ declare const blocks: {
|
|
|
2787
2787
|
owner: string;
|
|
2788
2788
|
repository: string;
|
|
2789
2789
|
author?: string | undefined;
|
|
2790
|
-
bin?: string | undefined;
|
|
2790
|
+
bin?: string | Record<string, string> | undefined;
|
|
2791
2791
|
contributors?: {
|
|
2792
2792
|
avatar_url: string;
|
|
2793
2793
|
contributions: string[];
|
package/lib/index.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ export { presetMinimal } from './presets/minimal.js';
|
|
|
58
58
|
declare const createConfig: bingo.CreateTemplateConfig<{
|
|
59
59
|
access: zod.ZodUnion<[zod.ZodLiteral<"public">, zod.ZodLiteral<"restricted">]>;
|
|
60
60
|
author: zod.ZodOptional<zod.ZodString>;
|
|
61
|
-
bin: zod.ZodOptional<zod.ZodString
|
|
61
|
+
bin: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodString>]>>;
|
|
62
62
|
contributors: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
63
63
|
avatar_url: zod.ZodString;
|
|
64
64
|
contributions: zod.ZodArray<zod.ZodString, "many">;
|
|
@@ -193,7 +193,7 @@ declare const createConfig: bingo.CreateTemplateConfig<{
|
|
|
193
193
|
owner: string;
|
|
194
194
|
repository: string;
|
|
195
195
|
author?: string | undefined;
|
|
196
|
-
bin?: string | undefined;
|
|
196
|
+
bin?: string | Record<string, string> | undefined;
|
|
197
197
|
contributors?: {
|
|
198
198
|
avatar_url: string;
|
|
199
199
|
contributions: string[];
|
package/lib/presets/common.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as zod from 'zod';
|
|
|
4
4
|
declare const presetCommon: bingo_stratum.Preset<{
|
|
5
5
|
access: zod.ZodUnion<[zod.ZodLiteral<"public">, zod.ZodLiteral<"restricted">]>;
|
|
6
6
|
author: zod.ZodOptional<zod.ZodString>;
|
|
7
|
-
bin: zod.ZodOptional<zod.ZodString
|
|
7
|
+
bin: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodString>]>>;
|
|
8
8
|
contributors: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
9
9
|
avatar_url: zod.ZodString;
|
|
10
10
|
contributions: zod.ZodArray<zod.ZodString, "many">;
|
|
@@ -4,7 +4,7 @@ import * as zod from 'zod';
|
|
|
4
4
|
declare const presetEverything: bingo_stratum.Preset<{
|
|
5
5
|
access: zod.ZodUnion<[zod.ZodLiteral<"public">, zod.ZodLiteral<"restricted">]>;
|
|
6
6
|
author: zod.ZodOptional<zod.ZodString>;
|
|
7
|
-
bin: zod.ZodOptional<zod.ZodString
|
|
7
|
+
bin: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodString>]>>;
|
|
8
8
|
contributors: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
9
9
|
avatar_url: zod.ZodString;
|
|
10
10
|
contributions: zod.ZodArray<zod.ZodString, "many">;
|
package/lib/presets/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare const presets: {
|
|
|
8
8
|
common: bingo_stratum.Preset<{
|
|
9
9
|
access: zod.ZodUnion<[zod.ZodLiteral<"public">, zod.ZodLiteral<"restricted">]>;
|
|
10
10
|
author: zod.ZodOptional<zod.ZodString>;
|
|
11
|
-
bin: zod.ZodOptional<zod.ZodString
|
|
11
|
+
bin: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodString>]>>;
|
|
12
12
|
contributors: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
13
13
|
avatar_url: zod.ZodString;
|
|
14
14
|
contributions: zod.ZodArray<zod.ZodString, "many">;
|
|
@@ -135,7 +135,7 @@ declare const presets: {
|
|
|
135
135
|
everything: bingo_stratum.Preset<{
|
|
136
136
|
access: zod.ZodUnion<[zod.ZodLiteral<"public">, zod.ZodLiteral<"restricted">]>;
|
|
137
137
|
author: zod.ZodOptional<zod.ZodString>;
|
|
138
|
-
bin: zod.ZodOptional<zod.ZodString
|
|
138
|
+
bin: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodString>]>>;
|
|
139
139
|
contributors: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
140
140
|
avatar_url: zod.ZodString;
|
|
141
141
|
contributions: zod.ZodArray<zod.ZodString, "many">;
|
|
@@ -262,7 +262,7 @@ declare const presets: {
|
|
|
262
262
|
minimal: bingo_stratum.Preset<{
|
|
263
263
|
access: zod.ZodUnion<[zod.ZodLiteral<"public">, zod.ZodLiteral<"restricted">]>;
|
|
264
264
|
author: zod.ZodOptional<zod.ZodString>;
|
|
265
|
-
bin: zod.ZodOptional<zod.ZodString
|
|
265
|
+
bin: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodString>]>>;
|
|
266
266
|
contributors: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
267
267
|
avatar_url: zod.ZodString;
|
|
268
268
|
contributions: zod.ZodArray<zod.ZodString, "many">;
|
package/lib/presets/minimal.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as zod from 'zod';
|
|
|
4
4
|
declare const presetMinimal: bingo_stratum.Preset<{
|
|
5
5
|
access: zod.ZodUnion<[zod.ZodLiteral<"public">, zod.ZodLiteral<"restricted">]>;
|
|
6
6
|
author: zod.ZodOptional<zod.ZodString>;
|
|
7
|
-
bin: zod.ZodOptional<zod.ZodString
|
|
7
|
+
bin: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodString>]>>;
|
|
8
8
|
contributors: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
9
9
|
avatar_url: zod.ZodString;
|
|
10
10
|
contributions: zod.ZodArray<zod.ZodString, "many">;
|
package/lib/template.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as zod from 'zod';
|
|
|
4
4
|
declare const template: bingo_stratum_lib_types_templates_js.StratumTemplate<{
|
|
5
5
|
access: zod.ZodUnion<[zod.ZodLiteral<"public">, zod.ZodLiteral<"restricted">]>;
|
|
6
6
|
author: zod.ZodOptional<zod.ZodString>;
|
|
7
|
-
bin: zod.ZodOptional<zod.ZodString
|
|
7
|
+
bin: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodString>]>>;
|
|
8
8
|
contributors: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
9
9
|
avatar_url: zod.ZodString;
|
|
10
10
|
contributions: zod.ZodArray<zod.ZodString, "many">;
|
package/lib/types.d.ts
CHANGED