create-typescript-app 2.65.0 → 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.
Files changed (85) hide show
  1. package/dist/base.d.mts +18 -109
  2. package/dist/base.mjs +3 -2
  3. package/dist/blocks/actions/steps.d.mts +3 -19
  4. package/dist/blocks/blockAllContributors.d.mts +6 -5
  5. package/dist/blocks/blockAreTheTypesWrong.d.mts +6 -5
  6. package/dist/blocks/blockBin.d.mts +6 -5
  7. package/dist/blocks/blockCSpell.d.mts +7 -6
  8. package/dist/blocks/blockCTATransitions.d.mts +6 -5
  9. package/dist/blocks/blockCodecov.d.mts +6 -5
  10. package/dist/blocks/blockContributingDocs.d.mts +6 -5
  11. package/dist/blocks/blockContributorCovenant.d.mts +6 -5
  12. package/dist/blocks/blockDevelopmentDocs.d.mts +6 -5
  13. package/dist/blocks/blockESLint.d.mts +9 -8
  14. package/dist/blocks/blockESLint.mjs +2 -2
  15. package/dist/blocks/blockESLintComments.d.mts +6 -5
  16. package/dist/blocks/blockESLintJSDoc.d.mts +6 -5
  17. package/dist/blocks/blockESLintJSONC.d.mts +6 -5
  18. package/dist/blocks/blockESLintMarkdown.d.mts +6 -5
  19. package/dist/blocks/blockESLintMarkdownLinks.d.mts +6 -5
  20. package/dist/blocks/blockESLintMoreStyling.d.mts +6 -5
  21. package/dist/blocks/blockESLintNode.d.mts +6 -5
  22. package/dist/blocks/blockESLintPackageJson.d.mts +6 -5
  23. package/dist/blocks/blockESLintPerfectionist.d.mts +6 -5
  24. package/dist/blocks/blockESLintPlugin.d.mts +6 -5
  25. package/dist/blocks/blockESLintRegexp.d.mts +6 -5
  26. package/dist/blocks/blockESLintYML.d.mts +6 -5
  27. package/dist/blocks/blockExampleFiles.d.mts +7 -6
  28. package/dist/blocks/blockExampleFiles.mjs +1 -1
  29. package/dist/blocks/blockExports.d.mts +6 -5
  30. package/dist/blocks/blockExports.mjs +10 -3
  31. package/dist/blocks/blockFunding.d.mts +6 -5
  32. package/dist/blocks/blockGitHubActionsCI.d.mts +7 -6
  33. package/dist/blocks/blockGitHubApps.d.mts +6 -5
  34. package/dist/blocks/blockGitHubIssueTemplates.d.mts +6 -5
  35. package/dist/blocks/blockGitHubPRTemplate.d.mts +6 -5
  36. package/dist/blocks/blockGitignore.d.mts +6 -5
  37. package/dist/blocks/blockKnip.d.mts +6 -5
  38. package/dist/blocks/blockKnip.mjs +2 -1
  39. package/dist/blocks/blockMITLicense.d.mts +6 -5
  40. package/dist/blocks/blockNcc.d.mts +6 -5
  41. package/dist/blocks/blockNvmrc.d.mts +6 -5
  42. package/dist/blocks/blockOctoGuide.d.mts +6 -5
  43. package/dist/blocks/blockOctoGuideStrict.d.mts +6 -5
  44. package/dist/blocks/blockPackageJson.d.mts +93 -45
  45. package/dist/blocks/blockPnpmDedupe.d.mts +6 -5
  46. package/dist/blocks/blockPrettier.d.mts +8 -7
  47. package/dist/blocks/blockPrettier.mjs +1 -5
  48. package/dist/blocks/blockPrettierPluginCurly.d.mts +6 -5
  49. package/dist/blocks/blockPrettierPluginPackageJson.d.mts +6 -5
  50. package/dist/blocks/blockPrettierPluginPaddingLines.d.mts +6 -5
  51. package/dist/blocks/blockPrettierPluginSentencesPerLine.d.mts +6 -5
  52. package/dist/blocks/blockPrettierPluginSh.d.mts +6 -5
  53. package/dist/blocks/blockREADME.d.mts +8 -7
  54. package/dist/blocks/blockReleaseIt.d.mts +7 -6
  55. package/dist/blocks/blockRemoveDependencies.d.mts +6 -5
  56. package/dist/blocks/blockRemoveFiles.d.mts +6 -5
  57. package/dist/blocks/blockRemoveWorkflows.d.mts +6 -5
  58. package/dist/blocks/blockRenovate.d.mts +6 -5
  59. package/dist/blocks/blockRepositoryBranchRuleset.d.mts +6 -5
  60. package/dist/blocks/blockRepositoryLabels.d.mts +6 -5
  61. package/dist/blocks/blockRepositorySecrets.d.mts +7 -6
  62. package/dist/blocks/blockRepositorySettings.d.mts +6 -5
  63. package/dist/blocks/blockSecurityDocs.d.mts +6 -5
  64. package/dist/blocks/blockSideEffects.d.mts +6 -5
  65. package/dist/blocks/blockTSDown.d.mts +7 -6
  66. package/dist/blocks/blockTSDown.mjs +1 -1
  67. package/dist/blocks/blockTemplatedWith.d.mts +6 -5
  68. package/dist/blocks/blockTypeScript.d.mts +11 -10
  69. package/dist/blocks/blockVSCode.d.mts +7 -6
  70. package/dist/blocks/blockVitest.d.mts +8 -7
  71. package/dist/blocks/blockWebExt.d.mts +6 -5
  72. package/dist/blocks/eslint/blockESLintIntake.d.mts +1 -1
  73. package/dist/blocks/eslint/mergeAllExtensions.d.mts +2 -2
  74. package/dist/blocks/eslint/schemas.d.mts +19 -85
  75. package/dist/blocks/index.d.mts +412 -314
  76. package/dist/index.d.mts +26 -116
  77. package/dist/options/readFunding.mjs +4 -1
  78. package/dist/presets/common.d.mts +18 -109
  79. package/dist/presets/everything.d.mts +18 -109
  80. package/dist/presets/index.d.mts +54 -327
  81. package/dist/presets/minimal.d.mts +18 -109
  82. package/dist/schemas.d.mts +9 -81
  83. package/dist/schemas.mjs +2 -2
  84. package/dist/template.d.mts +18 -109
  85. package/package.json +14 -14
