create-typescript-app 2.0.0-beta.17 → 2.0.0-beta.19
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 -0
- package/lib/base.js +19 -1
- package/lib/base.js.map +1 -1
- package/lib/blocks/blockAllContributors.d.ts +7 -6
- package/lib/blocks/blockAreTheTypesWrong.d.ts +7 -6
- package/lib/blocks/blockCSpell.d.ts +7 -6
- package/lib/blocks/blockCodecov.d.ts +7 -6
- package/lib/blocks/blockContributingDocs.d.ts +7 -6
- package/lib/blocks/blockContributorCovenant.d.ts +7 -6
- package/lib/blocks/blockDevelopmentDocs.d.ts +8 -7
- package/lib/blocks/blockESLint.d.ts +7 -6
- package/lib/blocks/blockESLintComments.d.ts +7 -6
- package/lib/blocks/blockESLintJSDoc.d.ts +7 -6
- package/lib/blocks/blockESLintJSONC.d.ts +7 -6
- package/lib/blocks/blockESLintMarkdown.d.ts +7 -6
- package/lib/blocks/blockESLintMoreStyling.d.ts +7 -6
- package/lib/blocks/blockESLintNode.d.ts +7 -6
- package/lib/blocks/blockESLintPackageJson.d.ts +7 -6
- package/lib/blocks/blockESLintPerfectionist.d.ts +7 -6
- package/lib/blocks/blockESLintRegexp.d.ts +7 -6
- package/lib/blocks/blockESLintYML.d.ts +7 -6
- package/lib/blocks/blockExampleFiles.d.ts +7 -6
- package/lib/blocks/blockFunding.d.ts +7 -6
- package/lib/blocks/blockGitHubActionsCI.d.ts +7 -6
- package/lib/blocks/blockGitHubApps.d.ts +8 -7
- package/lib/blocks/blockGitHubIssueTemplates.d.ts +7 -6
- package/lib/blocks/blockGitHubPRTemplate.d.ts +7 -6
- package/lib/blocks/blockGitignore.d.ts +7 -6
- package/lib/blocks/blockKnip.d.ts +7 -6
- package/lib/blocks/blockMITLicense.d.ts +7 -6
- package/lib/blocks/blockMarkdownlint.d.ts +7 -6
- package/lib/blocks/blockNvmrc.d.ts +7 -6
- package/lib/blocks/blockPRCompliance.d.ts +7 -6
- package/lib/blocks/blockPackageJson.d.ts +8 -7
- package/lib/blocks/blockPnpmDedupe.d.ts +7 -6
- package/lib/blocks/blockPrettier.d.ts +7 -6
- package/lib/blocks/blockPrettierPluginCurly.d.ts +7 -6
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts +7 -6
- package/lib/blocks/blockPrettierPluginSh.d.ts +7 -6
- package/lib/blocks/blockREADME.d.ts +7 -6
- package/lib/blocks/blockReleaseIt.d.ts +7 -6
- package/lib/blocks/blockRenovate.d.ts +7 -6
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts +7 -6
- package/lib/blocks/blockRepositoryBranchRuleset.js +78 -54
- package/lib/blocks/blockRepositoryBranchRuleset.js.map +1 -1
- package/lib/blocks/blockRepositoryLabels.d.ts +7 -6
- package/lib/blocks/blockRepositorySecrets.d.ts +8 -7
- package/lib/blocks/blockRepositorySettings.d.ts +7 -6
- package/lib/blocks/blockSecurityDocs.d.ts +7 -6
- package/lib/blocks/blockTSup.d.ts +7 -6
- package/lib/blocks/blockTemplatedWith.d.ts +7 -6
- package/lib/blocks/blockTypeScript.d.ts +7 -6
- package/lib/blocks/blockVSCode.d.ts +7 -6
- package/lib/blocks/blockVitest.d.ts +7 -6
- package/lib/blocks/index.d.ts +303 -260
- package/lib/data/packageData.d.ts +1 -1
- package/lib/inputs/inputFromGitHub.d.ts +9 -0
- package/lib/inputs/inputFromGitHub.js +24 -0
- package/lib/inputs/inputFromGitHub.js.map +1 -0
- package/lib/presets/common.d.ts +3 -2
- package/lib/presets/everything.d.ts +3 -2
- package/lib/presets/index.d.ts +9 -6
- package/lib/presets/minimal.d.ts +3 -2
- package/lib/template.d.ts +3 -2
- package/package.json +1 -1
package/lib/base.d.ts
CHANGED
|
@@ -118,6 +118,7 @@ declare const base: bingo_stratum.Base<{
|
|
|
118
118
|
scripts?: Record<string, string> | undefined;
|
|
119
119
|
}>>;
|
|
120
120
|
repository: z.ZodString;
|
|
121
|
+
rulesetId: z.ZodOptional<z.ZodString>;
|
|
121
122
|
title: z.ZodString;
|
|
122
123
|
usage: z.ZodOptional<z.ZodString>;
|
|
123
124
|
version: z.ZodOptional<z.ZodString>;
|
package/lib/base.js
CHANGED
|
@@ -8,6 +8,7 @@ import { inputFromScript } from "input-from-script";
|
|
|
8
8
|
import lazyValue from "lazy-value";
|
|
9
9
|
import npmUser from "npm-user";
|
|
10
10
|
import { z } from "zod";
|
|
11
|
+
import { inputFromOctokit } from "./inputs/inputFromGitHub.js";
|
|
11
12
|
import { parsePackageAuthor } from "./options/parsePackageAuthor.js";
|
|
12
13
|
import { readDefaultsFromReadme } from "./options/readDefaultsFromReadme.js";
|
|
13
14
|
import { readDescription } from "./options/readDescription.js";
|
|
@@ -74,6 +75,7 @@ const base = createBase({
|
|
|
74
75
|
scripts: z.record(z.string(), z.string()).optional()
|
|
75
76
|
}).optional().describe("additional properties to include in `package.json`"),
|
|
76
77
|
repository: z.string().describe("'kebab-case' or 'PascalCase' title of the repository"),
|
|
78
|
+
rulesetId: z.string().optional().describe("GitHub branch ruleset ID for main branch protections"),
|
|
77
79
|
title: z.string().describe("'Title Case' title for the repository"),
|
|
78
80
|
usage: z.string().optional().describe("markdown docs to put in README.md under the ## Usage heading"),
|
|
79
81
|
version: z.string().optional().describe("package version to publish as and store in `package.json`")
|
|
@@ -99,6 +101,18 @@ const base = createBase({
|
|
|
99
101
|
)?.stdout?.toString();
|
|
100
102
|
});
|
|
101
103
|
const readme = lazyValue(async () => await readFileSafe("README.md", ""));
|
|
104
|
+
const rulesetId = lazyValue(async () => {
|
|
105
|
+
const rulesets = await take(inputFromOctokit, {
|
|
106
|
+
endpoint: "GET /repos/{owner}/{repo}/rulesets",
|
|
107
|
+
options: {
|
|
108
|
+
owner: await owner(),
|
|
109
|
+
repo: await repository()
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
return rulesets.find(
|
|
113
|
+
(ruleset) => ruleset.name === "Branch protection for main"
|
|
114
|
+
)?.id;
|
|
115
|
+
});
|
|
102
116
|
const gitDefaults = tryCatchLazyValueAsync(
|
|
103
117
|
async () => gitUrlParse(await gitRemoteOriginUrl())
|
|
104
118
|
);
|
|
@@ -121,6 +135,9 @@ const base = createBase({
|
|
|
121
135
|
};
|
|
122
136
|
});
|
|
123
137
|
const version = lazyValue(async () => (await packageData()).version);
|
|
138
|
+
const owner = lazyValue(
|
|
139
|
+
async () => (await gitDefaults())?.organization ?? (await packageAuthor()).author ?? await githubCliUser()
|
|
140
|
+
);
|
|
124
141
|
const repository = lazyValue(
|
|
125
142
|
async () => options.repository ?? (await gitDefaults())?.name ?? (await packageData()).name ?? options.directory
|
|
126
143
|
);
|
|
@@ -136,7 +153,7 @@ const base = createBase({
|
|
|
136
153
|
guide: readGuide,
|
|
137
154
|
login: author,
|
|
138
155
|
node,
|
|
139
|
-
owner
|
|
156
|
+
owner,
|
|
140
157
|
packageData: async () => {
|
|
141
158
|
const original = await packageData();
|
|
142
159
|
return {
|
|
@@ -146,6 +163,7 @@ const base = createBase({
|
|
|
146
163
|
};
|
|
147
164
|
},
|
|
148
165
|
repository,
|
|
166
|
+
rulesetId,
|
|
149
167
|
...readDefaultsFromReadme(readme, repository),
|
|
150
168
|
version
|
|
151
169
|
};
|
package/lib/base.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/base.ts"],"sourcesContent":["import { BaseOptionsFor, createBase } from \"bingo-stratum\";\nimport { execaCommand } from \"execa\";\nimport gitRemoteOriginUrl from \"git-remote-origin-url\";\nimport gitUrlParse from \"git-url-parse\";\nimport { inputFromFile } from \"input-from-file\";\nimport { inputFromFileJSON } from \"input-from-file-json\";\nimport { inputFromScript } from \"input-from-script\";\nimport lazyValue from \"lazy-value\";\nimport npmUser from \"npm-user\";\nimport { z } from \"zod\";\n\nimport { parsePackageAuthor } from \"./options/parsePackageAuthor.js\";\nimport { readDefaultsFromReadme } from \"./options/readDefaultsFromReadme.js\";\nimport { readDescription } from \"./options/readDescription.js\";\nimport { readDocumentation } from \"./options/readDocumentation.js\";\nimport { readEmails } from \"./options/readEmails.js\";\nimport { readFileSafe } from \"./options/readFileSafe.js\";\nimport { readFunding } from \"./options/readFunding.js\";\nimport { readGuide } from \"./options/readGuide.js\";\nimport { readPackageData } from \"./options/readPackageData.js\";\nimport { AllContributorsData } from \"./types.js\";\nimport { swallowError } from \"./utils/swallowError.js\";\nimport { tryCatchLazyValueAsync } from \"./utils/tryCatchLazyValueAsync.js\";\n\nconst zContributor = z.object({\n\tavatar_url: z.string(),\n\tcontributions: z.array(z.string()),\n\tlogin: z.string(),\n\tname: z.string(),\n\tprofile: z.string(),\n});\n\nexport type Contributor = z.infer<typeof zContributor>;\n\nexport const base = createBase({\n\toptions: {\n\t\taccess: z\n\t\t\t.union([z.literal(\"public\"), z.literal(\"restricted\")])\n\t\t\t.describe(\"which `npm publish --access` to release npm packages with\"),\n\t\tauthor: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"username on npm to publish packages under\"),\n\t\tbin: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe('value to set in `package.json`\\'s `\"bin\"` property'),\n\t\tcontributors: z\n\t\t\t.array(zContributor)\n\t\t\t.optional()\n\t\t\t.describe(\"AllContributors contributors to store in .all-contributorsrc\"),\n\t\tdescription: z\n\t\t\t.string()\n\t\t\t.default(\"A very lovely package. Hooray! 💖\")\n\t\t\t.describe(\"'Sentence case.' description of the repository\"),\n\t\tdirectory: z.string().describe(\"Directory to create the repository in\"),\n\t\tdocumentation: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"any additional docs to add to .github/DEVELOPMENT.md\"),\n\t\temail: z\n\t\t\t.union([\n\t\t\t\tz.string(),\n\t\t\t\tz.object({\n\t\t\t\t\tgithub: z.string(),\n\t\t\t\t\tnpm: z.string(),\n\t\t\t\t}),\n\t\t\t])\n\t\t\t.transform((email) =>\n\t\t\t\ttypeof email === \"string\" ? { github: email, npm: email } : email,\n\t\t\t)\n\t\t\t.describe(\n\t\t\t\t\"email address to be listed as the point of contact in docs and packages\",\n\t\t\t),\n\t\texplainer: z\n\t\t\t.array(z.string())\n\t\t\t.optional()\n\t\t\t.describe(\"additional README.md sentence(s) describing the package\"),\n\t\tfunding: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"GitHub organization or username to mention in `funding.yml`\"),\n\t\tguide: z\n\t\t\t.object({\n\t\t\t\thref: z.string(),\n\t\t\t\ttitle: z.string(),\n\t\t\t})\n\t\t\t.optional()\n\t\t\t.describe(\n\t\t\t\t\"link to a contribution guide to place at the top of development docs\",\n\t\t\t),\n\t\tkeywords: z\n\t\t\t.array(z.string())\n\t\t\t.optional()\n\t\t\t.describe(\"any number of keywords to include in `package.json`\"),\n\t\tlogo: z\n\t\t\t.object({\n\t\t\t\talt: z.string(),\n\t\t\t\theight: z.number().optional(),\n\t\t\t\tsrc: z.string(),\n\t\t\t\twidth: z.number().optional(),\n\t\t\t})\n\t\t\t.optional()\n\t\t\t.describe(\n\t\t\t\t\"local image file in the repository to display near the top of the README.md\",\n\t\t\t),\n\t\tnode: z\n\t\t\t.object({\n\t\t\t\tminimum: z.string(),\n\t\t\t\tpinned: z.string().optional(),\n\t\t\t})\n\t\t\t.optional()\n\t\t\t.describe(\"node.js engine version(s) to pin and require a minimum of\"),\n\t\towner: z\n\t\t\t.string()\n\t\t\t.describe(\"GitHub organization or user the repository is underneath\"),\n\t\tpackageData: z\n\t\t\t.object({\n\t\t\t\tdependencies: z.record(z.string(), z.string()).optional(),\n\t\t\t\tdevDependencies: z.record(z.string(), z.string()).optional(),\n\t\t\t\tscripts: z.record(z.string(), z.string()).optional(),\n\t\t\t})\n\t\t\t.optional()\n\t\t\t.describe(\"additional properties to include in `package.json`\"),\n\t\trepository: z\n\t\t\t.string()\n\t\t\t.describe(\"'kebab-case' or 'PascalCase' title of the repository\"),\n\t\ttitle: z.string().describe(\"'Title Case' title for the repository\"),\n\t\tusage: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"markdown docs to put in README.md under the ## Usage heading\"),\n\t\tversion: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"package version to publish as and store in `package.json`\"),\n\t},\n\tprepare({ options, take }) {\n\t\tconst allContributors = lazyValue(async () => {\n\t\t\tconst contributions = (await take(inputFromFileJSON, {\n\t\t\t\tfilePath: \".all-contributorsrc\",\n\t\t\t})) as AllContributorsData;\n\n\t\t\treturn contributions.contributors;\n\t\t});\n\n\t\tconst documentation = lazyValue(async () => readDocumentation(take));\n\n\t\tconst nvmrc = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait take(inputFromFile, {\n\t\t\t\t\tfilePath: \".nvmrc\",\n\t\t\t\t}),\n\t\t);\n\n\t\tconst githubCliUser = lazyValue(async () => {\n\t\t\treturn swallowError(\n\t\t\t\tawait take(inputFromScript, {\n\t\t\t\t\tcommand: \"gh config get user -h github.com\",\n\t\t\t\t}),\n\t\t\t)?.stdout?.toString();\n\t\t});\n\n\t\tconst readme = lazyValue(async () => await readFileSafe(\"README.md\", \"\"));\n\n\t\t// TODO: Make these all use take\n\n\t\tconst gitDefaults = tryCatchLazyValueAsync(async () =>\n\t\t\tgitUrlParse(await gitRemoteOriginUrl()),\n\t\t);\n\n\t\tconst npmDefaults = tryCatchLazyValueAsync(async () => {\n\t\t\tconst whoami = (await execaCommand(`npm whoami`)).stdout;\n\t\t\treturn whoami ? await npmUser(whoami) : undefined;\n\t\t});\n\n\t\tconst packageData = lazyValue(readPackageData);\n\t\tconst packageAuthor = lazyValue(async () =>\n\t\t\tparsePackageAuthor(await packageData()),\n\t\t);\n\n\t\tconst author = lazyValue(\n\t\t\tasync () =>\n\t\t\t\t(await packageAuthor()).author ??\n\t\t\t\t(await npmDefaults())?.name ??\n\t\t\t\toptions.owner,\n\t\t);\n\n\t\tconst node = lazyValue(async () => {\n\t\t\tconst { engines } = await packageData();\n\n\t\t\treturn {\n\t\t\t\tminimum:\n\t\t\t\t\t(engines?.node && /[\\d+.]+/.exec(engines.node))?.[0] ?? \"18.3.0\",\n\t\t\t\tpinned: swallowError(await nvmrc())?.trim() ?? \"20.18.0\",\n\t\t\t};\n\t\t});\n\n\t\tconst version = lazyValue(async () => (await packageData()).version);\n\n\t\tconst repository = lazyValue(\n\t\t\tasync () =>\n\t\t\t\toptions.repository ??\n\t\t\t\t(await gitDefaults())?.name ??\n\t\t\t\t(await packageData()).name ??\n\t\t\t\toptions.directory,\n\t\t);\n\n\t\treturn {\n\t\t\taccess: \"public\" as const,\n\t\t\tauthor,\n\t\t\tbin: async () => (await packageData()).bin,\n\t\t\tcontributors: allContributors,\n\t\t\tdescription: async () => await readDescription(packageData, readme),\n\t\t\tdocumentation,\n\t\t\temail: async () => readEmails(npmDefaults, packageAuthor),\n\t\t\tfunding: readFunding,\n\t\t\tguide: readGuide,\n\t\t\tlogin: author,\n\t\t\tnode,\n\t\t\towner: async () =>\n\t\t\t\t(await gitDefaults())?.organization ??\n\t\t\t\t(await packageAuthor()).author ??\n\t\t\t\t(await githubCliUser()),\n\t\t\tpackageData: async () => {\n\t\t\t\tconst original = await packageData();\n\n\t\t\t\treturn {\n\t\t\t\t\tdependencies: original.dependencies,\n\t\t\t\t\tdevDependencies: original.devDependencies,\n\t\t\t\t\tscripts: original.scripts,\n\t\t\t\t};\n\t\t\t},\n\t\t\trepository,\n\t\t\t...readDefaultsFromReadme(readme, repository),\n\t\t\tversion,\n\t\t};\n\t},\n});\n\nexport type BaseOptions = BaseOptionsFor<typeof base>;\n"],"mappings":"AAAA,SAAyB,kBAAkB;AAC3C,SAAS,oBAAoB;AAC7B,OAAO,wBAAwB;AAC/B,OAAO,iBAAiB;AACxB,SAAS,qBAAqB;AAC9B,SAAS,yBAAyB;AAClC,SAAS,uBAAuB;AAChC,OAAO,eAAe;AACtB,OAAO,aAAa;AACpB,SAAS,SAAS;AAElB,SAAS,0BAA0B;AACnC,SAAS,8BAA8B;AACvC,SAAS,uBAAuB;AACh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AAM,CAAC,GAAG,KAAK,KAAK;AAAA,MAChD;AAAA,IACD,CAAC;AAED,UAAM,UAAU,UAAU,aAAa,MAAM,YAAY,GAAG,OAAO;AAEnE,UAAM,aAAa;AAAA,MAClB,YACC,QAAQ,eACP,MAAM,YAAY,IAAI,SACtB,MAAM,YAAY,GAAG,QACtB,QAAQ;AAAA,IACV;AAEA,WAAO;AAAA,MACN,QAAQ;AAAA,MACR;AAAA,MACA,KAAK,aAAa,MAAM,YAAY,GAAG;AAAA,MACvC,cAAc;AAAA,MACd,aAAa,YAAY,MAAM,gBAAgB,aAAa,MAAM;AAAA,MAClE;AAAA,MACA,OAAO,YAAY,WAAW,aAAa,aAAa;AAAA,MACxD,SAAS;AAAA,MACT,OAAO;AAAA,MACP,OAAO;AAAA,MACP;AAAA,MACA,OAAO,aACL,MAAM,YAAY,IAAI,iBACtB,MAAM,cAAc,GAAG,UACvB,MAAM,cAAc;AAAA,MACtB,aAAa,YAAY;AACxB,cAAM,WAAW,MAAM,YAAY;AAEnC,eAAO;AAAA,UACN,cAAc,SAAS;AAAA,UACvB,iBAAiB,SAAS;AAAA,UAC1B,SAAS,SAAS;AAAA,QACnB;AAAA,MACD;AAAA,MACA;AAAA,MACA,GAAG,uBAAuB,QAAQ,UAAU;AAAA,MAC5C;AAAA,IACD;AAAA,EACD;AACD,CAAC;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/base.ts"],"sourcesContent":["import { BaseOptionsFor, createBase } from \"bingo-stratum\";\nimport { execaCommand } from \"execa\";\nimport gitRemoteOriginUrl from \"git-remote-origin-url\";\nimport gitUrlParse from \"git-url-parse\";\nimport { inputFromFile } from \"input-from-file\";\nimport { inputFromFileJSON } from \"input-from-file-json\";\nimport { inputFromScript } from \"input-from-script\";\nimport lazyValue from \"lazy-value\";\nimport npmUser from \"npm-user\";\nimport { z } from \"zod\";\n\nimport { inputFromOctokit } from \"./inputs/inputFromGitHub.js\";\nimport { parsePackageAuthor } from \"./options/parsePackageAuthor.js\";\nimport { readDefaultsFromReadme } from \"./options/readDefaultsFromReadme.js\";\nimport { readDescription } from \"./options/readDescription.js\";\nimport { readDocumentation } from \"./options/readDocumentation.js\";\nimport { readEmails } from \"./options/readEmails.js\";\nimport { readFileSafe } from \"./options/readFileSafe.js\";\nimport { readFunding } from \"./options/readFunding.js\";\nimport { readGuide } from \"./options/readGuide.js\";\nimport { readPackageData } from \"./options/readPackageData.js\";\nimport { AllContributorsData } from \"./types.js\";\nimport { swallowError } from \"./utils/swallowError.js\";\nimport { tryCatchLazyValueAsync } from \"./utils/tryCatchLazyValueAsync.js\";\n\nconst zContributor = z.object({\n\tavatar_url: z.string(),\n\tcontributions: z.array(z.string()),\n\tlogin: z.string(),\n\tname: z.string(),\n\tprofile: z.string(),\n});\n\nexport type Contributor = z.infer<typeof zContributor>;\n\nexport const base = createBase({\n\toptions: {\n\t\taccess: z\n\t\t\t.union([z.literal(\"public\"), z.literal(\"restricted\")])\n\t\t\t.describe(\"which `npm publish --access` to release npm packages with\"),\n\t\tauthor: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"username on npm to publish packages under\"),\n\t\tbin: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe('value to set in `package.json`\\'s `\"bin\"` property'),\n\t\tcontributors: z\n\t\t\t.array(zContributor)\n\t\t\t.optional()\n\t\t\t.describe(\"AllContributors contributors to store in .all-contributorsrc\"),\n\t\tdescription: z\n\t\t\t.string()\n\t\t\t.default(\"A very lovely package. Hooray! 💖\")\n\t\t\t.describe(\"'Sentence case.' description of the repository\"),\n\t\tdirectory: z.string().describe(\"Directory to create the repository in\"),\n\t\tdocumentation: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"any additional docs to add to .github/DEVELOPMENT.md\"),\n\t\temail: z\n\t\t\t.union([\n\t\t\t\tz.string(),\n\t\t\t\tz.object({\n\t\t\t\t\tgithub: z.string(),\n\t\t\t\t\tnpm: z.string(),\n\t\t\t\t}),\n\t\t\t])\n\t\t\t.transform((email) =>\n\t\t\t\ttypeof email === \"string\" ? { github: email, npm: email } : email,\n\t\t\t)\n\t\t\t.describe(\n\t\t\t\t\"email address to be listed as the point of contact in docs and packages\",\n\t\t\t),\n\t\texplainer: z\n\t\t\t.array(z.string())\n\t\t\t.optional()\n\t\t\t.describe(\"additional README.md sentence(s) describing the package\"),\n\t\tfunding: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"GitHub organization or username to mention in `funding.yml`\"),\n\t\tguide: z\n\t\t\t.object({\n\t\t\t\thref: z.string(),\n\t\t\t\ttitle: z.string(),\n\t\t\t})\n\t\t\t.optional()\n\t\t\t.describe(\n\t\t\t\t\"link to a contribution guide to place at the top of development docs\",\n\t\t\t),\n\t\tkeywords: z\n\t\t\t.array(z.string())\n\t\t\t.optional()\n\t\t\t.describe(\"any number of keywords to include in `package.json`\"),\n\t\tlogo: z\n\t\t\t.object({\n\t\t\t\talt: z.string(),\n\t\t\t\theight: z.number().optional(),\n\t\t\t\tsrc: z.string(),\n\t\t\t\twidth: z.number().optional(),\n\t\t\t})\n\t\t\t.optional()\n\t\t\t.describe(\n\t\t\t\t\"local image file in the repository to display near the top of the README.md\",\n\t\t\t),\n\t\tnode: z\n\t\t\t.object({\n\t\t\t\tminimum: z.string(),\n\t\t\t\tpinned: z.string().optional(),\n\t\t\t})\n\t\t\t.optional()\n\t\t\t.describe(\"node.js engine version(s) to pin and require a minimum of\"),\n\t\towner: z\n\t\t\t.string()\n\t\t\t.describe(\"GitHub organization or user the repository is underneath\"),\n\t\tpackageData: z\n\t\t\t.object({\n\t\t\t\tdependencies: z.record(z.string(), z.string()).optional(),\n\t\t\t\tdevDependencies: z.record(z.string(), z.string()).optional(),\n\t\t\t\tscripts: z.record(z.string(), z.string()).optional(),\n\t\t\t})\n\t\t\t.optional()\n\t\t\t.describe(\"additional properties to include in `package.json`\"),\n\t\trepository: z\n\t\t\t.string()\n\t\t\t.describe(\"'kebab-case' or 'PascalCase' title of the repository\"),\n\t\trulesetId: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"GitHub branch ruleset ID for main branch protections\"),\n\t\ttitle: z.string().describe(\"'Title Case' title for the repository\"),\n\t\tusage: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"markdown docs to put in README.md under the ## Usage heading\"),\n\t\tversion: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"package version to publish as and store in `package.json`\"),\n\t},\n\tprepare({ options, take }) {\n\t\tconst allContributors = lazyValue(async () => {\n\t\t\tconst contributions = (await take(inputFromFileJSON, {\n\t\t\t\tfilePath: \".all-contributorsrc\",\n\t\t\t})) as AllContributorsData;\n\n\t\t\treturn contributions.contributors;\n\t\t});\n\n\t\tconst documentation = lazyValue(async () => readDocumentation(take));\n\n\t\tconst nvmrc = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait take(inputFromFile, {\n\t\t\t\t\tfilePath: \".nvmrc\",\n\t\t\t\t}),\n\t\t);\n\n\t\tconst githubCliUser = lazyValue(async () => {\n\t\t\treturn swallowError(\n\t\t\t\tawait take(inputFromScript, {\n\t\t\t\t\tcommand: \"gh config get user -h github.com\",\n\t\t\t\t}),\n\t\t\t)?.stdout?.toString();\n\t\t});\n\n\t\tconst readme = lazyValue(async () => await readFileSafe(\"README.md\", \"\"));\n\n\t\tconst rulesetId = lazyValue(async () => {\n\t\t\tconst rulesets = (await take(inputFromOctokit, {\n\t\t\t\tendpoint: \"GET /repos/{owner}/{repo}/rulesets\",\n\t\t\t\toptions: {\n\t\t\t\t\towner: await owner(),\n\t\t\t\t\trepo: await repository(),\n\t\t\t\t},\n\t\t\t})) as { id: string; name: string }[];\n\n\t\t\treturn rulesets.find(\n\t\t\t\t(ruleset) => ruleset.name === \"Branch protection for main\",\n\t\t\t)?.id;\n\t\t});\n\n\t\t// TODO: Make these all use take\n\n\t\tconst gitDefaults = tryCatchLazyValueAsync(async () =>\n\t\t\tgitUrlParse(await gitRemoteOriginUrl()),\n\t\t);\n\n\t\tconst npmDefaults = tryCatchLazyValueAsync(async () => {\n\t\t\tconst whoami = (await execaCommand(`npm whoami`)).stdout;\n\t\t\treturn whoami ? await npmUser(whoami) : undefined;\n\t\t});\n\n\t\tconst packageData = lazyValue(readPackageData);\n\t\tconst packageAuthor = lazyValue(async () =>\n\t\t\tparsePackageAuthor(await packageData()),\n\t\t);\n\n\t\tconst author = lazyValue(\n\t\t\tasync () =>\n\t\t\t\t(await packageAuthor()).author ??\n\t\t\t\t(await npmDefaults())?.name ??\n\t\t\t\toptions.owner,\n\t\t);\n\n\t\tconst node = lazyValue(async () => {\n\t\t\tconst { engines } = await packageData();\n\n\t\t\treturn {\n\t\t\t\tminimum:\n\t\t\t\t\t(engines?.node && /[\\d+.]+/.exec(engines.node))?.[0] ?? \"18.3.0\",\n\t\t\t\tpinned: swallowError(await nvmrc())?.trim() ?? \"20.18.0\",\n\t\t\t};\n\t\t});\n\n\t\tconst version = lazyValue(async () => (await packageData()).version);\n\n\t\tconst owner = lazyValue(\n\t\t\tasync () =>\n\t\t\t\t(await gitDefaults())?.organization ??\n\t\t\t\t(await packageAuthor()).author ??\n\t\t\t\t(await githubCliUser()),\n\t\t);\n\n\t\tconst repository = lazyValue(\n\t\t\tasync () =>\n\t\t\t\toptions.repository ??\n\t\t\t\t(await gitDefaults())?.name ??\n\t\t\t\t(await packageData()).name ??\n\t\t\t\toptions.directory,\n\t\t);\n\n\t\treturn {\n\t\t\taccess: \"public\" as const,\n\t\t\tauthor,\n\t\t\tbin: async () => (await packageData()).bin,\n\t\t\tcontributors: allContributors,\n\t\t\tdescription: async () => await readDescription(packageData, readme),\n\t\t\tdocumentation,\n\t\t\temail: async () => readEmails(npmDefaults, packageAuthor),\n\t\t\tfunding: readFunding,\n\t\t\tguide: readGuide,\n\t\t\tlogin: author,\n\t\t\tnode,\n\t\t\towner,\n\t\t\tpackageData: async () => {\n\t\t\t\tconst original = await packageData();\n\n\t\t\t\treturn {\n\t\t\t\t\tdependencies: original.dependencies,\n\t\t\t\t\tdevDependencies: original.devDependencies,\n\t\t\t\t\tscripts: original.scripts,\n\t\t\t\t};\n\t\t\t},\n\t\t\trepository,\n\t\t\trulesetId,\n\t\t\t...readDefaultsFromReadme(readme, repository),\n\t\t\tversion,\n\t\t};\n\t},\n});\n\nexport type BaseOptions = BaseOptionsFor<typeof base>;\n"],"mappings":"AAAA,SAAyB,kBAAkB;AAC3C,SAAS,oBAAoB;AAC7B,OAAO,wBAAwB;AAC/B,OAAO,iBAAiB;AACxB,SAAS,qBAAqB;AAC9B,SAAS,yBAAyB;AAClC,SAAS,uBAAuB;AAChC,OAAO,eAAe;AACtB,OAAO,aAAa;AACpB,SAAS,SAAS;AAElB,SAAS,wBAAwB;AACjC,SAAS,0BAA0B;AACnC,SAAS,8BAA8B;AACvC,SAAS,uBAAuB;AAChC,SAAS,yBAAyB;AAClC,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,mBAAmB;AAC5B,SAAS,iBAAiB;AAC1B,SAAS,uBAAuB;AAEhC,SAAS,oBAAoB;AAC7B,SAAS,8BAA8B;AAEvC,MAAM,eAAe,EAAE,OAAO;AAAA,EAC7B,YAAY,EAAE,OAAO;AAAA,EACrB,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC;AAAA,EACjC,OAAO,EAAE,OAAO;AAAA,EAChB,MAAM,EAAE,OAAO;AAAA,EACf,SAAS,EAAE,OAAO;AACnB,CAAC;AAIM,MAAM,OAAO,WAAW;AAAA,EAC9B,SAAS;AAAA,IACR,QAAQ,EACN,MAAM,CAAC,EAAE,QAAQ,QAAQ,GAAG,EAAE,QAAQ,YAAY,CAAC,CAAC,EACpD,SAAS,2DAA2D;AAAA,IACtE,QAAQ,EACN,OAAO,EACP,SAAS,EACT,SAAS,2CAA2C;AAAA,IACtD,KAAK,EACH,OAAO,EACP,SAAS,EACT,SAAS,oDAAoD;AAAA,IAC/D,cAAc,EACZ,MAAM,YA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A,MACN,QAAQ;AAAA,MACR;AAAA,MACA,KAAK,aAAa,MAAM,YAAY,GAAG;AAAA,MACvC,cAAc;AAAA,MACd,aAAa,YAAY,MAAM,gBAAgB,aAAa,MAAM;AAAA,MAClE;AAAA,MACA,OAAO,YAAY,WAAW,aAAa,aAAa;AAAA,MACxD,SAAS;AAAA,MACT,OAAO;AAAA,MACP,OAAO;AAAA,MACP;AAAA,MACA;AAAA,MACA,aAAa,YAAY;AACxB,cAAM,WAAW,MAAM,YAAY;AAEnC,eAAO;AAAA,UACN,cAAc,SAAS;AAAA,UACvB,iBAAiB,SAAS;AAAA,UAC1B,SAAS,SAAS;AAAA,QACnB;AAAA,MACD;AAAA,MACA;AAAA,MACA;AAAA,MACA,GAAG,uBAAuB,QAAQ,UAAU;AAAA,MAC5C;AAAA,IACD;AAAA,EACD;AACD,CAAC;","names":[]}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import * as bingo_stratum from 'bingo-stratum';
|
|
2
2
|
|
|
3
3
|
declare const blockAllContributors: bingo_stratum.BlockWithoutAddons<{
|
|
4
|
+
owner: string;
|
|
5
|
+
repository: string;
|
|
4
6
|
description: string;
|
|
5
|
-
access: "public" | "restricted";
|
|
6
|
-
directory: string;
|
|
7
7
|
email: {
|
|
8
8
|
github: string;
|
|
9
9
|
npm: string;
|
|
10
10
|
};
|
|
11
11
|
title: string;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
access: "public" | "restricted";
|
|
13
|
+
directory: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
+
version?: string | undefined;
|
|
15
16
|
bin?: string | undefined;
|
|
16
17
|
contributors?: {
|
|
17
18
|
name: string;
|
|
@@ -24,8 +25,8 @@ declare const blockAllContributors: bingo_stratum.BlockWithoutAddons<{
|
|
|
24
25
|
explainer?: string[] | undefined;
|
|
25
26
|
funding?: string | undefined;
|
|
26
27
|
guide?: {
|
|
27
|
-
href: string;
|
|
28
28
|
title: string;
|
|
29
|
+
href: string;
|
|
29
30
|
} | undefined;
|
|
30
31
|
keywords?: string[] | undefined;
|
|
31
32
|
logo?: {
|
|
@@ -43,8 +44,8 @@ declare const blockAllContributors: bingo_stratum.BlockWithoutAddons<{
|
|
|
43
44
|
devDependencies?: Record<string, string> | undefined;
|
|
44
45
|
scripts?: Record<string, string> | undefined;
|
|
45
46
|
} | undefined;
|
|
47
|
+
rulesetId?: string | undefined;
|
|
46
48
|
usage?: string | undefined;
|
|
47
|
-
version?: string | undefined;
|
|
48
49
|
}>;
|
|
49
50
|
|
|
50
51
|
export { blockAllContributors };
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import * as bingo_stratum from 'bingo-stratum';
|
|
2
2
|
|
|
3
3
|
declare const blockAreTheTypesWrong: bingo_stratum.BlockWithoutAddons<{
|
|
4
|
+
owner: string;
|
|
5
|
+
repository: string;
|
|
4
6
|
description: string;
|
|
5
|
-
access: "public" | "restricted";
|
|
6
|
-
directory: string;
|
|
7
7
|
email: {
|
|
8
8
|
github: string;
|
|
9
9
|
npm: string;
|
|
10
10
|
};
|
|
11
11
|
title: string;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
access: "public" | "restricted";
|
|
13
|
+
directory: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
+
version?: string | undefined;
|
|
15
16
|
bin?: string | undefined;
|
|
16
17
|
contributors?: {
|
|
17
18
|
name: string;
|
|
@@ -24,8 +25,8 @@ declare const blockAreTheTypesWrong: bingo_stratum.BlockWithoutAddons<{
|
|
|
24
25
|
explainer?: string[] | undefined;
|
|
25
26
|
funding?: string | undefined;
|
|
26
27
|
guide?: {
|
|
27
|
-
href: string;
|
|
28
28
|
title: string;
|
|
29
|
+
href: string;
|
|
29
30
|
} | undefined;
|
|
30
31
|
keywords?: string[] | undefined;
|
|
31
32
|
logo?: {
|
|
@@ -43,8 +44,8 @@ declare const blockAreTheTypesWrong: bingo_stratum.BlockWithoutAddons<{
|
|
|
43
44
|
devDependencies?: Record<string, string> | undefined;
|
|
44
45
|
scripts?: Record<string, string> | undefined;
|
|
45
46
|
} | undefined;
|
|
47
|
+
rulesetId?: string | undefined;
|
|
46
48
|
usage?: string | undefined;
|
|
47
|
-
version?: string | undefined;
|
|
48
49
|
}>;
|
|
49
50
|
|
|
50
51
|
export { blockAreTheTypesWrong };
|
|
@@ -4,17 +4,18 @@ declare const blockCSpell: bingo_stratum.BlockWithAddons<{
|
|
|
4
4
|
ignores: string[];
|
|
5
5
|
words: string[];
|
|
6
6
|
}, {
|
|
7
|
+
owner: string;
|
|
8
|
+
repository: string;
|
|
7
9
|
description: string;
|
|
8
|
-
access: "public" | "restricted";
|
|
9
|
-
directory: string;
|
|
10
10
|
email: {
|
|
11
11
|
github: string;
|
|
12
12
|
npm: string;
|
|
13
13
|
};
|
|
14
14
|
title: string;
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
access: "public" | "restricted";
|
|
16
|
+
directory: string;
|
|
17
17
|
author?: string | undefined;
|
|
18
|
+
version?: string | undefined;
|
|
18
19
|
bin?: string | undefined;
|
|
19
20
|
contributors?: {
|
|
20
21
|
name: string;
|
|
@@ -27,8 +28,8 @@ declare const blockCSpell: bingo_stratum.BlockWithAddons<{
|
|
|
27
28
|
explainer?: string[] | undefined;
|
|
28
29
|
funding?: string | undefined;
|
|
29
30
|
guide?: {
|
|
30
|
-
href: string;
|
|
31
31
|
title: string;
|
|
32
|
+
href: string;
|
|
32
33
|
} | undefined;
|
|
33
34
|
keywords?: string[] | undefined;
|
|
34
35
|
logo?: {
|
|
@@ -46,8 +47,8 @@ declare const blockCSpell: bingo_stratum.BlockWithAddons<{
|
|
|
46
47
|
devDependencies?: Record<string, string> | undefined;
|
|
47
48
|
scripts?: Record<string, string> | undefined;
|
|
48
49
|
} | undefined;
|
|
50
|
+
rulesetId?: string | undefined;
|
|
49
51
|
usage?: string | undefined;
|
|
50
|
-
version?: string | undefined;
|
|
51
52
|
}>;
|
|
52
53
|
|
|
53
54
|
export { blockCSpell };
|
|
@@ -3,17 +3,18 @@ import * as bingo_stratum from 'bingo-stratum';
|
|
|
3
3
|
declare const blockCodecov: bingo_stratum.BlockWithAddons<{
|
|
4
4
|
env?: Record<string, string> | undefined;
|
|
5
5
|
}, {
|
|
6
|
+
owner: string;
|
|
7
|
+
repository: string;
|
|
6
8
|
description: string;
|
|
7
|
-
access: "public" | "restricted";
|
|
8
|
-
directory: string;
|
|
9
9
|
email: {
|
|
10
10
|
github: string;
|
|
11
11
|
npm: string;
|
|
12
12
|
};
|
|
13
13
|
title: string;
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
access: "public" | "restricted";
|
|
15
|
+
directory: string;
|
|
16
16
|
author?: string | undefined;
|
|
17
|
+
version?: string | undefined;
|
|
17
18
|
bin?: string | undefined;
|
|
18
19
|
contributors?: {
|
|
19
20
|
name: string;
|
|
@@ -26,8 +27,8 @@ declare const blockCodecov: bingo_stratum.BlockWithAddons<{
|
|
|
26
27
|
explainer?: string[] | undefined;
|
|
27
28
|
funding?: string | undefined;
|
|
28
29
|
guide?: {
|
|
29
|
-
href: string;
|
|
30
30
|
title: string;
|
|
31
|
+
href: string;
|
|
31
32
|
} | undefined;
|
|
32
33
|
keywords?: string[] | undefined;
|
|
33
34
|
logo?: {
|
|
@@ -45,8 +46,8 @@ declare const blockCodecov: bingo_stratum.BlockWithAddons<{
|
|
|
45
46
|
devDependencies?: Record<string, string> | undefined;
|
|
46
47
|
scripts?: Record<string, string> | undefined;
|
|
47
48
|
} | undefined;
|
|
49
|
+
rulesetId?: string | undefined;
|
|
48
50
|
usage?: string | undefined;
|
|
49
|
-
version?: string | undefined;
|
|
50
51
|
}>;
|
|
51
52
|
|
|
52
53
|
export { blockCodecov };
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import * as bingo_stratum from 'bingo-stratum';
|
|
2
2
|
|
|
3
3
|
declare const blockContributingDocs: bingo_stratum.BlockWithoutAddons<{
|
|
4
|
+
owner: string;
|
|
5
|
+
repository: string;
|
|
4
6
|
description: string;
|
|
5
|
-
access: "public" | "restricted";
|
|
6
|
-
directory: string;
|
|
7
7
|
email: {
|
|
8
8
|
github: string;
|
|
9
9
|
npm: string;
|
|
10
10
|
};
|
|
11
11
|
title: string;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
access: "public" | "restricted";
|
|
13
|
+
directory: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
+
version?: string | undefined;
|
|
15
16
|
bin?: string | undefined;
|
|
16
17
|
contributors?: {
|
|
17
18
|
name: string;
|
|
@@ -24,8 +25,8 @@ declare const blockContributingDocs: bingo_stratum.BlockWithoutAddons<{
|
|
|
24
25
|
explainer?: string[] | undefined;
|
|
25
26
|
funding?: string | undefined;
|
|
26
27
|
guide?: {
|
|
27
|
-
href: string;
|
|
28
28
|
title: string;
|
|
29
|
+
href: string;
|
|
29
30
|
} | undefined;
|
|
30
31
|
keywords?: string[] | undefined;
|
|
31
32
|
logo?: {
|
|
@@ -43,8 +44,8 @@ declare const blockContributingDocs: bingo_stratum.BlockWithoutAddons<{
|
|
|
43
44
|
devDependencies?: Record<string, string> | undefined;
|
|
44
45
|
scripts?: Record<string, string> | undefined;
|
|
45
46
|
} | undefined;
|
|
47
|
+
rulesetId?: string | undefined;
|
|
46
48
|
usage?: string | undefined;
|
|
47
|
-
version?: string | undefined;
|
|
48
49
|
}>;
|
|
49
50
|
|
|
50
51
|
export { blockContributingDocs };
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import * as bingo_stratum from 'bingo-stratum';
|
|
2
2
|
|
|
3
3
|
declare const blockContributorCovenant: bingo_stratum.BlockWithoutAddons<{
|
|
4
|
+
owner: string;
|
|
5
|
+
repository: string;
|
|
4
6
|
description: string;
|
|
5
|
-
access: "public" | "restricted";
|
|
6
|
-
directory: string;
|
|
7
7
|
email: {
|
|
8
8
|
github: string;
|
|
9
9
|
npm: string;
|
|
10
10
|
};
|
|
11
11
|
title: string;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
access: "public" | "restricted";
|
|
13
|
+
directory: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
+
version?: string | undefined;
|
|
15
16
|
bin?: string | undefined;
|
|
16
17
|
contributors?: {
|
|
17
18
|
name: string;
|
|
@@ -24,8 +25,8 @@ declare const blockContributorCovenant: bingo_stratum.BlockWithoutAddons<{
|
|
|
24
25
|
explainer?: string[] | undefined;
|
|
25
26
|
funding?: string | undefined;
|
|
26
27
|
guide?: {
|
|
27
|
-
href: string;
|
|
28
28
|
title: string;
|
|
29
|
+
href: string;
|
|
29
30
|
} | undefined;
|
|
30
31
|
keywords?: string[] | undefined;
|
|
31
32
|
logo?: {
|
|
@@ -43,8 +44,8 @@ declare const blockContributorCovenant: bingo_stratum.BlockWithoutAddons<{
|
|
|
43
44
|
devDependencies?: Record<string, string> | undefined;
|
|
44
45
|
scripts?: Record<string, string> | undefined;
|
|
45
46
|
} | undefined;
|
|
47
|
+
rulesetId?: string | undefined;
|
|
46
48
|
usage?: string | undefined;
|
|
47
|
-
version?: string | undefined;
|
|
48
49
|
}>;
|
|
49
50
|
|
|
50
51
|
export { blockContributorCovenant };
|
|
@@ -3,8 +3,8 @@ import * as bingo_stratum from 'bingo-stratum';
|
|
|
3
3
|
declare const blockDevelopmentDocs: bingo_stratum.BlockWithAddons<{
|
|
4
4
|
sections: Record<string, {
|
|
5
5
|
contents?: string | {
|
|
6
|
-
after?: string[] | undefined;
|
|
7
6
|
before?: string | undefined;
|
|
7
|
+
after?: string[] | undefined;
|
|
8
8
|
items?: string[] | undefined;
|
|
9
9
|
plural?: string | undefined;
|
|
10
10
|
} | undefined;
|
|
@@ -15,17 +15,18 @@ declare const blockDevelopmentDocs: bingo_stratum.BlockWithAddons<{
|
|
|
15
15
|
}>;
|
|
16
16
|
hints: string[];
|
|
17
17
|
}, {
|
|
18
|
+
owner: string;
|
|
19
|
+
repository: string;
|
|
18
20
|
description: string;
|
|
19
|
-
access: "public" | "restricted";
|
|
20
|
-
directory: string;
|
|
21
21
|
email: {
|
|
22
22
|
github: string;
|
|
23
23
|
npm: string;
|
|
24
24
|
};
|
|
25
25
|
title: string;
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
access: "public" | "restricted";
|
|
27
|
+
directory: string;
|
|
28
28
|
author?: string | undefined;
|
|
29
|
+
version?: string | undefined;
|
|
29
30
|
bin?: string | undefined;
|
|
30
31
|
contributors?: {
|
|
31
32
|
name: string;
|
|
@@ -38,8 +39,8 @@ declare const blockDevelopmentDocs: bingo_stratum.BlockWithAddons<{
|
|
|
38
39
|
explainer?: string[] | undefined;
|
|
39
40
|
funding?: string | undefined;
|
|
40
41
|
guide?: {
|
|
41
|
-
href: string;
|
|
42
42
|
title: string;
|
|
43
|
+
href: string;
|
|
43
44
|
} | undefined;
|
|
44
45
|
keywords?: string[] | undefined;
|
|
45
46
|
logo?: {
|
|
@@ -57,8 +58,8 @@ declare const blockDevelopmentDocs: bingo_stratum.BlockWithAddons<{
|
|
|
57
58
|
devDependencies?: Record<string, string> | undefined;
|
|
58
59
|
scripts?: Record<string, string> | undefined;
|
|
59
60
|
} | undefined;
|
|
61
|
+
rulesetId?: string | undefined;
|
|
60
62
|
usage?: string | undefined;
|
|
61
|
-
version?: string | undefined;
|
|
62
63
|
}>;
|
|
63
64
|
|
|
64
65
|
export { blockDevelopmentDocs };
|
|
@@ -27,17 +27,18 @@ declare const blockESLint: bingo_stratum.BlockWithAddons<{
|
|
|
27
27
|
settings?: Record<string, unknown> | undefined;
|
|
28
28
|
beforeLint?: string | undefined;
|
|
29
29
|
}, {
|
|
30
|
+
owner: string;
|
|
31
|
+
repository: string;
|
|
30
32
|
description: string;
|
|
31
|
-
access: "public" | "restricted";
|
|
32
|
-
directory: string;
|
|
33
33
|
email: {
|
|
34
34
|
github: string;
|
|
35
35
|
npm: string;
|
|
36
36
|
};
|
|
37
37
|
title: string;
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
access: "public" | "restricted";
|
|
39
|
+
directory: string;
|
|
40
40
|
author?: string | undefined;
|
|
41
|
+
version?: string | undefined;
|
|
41
42
|
bin?: string | undefined;
|
|
42
43
|
contributors?: {
|
|
43
44
|
name: string;
|
|
@@ -50,8 +51,8 @@ declare const blockESLint: bingo_stratum.BlockWithAddons<{
|
|
|
50
51
|
explainer?: string[] | undefined;
|
|
51
52
|
funding?: string | undefined;
|
|
52
53
|
guide?: {
|
|
53
|
-
href: string;
|
|
54
54
|
title: string;
|
|
55
|
+
href: string;
|
|
55
56
|
} | undefined;
|
|
56
57
|
keywords?: string[] | undefined;
|
|
57
58
|
logo?: {
|
|
@@ -69,8 +70,8 @@ declare const blockESLint: bingo_stratum.BlockWithAddons<{
|
|
|
69
70
|
devDependencies?: Record<string, string> | undefined;
|
|
70
71
|
scripts?: Record<string, string> | undefined;
|
|
71
72
|
} | undefined;
|
|
73
|
+
rulesetId?: string | undefined;
|
|
72
74
|
usage?: string | undefined;
|
|
73
|
-
version?: string | undefined;
|
|
74
75
|
}>;
|
|
75
76
|
|
|
76
77
|
export { blockESLint };
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import * as bingo_stratum from 'bingo-stratum';
|
|
2
2
|
|
|
3
3
|
declare const blockESLintComments: bingo_stratum.BlockWithoutAddons<{
|
|
4
|
+
owner: string;
|
|
5
|
+
repository: string;
|
|
4
6
|
description: string;
|
|
5
|
-
access: "public" | "restricted";
|
|
6
|
-
directory: string;
|
|
7
7
|
email: {
|
|
8
8
|
github: string;
|
|
9
9
|
npm: string;
|
|
10
10
|
};
|
|
11
11
|
title: string;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
access: "public" | "restricted";
|
|
13
|
+
directory: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
+
version?: string | undefined;
|
|
15
16
|
bin?: string | undefined;
|
|
16
17
|
contributors?: {
|
|
17
18
|
name: string;
|
|
@@ -24,8 +25,8 @@ declare const blockESLintComments: bingo_stratum.BlockWithoutAddons<{
|
|
|
24
25
|
explainer?: string[] | undefined;
|
|
25
26
|
funding?: string | undefined;
|
|
26
27
|
guide?: {
|
|
27
|
-
href: string;
|
|
28
28
|
title: string;
|
|
29
|
+
href: string;
|
|
29
30
|
} | undefined;
|
|
30
31
|
keywords?: string[] | undefined;
|
|
31
32
|
logo?: {
|
|
@@ -43,8 +44,8 @@ declare const blockESLintComments: bingo_stratum.BlockWithoutAddons<{
|
|
|
43
44
|
devDependencies?: Record<string, string> | undefined;
|
|
44
45
|
scripts?: Record<string, string> | undefined;
|
|
45
46
|
} | undefined;
|
|
47
|
+
rulesetId?: string | undefined;
|
|
46
48
|
usage?: string | undefined;
|
|
47
|
-
version?: string | undefined;
|
|
48
49
|
}>;
|
|
49
50
|
|
|
50
51
|
export { blockESLintComments };
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import * as bingo_stratum from 'bingo-stratum';
|
|
2
2
|
|
|
3
3
|
declare const blockESLintJSDoc: bingo_stratum.BlockWithoutAddons<{
|
|
4
|
+
owner: string;
|
|
5
|
+
repository: string;
|
|
4
6
|
description: string;
|
|
5
|
-
access: "public" | "restricted";
|
|
6
|
-
directory: string;
|
|
7
7
|
email: {
|
|
8
8
|
github: string;
|
|
9
9
|
npm: string;
|
|
10
10
|
};
|
|
11
11
|
title: string;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
access: "public" | "restricted";
|
|
13
|
+
directory: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
+
version?: string | undefined;
|
|
15
16
|
bin?: string | undefined;
|
|
16
17
|
contributors?: {
|
|
17
18
|
name: string;
|
|
@@ -24,8 +25,8 @@ declare const blockESLintJSDoc: bingo_stratum.BlockWithoutAddons<{
|
|
|
24
25
|
explainer?: string[] | undefined;
|
|
25
26
|
funding?: string | undefined;
|
|
26
27
|
guide?: {
|
|
27
|
-
href: string;
|
|
28
28
|
title: string;
|
|
29
|
+
href: string;
|
|
29
30
|
} | undefined;
|
|
30
31
|
keywords?: string[] | undefined;
|
|
31
32
|
logo?: {
|
|
@@ -43,8 +44,8 @@ declare const blockESLintJSDoc: bingo_stratum.BlockWithoutAddons<{
|
|
|
43
44
|
devDependencies?: Record<string, string> | undefined;
|
|
44
45
|
scripts?: Record<string, string> | undefined;
|
|
45
46
|
} | undefined;
|
|
47
|
+
rulesetId?: string | undefined;
|
|
46
48
|
usage?: string | undefined;
|
|
47
|
-
version?: string | undefined;
|
|
48
49
|
}>;
|
|
49
50
|
|
|
50
51
|
export { blockESLintJSDoc };
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import * as bingo_stratum from 'bingo-stratum';
|
|
2
2
|
|
|
3
3
|
declare const blockESLintJSONC: bingo_stratum.BlockWithoutAddons<{
|
|
4
|
+
owner: string;
|
|
5
|
+
repository: string;
|
|
4
6
|
description: string;
|
|
5
|
-
access: "public" | "restricted";
|
|
6
|
-
directory: string;
|
|
7
7
|
email: {
|
|
8
8
|
github: string;
|
|
9
9
|
npm: string;
|
|
10
10
|
};
|
|
11
11
|
title: string;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
access: "public" | "restricted";
|
|
13
|
+
directory: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
+
version?: string | undefined;
|
|
15
16
|
bin?: string | undefined;
|
|
16
17
|
contributors?: {
|
|
17
18
|
name: string;
|
|
@@ -24,8 +25,8 @@ declare const blockESLintJSONC: bingo_stratum.BlockWithoutAddons<{
|
|
|
24
25
|
explainer?: string[] | undefined;
|
|
25
26
|
funding?: string | undefined;
|
|
26
27
|
guide?: {
|
|
27
|
-
href: string;
|
|
28
28
|
title: string;
|
|
29
|
+
href: string;
|
|
29
30
|
} | undefined;
|
|
30
31
|
keywords?: string[] | undefined;
|
|
31
32
|
logo?: {
|
|
@@ -43,8 +44,8 @@ declare const blockESLintJSONC: bingo_stratum.BlockWithoutAddons<{
|
|
|
43
44
|
devDependencies?: Record<string, string> | undefined;
|
|
44
45
|
scripts?: Record<string, string> | undefined;
|
|
45
46
|
} | undefined;
|
|
47
|
+
rulesetId?: string | undefined;
|
|
46
48
|
usage?: string | undefined;
|
|
47
|
-
version?: string | undefined;
|
|
48
49
|
}>;
|
|
49
50
|
|
|
50
51
|
export { blockESLintJSONC };
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import * as bingo_stratum from 'bingo-stratum';
|
|
2
2
|
|
|
3
3
|
declare const blockESLintMarkdown: bingo_stratum.BlockWithoutAddons<{
|
|
4
|
+
owner: string;
|
|
5
|
+
repository: string;
|
|
4
6
|
description: string;
|
|
5
|
-
access: "public" | "restricted";
|
|
6
|
-
directory: string;
|
|
7
7
|
email: {
|
|
8
8
|
github: string;
|
|
9
9
|
npm: string;
|
|
10
10
|
};
|
|
11
11
|
title: string;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
access: "public" | "restricted";
|
|
13
|
+
directory: string;
|
|
14
14
|
author?: string | undefined;
|
|
15
|
+
version?: string | undefined;
|
|
15
16
|
bin?: string | undefined;
|
|
16
17
|
contributors?: {
|
|
17
18
|
name: string;
|
|
@@ -24,8 +25,8 @@ declare const blockESLintMarkdown: bingo_stratum.BlockWithoutAddons<{
|
|
|
24
25
|
explainer?: string[] | undefined;
|
|
25
26
|
funding?: string | undefined;
|
|
26
27
|
guide?: {
|
|
27
|
-
href: string;
|
|
28
28
|
title: string;
|
|
29
|
+
href: string;
|
|
29
30
|
} | undefined;
|
|
30
31
|
keywords?: string[] | undefined;
|
|
31
32
|
logo?: {
|
|
@@ -43,8 +44,8 @@ declare const blockESLintMarkdown: bingo_stratum.BlockWithoutAddons<{
|
|
|
43
44
|
devDependencies?: Record<string, string> | undefined;
|
|
44
45
|
scripts?: Record<string, string> | undefined;
|
|
45
46
|
} | undefined;
|
|
47
|
+
rulesetId?: string | undefined;
|
|
46
48
|
usage?: string | undefined;
|
|
47
|
-
version?: string | undefined;
|
|
48
49
|
}>;
|
|
49
50
|
|
|
50
51
|
export { blockESLintMarkdown };
|