create-typescript-app 2.4.3 → 2.4.5

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.
@@ -24,18 +24,12 @@ interface WorkflowFileOn {
24
24
  };
25
25
  workflow_dispatch?: null | string;
26
26
  }
27
- type WorkflowFileOptions = WorkflowFileOptionsRuns | WorkflowFileOptionsSteps;
28
- interface WorkflowFileOptionsBase {
27
+ interface WorkflowFileOptions {
29
28
  concurrency?: WorkflowFileConcurrency;
30
29
  if?: string;
31
30
  name: string;
32
31
  on?: WorkflowFileOn;
33
32
  permissions?: WorkflowFilePermissions;
34
- }
35
- interface WorkflowFileOptionsRuns extends WorkflowFileOptionsBase {
36
- runs: (string | WorkflowFileStep)[];
37
- }
38
- interface WorkflowFileOptionsSteps extends WorkflowFileOptionsBase {
39
33
  steps: WorkflowFileStep[];
40
34
  }
41
35
  interface WorkflowFilePermissions {
@@ -13,11 +13,7 @@ function createSoloWorkflowFile({
13
13
  [createJobName(name)]: {
14
14
  ...options.if && { if: options.if },
15
15
  "runs-on": "ubuntu-latest",
16
- steps: "runs" in options ? [
17
- { uses: "actions/checkout@v4" },
18
- { uses: "./.github/actions/prepare" },
19
- ...options.runs.map((run) => ({ run }))
20
- ] : options.steps
16
+ steps: options.steps
21
17
  }
22
18
  },
23
19
  name,
@@ -1,5 +1,5 @@
1
1
  var name = "create-typescript-app";
2
- var version = "2.4.2";
2
+ var version = "2.4.4";
3
3
  var description = "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁";
4
4
  var repository = {
5
5
  type: "git",
@@ -33,7 +33,7 @@ var scripts = {
33
33
  tsc: "tsc"
34
34
  };
35
35
  var dependencies = {
36
- bingo: "^0.5.4",
36
+ bingo: "^0.5.5",
37
37
  "bingo-fs": "^0.5.4",
38
38
  "bingo-stratum": "^0.5.4",
39
39
  "cspell-populate-words": "^0.3.0",
@@ -74,7 +74,7 @@ var devDependencies = {
74
74
  "@vitest/coverage-v8": "3.0.7",
75
75
  "@vitest/eslint-plugin": "1.1.36",
76
76
  "all-contributors-cli": "6.26.1",
77
- "bingo-stratum-testers": "0.5.4",
77
+ "bingo-stratum-testers": "0.5.6",
78
78
  "bingo-testers": "0.5.4",
79
79
  "console-fail-test": "0.5.0",
80
80
  cspell: "8.17.5",
@@ -38,7 +38,7 @@ function readDefaultsFromReadme(readme, repository) {
38
38
  return fromText;
39
39
  }
40
40
  const repositoryValue = await repository();
41
- return repositoryValue && titleCase(repositoryValue).replaceAll("Typescript", "TypeScript").replaceAll("-", " ");
41
+ return repositoryValue && titleCase(repositoryValue).replaceAll("Eslint", "ESLint").replaceAll("Typescript", "TypeScript").replaceAll("-", " ");
42
42
  },
43
43
  usage: async () => {
44
44
  return getUsageFromReadme(await readme()) ?? `\`\`\`shell
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-typescript-app",
3
- "version": "2.4.3",
3
+ "version": "2.4.5",
4
4
  "description": "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁",
5
5
  "repository": {
6
6
  "type": "git",
@@ -37,7 +37,7 @@
37
37
  "*": "prettier --ignore-unknown --write"
38
38
  },
39
39
  "dependencies": {
40
- "bingo": "^0.5.4",
40
+ "bingo": "^0.5.5",
41
41
  "bingo-fs": "^0.5.4",
42
42
  "bingo-stratum": "^0.5.4",
43
43
  "cspell-populate-words": "^0.3.0",
@@ -78,7 +78,7 @@
78
78
  "@vitest/coverage-v8": "3.0.7",
79
79
  "@vitest/eslint-plugin": "1.1.36",
80
80
  "all-contributors-cli": "6.26.1",
81
- "bingo-stratum-testers": "0.5.4",
81
+ "bingo-stratum-testers": "0.5.6",
82
82
  "bingo-testers": "0.5.4",
83
83
  "console-fail-test": "0.5.0",
84
84
  "cspell": "8.17.5",