create-typescript-app 2.65.1 → 2.65.2
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/dist/base.d.mts +1 -0
- package/dist/base.mjs +1 -0
- package/dist/blocks/blockAllContributors.d.mts +1 -0
- package/dist/blocks/blockAreTheTypesWrong.d.mts +1 -0
- package/dist/blocks/blockBin.d.mts +1 -0
- package/dist/blocks/blockCSpell.d.mts +1 -0
- package/dist/blocks/blockCTATransitions.d.mts +1 -0
- package/dist/blocks/blockCodecov.d.mts +1 -0
- package/dist/blocks/blockContributingDocs.d.mts +1 -0
- package/dist/blocks/blockContributorCovenant.d.mts +1 -0
- package/dist/blocks/blockDevelopmentDocs.d.mts +1 -0
- package/dist/blocks/blockESLint.d.mts +1 -0
- package/dist/blocks/blockESLint.mjs +2 -2
- package/dist/blocks/blockESLintComments.d.mts +1 -0
- package/dist/blocks/blockESLintJSDoc.d.mts +1 -0
- package/dist/blocks/blockESLintJSONC.d.mts +1 -0
- package/dist/blocks/blockESLintMarkdown.d.mts +1 -0
- package/dist/blocks/blockESLintMarkdownLinks.d.mts +1 -0
- package/dist/blocks/blockESLintMoreStyling.d.mts +1 -0
- package/dist/blocks/blockESLintNode.d.mts +1 -0
- package/dist/blocks/blockESLintPackageJson.d.mts +1 -0
- package/dist/blocks/blockESLintPerfectionist.d.mts +1 -0
- package/dist/blocks/blockESLintPlugin.d.mts +1 -0
- package/dist/blocks/blockESLintRegexp.d.mts +1 -0
- package/dist/blocks/blockESLintYML.d.mts +1 -0
- package/dist/blocks/blockExampleFiles.d.mts +1 -0
- package/dist/blocks/blockExports.d.mts +1 -0
- package/dist/blocks/blockExports.mjs +10 -3
- package/dist/blocks/blockFunding.d.mts +1 -0
- package/dist/blocks/blockGitHubActionsCI.d.mts +1 -0
- package/dist/blocks/blockGitHubApps.d.mts +1 -0
- package/dist/blocks/blockGitHubIssueTemplates.d.mts +1 -0
- package/dist/blocks/blockGitHubPRTemplate.d.mts +1 -0
- package/dist/blocks/blockGitignore.d.mts +1 -0
- package/dist/blocks/blockKnip.d.mts +1 -0
- package/dist/blocks/blockKnip.mjs +2 -1
- package/dist/blocks/blockMITLicense.d.mts +1 -0
- package/dist/blocks/blockNcc.d.mts +1 -0
- package/dist/blocks/blockNvmrc.d.mts +1 -0
- package/dist/blocks/blockOctoGuide.d.mts +1 -0
- package/dist/blocks/blockOctoGuideStrict.d.mts +1 -0
- package/dist/blocks/blockPackageJson.d.mts +1 -0
- package/dist/blocks/blockPnpmDedupe.d.mts +1 -0
- package/dist/blocks/blockPrettier.d.mts +1 -0
- package/dist/blocks/blockPrettier.mjs +1 -5
- package/dist/blocks/blockPrettierPluginCurly.d.mts +1 -0
- package/dist/blocks/blockPrettierPluginPackageJson.d.mts +1 -0
- package/dist/blocks/blockPrettierPluginPaddingLines.d.mts +1 -0
- package/dist/blocks/blockPrettierPluginSentencesPerLine.d.mts +1 -0
- package/dist/blocks/blockPrettierPluginSh.d.mts +1 -0
- package/dist/blocks/blockREADME.d.mts +1 -0
- package/dist/blocks/blockReleaseIt.d.mts +1 -0
- package/dist/blocks/blockRemoveDependencies.d.mts +1 -0
- package/dist/blocks/blockRemoveFiles.d.mts +1 -0
- package/dist/blocks/blockRemoveWorkflows.d.mts +1 -0
- package/dist/blocks/blockRenovate.d.mts +1 -0
- package/dist/blocks/blockRepositoryBranchRuleset.d.mts +1 -0
- package/dist/blocks/blockRepositoryLabels.d.mts +1 -0
- package/dist/blocks/blockRepositorySecrets.d.mts +1 -0
- package/dist/blocks/blockRepositorySettings.d.mts +1 -0
- package/dist/blocks/blockSecurityDocs.d.mts +1 -0
- package/dist/blocks/blockSideEffects.d.mts +1 -0
- package/dist/blocks/blockTSDown.d.mts +1 -0
- package/dist/blocks/blockTemplatedWith.d.mts +1 -0
- package/dist/blocks/blockTypeScript.d.mts +1 -0
- package/dist/blocks/blockVSCode.d.mts +1 -0
- package/dist/blocks/blockVitest.d.mts +1 -0
- package/dist/blocks/blockWebExt.d.mts +1 -0
- package/dist/blocks/index.d.mts +51 -0
- package/dist/index.d.mts +2 -0
- package/dist/options/readFunding.mjs +4 -1
- package/dist/presets/common.d.mts +1 -0
- package/dist/presets/everything.d.mts +1 -0
- package/dist/presets/index.d.mts +3 -0
- package/dist/presets/minimal.d.mts +1 -0
- package/dist/template.d.mts +1 -0
- package/package.json +2 -2
package/dist/base.d.mts
CHANGED
|
@@ -55,6 +55,7 @@ declare const base: import("bingo-stratum").Base<{
|
|
|
55
55
|
packageData: z.ZodOptional<z.ZodObject<{
|
|
56
56
|
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
57
57
|
devDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
58
|
+
main: z.ZodOptional<z.ZodString>;
|
|
58
59
|
peerDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
59
60
|
peerDependenciesMeta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
60
61
|
scripts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
|
package/dist/base.mjs
CHANGED
|
@@ -79,6 +79,7 @@ const base = createBase({
|
|
|
79
79
|
packageData: z.object({
|
|
80
80
|
dependencies: z.record(z.string(), z.string()).optional(),
|
|
81
81
|
devDependencies: z.record(z.string(), z.string()).optional(),
|
|
82
|
+
main: z.string().optional(),
|
|
82
83
|
peerDependencies: z.record(z.string(), z.string()).optional(),
|
|
83
84
|
peerDependenciesMeta: z.record(z.string(), z.unknown()).optional(),
|
|
84
85
|
scripts: z.record(z.string(), z.string().optional()).optional()
|
|
@@ -55,6 +55,7 @@ declare const blockAllContributors: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockAreTheTypesWrong: import("bingo-stratum").BlockWithoutAddons<
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -57,6 +57,7 @@ declare const blockBin: import("bingo-stratum").BlockWithAddons<{
|
|
|
57
57
|
packageData?: {
|
|
58
58
|
dependencies?: Record<string, string> | undefined;
|
|
59
59
|
devDependencies?: Record<string, string> | undefined;
|
|
60
|
+
main?: string | undefined;
|
|
60
61
|
peerDependencies?: Record<string, string> | undefined;
|
|
61
62
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
62
63
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -58,6 +58,7 @@ declare const blockCSpell: import("bingo-stratum").BlockWithAddons<{
|
|
|
58
58
|
packageData?: {
|
|
59
59
|
dependencies?: Record<string, string> | undefined;
|
|
60
60
|
devDependencies?: Record<string, string> | undefined;
|
|
61
|
+
main?: string | undefined;
|
|
61
62
|
peerDependencies?: Record<string, string> | undefined;
|
|
62
63
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
63
64
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockCTATransitions: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -57,6 +57,7 @@ declare const blockCodecov: import("bingo-stratum").BlockWithAddons<{
|
|
|
57
57
|
packageData?: {
|
|
58
58
|
dependencies?: Record<string, string> | undefined;
|
|
59
59
|
devDependencies?: Record<string, string> | undefined;
|
|
60
|
+
main?: string | undefined;
|
|
60
61
|
peerDependencies?: Record<string, string> | undefined;
|
|
61
62
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
62
63
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockContributingDocs: import("bingo-stratum").BlockWithoutAddons<
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockContributorCovenant: import("bingo-stratum").BlockWithoutAddo
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -69,6 +69,7 @@ declare const blockDevelopmentDocs: import("bingo-stratum").BlockWithAddons<{
|
|
|
69
69
|
packageData?: {
|
|
70
70
|
dependencies?: Record<string, string> | undefined;
|
|
71
71
|
devDependencies?: Record<string, string> | undefined;
|
|
72
|
+
main?: string | undefined;
|
|
72
73
|
peerDependencies?: Record<string, string> | undefined;
|
|
73
74
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
74
75
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -79,6 +79,7 @@ declare const blockESLint: import("bingo-stratum").BlockWithAddons<{
|
|
|
79
79
|
packageData?: {
|
|
80
80
|
dependencies?: Record<string, string> | undefined;
|
|
81
81
|
devDependencies?: Record<string, string> | undefined;
|
|
82
|
+
main?: string | undefined;
|
|
82
83
|
peerDependencies?: Record<string, string> | undefined;
|
|
83
84
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
84
85
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -128,7 +128,7 @@ export default defineConfig(
|
|
|
128
128
|
}]
|
|
129
129
|
};
|
|
130
130
|
},
|
|
131
|
-
transition(
|
|
131
|
+
transition() {
|
|
132
132
|
return { addons: [
|
|
133
133
|
blockRemoveDependencies({ dependencies: [
|
|
134
134
|
"@types/eslint",
|
|
@@ -142,7 +142,7 @@ export default defineConfig(
|
|
|
142
142
|
blockRemoveFiles({ files: [
|
|
143
143
|
".eslintrc*",
|
|
144
144
|
".eslintignore",
|
|
145
|
-
|
|
145
|
+
"eslint.config.{cjs,js,mjs}"
|
|
146
146
|
] }),
|
|
147
147
|
blockRemoveWorkflows({ workflows: ["eslint", "lint"] })
|
|
148
148
|
] };
|
|
@@ -55,6 +55,7 @@ declare const blockESLintComments: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockESLintJSDoc: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockESLintJSONC: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockESLintMarkdown: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockESLintMarkdownLinks: import("bingo-stratum").BlockWithoutAddo
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -56,6 +56,7 @@ declare const blockESLintMoreStyling: import("bingo-stratum").BlockWithoutAddons
|
|
|
56
56
|
packageData?: {
|
|
57
57
|
dependencies?: Record<string, string> | undefined;
|
|
58
58
|
devDependencies?: Record<string, string> | undefined;
|
|
59
|
+
main?: string | undefined;
|
|
59
60
|
peerDependencies?: Record<string, string> | undefined;
|
|
60
61
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
61
62
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockESLintNode: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockESLintPackageJson: import("bingo-stratum").BlockWithoutAddons
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockESLintPerfectionist: import("bingo-stratum").BlockWithoutAddo
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -57,6 +57,7 @@ declare const blockESLintPlugin: import("bingo-stratum").BlockWithAddons<{
|
|
|
57
57
|
packageData?: {
|
|
58
58
|
dependencies?: Record<string, string> | undefined;
|
|
59
59
|
devDependencies?: Record<string, string> | undefined;
|
|
60
|
+
main?: string | undefined;
|
|
60
61
|
peerDependencies?: Record<string, string> | undefined;
|
|
61
62
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
62
63
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockESLintRegexp: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockESLintYML: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -58,6 +58,7 @@ declare const blockExampleFiles: import("bingo-stratum").BlockWithAddons<{
|
|
|
58
58
|
packageData?: {
|
|
59
59
|
dependencies?: Record<string, string> | undefined;
|
|
60
60
|
devDependencies?: Record<string, string> | undefined;
|
|
61
|
+
main?: string | undefined;
|
|
61
62
|
peerDependencies?: Record<string, string> | undefined;
|
|
62
63
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
63
64
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -58,6 +58,7 @@ declare const blockExports: import("bingo-stratum").BlockWithAddons<{
|
|
|
58
58
|
packageData?: {
|
|
59
59
|
dependencies?: Record<string, string> | undefined;
|
|
60
60
|
devDependencies?: Record<string, string> | undefined;
|
|
61
|
+
main?: string | undefined;
|
|
61
62
|
peerDependencies?: Record<string, string> | undefined;
|
|
62
63
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
63
64
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -16,12 +16,19 @@ const blockExports = base.createBlock({
|
|
|
16
16
|
const packageData = intakeFileAsJson(files, ["package.json"]);
|
|
17
17
|
const exports = zExports.safeParse(packageData?.exports).data;
|
|
18
18
|
const filePath = packageData?.exports === void 0 ? zFilePath.safeParse(packageData?.main).data : typeof exports === "string" ? exports : exports?.["."];
|
|
19
|
-
return filePath ? { filePath: filePath
|
|
19
|
+
return filePath ? { filePath: libToDist(filePath) } : void 0;
|
|
20
20
|
},
|
|
21
|
-
produce({ addons }) {
|
|
21
|
+
produce({ addons, options }) {
|
|
22
22
|
const { filePath = "./dist/index.mjs", runArgs } = addons;
|
|
23
|
-
|
|
23
|
+
const main = zFilePath.safeParse(options.packageData?.main).data;
|
|
24
|
+
return { addons: [blockPackageJson({ properties: {
|
|
25
|
+
exports: { ".": filePath.startsWith(".") ? filePath : `./${filePath}` },
|
|
26
|
+
...main && { main: libToDist(main) }
|
|
27
|
+
} }), blockTSDown({ runInCI: [`node ${filePath}${runArgs.map((arg) => ` ${arg}`).join("")}`] })] };
|
|
24
28
|
}
|
|
25
29
|
});
|
|
30
|
+
function libToDist(filePath) {
|
|
31
|
+
return filePath.replace(/^(?:\.\/)?lib\//u, "./dist/");
|
|
32
|
+
}
|
|
26
33
|
//#endregion
|
|
27
34
|
export { blockExports };
|
|
@@ -55,6 +55,7 @@ declare const blockFunding: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -70,6 +70,7 @@ declare const blockGitHubActionsCI: import("bingo-stratum").BlockWithAddons<{
|
|
|
70
70
|
packageData?: {
|
|
71
71
|
dependencies?: Record<string, string> | undefined;
|
|
72
72
|
devDependencies?: Record<string, string> | undefined;
|
|
73
|
+
main?: string | undefined;
|
|
73
74
|
peerDependencies?: Record<string, string> | undefined;
|
|
74
75
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
75
76
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -60,6 +60,7 @@ declare const blockGitHubApps: import("bingo-stratum").BlockWithAddons<{
|
|
|
60
60
|
packageData?: {
|
|
61
61
|
dependencies?: Record<string, string> | undefined;
|
|
62
62
|
devDependencies?: Record<string, string> | undefined;
|
|
63
|
+
main?: string | undefined;
|
|
63
64
|
peerDependencies?: Record<string, string> | undefined;
|
|
64
65
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
65
66
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockGitHubIssueTemplates: import("bingo-stratum").BlockWithoutAdd
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockGitHubPRTemplate: import("bingo-stratum").BlockWithoutAddons<
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -57,6 +57,7 @@ declare const blockGitignore: import("bingo-stratum").BlockWithAddons<{
|
|
|
57
57
|
packageData?: {
|
|
58
58
|
dependencies?: Record<string, string> | undefined;
|
|
59
59
|
devDependencies?: Record<string, string> | undefined;
|
|
60
|
+
main?: string | undefined;
|
|
60
61
|
peerDependencies?: Record<string, string> | undefined;
|
|
61
62
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
62
63
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -59,6 +59,7 @@ declare const blockKnip: import("bingo-stratum").BlockWithAddons<{
|
|
|
59
59
|
packageData?: {
|
|
60
60
|
dependencies?: Record<string, string> | undefined;
|
|
61
61
|
devDependencies?: Record<string, string> | undefined;
|
|
62
|
+
main?: string | undefined;
|
|
62
63
|
peerDependencies?: Record<string, string> | undefined;
|
|
63
64
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
64
65
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -61,7 +61,8 @@ export default ${JSON.stringify({
|
|
|
61
61
|
transition() {
|
|
62
62
|
return { addons: [blockRemoveFiles({ files: [
|
|
63
63
|
".knip*",
|
|
64
|
-
"knip.{
|
|
64
|
+
"knip.{cjs,js,mjs}",
|
|
65
|
+
"knip.config.{c,j,m}*",
|
|
65
66
|
"knip.json*"
|
|
66
67
|
] }), blockRemoveWorkflows({ workflows: ["knip", "lint-knip"] })] };
|
|
67
68
|
}
|
|
@@ -55,6 +55,7 @@ declare const blockMITLicense: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -57,6 +57,7 @@ declare const blockNcc: import("bingo-stratum").BlockWithAddons<{
|
|
|
57
57
|
packageData?: {
|
|
58
58
|
dependencies?: Record<string, string> | undefined;
|
|
59
59
|
devDependencies?: Record<string, string> | undefined;
|
|
60
|
+
main?: string | undefined;
|
|
60
61
|
peerDependencies?: Record<string, string> | undefined;
|
|
61
62
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
62
63
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockNvmrc: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -57,6 +57,7 @@ declare const blockOctoGuide: import("bingo-stratum").BlockWithAddons<{
|
|
|
57
57
|
packageData?: {
|
|
58
58
|
dependencies?: Record<string, string> | undefined;
|
|
59
59
|
devDependencies?: Record<string, string> | undefined;
|
|
60
|
+
main?: string | undefined;
|
|
60
61
|
peerDependencies?: Record<string, string> | undefined;
|
|
61
62
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
62
63
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockOctoGuideStrict: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -179,6 +179,7 @@ declare const blockPackageJson: import("bingo-stratum").BlockWithAddons<{
|
|
|
179
179
|
packageData?: {
|
|
180
180
|
dependencies?: Record<string, string> | undefined;
|
|
181
181
|
devDependencies?: Record<string, string> | undefined;
|
|
182
|
+
main?: string | undefined;
|
|
182
183
|
peerDependencies?: Record<string, string> | undefined;
|
|
183
184
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
184
185
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockPnpmDedupe: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -65,6 +65,7 @@ declare const blockPrettier: import("bingo-stratum").BlockWithAddons<{
|
|
|
65
65
|
packageData?: {
|
|
66
66
|
dependencies?: Record<string, string> | undefined;
|
|
67
67
|
devDependencies?: Record<string, string> | undefined;
|
|
68
|
+
main?: string | undefined;
|
|
68
69
|
peerDependencies?: Record<string, string> | undefined;
|
|
69
70
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
70
71
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -84,11 +84,7 @@ export default ${JSON.stringify({
|
|
|
84
84
|
transition() {
|
|
85
85
|
return { addons: [
|
|
86
86
|
blockRemoveDependencies({ dependencies: ["eslint-config-prettier", "eslint-plugin-prettier"] }),
|
|
87
|
-
blockRemoveFiles({ files: [
|
|
88
|
-
".prettierrc",
|
|
89
|
-
".prettierrc.{c*,js,m*,t*}",
|
|
90
|
-
"prettier.config*"
|
|
91
|
-
] }),
|
|
87
|
+
blockRemoveFiles({ files: [".prettierrc*", "prettier.config.{c,j,m}*"] }),
|
|
92
88
|
blockRemoveWorkflows({ workflows: ["format", "prettier"] })
|
|
93
89
|
] };
|
|
94
90
|
}
|
|
@@ -55,6 +55,7 @@ declare const blockPrettierPluginCurly: import("bingo-stratum").BlockWithoutAddo
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockPrettierPluginPackageJson: import("bingo-stratum").BlockWitho
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockPrettierPluginPaddingLines: import("bingo-stratum").BlockWith
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockPrettierPluginSentencesPerLine: import("bingo-stratum").Block
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockPrettierPluginSh: import("bingo-stratum").BlockWithoutAddons<
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -68,6 +68,7 @@ declare const blockREADME: import("bingo-stratum").BlockWithAddons<{
|
|
|
68
68
|
packageData?: {
|
|
69
69
|
dependencies?: Record<string, string> | undefined;
|
|
70
70
|
devDependencies?: Record<string, string> | undefined;
|
|
71
|
+
main?: string | undefined;
|
|
71
72
|
peerDependencies?: Record<string, string> | undefined;
|
|
72
73
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
73
74
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -60,6 +60,7 @@ declare const blockReleaseIt: import("bingo-stratum").BlockWithAddons<{
|
|
|
60
60
|
packageData?: {
|
|
61
61
|
dependencies?: Record<string, string> | undefined;
|
|
62
62
|
devDependencies?: Record<string, string> | undefined;
|
|
63
|
+
main?: string | undefined;
|
|
63
64
|
peerDependencies?: Record<string, string> | undefined;
|
|
64
65
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
65
66
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -57,6 +57,7 @@ declare const blockRemoveDependencies: import("bingo-stratum").BlockWithAddons<{
|
|
|
57
57
|
packageData?: {
|
|
58
58
|
dependencies?: Record<string, string> | undefined;
|
|
59
59
|
devDependencies?: Record<string, string> | undefined;
|
|
60
|
+
main?: string | undefined;
|
|
60
61
|
peerDependencies?: Record<string, string> | undefined;
|
|
61
62
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
62
63
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -57,6 +57,7 @@ declare const blockRemoveFiles: import("bingo-stratum").BlockWithAddons<{
|
|
|
57
57
|
packageData?: {
|
|
58
58
|
dependencies?: Record<string, string> | undefined;
|
|
59
59
|
devDependencies?: Record<string, string> | undefined;
|
|
60
|
+
main?: string | undefined;
|
|
60
61
|
peerDependencies?: Record<string, string> | undefined;
|
|
61
62
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
62
63
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -57,6 +57,7 @@ declare const blockRemoveWorkflows: import("bingo-stratum").BlockWithAddons<{
|
|
|
57
57
|
packageData?: {
|
|
58
58
|
dependencies?: Record<string, string> | undefined;
|
|
59
59
|
devDependencies?: Record<string, string> | undefined;
|
|
60
|
+
main?: string | undefined;
|
|
60
61
|
peerDependencies?: Record<string, string> | undefined;
|
|
61
62
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
62
63
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -57,6 +57,7 @@ declare const blockRenovate: import("bingo-stratum").BlockWithAddons<{
|
|
|
57
57
|
packageData?: {
|
|
58
58
|
dependencies?: Record<string, string> | undefined;
|
|
59
59
|
devDependencies?: Record<string, string> | undefined;
|
|
60
|
+
main?: string | undefined;
|
|
60
61
|
peerDependencies?: Record<string, string> | undefined;
|
|
61
62
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
62
63
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -57,6 +57,7 @@ declare const blockRepositoryBranchRuleset: import("bingo-stratum").BlockWithAdd
|
|
|
57
57
|
packageData?: {
|
|
58
58
|
dependencies?: Record<string, string> | undefined;
|
|
59
59
|
devDependencies?: Record<string, string> | undefined;
|
|
60
|
+
main?: string | undefined;
|
|
60
61
|
peerDependencies?: Record<string, string> | undefined;
|
|
61
62
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
62
63
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockRepositoryLabels: import("bingo-stratum").BlockWithoutAddons<
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -60,6 +60,7 @@ declare const blockRepositorySecrets: import("bingo-stratum").BlockWithAddons<{
|
|
|
60
60
|
packageData?: {
|
|
61
61
|
dependencies?: Record<string, string> | undefined;
|
|
62
62
|
devDependencies?: Record<string, string> | undefined;
|
|
63
|
+
main?: string | undefined;
|
|
63
64
|
peerDependencies?: Record<string, string> | undefined;
|
|
64
65
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
65
66
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockRepositorySettings: import("bingo-stratum").BlockWithoutAddon
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -55,6 +55,7 @@ declare const blockSecurityDocs: import("bingo-stratum").BlockWithoutAddons<{
|
|
|
55
55
|
packageData?: {
|
|
56
56
|
dependencies?: Record<string, string> | undefined;
|
|
57
57
|
devDependencies?: Record<string, string> | undefined;
|
|
58
|
+
main?: string | undefined;
|
|
58
59
|
peerDependencies?: Record<string, string> | undefined;
|
|
59
60
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
60
61
|
scripts?: Record<string, string | undefined> | undefined;
|
|
@@ -57,6 +57,7 @@ declare const blockSideEffects: import("bingo-stratum").BlockWithAddons<{
|
|
|
57
57
|
packageData?: {
|
|
58
58
|
dependencies?: Record<string, string> | undefined;
|
|
59
59
|
devDependencies?: Record<string, string> | undefined;
|
|
60
|
+
main?: string | undefined;
|
|
60
61
|
peerDependencies?: Record<string, string> | undefined;
|
|
61
62
|
peerDependenciesMeta?: Record<string, unknown> | undefined;
|
|
62
63
|
scripts?: Record<string, string | undefined> | undefined;
|