create-typescript-app 2.46.3 → 2.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/base.d.ts +2 -2
- package/lib/base.d.ts.map +1 -1
- package/lib/base.js +2 -1
- package/lib/base.js.map +1 -1
- package/lib/blocks/blockAllContributors.d.ts +2 -2
- package/lib/blocks/blockAreTheTypesWrong.d.ts +2 -2
- package/lib/blocks/blockCSpell.d.ts +2 -2
- package/lib/blocks/blockCTATransitions.d.ts +2 -2
- package/lib/blocks/blockCTATransitions.d.ts.map +1 -1
- package/lib/blocks/blockCodecov.d.ts +2 -2
- package/lib/blocks/blockContributingDocs.d.ts +2 -2
- package/lib/blocks/blockContributorCovenant.d.ts +2 -2
- package/lib/blocks/blockDevelopmentDocs.d.ts +2 -2
- package/lib/blocks/blockESLint.d.ts +4 -4
- package/lib/blocks/blockESLint.d.ts.map +1 -1
- package/lib/blocks/blockESLintComments.d.ts +2 -2
- package/lib/blocks/blockESLintJSDoc.d.ts +2 -2
- package/lib/blocks/blockESLintJSONC.d.ts +2 -2
- package/lib/blocks/blockESLintMarkdown.d.ts +2 -2
- package/lib/blocks/blockESLintMoreStyling.d.ts +2 -2
- package/lib/blocks/blockESLintNode.d.ts +2 -2
- package/lib/blocks/blockESLintNode.d.ts.map +1 -1
- package/lib/blocks/blockESLintPackageJson.d.ts +2 -2
- package/lib/blocks/blockESLintPerfectionist.d.ts +2 -2
- package/lib/blocks/blockESLintPlugin.d.ts +2 -2
- package/lib/blocks/blockESLintRegexp.d.ts +2 -2
- package/lib/blocks/blockESLintYML.d.ts +2 -2
- package/lib/blocks/blockExampleFiles.d.ts +2 -2
- package/lib/blocks/blockFunding.d.ts +2 -2
- package/lib/blocks/blockGitHubActionsCI.d.ts +2 -2
- package/lib/blocks/blockGitHubApps.d.ts +2 -2
- package/lib/blocks/blockGitHubIssueTemplates.d.ts +2 -2
- package/lib/blocks/blockGitHubPRTemplate.d.ts +2 -2
- package/lib/blocks/blockGitignore.d.ts +2 -2
- package/lib/blocks/blockKnip.d.ts +2 -2
- package/lib/blocks/blockMITLicense.d.ts +2 -2
- package/lib/blocks/blockMain.d.ts +2 -2
- package/lib/blocks/blockMain.d.ts.map +1 -1
- package/lib/blocks/blockMarkdownlint.d.ts +2 -2
- package/lib/blocks/blockMarkdownlint.d.ts.map +1 -1
- package/lib/blocks/blockNcc.d.ts +2 -2
- package/lib/blocks/blockNcc.d.ts.map +1 -1
- package/lib/blocks/blockNvmrc.d.ts +2 -2
- package/lib/blocks/blockNvmrc.d.ts.map +1 -1
- package/lib/blocks/blockOctoGuide.d.ts +2 -2
- package/lib/blocks/blockOctoGuide.d.ts.map +1 -1
- package/lib/blocks/blockOctoGuideStrict.d.ts +2 -2
- package/lib/blocks/blockOctoGuideStrict.d.ts.map +1 -1
- package/lib/blocks/blockPackageJson.d.ts +2 -2
- package/lib/blocks/blockPackageJson.d.ts.map +1 -1
- package/lib/blocks/blockPnpmDedupe.d.ts +2 -2
- package/lib/blocks/blockPrettier.d.ts +3 -3
- package/lib/blocks/blockPrettierPluginCurly.d.ts +2 -2
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts +2 -2
- package/lib/blocks/blockPrettierPluginSh.d.ts +2 -2
- package/lib/blocks/blockREADME.d.ts +2 -2
- package/lib/blocks/blockReleaseIt.d.ts +2 -2
- package/lib/blocks/blockRemoveDependencies.d.ts +2 -2
- package/lib/blocks/blockRemoveFiles.d.ts +2 -2
- package/lib/blocks/blockRemoveWorkflows.d.ts +2 -2
- package/lib/blocks/blockRenovate.d.ts +2 -2
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts +2 -2
- package/lib/blocks/blockRepositoryLabels.d.ts +2 -2
- package/lib/blocks/blockRepositorySecrets.d.ts +2 -2
- package/lib/blocks/blockRepositorySettings.d.ts +2 -2
- package/lib/blocks/blockSecurityDocs.d.ts +2 -2
- package/lib/blocks/blockTSDown.d.ts +2 -2
- package/lib/blocks/blockTemplatedWith.d.ts +2 -2
- package/lib/blocks/blockTypeScript.d.ts +2 -2
- package/lib/blocks/blockVSCode.d.ts +2 -2
- package/lib/blocks/blockVitest.d.ts +2 -2
- package/lib/blocks/blockWebExt.d.ts +2 -2
- package/lib/blocks/eslint/schemas.d.ts +2 -2
- package/lib/blocks/eslint/schemas.d.ts.map +1 -1
- package/lib/blocks/index.d.ts +52 -52
- package/lib/data/packageData.d.ts +2 -2
- package/lib/index.d.ts +72 -72
- package/lib/index.d.ts.map +1 -1
- package/lib/inputs/inputFromDirectory.d.ts +2 -2
- package/lib/inputs/inputFromDirectory.d.ts.map +1 -1
- package/lib/inputs/inputFromOctokit.d.ts +2 -2
- package/lib/inputs/inputFromOctokit.d.ts.map +1 -1
- package/lib/options/readAuthor.d.ts +2 -1
- package/lib/options/readAuthor.d.ts.map +1 -1
- package/lib/options/readAuthor.js +2 -2
- package/lib/options/readAuthor.js.map +1 -1
- package/lib/options/readNpmDefaults.d.ts +2 -2
- package/lib/options/readNpmDefaults.d.ts.map +1 -1
- package/lib/presets/common.d.ts +69 -69
- package/lib/presets/common.d.ts.map +1 -1
- package/lib/presets/everything.d.ts +69 -69
- package/lib/presets/index.d.ts +203 -203
- package/lib/presets/minimal.d.ts +69 -69
- package/lib/presets/minimal.d.ts.map +1 -1
- package/lib/template.d.ts +69 -69
- package/lib/template.d.ts.map +1 -1
- package/package.json +6 -6
package/lib/base.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum131 from "bingo-stratum";
|
|
2
2
|
import { BaseOptionsFor } from "bingo-stratum";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/base.d.ts
|
|
6
|
-
declare const base:
|
|
6
|
+
declare const base: bingo_stratum131.Base<{
|
|
7
7
|
access: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"restricted">]>;
|
|
8
8
|
author: z.ZodOptional<z.ZodString>;
|
|
9
9
|
bin: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
package/lib/base.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","names":[],"sources":["../src/base.ts"],"sourcesContent":[],"mappings":";;;;;cA0Ca,uBAAI;
|
|
1
|
+
{"version":3,"file":"base.d.ts","names":[],"sources":["../src/base.ts"],"sourcesContent":[],"mappings":";;;;;cA0Ca,uBAAI;sBAuTf,CAAA,CAAA;;EAvTW,GAAA,eAuTX,WAAA,CAAA,YAAA,aAAA,YAAA,aAAA,CAAA,CAAA,CAAA,CAAA;EAAA,YAAA,eAAA,WAAA,YAAA,CAAA;IAAA,UAAA,aAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAvTe,CAAA,QAAA,CAAA,MAAA,EAAA,MAAA,CAAA,GAAA,SAAA;IAAA,oBAAA,CAAA,QAAA,CAAA,MAAA,EAAA,OAAA,CAAA,GAAA,SAAA;IAyTL,OAAA,CAAA,QAAW,CAAA,MAAA,EAAA,MAAA,GAAA,SAAA,CAAA,GAAA,SAAA;EAAA,CAAA,CAAA,CAAA;EAAA,IAAyB,eAAA,YAAA,CAAA;EAAI,UAA1B,aAAA;EAAc,SAAA,eAAA,YAAA,CAAA;;;;;;;;;;;;;;;;KAA5B,WAAA,GAAc,sBAAsB"}
|
package/lib/base.js
CHANGED
|
@@ -98,7 +98,7 @@ const base = createBase({
|
|
|
98
98
|
prepare({ options, take }) {
|
|
99
99
|
const getAccess = lazyValue(async () => await readAccess(getPackageData));
|
|
100
100
|
const getAllContributors = lazyValue(async () => await readAllContributors(take));
|
|
101
|
-
const getAuthor = lazyValue(async () => await readAuthor(getPackageAuthor, getNpmDefaults, options.owner));
|
|
101
|
+
const getAuthor = lazyValue(async () => await readAuthor(getPackageAuthor, getNpmDefaults, getGitUser, options.owner));
|
|
102
102
|
const getBin = lazyValue(async () => await readBin(getPackageData));
|
|
103
103
|
const getEmoji = lazyValue(async () => await readEmoji(getDescription));
|
|
104
104
|
const getDescription = lazyValue(async () => await readDescription(getPackageData, getReadme, getRepository));
|
|
@@ -112,6 +112,7 @@ const base = createBase({
|
|
|
112
112
|
const getExistingLabels = lazyValue(async () => await readExistingLabels(take, getOwner, getRepository));
|
|
113
113
|
const getFunding = lazyValue(async () => await readFunding(take));
|
|
114
114
|
const getGitDefaults = lazyValue(async () => await readGitDefaults(take));
|
|
115
|
+
const getGitUser = lazyValue(async () => await take(inputFromScript, { command: "git config user.name" }));
|
|
115
116
|
const getGuide = lazyValue(async () => await readGuide(take));
|
|
116
117
|
const getLogo = lazyValue(async () => await readLogo(getReadme));
|
|
117
118
|
const getPackageData = lazyValue(async () => await readPackageData(take));
|
package/lib/base.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","names":[],"sources":["../src/base.ts"],"sourcesContent":["import { BaseOptionsFor, createBase } from \"bingo-stratum\";\nimport { inputFromFile } from \"input-from-file\";\nimport { inputFromScript } from \"input-from-script\";\nimport lazyValue from \"lazy-value\";\nimport { z } from \"zod\";\n\nimport { readAccess } from \"./options/readAccess.js\";\nimport { readAllContributors } from \"./options/readAllContributors.js\";\nimport { readAuthor } from \"./options/readAuthor.js\";\nimport { readBin } from \"./options/readBin.js\";\nimport { readDescription } from \"./options/readDescription.js\";\nimport { readDevelopmentDocumentation } from \"./options/readDevelopmentDocumentation.js\";\nimport { readDocumentation } from \"./options/readDocumentation.js\";\nimport { readEmailFromCodeOfConduct } from \"./options/readEmailFromCodeOfConduct.js\";\nimport { readEmailFromGit } from \"./options/readEmailFromGit.js\";\nimport { readEmailFromNpm } from \"./options/readEmailFromNpm.js\";\nimport { readEmails } from \"./options/readEmails.js\";\nimport { readEmoji } from \"./options/readEmoji.js\";\nimport { readExistingLabels } from \"./options/readExistingLabels.js\";\nimport { readFileSafe } from \"./options/readFileSafe.js\";\nimport { readFunding } from \"./options/readFunding.js\";\nimport { readGitDefaults } from \"./options/readGitDefaults.js\";\nimport { readGuide } from \"./options/readGuide.js\";\nimport { readKeywords } from \"./options/readKeywords.js\";\nimport { readLogo } from \"./options/readLogo.js\";\nimport { readNode } from \"./options/readNode.js\";\nimport { readNpmDefaults } from \"./options/readNpmDefaults.js\";\nimport { readOwner } from \"./options/readOwner.js\";\nimport { readPackageAuthor } from \"./options/readPackageAuthor.js\";\nimport { readPackageData } from \"./options/readPackageData.js\";\nimport { readPnpm } from \"./options/readPnpm.js\";\nimport { readReadmeAdditional } from \"./options/readReadmeAdditional.js\";\nimport { readReadmeExplainer } from \"./options/readReadmeExplainer.js\";\nimport { readReadmeFootnotes } from \"./options/readReadmeFootnotes.js\";\nimport { readReadmeUsage } from \"./options/readReadmeUsage.js\";\nimport { readRepository } from \"./options/readRepository.js\";\nimport { readRulesetId } from \"./options/readRulesetId.js\";\nimport { readTitle } from \"./options/readTitle.js\";\nimport { readWords } from \"./options/readWords.js\";\nimport { readWorkflowsVersions } from \"./options/readWorkflowsVersions.js\";\nimport { zContributor, zDocumentation, zWorkflowsVersions } from \"./schemas.js\";\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.union([z.string(), z.record(z.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: zDocumentation.describe(\n\t\t\t\"additional docs to add to .md files\",\n\t\t),\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// TODO: Test this? Is it still working?\n\t\t\t// https://github.com/JoshuaKGoldberg/create-typescript-app/issues/1991\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\temoji: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"decorative emoji to use in descriptions and docs\"),\n\t\texistingLabels: z\n\t\t\t.array(\n\t\t\t\tz.object({\n\t\t\t\t\tcolor: z.string(),\n\t\t\t\t\tdescription: z.string(),\n\t\t\t\t\tname: z.string(),\n\t\t\t\t}),\n\t\t\t)\n\t\t\t.optional()\n\t\t\t.describe(\"existing labels from the GitHub repository\"),\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 and alt text 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.describe(\"Node.js engine version(s) to pin and require a minimum of\"),\n\t\towner: z.string().describe(\"organization or user owning the repository\"),\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\tpeerDependencies: z.record(z.string(), z.string()).optional(),\n\t\t\t\tpeerDependenciesMeta: z.record(z.unknown()).optional(),\n\t\t\t\tscripts: z.record(z.string(), z.string().optional()).optional(),\n\t\t\t})\n\t\t\t.optional()\n\t\t\t.describe(\"additional properties to include in `package.json`\"),\n\t\tpnpm: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"pnpm version for package.json's packageManager field\"),\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\ttype: z\n\t\t\t.union([z.literal(\"commonjs\"), z.literal(\"module\")])\n\t\t\t.optional()\n\t\t\t.describe(\"package.json modules type\"),\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\twords: z\n\t\t\t.array(z.string())\n\t\t\t.optional()\n\t\t\t.describe(\"additional words to add to the CSpell dictionary\"),\n\t\tworkflowsVersions: zWorkflowsVersions\n\t\t\t.optional()\n\t\t\t.describe(\"existing versions of GitHub Actions workflows used\"),\n\t},\n\tprepare({ options, take }) {\n\t\tconst getAccess = lazyValue(async () => await readAccess(getPackageData));\n\n\t\tconst getAllContributors = lazyValue(\n\t\t\tasync () => await readAllContributors(take),\n\t\t);\n\n\t\tconst getAuthor = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait readAuthor(getPackageAuthor, getNpmDefaults, options.owner),\n\t\t);\n\n\t\tconst getBin = lazyValue(async () => await readBin(getPackageData));\n\n\t\tconst getEmoji = lazyValue(async () => await readEmoji(getDescription));\n\n\t\tconst getDescription = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait readDescription(getPackageData, getReadme, getRepository),\n\t\t);\n\n\t\tconst getDevelopmentDocumentation = lazyValue(\n\t\t\tasync () => await readDevelopmentDocumentation(take),\n\t\t);\n\n\t\tconst getDocumentation = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait readDocumentation(\n\t\t\t\t\tgetDevelopmentDocumentation,\n\t\t\t\t\tgetReadmeAdditional,\n\t\t\t\t\tgetReadmeExplainer,\n\t\t\t\t\tgetReadmeFootnotes,\n\t\t\t\t\tgetReadmeUsage,\n\t\t\t\t),\n\t\t);\n\n\t\tconst getEmail = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait readEmails(\n\t\t\t\t\tgetEmailFromCodeOfConduct,\n\t\t\t\t\tgetEmailFromGit,\n\t\t\t\t\tgetEmailFromNpm,\n\t\t\t\t\tgetPackageAuthor,\n\t\t\t\t),\n\t\t);\n\n\t\tconst getKeywords = lazyValue(\n\t\t\tasync () => await readKeywords(getPackageData),\n\t\t);\n\n\t\tconst getEmailFromCodeOfConduct = lazyValue(\n\t\t\tasync () => await readEmailFromCodeOfConduct(take),\n\t\t);\n\n\t\tconst getEmailFromGit = lazyValue(async () => await readEmailFromGit(take));\n\n\t\tconst getEmailFromNpm = lazyValue(\n\t\t\tasync () => await readEmailFromNpm(getNpmDefaults, getPackageAuthor),\n\t\t);\n\n\t\tconst getExistingLabels = lazyValue(\n\t\t\tasync () => await readExistingLabels(take, getOwner, getRepository),\n\t\t);\n\n\t\tconst getFunding = lazyValue(async () => await readFunding(take));\n\n\t\tconst getGitDefaults = lazyValue(async () => await readGitDefaults(take));\n\n\t\tconst getGuide = lazyValue(async () => await readGuide(take));\n\n\t\tconst getLogo = lazyValue(async () => await readLogo(getReadme));\n\n\t\tconst getPackageData = lazyValue(async () => await readPackageData(take));\n\n\t\tconst getNode = lazyValue(\n\t\t\tasync () => await readNode(getNvmrc, getPackageData),\n\t\t);\n\n\t\tconst getNpmDefaults = lazyValue(\n\t\t\tasync () => await readNpmDefaults(getNpmWhoami),\n\t\t);\n\n\t\tconst getNpmWhoami = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait take(inputFromScript, { command: \"npm whoami --offline\" }),\n\t\t);\n\n\t\tconst getNvmrc = 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 getOwner = lazyValue(\n\t\t\tasync () => await readOwner(take, getGitDefaults, getPackageAuthor),\n\t\t);\n\n\t\tconst getPackageAuthor = lazyValue(\n\t\t\tasync () => await readPackageAuthor(getPackageData),\n\t\t);\n\n\t\tconst getPnpm = lazyValue(async () => await readPnpm(getPackageData));\n\n\t\tconst getReadme = lazyValue(\n\t\t\tasync () => await readFileSafe(\"README.md\", \"\"),\n\t\t);\n\n\t\tconst getReadmeAdditional = lazyValue(\n\t\t\tasync () => await readReadmeAdditional(getReadme),\n\t\t);\n\n\t\tconst getReadmeExplainer = lazyValue(\n\t\t\tasync () => await readReadmeExplainer(getReadme),\n\t\t);\n\n\t\tconst getReadmeFootnotes = lazyValue(\n\t\t\tasync () => await readReadmeFootnotes(getReadme),\n\t\t);\n\n\t\tconst getReadmeUsage = lazyValue(\n\t\t\tasync () => await readReadmeUsage(getReadme),\n\t\t);\n\n\t\tconst getRepository = lazyValue(\n\t\t\tasync () => await readRepository(getGitDefaults, getPackageData, options),\n\t\t);\n\n\t\tconst getRulesetId = lazyValue(\n\t\t\tasync () => await readRulesetId(take, getOwner, getRepository),\n\t\t);\n\n\t\tconst getTitle = lazyValue(\n\t\t\tasync () => await readTitle(getReadme, getRepository),\n\t\t);\n\n\t\tconst getType = lazyValue(async () => (await getPackageData()).type);\n\n\t\tconst getVersion = lazyValue(async () => (await getPackageData()).version);\n\n\t\tconst getWords = lazyValue(async () => await readWords(take));\n\n\t\tconst getWorkflowData = lazyValue(\n\t\t\tasync () => await readWorkflowsVersions(take),\n\t\t);\n\n\t\treturn {\n\t\t\taccess: getAccess,\n\t\t\tauthor: getAuthor,\n\t\t\tbin: getBin,\n\t\t\tcontributors: getAllContributors,\n\t\t\tdescription: getDescription,\n\t\t\tdocumentation: getDocumentation,\n\t\t\temail: getEmail,\n\t\t\temoji: getEmoji,\n\t\t\texistingLabels: getExistingLabels,\n\t\t\tfunding: getFunding,\n\t\t\tguide: getGuide,\n\t\t\tkeywords: getKeywords,\n\t\t\tlogo: getLogo,\n\t\t\tnode: getNode,\n\t\t\towner: getOwner,\n\t\t\tpackageData: getPackageData,\n\t\t\tpnpm: getPnpm,\n\t\t\trepository: getRepository,\n\t\t\trulesetId: getRulesetId,\n\t\t\ttitle: getTitle,\n\t\t\ttype: getType,\n\t\t\tversion: getVersion,\n\t\t\twords: getWords,\n\t\t\tworkflowsVersions: getWorkflowData,\n\t\t};\n\t},\n});\n\nexport type BaseOptions = BaseOptionsFor<typeof base> & { preset?: string };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA,MAAa,OAAO,WAAW;CAC9B,SAAS;EACR,QAAQ,EACN,MAAM,CAAC,EAAE,QAAQ,SAAS,EAAE,EAAE,QAAQ,aAAa,AAAC,EAAC,CACrD,SAAS,4DAA4D;EACvE,QAAQ,EACN,QAAQ,CACR,UAAU,CACV,SAAS,4CAA4C;EACvD,KAAK,EACH,MAAM,CAAC,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAE,QAAQ,CAAC,AAAC,EAAC,CACzC,UAAU,CACV,SAAS,sDAA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{ BaseOptionsFor, createBase } from \"bingo-stratum\";\nimport { inputFromFile } from \"input-from-file\";\nimport { inputFromScript } from \"input-from-script\";\nimport lazyValue from \"lazy-value\";\nimport { z } from \"zod\";\n\nimport { readAccess } from \"./options/readAccess.js\";\nimport { readAllContributors } from \"./options/readAllContributors.js\";\nimport { readAuthor } from \"./options/readAuthor.js\";\nimport { readBin } from \"./options/readBin.js\";\nimport { readDescription } from \"./options/readDescription.js\";\nimport { readDevelopmentDocumentation } from \"./options/readDevelopmentDocumentation.js\";\nimport { readDocumentation } from \"./options/readDocumentation.js\";\nimport { readEmailFromCodeOfConduct } from \"./options/readEmailFromCodeOfConduct.js\";\nimport { readEmailFromGit } from \"./options/readEmailFromGit.js\";\nimport { readEmailFromNpm } from \"./options/readEmailFromNpm.js\";\nimport { readEmails } from \"./options/readEmails.js\";\nimport { readEmoji } from \"./options/readEmoji.js\";\nimport { readExistingLabels } from \"./options/readExistingLabels.js\";\nimport { readFileSafe } from \"./options/readFileSafe.js\";\nimport { readFunding } from \"./options/readFunding.js\";\nimport { readGitDefaults } from \"./options/readGitDefaults.js\";\nimport { readGuide } from \"./options/readGuide.js\";\nimport { readKeywords } from \"./options/readKeywords.js\";\nimport { readLogo } from \"./options/readLogo.js\";\nimport { readNode } from \"./options/readNode.js\";\nimport { readNpmDefaults } from \"./options/readNpmDefaults.js\";\nimport { readOwner } from \"./options/readOwner.js\";\nimport { readPackageAuthor } from \"./options/readPackageAuthor.js\";\nimport { readPackageData } from \"./options/readPackageData.js\";\nimport { readPnpm } from \"./options/readPnpm.js\";\nimport { readReadmeAdditional } from \"./options/readReadmeAdditional.js\";\nimport { readReadmeExplainer } from \"./options/readReadmeExplainer.js\";\nimport { readReadmeFootnotes } from \"./options/readReadmeFootnotes.js\";\nimport { readReadmeUsage } from \"./options/readReadmeUsage.js\";\nimport { readRepository } from \"./options/readRepository.js\";\nimport { readRulesetId } from \"./options/readRulesetId.js\";\nimport { readTitle } from \"./options/readTitle.js\";\nimport { readWords } from \"./options/readWords.js\";\nimport { readWorkflowsVersions } from \"./options/readWorkflowsVersions.js\";\nimport { zContributor, zDocumentation, zWorkflowsVersions } from \"./schemas.js\";\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.union([z.string(), z.record(z.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: zDocumentation.describe(\n\t\t\t\"additional docs to add to .md files\",\n\t\t),\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// TODO: Test this? Is it still working?\n\t\t\t// https://github.com/JoshuaKGoldberg/create-typescript-app/issues/1991\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\temoji: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"decorative emoji to use in descriptions and docs\"),\n\t\texistingLabels: z\n\t\t\t.array(\n\t\t\t\tz.object({\n\t\t\t\t\tcolor: z.string(),\n\t\t\t\t\tdescription: z.string(),\n\t\t\t\t\tname: z.string(),\n\t\t\t\t}),\n\t\t\t)\n\t\t\t.optional()\n\t\t\t.describe(\"existing labels from the GitHub repository\"),\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 and alt text 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.describe(\"Node.js engine version(s) to pin and require a minimum of\"),\n\t\towner: z.string().describe(\"organization or user owning the repository\"),\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\tpeerDependencies: z.record(z.string(), z.string()).optional(),\n\t\t\t\tpeerDependenciesMeta: z.record(z.unknown()).optional(),\n\t\t\t\tscripts: z.record(z.string(), z.string().optional()).optional(),\n\t\t\t})\n\t\t\t.optional()\n\t\t\t.describe(\"additional properties to include in `package.json`\"),\n\t\tpnpm: z\n\t\t\t.string()\n\t\t\t.optional()\n\t\t\t.describe(\"pnpm version for package.json's packageManager field\"),\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\ttype: z\n\t\t\t.union([z.literal(\"commonjs\"), z.literal(\"module\")])\n\t\t\t.optional()\n\t\t\t.describe(\"package.json modules type\"),\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\twords: z\n\t\t\t.array(z.string())\n\t\t\t.optional()\n\t\t\t.describe(\"additional words to add to the CSpell dictionary\"),\n\t\tworkflowsVersions: zWorkflowsVersions\n\t\t\t.optional()\n\t\t\t.describe(\"existing versions of GitHub Actions workflows used\"),\n\t},\n\tprepare({ options, take }) {\n\t\tconst getAccess = lazyValue(async () => await readAccess(getPackageData));\n\n\t\tconst getAllContributors = lazyValue(\n\t\t\tasync () => await readAllContributors(take),\n\t\t);\n\n\t\tconst getAuthor = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait readAuthor(\n\t\t\t\t\tgetPackageAuthor,\n\t\t\t\t\tgetNpmDefaults,\n\t\t\t\t\tgetGitUser,\n\t\t\t\t\toptions.owner,\n\t\t\t\t),\n\t\t);\n\n\t\tconst getBin = lazyValue(async () => await readBin(getPackageData));\n\n\t\tconst getEmoji = lazyValue(async () => await readEmoji(getDescription));\n\n\t\tconst getDescription = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait readDescription(getPackageData, getReadme, getRepository),\n\t\t);\n\n\t\tconst getDevelopmentDocumentation = lazyValue(\n\t\t\tasync () => await readDevelopmentDocumentation(take),\n\t\t);\n\n\t\tconst getDocumentation = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait readDocumentation(\n\t\t\t\t\tgetDevelopmentDocumentation,\n\t\t\t\t\tgetReadmeAdditional,\n\t\t\t\t\tgetReadmeExplainer,\n\t\t\t\t\tgetReadmeFootnotes,\n\t\t\t\t\tgetReadmeUsage,\n\t\t\t\t),\n\t\t);\n\n\t\tconst getEmail = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait readEmails(\n\t\t\t\t\tgetEmailFromCodeOfConduct,\n\t\t\t\t\tgetEmailFromGit,\n\t\t\t\t\tgetEmailFromNpm,\n\t\t\t\t\tgetPackageAuthor,\n\t\t\t\t),\n\t\t);\n\n\t\tconst getKeywords = lazyValue(\n\t\t\tasync () => await readKeywords(getPackageData),\n\t\t);\n\n\t\tconst getEmailFromCodeOfConduct = lazyValue(\n\t\t\tasync () => await readEmailFromCodeOfConduct(take),\n\t\t);\n\n\t\tconst getEmailFromGit = lazyValue(async () => await readEmailFromGit(take));\n\n\t\tconst getEmailFromNpm = lazyValue(\n\t\t\tasync () => await readEmailFromNpm(getNpmDefaults, getPackageAuthor),\n\t\t);\n\n\t\tconst getExistingLabels = lazyValue(\n\t\t\tasync () => await readExistingLabels(take, getOwner, getRepository),\n\t\t);\n\n\t\tconst getFunding = lazyValue(async () => await readFunding(take));\n\n\t\tconst getGitDefaults = lazyValue(async () => await readGitDefaults(take));\n\n\t\tconst getGitUser = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait take(inputFromScript, { command: \"git config user.name\" }),\n\t\t);\n\n\t\tconst getGuide = lazyValue(async () => await readGuide(take));\n\n\t\tconst getLogo = lazyValue(async () => await readLogo(getReadme));\n\n\t\tconst getPackageData = lazyValue(async () => await readPackageData(take));\n\n\t\tconst getNode = lazyValue(\n\t\t\tasync () => await readNode(getNvmrc, getPackageData),\n\t\t);\n\n\t\tconst getNpmDefaults = lazyValue(\n\t\t\tasync () => await readNpmDefaults(getNpmWhoami),\n\t\t);\n\n\t\tconst getNpmWhoami = lazyValue(\n\t\t\tasync () =>\n\t\t\t\tawait take(inputFromScript, { command: \"npm whoami --offline\" }),\n\t\t);\n\n\t\tconst getNvmrc = 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 getOwner = lazyValue(\n\t\t\tasync () => await readOwner(take, getGitDefaults, getPackageAuthor),\n\t\t);\n\n\t\tconst getPackageAuthor = lazyValue(\n\t\t\tasync () => await readPackageAuthor(getPackageData),\n\t\t);\n\n\t\tconst getPnpm = lazyValue(async () => await readPnpm(getPackageData));\n\n\t\tconst getReadme = lazyValue(\n\t\t\tasync () => await readFileSafe(\"README.md\", \"\"),\n\t\t);\n\n\t\tconst getReadmeAdditional = lazyValue(\n\t\t\tasync () => await readReadmeAdditional(getReadme),\n\t\t);\n\n\t\tconst getReadmeExplainer = lazyValue(\n\t\t\tasync () => await readReadmeExplainer(getReadme),\n\t\t);\n\n\t\tconst getReadmeFootnotes = lazyValue(\n\t\t\tasync () => await readReadmeFootnotes(getReadme),\n\t\t);\n\n\t\tconst getReadmeUsage = lazyValue(\n\t\t\tasync () => await readReadmeUsage(getReadme),\n\t\t);\n\n\t\tconst getRepository = lazyValue(\n\t\t\tasync () => await readRepository(getGitDefaults, getPackageData, options),\n\t\t);\n\n\t\tconst getRulesetId = lazyValue(\n\t\t\tasync () => await readRulesetId(take, getOwner, getRepository),\n\t\t);\n\n\t\tconst getTitle = lazyValue(\n\t\t\tasync () => await readTitle(getReadme, getRepository),\n\t\t);\n\n\t\tconst getType = lazyValue(async () => (await getPackageData()).type);\n\n\t\tconst getVersion = lazyValue(async () => (await getPackageData()).version);\n\n\t\tconst getWords = lazyValue(async () => await readWords(take));\n\n\t\tconst getWorkflowData = lazyValue(\n\t\t\tasync () => await readWorkflowsVersions(take),\n\t\t);\n\n\t\treturn {\n\t\t\taccess: getAccess,\n\t\t\tauthor: getAuthor,\n\t\t\tbin: getBin,\n\t\t\tcontributors: getAllContributors,\n\t\t\tdescription: getDescription,\n\t\t\tdocumentation: getDocumentation,\n\t\t\temail: getEmail,\n\t\t\temoji: getEmoji,\n\t\t\texistingLabels: getExistingLabels,\n\t\t\tfunding: getFunding,\n\t\t\tguide: getGuide,\n\t\t\tkeywords: getKeywords,\n\t\t\tlogo: getLogo,\n\t\t\tnode: getNode,\n\t\t\towner: getOwner,\n\t\t\tpackageData: getPackageData,\n\t\t\tpnpm: getPnpm,\n\t\t\trepository: getRepository,\n\t\t\trulesetId: getRulesetId,\n\t\t\ttitle: getTitle,\n\t\t\ttype: getType,\n\t\t\tversion: getVersion,\n\t\t\twords: getWords,\n\t\t\tworkflowsVersions: getWorkflowData,\n\t\t};\n\t},\n});\n\nexport type BaseOptions = BaseOptionsFor<typeof base> & { preset?: string };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA,MAAa,OAAO,WAAW;CAC9B,SAAS;EACR,QAAQ,EACN,MAAM,CAAC,EAAE,QAAQ,SAAS,EAAE,EAAE,QAAQ,aAAa,AAAC,EAAC,CACrD,SAAS,4DAA4D;EACvE,QAAQ,EACN,QAAQ,CACR,UAAU,CACV,SAAS,4CAA4C;EACvD,KAAK,EACH,MAAM,CAAC,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAE,QAAQ,CAAC,AAAC,EAAC,CACzC,UAAU,CACV,SAAS,sDAAqD;EAChE,cAAc,EACZ,MAAM,aAAa,CACnB,UAAU,CACV,SAAS,+DAA+D;EAC1E,aAAa,EACX,QAAQ,CACR,QAAQ,iCAAiC,CACzC,SAAS,iDAAiD;EAC5D,WAAW,EAAE,QAAQ,CAAC,SAAS,wCAAwC;EACvE,eAAe,eAAe,SAC7B,sCACA;EACD,OAAO,EACL,MAAM,CACN,EAAE,QAAQ,EACV,EAAE,OAAO;GACR,QAAQ,EAAE,QAAQ;GAClB,KAAK,EAAE,QAAQ;EACf,EAAC,AACF,EAAC,CAGD,UAAU,CAAC,iBACJ,UAAU,WAAW;GAAE,QAAQ;GAAO,KAAK;EAAO,IAAG,MAC5D,CACA,SACA,0EACA;EACF,OAAO,EACL,QAAQ,CACR,UAAU,CACV,SAAS,mDAAmD;EAC9D,gBAAgB,EACd,MACA,EAAE,OAAO;G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AgB,UACrB,YAAY,MAAM,eAAe,gBAAgB,gBAAgB,QAAQ,CACzE;EAED,MAAM,eAAe,UACpB,YAAY,MAAM,cAAc,MAAM,UAAU,cAAc,CAC9D;EAED,MAAM,WAAW,UAChB,YAAY,MAAM,UAAU,WAAW,cAAc,CACrD;EAED,MAAM,UAAU,UAAU,aAAa,MAAM,gBAAgB,EAAE,KAAK;EAEpE,MAAM,aAAa,UAAU,aAAa,MAAM,gBAAgB,EAAE,QAAQ;EAE1E,MAAM,WAAW,UAAU,YAAY,MAAM,UAAU,KAAK,CAAC;EAE7D,MAAM,kBAAkB,UACvB,YAAY,MAAM,sBAAsB,KAAK,CAC7C;AAED,SAAO;GACN,QAAQ;GACR,QAAQ;GACR,KAAK;GACL,cAAc;GACd,aAAa;GACb,eAAe;GACf,OAAO;GACP,OAAO;GACP,gBAAgB;GAChB,SAAS;GACT,OAAO;GACP,UAAU;GACV,MAAM;GACN,MAAM;GACN,OAAO;GACP,aAAa;GACb,MAAM;GACN,YAAY;GACZ,WAAW;GACX,OAAO;GACP,MAAM;GACN,SAAS;GACT,OAAO;GACP,mBAAmB;EACnB;CACD;AACD,EAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum935 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockAllContributors.d.ts
|
|
4
|
-
declare const blockAllContributors:
|
|
4
|
+
declare const blockAllContributors: bingo_stratum935.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum930 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockAreTheTypesWrong.d.ts
|
|
4
|
-
declare const blockAreTheTypesWrong:
|
|
4
|
+
declare const blockAreTheTypesWrong: bingo_stratum930.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum132 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockCSpell.d.ts
|
|
4
|
-
declare const blockCSpell:
|
|
4
|
+
declare const blockCSpell: bingo_stratum132.BlockWithAddons<{
|
|
5
5
|
words: string[];
|
|
6
6
|
ignorePaths: string[];
|
|
7
7
|
}, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum133 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockCTATransitions.d.ts
|
|
4
|
-
declare const blockCTATransitions:
|
|
4
|
+
declare const blockCTATransitions: bingo_stratum133.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockCTATransitions.d.ts","names":[],"sources":["../../src/blocks/blockCTATransitions.ts"],"sourcesContent":[],"mappings":";;;cAQa,
|
|
1
|
+
{"version":3,"file":"blockCTATransitions.d.ts","names":[],"sources":["../../src/blocks/blockCTATransitions.ts"],"sourcesContent":[],"mappings":";;;cAQa,sCAAmB;;;EAAnB,SAAA,EAAA,MAAA;EA6JX,aAAA,EAAA;IAAA,MAAA,EAAA;;;;;;;;;IA7J8B,MAAA,EAAA,MAAA;;;;;;;;;;;;iBA6J9B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum266 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockCodecov.d.ts
|
|
4
|
-
declare const blockCodecov:
|
|
4
|
+
declare const blockCodecov: bingo_stratum266.BlockWithAddons<{
|
|
5
5
|
env?: Record<string, string> | undefined;
|
|
6
6
|
}, {
|
|
7
7
|
access: "public" | "restricted";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum130 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockContributingDocs.d.ts
|
|
4
|
-
declare const blockContributingDocs:
|
|
4
|
+
declare const blockContributingDocs: bingo_stratum130.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum397 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockContributorCovenant.d.ts
|
|
4
|
-
declare const blockContributorCovenant:
|
|
4
|
+
declare const blockContributorCovenant: bingo_stratum397.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum918 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockDevelopmentDocs.d.ts
|
|
4
|
-
declare const blockDevelopmentDocs:
|
|
4
|
+
declare const blockDevelopmentDocs: bingo_stratum918.BlockWithAddons<{
|
|
5
5
|
hints: string[];
|
|
6
6
|
sections: Record<string, {
|
|
7
7
|
contents?: string | {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum919 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockESLint.d.ts
|
|
4
|
-
declare const blockESLint:
|
|
4
|
+
declare const blockESLint: bingo_stratum919.BlockWithAddons<{
|
|
5
5
|
extensions: (string | {
|
|
6
6
|
files?: string[] | undefined;
|
|
7
7
|
settings?: Record<string, unknown> | undefined;
|
|
@@ -9,10 +9,10 @@ declare const blockESLint: bingo_stratum267.BlockWithAddons<{
|
|
|
9
9
|
entries: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]>;
|
|
10
10
|
comment?: string | undefined;
|
|
11
11
|
}[] | undefined;
|
|
12
|
-
plugins?: Record<string, string> | undefined;
|
|
13
12
|
extends?: string[] | undefined;
|
|
14
13
|
languageOptions?: unknown;
|
|
15
14
|
linterOptions?: unknown;
|
|
15
|
+
plugins?: Record<string, string> | undefined;
|
|
16
16
|
})[];
|
|
17
17
|
imports: {
|
|
18
18
|
source: string | {
|
|
@@ -22,8 +22,8 @@ declare const blockESLint: bingo_stratum267.BlockWithAddons<{
|
|
|
22
22
|
specifier: string;
|
|
23
23
|
types?: boolean | undefined;
|
|
24
24
|
}[];
|
|
25
|
-
ignores: string[];
|
|
26
25
|
explanations: string[];
|
|
26
|
+
ignores: string[];
|
|
27
27
|
settings?: Record<string, unknown> | undefined;
|
|
28
28
|
rules?: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]> | {
|
|
29
29
|
entries: Record<string, "off" | "error" | "warn" | ["error" | "warn", unknown] | ["error" | "warn", unknown, unknown]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockESLint.d.ts","names":[],"sources":["../../src/blocks/blockESLint.ts"],"sourcesContent":[],"mappings":";;;cA0Ba,8BAAW;;;IAAX,QAAA,CAAA,EAmPX,MAAA,CAAA,MAAA,EAAA,OAAA,CAAA,GAAA,SAAA;IAAA,KAAA,CAAA,QAAA,CAAA,MAAA,EAAA,KAAA,GAAA,OAAA,GAAA,MAAA,GAAA,CAAA,OAAA,GAAA,MAAA,EAAA,OAAA,CAAA,GAAA,CAAA,OAAA,GAAA,MAAA,EAAA,OAAA,EAAA,OAAA,CAAA,CAAA,GAAA;MAAA,OAAA,QAAA,CAAA,MAAA,EAAA,KAAA,GAAA,OAAA,GAAA,MAAA,GAAA,CAAA,OAAA,GAAA,MAAA,EAAA,OAAA,CAAA,GAAA,CAAA,OAAA,GAAA,MAAA,EAAA,OAAA,EAAA,OAAA,CAAA,CAAA;;;;;;;;;;;;;;;;EAnPsB,
|
|
1
|
+
{"version":3,"file":"blockESLint.d.ts","names":[],"sources":["../../src/blocks/blockESLint.ts"],"sourcesContent":[],"mappings":";;;cA0Ba,8BAAW;;;IAAX,QAAA,CAAA,EAmPX,MAAA,CAAA,MAAA,EAAA,OAAA,CAAA,GAAA,SAAA;IAAA,KAAA,CAAA,QAAA,CAAA,MAAA,EAAA,KAAA,GAAA,OAAA,GAAA,MAAA,GAAA,CAAA,OAAA,GAAA,MAAA,EAAA,OAAA,CAAA,GAAA,CAAA,OAAA,GAAA,MAAA,EAAA,OAAA,EAAA,OAAA,CAAA,CAAA,GAAA;MAAA,OAAA,QAAA,CAAA,MAAA,EAAA,KAAA,GAAA,OAAA,GAAA,MAAA,GAAA,CAAA,OAAA,GAAA,MAAA,EAAA,OAAA,CAAA,GAAA,CAAA,OAAA,GAAA,MAAA,EAAA,OAAA,EAAA,OAAA,CAAA,CAAA;;;;;;;;;;;;;;;;EAnPsB,YAAA,EAAA,MAAA,EAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum921 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockESLintComments.d.ts
|
|
4
|
-
declare const blockESLintComments:
|
|
4
|
+
declare const blockESLintComments: bingo_stratum921.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum922 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockESLintJSDoc.d.ts
|
|
4
|
-
declare const blockESLintJSDoc:
|
|
4
|
+
declare const blockESLintJSDoc: bingo_stratum922.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum923 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockESLintJSONC.d.ts
|
|
4
|
-
declare const blockESLintJSONC:
|
|
4
|
+
declare const blockESLintJSONC: bingo_stratum923.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum924 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockESLintMarkdown.d.ts
|
|
4
|
-
declare const blockESLintMarkdown:
|
|
4
|
+
declare const blockESLintMarkdown: bingo_stratum924.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum925 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockESLintMoreStyling.d.ts
|
|
4
4
|
declare const stylisticComment = "Stylistic concerns that don't interfere with Prettier";
|
|
5
|
-
declare const blockESLintMoreStyling:
|
|
5
|
+
declare const blockESLintMoreStyling: bingo_stratum925.BlockWithoutAddons<{
|
|
6
6
|
access: "public" | "restricted";
|
|
7
7
|
description: string;
|
|
8
8
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum1153 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockESLintNode.d.ts
|
|
4
|
-
declare const blockESLintNode:
|
|
4
|
+
declare const blockESLintNode: bingo_stratum1153.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockESLintNode.d.ts","names":[],"sources":["../../src/blocks/blockESLintNode.ts"],"sourcesContent":[],"mappings":";;;cAGa,
|
|
1
|
+
{"version":3,"file":"blockESLintNode.d.ts","names":[],"sources":["../../src/blocks/blockESLintNode.ts"],"sourcesContent":[],"mappings":";;;cAGa,mCAAe;;;EAAf,SAAA,EAAA,MAAA;EAqBX,aAAA,EAAA;IAAA,MAAA,EAAA;;;;;;;;;IArB0B,MAAA,EAAA,MAAA;;;;;;;;;;;;iBAqB1B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum927 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockESLintPackageJson.d.ts
|
|
4
|
-
declare const blockESLintPackageJson:
|
|
4
|
+
declare const blockESLintPackageJson: bingo_stratum927.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum928 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockESLintPerfectionist.d.ts
|
|
4
|
-
declare const blockESLintPerfectionist:
|
|
4
|
+
declare const blockESLintPerfectionist: bingo_stratum928.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum929 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockESLintPlugin.d.ts
|
|
4
|
-
declare const blockESLintPlugin:
|
|
4
|
+
declare const blockESLintPlugin: bingo_stratum929.BlockWithAddons<{
|
|
5
5
|
configEmoji?: [string, string][] | undefined;
|
|
6
6
|
}, {
|
|
7
7
|
access: "public" | "restricted";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum931 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockESLintRegexp.d.ts
|
|
4
|
-
declare const blockESLintRegexp:
|
|
4
|
+
declare const blockESLintRegexp: bingo_stratum931.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum932 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockESLintYML.d.ts
|
|
4
|
-
declare const blockESLintYML:
|
|
4
|
+
declare const blockESLintYML: bingo_stratum932.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum933 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockExampleFiles.d.ts
|
|
4
|
-
declare const blockExampleFiles:
|
|
4
|
+
declare const blockExampleFiles: bingo_stratum933.BlockWithAddons<{
|
|
5
5
|
usage: string[];
|
|
6
6
|
files: Record<string, string>;
|
|
7
7
|
}, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum934 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockFunding.d.ts
|
|
4
|
-
declare const blockFunding:
|
|
4
|
+
declare const blockFunding: bingo_stratum934.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum936 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockGitHubActionsCI.d.ts
|
|
4
|
-
declare const blockGitHubActionsCI:
|
|
4
|
+
declare const blockGitHubActionsCI: bingo_stratum936.BlockWithAddons<{
|
|
5
5
|
jobs?: {
|
|
6
6
|
name: string;
|
|
7
7
|
steps: ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum939 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockGitHubApps.d.ts
|
|
4
|
-
declare const blockGitHubApps:
|
|
4
|
+
declare const blockGitHubApps: bingo_stratum939.BlockWithAddons<{
|
|
5
5
|
apps: {
|
|
6
6
|
name: string;
|
|
7
7
|
url: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum941 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockGitHubIssueTemplates.d.ts
|
|
4
|
-
declare const blockGitHubIssueTemplates:
|
|
4
|
+
declare const blockGitHubIssueTemplates: bingo_stratum941.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum943 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockGitHubPRTemplate.d.ts
|
|
4
|
-
declare const blockGitHubPRTemplate:
|
|
4
|
+
declare const blockGitHubPRTemplate: bingo_stratum943.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum945 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockGitignore.d.ts
|
|
4
|
-
declare const blockGitignore:
|
|
4
|
+
declare const blockGitignore: bingo_stratum945.BlockWithAddons<{
|
|
5
5
|
ignores: string[];
|
|
6
6
|
}, {
|
|
7
7
|
access: "public" | "restricted";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum947 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockKnip.d.ts
|
|
4
|
-
declare const blockKnip:
|
|
4
|
+
declare const blockKnip: bingo_stratum947.BlockWithAddons<{
|
|
5
5
|
entry?: string[] | undefined;
|
|
6
6
|
ignoreDependencies?: string[] | undefined;
|
|
7
7
|
project?: string[] | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum950 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockMITLicense.d.ts
|
|
4
|
-
declare const blockMITLicense:
|
|
4
|
+
declare const blockMITLicense: bingo_stratum950.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum952 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockMain.d.ts
|
|
4
|
-
declare const blockMain:
|
|
4
|
+
declare const blockMain: bingo_stratum952.BlockWithAddons<{
|
|
5
5
|
runArgs: string[];
|
|
6
6
|
filePath?: string | undefined;
|
|
7
7
|
}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockMain.d.ts","names":[],"sources":["../../src/blocks/blockMain.ts"],"sourcesContent":[],"mappings":";;;cAMa,
|
|
1
|
+
{"version":3,"file":"blockMain.d.ts","names":[],"sources":["../../src/blocks/blockMain.ts"],"sourcesContent":[],"mappings":";;;cAMa,4BAAS;;;AAAtB,CAAA,EAAA;EA0BE,MAAA,EAAA,QAAA,GAAA,YAAA;EAAA,WAAA,EAAA,MAAA;;;;;;;;;IA1BoB,WAAA,CAAA,EAAA,MAAA,GAAA,SAAA;;;;;;;;;;;;;;;iBA0BpB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum954 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockMarkdownlint.d.ts
|
|
4
|
-
declare const blockMarkdownlint:
|
|
4
|
+
declare const blockMarkdownlint: bingo_stratum954.BlockWithAddons<{
|
|
5
5
|
ignores: string[];
|
|
6
6
|
}, {
|
|
7
7
|
access: "public" | "restricted";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockMarkdownlint.d.ts","names":[],"sources":["../../src/blocks/blockMarkdownlint.ts"],"sourcesContent":[],"mappings":";;;cAaa,
|
|
1
|
+
{"version":3,"file":"blockMarkdownlint.d.ts","names":[],"sources":["../../src/blocks/blockMarkdownlint.ts"],"sourcesContent":[],"mappings":";;;cAaa,oCAAiB;;;EAAjB,MAAA,EAAA,QAAA,GAAA,YA2FX;EAAA,WAAA,EAAA,MAAA;EAAA,SAAA,EAAA,MAAA;;;;;;;;wBA3F4B,GAAA,SAAA;EAAA,CAAA;;;;;;;;;;;;;;iBA2F5B"}
|
package/lib/blocks/blockNcc.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum937 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockNcc.d.ts
|
|
4
|
-
declare const blockNcc:
|
|
4
|
+
declare const blockNcc: bingo_stratum937.BlockWithAddons<{
|
|
5
5
|
entry?: string | undefined;
|
|
6
6
|
}, {
|
|
7
7
|
access: "public" | "restricted";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockNcc.d.ts","names":[],"sources":["../../src/blocks/blockNcc.ts"],"sourcesContent":[],"mappings":";;;cAUa,
|
|
1
|
+
{"version":3,"file":"blockNcc.d.ts","names":[],"sources":["../../src/blocks/blockNcc.ts"],"sourcesContent":[],"mappings":";;;cAUa,2BAAQ;;;EAAR,MAAA,EAAA,QAqFX,GAAA,YAAA;EAAA,WAAA,EAAA,MAAA;EAAA,SAAA,EAAA,MAAA;;;;;;;;wBArFmB,GAAA,SAAA;EAAA,CAAA;;;;;;;;;;;;;;iBAqFnB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum938 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockNvmrc.d.ts
|
|
4
|
-
declare const blockNvmrc:
|
|
4
|
+
declare const blockNvmrc: bingo_stratum938.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockNvmrc.d.ts","names":[],"sources":["../../src/blocks/blockNvmrc.ts"],"sourcesContent":[],"mappings":";;;cAGa,
|
|
1
|
+
{"version":3,"file":"blockNvmrc.d.ts","names":[],"sources":["../../src/blocks/blockNvmrc.ts"],"sourcesContent":[],"mappings":";;;cAGa,6BAAU;;;EAAV,SAAA,EAAA,MAkBX;EAAA,aAAA,EAAA;IAAA,MAAA,EAAA;;;;;;;;;IAlBqB,MAAA,EAAA,MAAA;;;;;;;;;;;;iBAkBrB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum940 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockOctoGuide.d.ts
|
|
4
|
-
declare const blockOctoGuide:
|
|
4
|
+
declare const blockOctoGuide: bingo_stratum940.BlockWithAddons<{
|
|
5
5
|
config?: "strict" | "recommended" | undefined;
|
|
6
6
|
}, {
|
|
7
7
|
access: "public" | "restricted";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockOctoGuide.d.ts","names":[],"sources":["../../src/blocks/blockOctoGuide.ts"],"sourcesContent":[],"mappings":";;;cAQa,
|
|
1
|
+
{"version":3,"file":"blockOctoGuide.d.ts","names":[],"sources":["../../src/blocks/blockOctoGuide.ts"],"sourcesContent":[],"mappings":";;;cAQa,iCAAc;;;EAAd,MAAA,EAAA,QAAA,GAiGX,YAAA;EAAA,WAAA,EAAA,MAAA;EAAA,SAAA,EAAA,MAAA;;;;;;;;wBAjGyB,GAAA,SAAA;EAAA,CAAA;;;;;;;;;;;;;;iBAiGzB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum942 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockOctoGuideStrict.d.ts
|
|
4
|
-
declare const blockOctoGuideStrict:
|
|
4
|
+
declare const blockOctoGuideStrict: bingo_stratum942.BlockWithoutAddons<{
|
|
5
5
|
access: "public" | "restricted";
|
|
6
6
|
description: string;
|
|
7
7
|
directory: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockOctoGuideStrict.d.ts","names":[],"sources":["../../src/blocks/blockOctoGuideStrict.ts"],"sourcesContent":[],"mappings":";;;cAGa,
|
|
1
|
+
{"version":3,"file":"blockOctoGuideStrict.d.ts","names":[],"sources":["../../src/blocks/blockOctoGuideStrict.ts"],"sourcesContent":[],"mappings":";;;cAGa,uCAAoB;;;EAApB,SAAA,EAAA,MAAA;EAaX,aAAA,EAAA;IAAA,MAAA,EAAA;;;;;;;;;IAb+B,MAAA,EAAA,MAAA;;;;;;;;;;;;iBAa/B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as bingo_stratum944 from "bingo-stratum";
|
|
2
2
|
|
|
3
3
|
//#region src/blocks/blockPackageJson.d.ts
|
|
4
|
-
declare const blockPackageJson:
|
|
4
|
+
declare const blockPackageJson: bingo_stratum944.BlockWithAddons<{
|
|
5
5
|
properties: {
|
|
6
6
|
type?: "commonjs" | "module" | undefined;
|
|
7
7
|
author?: string | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockPackageJson.d.ts","names":[],"sources":["../../src/blocks/blockPackageJson.ts"],"sourcesContent":[],"mappings":";;;cAiBa,
|
|
1
|
+
{"version":3,"file":"blockPackageJson.d.ts","names":[],"sources":["../../src/blocks/blockPackageJson.ts"],"sourcesContent":[],"mappings":";;;cAiBa,mCAAgB;;;IAAhB,MAAA,CAAA,EAAA,MAkFX,GAAA;MAAA,IAAA,EAAA,MAAA;MAAA,GAAA,CAAA,EAAA,MAAA,GAAA,SAAA;;;mBAAA;;;;;;;;;;;;;;;;;;;;;;oBAlF2B,CAAA,MAAA,EAAA,MAAA,GAAA,SAAA,CAAA,GAAA,SAAA;IAAA,UAAA,CAAA,EAAA,MAAA,GAAA"}
|