@@ -1,7 +1,7 @@
1
1
  //#region src/blocks/blockExampleFiles.d.ts
2
2
  declare const blockExampleFiles: import("bingo-stratum").BlockWithAddons<{
3
- usage: string[];
4
3
  files: Record<string, string>;
4
+ usage: string[];
5
5
  }, {
6
6
  access: "public" | "restricted";
7
7
  description: string;
@@ -19,14 +19,13 @@ declare const blockExampleFiles: import("bingo-stratum").BlockWithAddons<{
19
19
  github: string;
20
20
  npm: string;
21
21
  };
22
- title: string;
23
22
  node: {
24
23
  minimum: string;
25
24
  pinned?: string | undefined;
26
25
  };
27
26
  owner: string;
28
27
  repository: string;
29
- type?: "commonjs" | "module" | undefined;
28
+ title: string;
30
29
  author?: string | undefined;
31
30
  bin?: string | Record<string, string> | undefined;
32
31
  bundle?: boolean | undefined;
@@ -40,9 +39,9 @@ declare const blockExampleFiles: import("bingo-stratum").BlockWithAddons<{
40
39
  }[] | undefined;
41
40
  emoji?: string | undefined;
42
41
  existingLabels?: {
43
- name: string;
44
- description: string;
45
42
  color: string;
43
+ description: string;
44
+ name: string;
46
45
  }[] | undefined;
47
46
  funding?: string | undefined;
48
47
  guide?: {
@@ -59,17 +58,19 @@ declare const blockExampleFiles: import("bingo-stratum").BlockWithAddons<{
59
58
  packageData?: {
60
59
  dependencies?: Record<string, string> | undefined;
61
60
  devDependencies?: Record<string, string> | undefined;
61
+ main?: string | undefined;
62
62
  peerDependencies?: Record<string, string> | undefined;
63
63
  peerDependenciesMeta?: Record<string, unknown> | undefined;
64
64
  scripts?: Record<string, string | undefined> | undefined;
65
65
  } | undefined;
66
66
  pnpm?: string | undefined;
67
67
  rulesetId?: string | undefined;
68
+ type?: "commonjs" | "module" | undefined;
68
69
  version?: string | undefined;
69
70
  words?: string[] | undefined;
70
71
  workflowsVersions?: Record<string, Record<string, {
71
- pinned?: boolean | undefined;
72
72
  hash?: string | undefined;
73
+ pinned?: boolean | undefined;
73
74
  }>> | undefined;
74
75
  }>;
75
76
  //#endregion
@@ -5,7 +5,7 @@ import { z } from "zod";
5
5
  const blockExampleFiles = base.createBlock({
6
6
  about: { name: "Example Files" },
7
7
  addons: {
8
- files: z.record(z.string()).default({}),
8
+ files: z.record(z.string(), z.string()).default({}),
9
9
  usage: z.array(z.string()).default([])
10
10
  },
11
11
  setup({ addons }) {
@@ -19,14 +19,13 @@ declare const blockExports: import("bingo-stratum").BlockWithAddons<{
19
19
  github: string;
20
20
  npm: string;
21
21
  };
22
- title: string;
23
22
  node: {
24
23
  minimum: string;
25
24
  pinned?: string | undefined;
26
25
  };
27
26
  owner: string;
28
27
  repository: string;
29
- type?: "commonjs" | "module" | undefined;
28
+ title: string;
30
29
  author?: string | undefined;
31
30
  bin?: string | Record<string, string> | undefined;
32
31
  bundle?: boolean | undefined;
@@ -40,9 +39,9 @@ declare const blockExports: import("bingo-stratum").BlockWithAddons<{
40
39
  }[] | undefined;
41
40
  emoji?: string | undefined;
42
41
  existingLabels?: {
43
- name: string;
44
- description: string;
45
42
  color: string;
43
+ description: string;
44
+ name: string;
46
45
  }[] | undefined;
47
46
  funding?: string | undefined;
48
47
  guide?: {
@@ -59,17 +58,19 @@ declare const blockExports: import("bingo-stratum").BlockWithAddons<{
59
58
  packageData?: {
60
59
  dependencies?: Record<string, string> | undefined;
61
60
  devDependencies?: Record<string, string> | undefined;
61
+ main?: string | undefined;
62
62
  peerDependencies?: Record<string, string> | undefined;
63
63
  peerDependenciesMeta?: Record<string, unknown> | undefined;
64
64
  scripts?: Record<string, string | undefined> | undefined;
65
65
  } | undefined;
66
66
  pnpm?: string | undefined;
67
67
  rulesetId?: string | undefined;
68
+ type?: "commonjs" | "module" | undefined;
68
69
  version?: string | undefined;
69
70
  words?: string[] | undefined;
70
71
  workflowsVersions?: Record<string, Record<string, {
71
- pinned?: boolean | undefined;
72
72
  hash?: string | undefined;
73
+ pinned?: boolean | undefined;
73
74
  }>> | undefined;
74
75
  }>;
75
76
  //#endregion
@@ -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.replace(/^(?:\.\/)?lib\//u, "./dist/") } : void 0;
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
- return { addons: [blockPackageJson({ properties: { exports: { ".": filePath.startsWith(".") ? filePath : `./${filePath}` } } }), blockTSDown({ runInCI: [`node ${filePath}${runArgs.map((arg) => ` ${arg}`).join("")}`] })] };
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 };
@@ -16,14 +16,13 @@ declare const blockFunding: import("bingo-stratum").BlockWithoutAddons<{
16
16
  github: string;
17
17
  npm: string;
18
18
  };
19
- title: string;
20
19
  node: {
21
20
  minimum: string;
22
21
  pinned?: string | undefined;
23
22
  };
24
23
  owner: string;
25
24
  repository: string;
26
- type?: "commonjs" | "module" | undefined;
25
+ title: string;
27
26
  author?: string | undefined;
28
27
  bin?: string | Record<string, string> | undefined;
29
28
  bundle?: boolean | undefined;
@@ -37,9 +36,9 @@ declare const blockFunding: import("bingo-stratum").BlockWithoutAddons<{
37
36
  }[] | undefined;
38
37
  emoji?: string | undefined;
39
38
  existingLabels?: {
40
- name: string;
41
- description: string;
42
39
  color: string;
40
+ description: string;
41
+ name: string;
43
42
  }[] | undefined;
44
43
  funding?: string | undefined;
45
44
  guide?: {
@@ -56,17 +55,19 @@ declare const blockFunding: import("bingo-stratum").BlockWithoutAddons<{
56
55
  packageData?: {
57
56
  dependencies?: Record<string, string> | undefined;
58
57
  devDependencies?: Record<string, string> | undefined;
58
+ main?: string | undefined;
59
59
  peerDependencies?: Record<string, string> | undefined;
60
60
  peerDependenciesMeta?: Record<string, unknown> | undefined;
61
61
  scripts?: Record<string, string | undefined> | undefined;
62
62
  } | undefined;
63
63
  pnpm?: string | undefined;
64
64
  rulesetId?: string | undefined;
65
+ type?: "commonjs" | "module" | undefined;
65
66
  version?: string | undefined;
66
67
  words?: string[] | undefined;
67
68
  workflowsVersions?: Record<string, Record<string, {
68
- pinned?: boolean | undefined;
69
69
  hash?: string | undefined;
70
+ pinned?: boolean | undefined;
70
71
  }>> | undefined;
71
72
  }>;
72
73
  //#endregion
@@ -3,9 +3,9 @@ declare const blockGitHubActionsCI: import("bingo-stratum").BlockWithAddons<{
3
3
  jobs?: {
4
4
  name: string;
5
5
  steps: ({
6
- with?: Record<string, string> | undefined;
7
6
  env?: Record<string, string> | undefined;
8
7
  if?: string | undefined;
8
+ with?: Record<string, string> | undefined;
9
9
  } & ({
10
10
  run: string;
11
11
  } | {
@@ -31,14 +31,13 @@ declare const blockGitHubActionsCI: import("bingo-stratum").BlockWithAddons<{
31
31
  github: string;
32
32
  npm: string;
33
33
  };
34
- title: string;
35
34
  node: {
36
35
  minimum: string;
37
36
  pinned?: string | undefined;
38
37
  };
39
38
  owner: string;
40
39
  repository: string;
41
- type?: "commonjs" | "module" | undefined;
40
+ title: string;
42
41
  author?: string | undefined;
43
42
  bin?: string | Record<string, string> | undefined;
44
43
  bundle?: boolean | undefined;
@@ -52,9 +51,9 @@ declare const blockGitHubActionsCI: import("bingo-stratum").BlockWithAddons<{
52
51
  }[] | undefined;
53
52
  emoji?: string | undefined;
54
53
  existingLabels?: {
55
- name: string;
56
- description: string;
57
54
  color: string;
55
+ description: string;
56
+ name: string;
58
57
  }[] | undefined;
59
58
  funding?: string | undefined;
60
59
  guide?: {
@@ -71,17 +70,19 @@ declare const blockGitHubActionsCI: import("bingo-stratum").BlockWithAddons<{
71
70
  packageData?: {
72
71
  dependencies?: Record<string, string> | undefined;
73
72
  devDependencies?: Record<string, string> | undefined;
73
+ main?: string | undefined;
74
74
  peerDependencies?: Record<string, string> | undefined;
75
75
  peerDependenciesMeta?: Record<string, unknown> | undefined;
76
76
  scripts?: Record<string, string | undefined> | undefined;
77
77
  } | undefined;
78
78
  pnpm?: string | undefined;
79
79
  rulesetId?: string | undefined;
80
+ type?: "commonjs" | "module" | undefined;
80
81
  version?: string | undefined;
81
82
  words?: string[] | undefined;
82
83
  workflowsVersions?: Record<string, Record<string, {
83
- pinned?: boolean | undefined;
84
84
  hash?: string | undefined;
85
+ pinned?: boolean | undefined;
85
86
  }>> | undefined;
86
87
  }>;
87
88
  //#endregion
@@ -21,14 +21,13 @@ declare const blockGitHubApps: import("bingo-stratum").BlockWithAddons<{
21
21
  github: string;
22
22
  npm: string;
23
23
  };
24
- title: string;
25
24
  node: {
26
25
  minimum: string;
27
26
  pinned?: string | undefined;
28
27
  };
29
28
  owner: string;
30
29
  repository: string;
31
- type?: "commonjs" | "module" | undefined;
30
+ title: string;
32
31
  author?: string | undefined;
33
32
  bin?: string | Record<string, string> | undefined;
34
33
  bundle?: boolean | undefined;
@@ -42,9 +41,9 @@ declare const blockGitHubApps: import("bingo-stratum").BlockWithAddons<{
42
41
  }[] | undefined;
43
42
  emoji?: string | undefined;
44
43
  existingLabels?: {
45
- name: string;
46
- description: string;
47
44
  color: string;
45
+ description: string;
46
+ name: string;
48
47
  }[] | undefined;
49
48
  funding?: string | undefined;
50
49
  guide?: {
@@ -61,17 +60,19 @@ declare const blockGitHubApps: import("bingo-stratum").BlockWithAddons<{
61
60
  packageData?: {
62
61
  dependencies?: Record<string, string> | undefined;
63
62
  devDependencies?: Record<string, string> | undefined;
63
+ main?: string | undefined;
64
64
  peerDependencies?: Record<string, string> | undefined;
65
65
  peerDependenciesMeta?: Record<string, unknown> | undefined;
66
66
  scripts?: Record<string, string | undefined> | undefined;
67
67
  } | undefined;
68
68
  pnpm?: string | undefined;
69
69
  rulesetId?: string | undefined;
70
+ type?: "commonjs" | "module" | undefined;
70
71
  version?: string | undefined;
71
72
  words?: string[] | undefined;
72
73
  workflowsVersions?: Record<string, Record<string, {
73
- pinned?: boolean | undefined;
74
74
  hash?: string | undefined;
75
+ pinned?: boolean | undefined;
75
76
  }>> | undefined;
76
77
  }>;
77
78
  //#endregion
@@ -16,14 +16,13 @@ declare const blockGitHubIssueTemplates: import("bingo-stratum").BlockWithoutAdd
16
16
  github: string;
17
17
  npm: string;
18
18
  };
19
- title: string;
20
19
  node: {
21
20
  minimum: string;
22
21
  pinned?: string | undefined;
23
22
  };
24
23
  owner: string;
25
24
  repository: string;
26
- type?: "commonjs" | "module" | undefined;
25
+ title: string;
27
26
  author?: string | undefined;
28
27
  bin?: string | Record<string, string> | undefined;
29
28
  bundle?: boolean | undefined;
@@ -37,9 +36,9 @@ declare const blockGitHubIssueTemplates: import("bingo-stratum").BlockWithoutAdd
37
36
  }[] | undefined;
38
37
  emoji?: string | undefined;
39
38
  existingLabels?: {
40
- name: string;
41
- description: string;
42
39
  color: string;
40
+ description: string;
41
+ name: string;
43
42
  }[] | undefined;
44
43
  funding?: string | undefined;
45
44
  guide?: {
@@ -56,17 +55,19 @@ declare const blockGitHubIssueTemplates: import("bingo-stratum").BlockWithoutAdd
56
55
  packageData?: {
57
56
  dependencies?: Record<string, string> | undefined;
58
57
  devDependencies?: Record<string, string> | undefined;
58
+ main?: string | undefined;
59
59
  peerDependencies?: Record<string, string> | undefined;
60
60
  peerDependenciesMeta?: Record<string, unknown> | undefined;
61
61
  scripts?: Record<string, string | undefined> | undefined;
62
62
  } | undefined;
63
63
  pnpm?: string | undefined;
64
64
  rulesetId?: string | undefined;
65
+ type?: "commonjs" | "module" | undefined;
65
66
  version?: string | undefined;
66
67
  words?: string[] | undefined;
67
68
  workflowsVersions?: Record<string, Record<string, {
68
- pinned?: boolean | undefined;
69
69
  hash?: string | undefined;
70
+ pinned?: boolean | undefined;
70
71
  }>> | undefined;
71
72
  }>;
72
73
  //#endregion
@@ -16,14 +16,13 @@ declare const blockGitHubPRTemplate: import("bingo-stratum").BlockWithoutAddons<
16
16
  github: string;
17
17
  npm: string;
18
18
  };
19
- title: string;
20
19
  node: {
21
20
  minimum: string;
22
21
  pinned?: string | undefined;
23
22
  };
24
23
  owner: string;
25
24
  repository: string;
26
- type?: "commonjs" | "module" | undefined;
25
+ title: string;
27
26
  author?: string | undefined;
28
27
  bin?: string | Record<string, string> | undefined;
29
28
  bundle?: boolean | undefined;
@@ -37,9 +36,9 @@ declare const blockGitHubPRTemplate: import("bingo-stratum").BlockWithoutAddons<
37
36
  }[] | undefined;
38
37
  emoji?: string | undefined;
39
38
  existingLabels?: {
40
- name: string;
41
- description: string;
42
39
  color: string;
40
+ description: string;
41
+ name: string;
43
42
  }[] | undefined;
44
43
  funding?: string | undefined;
45
44
  guide?: {
@@ -56,17 +55,19 @@ declare const blockGitHubPRTemplate: import("bingo-stratum").BlockWithoutAddons<
56
55
  packageData?: {
57
56
  dependencies?: Record<string, string> | undefined;
58
57
  devDependencies?: Record<string, string> | undefined;
58
+ main?: string | undefined;
59
59
  peerDependencies?: Record<string, string> | undefined;
60
60
  peerDependenciesMeta?: Record<string, unknown> | undefined;
61
61
  scripts?: Record<string, string | undefined> | undefined;
62
62
  } | undefined;
63
63
  pnpm?: string | undefined;
64
64
  rulesetId?: string | undefined;
65
+ type?: "commonjs" | "module" | undefined;
65
66
  version?: string | undefined;
66
67
  words?: string[] | undefined;
67
68
  workflowsVersions?: Record<string, Record<string, {
68
- pinned?: boolean | undefined;
69
69
  hash?: string | undefined;
70
+ pinned?: boolean | undefined;
70
71
  }>> | undefined;
71
72
  }>;
72
73
  //#endregion
@@ -18,14 +18,13 @@ declare const blockGitignore: import("bingo-stratum").BlockWithAddons<{
18
18
  github: string;
19
19
  npm: string;
20
20
  };
21
- title: string;
22
21
  node: {
23
22
  minimum: string;
24
23
  pinned?: string | undefined;
25
24
  };
26
25
  owner: string;
27
26
  repository: string;
28
- type?: "commonjs" | "module" | undefined;
27
+ title: string;
29
28
  author?: string | undefined;
30
29
  bin?: string | Record<string, string> | undefined;
31
30
  bundle?: boolean | undefined;
@@ -39,9 +38,9 @@ declare const blockGitignore: import("bingo-stratum").BlockWithAddons<{
39
38
  }[] | undefined;
40
39
  emoji?: string | undefined;
41
40
  existingLabels?: {
42
- name: string;
43
- description: string;
44
41
  color: string;
42
+ description: string;
43
+ name: string;
45
44
  }[] | undefined;
46
45
  funding?: string | undefined;
47
46
  guide?: {
@@ -58,17 +57,19 @@ declare const blockGitignore: import("bingo-stratum").BlockWithAddons<{
58
57
  packageData?: {
59
58
  dependencies?: Record<string, string> | undefined;
60
59
  devDependencies?: Record<string, string> | undefined;
60
+ main?: string | undefined;
61
61
  peerDependencies?: Record<string, string> | undefined;
62
62
  peerDependenciesMeta?: Record<string, unknown> | undefined;
63
63
  scripts?: Record<string, string | undefined> | undefined;
64
64
  } | undefined;
65
65
  pnpm?: string | undefined;
66
66
  rulesetId?: string | undefined;
67
+ type?: "commonjs" | "module" | undefined;
67
68
  version?: string | undefined;
68
69
  words?: string[] | undefined;
69
70
  workflowsVersions?: Record<string, Record<string, {
70
- pinned?: boolean | undefined;
71
71
  hash?: string | undefined;
72
+ pinned?: boolean | undefined;
72
73
  }>> | undefined;
73
74
  }>;
74
75
  //#endregion
@@ -20,14 +20,13 @@ declare const blockKnip: import("bingo-stratum").BlockWithAddons<{
20
20
  github: string;
21
21
  npm: string;
22
22
  };
23
- title: string;
24
23
  node: {
25
24
  minimum: string;
26
25
  pinned?: string | undefined;
27
26
  };
28
27
  owner: string;
29
28
  repository: string;
30
- type?: "commonjs" | "module" | undefined;
29
+ title: string;
31
30
  author?: string | undefined;
32
31
  bin?: string | Record<string, string> | undefined;
33
32
  bundle?: boolean | undefined;
@@ -41,9 +40,9 @@ declare const blockKnip: import("bingo-stratum").BlockWithAddons<{
41
40
  }[] | undefined;
42
41
  emoji?: string | undefined;
43
42
  existingLabels?: {
44
- name: string;
45
- description: string;
46
43
  color: string;
44
+ description: string;
45
+ name: string;
47
46
  }[] | undefined;
48
47
  funding?: string | undefined;
49
48
  guide?: {
@@ -60,17 +59,19 @@ declare const blockKnip: import("bingo-stratum").BlockWithAddons<{
60
59
  packageData?: {
61
60
  dependencies?: Record<string, string> | undefined;
62
61
  devDependencies?: Record<string, string> | undefined;
62
+ main?: string | undefined;
63
63
  peerDependencies?: Record<string, string> | undefined;
64
64
  peerDependenciesMeta?: Record<string, unknown> | undefined;
65
65
  scripts?: Record<string, string | undefined> | undefined;
66
66
  } | undefined;
67
67
  pnpm?: string | undefined;
68
68
  rulesetId?: string | undefined;
69
+ type?: "commonjs" | "module" | undefined;
69
70
  version?: string | undefined;
70
71
  words?: string[] | undefined;
71
72
  workflowsVersions?: Record<string, Record<string, {
72
- pinned?: boolean | undefined;
73
73
  hash?: string | undefined;
74
+ pinned?: boolean | undefined;
74
75
  }>> | undefined;
75
76
  }>;
76
77
  //#endregion
@@ -61,7 +61,8 @@ export default ${JSON.stringify({
61
61
  transition() {
62
62
  return { addons: [blockRemoveFiles({ files: [
63
63
  ".knip*",
64
- "knip.{c,j,m}*",
64
+ "knip.{cjs,js,mjs}",
65
+ "knip.config.{c,j,m}*",
65
66
  "knip.json*"
66
67
  ] }), blockRemoveWorkflows({ workflows: ["knip", "lint-knip"] })] };
67
68
  }
@@ -16,14 +16,13 @@ declare const blockMITLicense: import("bingo-stratum").BlockWithoutAddons<{
16
16
  github: string;
17
17
  npm: string;
18
18
  };
19
- title: string;
20
19
  node: {
21
20
  minimum: string;
22
21
  pinned?: string | undefined;
23
22
  };
24
23
  owner: string;
25
24
  repository: string;
26
- type?: "commonjs" | "module" | undefined;
25
+ title: string;
27
26
  author?: string | undefined;
28
27
  bin?: string | Record<string, string> | undefined;
29
28
  bundle?: boolean | undefined;
@@ -37,9 +36,9 @@ declare const blockMITLicense: import("bingo-stratum").BlockWithoutAddons<{
37
36
  }[] | undefined;
38
37
  emoji?: string | undefined;
39
38
  existingLabels?: {
40
- name: string;
41
- description: string;
42
39
  color: string;
40
+ description: string;
41
+ name: string;
43
42
  }[] | undefined;
44
43
  funding?: string | undefined;
45
44
  guide?: {
@@ -56,17 +55,19 @@ declare const blockMITLicense: import("bingo-stratum").BlockWithoutAddons<{
56
55
  packageData?: {
57
56
  dependencies?: Record<string, string> | undefined;
58
57
  devDependencies?: Record<string, string> | undefined;
58
+ main?: string | undefined;
59
59
  peerDependencies?: Record<string, string> | undefined;
60
60
  peerDependenciesMeta?: Record<string, unknown> | undefined;
61
61
  scripts?: Record<string, string | undefined> | undefined;
62
62
  } | undefined;
63
63
  pnpm?: string | undefined;
64
64
  rulesetId?: string | undefined;
65
+ type?: "commonjs" | "module" | undefined;
65
66
  version?: string | undefined;
66
67
  words?: string[] | undefined;
67
68
  workflowsVersions?: Record<string, Record<string, {
68
- pinned?: boolean | undefined;
69
69
  hash?: string | undefined;
70
+ pinned?: boolean | undefined;
70
71
  }>> | undefined;
71
72
  }>;
72
73
  //#endregion
@@ -18,14 +18,13 @@ declare const blockNcc: import("bingo-stratum").BlockWithAddons<{
18
18
  github: string;
19
19
  npm: string;
20
20
  };
21
- title: string;
22
21
  node: {
23
22
  minimum: string;
24
23
  pinned?: string | undefined;
25
24
  };
26
25
  owner: string;
27
26
  repository: string;
28
- type?: "commonjs" | "module" | undefined;
27
+ title: string;
29
28
  author?: string | undefined;
30
29
  bin?: string | Record<string, string> | undefined;
31
30
  bundle?: boolean | undefined;
@@ -39,9 +38,9 @@ declare const blockNcc: import("bingo-stratum").BlockWithAddons<{
39
38
  }[] | undefined;
40
39
  emoji?: string | undefined;
41
40
  existingLabels?: {
42
- name: string;
43
- description: string;
44
41
  color: string;
42
+ description: string;
43
+ name: string;
45
44
  }[] | undefined;
46
45
  funding?: string | undefined;
47
46
  guide?: {
@@ -58,17 +57,19 @@ declare const blockNcc: import("bingo-stratum").BlockWithAddons<{
58
57
  packageData?: {
59
58
  dependencies?: Record<string, string> | undefined;
60
59
  devDependencies?: Record<string, string> | undefined;
60
+ main?: string | undefined;
61
61
  peerDependencies?: Record<string, string> | undefined;
62
62
  peerDependenciesMeta?: Record<string, unknown> | undefined;
63
63
  scripts?: Record<string, string | undefined> | undefined;
64
64
  } | undefined;
65
65
  pnpm?: string | undefined;
66
66
  rulesetId?: string | undefined;
67
+ type?: "commonjs" | "module" | undefined;
67
68
  version?: string | undefined;
68
69
  words?: string[] | undefined;
69
70
  workflowsVersions?: Record<string, Record<string, {
70
- pinned?: boolean | undefined;
71
71
  hash?: string | undefined;
72
+ pinned?: boolean | undefined;
72
73
  }>> | undefined;
73
74
  }>;
74
75
  //#endregion
@@ -16,14 +16,13 @@ declare const blockNvmrc: import("bingo-stratum").BlockWithoutAddons<{
16
16
  github: string;
17
17
  npm: string;
18
18
  };
19
- title: string;
20
19
  node: {
21
20
  minimum: string;
22
21
  pinned?: string | undefined;
23
22
  };
24
23
  owner: string;
25
24
  repository: string;
26
- type?: "commonjs" | "module" | undefined;
25
+ title: string;
27
26
  author?: string | undefined;
28
27
  bin?: string | Record<string, string> | undefined;
29
28
  bundle?: boolean | undefined;
@@ -37,9 +36,9 @@ declare const blockNvmrc: import("bingo-stratum").BlockWithoutAddons<{
37
36
  }[] | undefined;
38
37
  emoji?: string | undefined;
39
38
  existingLabels?: {
40
- name: string;
41
- description: string;
42
39
  color: string;
40
+ description: string;
41
+ name: string;
43
42
  }[] | undefined;
44
43
  funding?: string | undefined;
45
44
  guide?: {
@@ -56,17 +55,19 @@ declare const blockNvmrc: import("bingo-stratum").BlockWithoutAddons<{
56
55
  packageData?: {
57
56
  dependencies?: Record<string, string> | undefined;
58
57
  devDependencies?: Record<string, string> | undefined;
58
+ main?: string | undefined;
59
59
  peerDependencies?: Record<string, string> | undefined;
60
60
  peerDependenciesMeta?: Record<string, unknown> | undefined;
61
61
  scripts?: Record<string, string | undefined> | undefined;
62
62
  } | undefined;
63
63
  pnpm?: string | undefined;
64
64
  rulesetId?: string | undefined;
65
+ type?: "commonjs" | "module" | undefined;
65
66
  version?: string | undefined;
66
67
  words?: string[] | undefined;
67
68
  workflowsVersions?: Record<string, Record<string, {
68
- pinned?: boolean | undefined;
69
69
  hash?: string | undefined;
70
+ pinned?: boolean | undefined;
70
71
  }>> | undefined;
71
72
  }>;
72
73
  //#endregion