create-typescript-app 2.35.4 → 2.36.1

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.
@@ -102,7 +102,7 @@ const blockAllContributors = base.createBlock({
102
102
  scripts: [
103
103
  {
104
104
  commands: [
105
- `pnpx all-contributors-cli add ${options.owner} ${ownerContributions.join(",")}`
105
+ `pnpx all-contributors-cli@6.23.0 add ${options.owner} ${ownerContributions.join(",")}`
106
106
  ],
107
107
  phase: CommandPhase.Process
108
108
  }
@@ -1,6 +1,8 @@
1
1
  import * as bingo_stratum from 'bingo-stratum';
2
2
 
3
- declare const blockRenovate: bingo_stratum.BlockWithoutAddons<{
3
+ declare const blockRenovate: bingo_stratum.BlockWithAddons<{
4
+ ignoreDeps: string[];
5
+ }, {
4
6
  access: "public" | "restricted";
5
7
  description: string;
6
8
  directory: string;
@@ -1,10 +1,23 @@
1
+ import { z } from "zod";
1
2
  import { base } from "../base.js";
2
3
  import { blockGitHubApps } from "./blockGitHubApps.js";
4
+ import { intakeFileAsJson } from "./intake/intakeFileAsJson.js";
5
+ const zIgnoreDeps = z.array(z.string()).default([]);
3
6
  const blockRenovate = base.createBlock({
4
7
  about: {
5
8
  name: "Renovate"
6
9
  },
7
- produce() {
10
+ addons: {
11
+ ignoreDeps: zIgnoreDeps
12
+ },
13
+ intake({ files }) {
14
+ const raw = intakeFileAsJson(files, [".github", "renovate.json"]);
15
+ return {
16
+ ignoreDeps: zIgnoreDeps.safeParse(raw?.ignoreDeps).data
17
+ };
18
+ },
19
+ produce({ addons }) {
20
+ const { ignoreDeps } = addons;
8
21
  return {
9
22
  addons: [
10
23
  blockGitHubApps({
@@ -26,7 +39,9 @@ const blockRenovate = base.createBlock({
26
39
  "config:best-practices",
27
40
  "replacements:all"
28
41
  ],
29
- ignoreDeps: ["codecov/codecov-action"],
42
+ ignoreDeps: Array.from(
43
+ /* @__PURE__ */ new Set(["codecov/codecov-action", ...ignoreDeps])
44
+ ).sort(),
30
45
  labels: ["dependencies"],
31
46
  minimumReleaseAge: "7 days",
32
47
  patch: { enabled: false },
@@ -1,4 +1,3 @@
1
- import JSON5 from "json5";
2
1
  import sortKeys from "sort-keys";
3
2
  import { CompilerOptionsSchema } from "zod-tsconfig";
4
3
  import { base } from "../base.js";
@@ -14,7 +13,7 @@ import { blockPackageJson } from "./blockPackageJson.js";
14
13
  import { blockRemoveWorkflows } from "./blockRemoveWorkflows.js";
15
14
  import { blockVitest } from "./blockVitest.js";
16
15
  import { blockVSCode } from "./blockVSCode.js";
17
- import { intakeFile } from "./intake/intakeFile.js";
16
+ import { intakeFileAsJson } from "./intake/intakeFileAsJson.js";
18
17
  const blockTypeScript = base.createBlock({
19
18
  about: {
20
19
  name: "TypeScript"
@@ -23,11 +22,7 @@ const blockTypeScript = base.createBlock({
23
22
  compilerOptions: CompilerOptionsSchema.optional()
24
23
  },
25
24
  intake({ files }) {
26
- const tsconfig = intakeFile(files, ["tsconfig.json"]);
27
- if (!tsconfig) {
28
- return void 0;
29
- }
30
- const raw = JSON5.parse(tsconfig[0]);
25
+ const raw = intakeFileAsJson(files, ["tsconfig.json"]);
31
26
  const { data } = CompilerOptionsSchema.safeParse(raw?.compilerOptions);
32
27
  if (!data) {
33
28
  return void 0;
@@ -2882,7 +2882,9 @@ declare const blocks: {
2882
2882
  hash?: string | undefined;
2883
2883
  }>> | undefined;
2884
2884
  }>;
2885
- blockRenovate: bingo_stratum.BlockWithoutAddons<{
2885
+ blockRenovate: bingo_stratum.BlockWithAddons<{
2886
+ ignoreDeps: string[];
2887
+ }, {
2886
2888
  access: "public" | "restricted";
2887
2889
  description: string;
2888
2890
  directory: string;
@@ -1,5 +1,5 @@
1
1
  var name = "create-typescript-app";
2
- var version = "2.35.3";
2
+ var version = "2.36.0";
3
3
  var description = "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁";
4
4
  var repository = {
5
5
  type: "git",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-typescript-app",
3
- "version": "2.35.4",
3
+ "version": "2.36.1",
4
4
  "description": "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁",
5
5
  "repository": {
6
6
  "type": "git",