create-typescript-app 2.13.0 → 2.14.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 CHANGED
@@ -129,6 +129,8 @@ declare const base: bingo_stratum.Base<{
129
129
  hash?: string | undefined;
130
130
  }>>>>;
131
131
  }>;
132
- type BaseOptions = BaseOptionsFor<typeof base>;
132
+ type BaseOptions = BaseOptionsFor<typeof base> & {
133
+ preset?: string;
134
+ };
133
135
 
134
136
  export { type BaseOptions, base };
@@ -24,6 +24,16 @@ const blockRepositoryBranchRuleset = base.createBlock({
24
24
  transition({ addons, options }) {
25
25
  return {
26
26
  requests: [
27
+ {
28
+ endpoint: "DELETE /repos/{owner}/{repo}/branches/{branch}/protection",
29
+ parameters: {
30
+ branch: "main",
31
+ owner: options.owner,
32
+ repo: options.repository
33
+ },
34
+ silent: true,
35
+ type: "octokit"
36
+ },
27
37
  options.rulesetId ? {
28
38
  endpoint: "PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}",
29
39
  parameters: createRulesetParameters(
@@ -8,6 +8,7 @@ declare const optionsBase: {
8
8
  };
9
9
  emoji: string;
10
10
  owner: string;
11
+ preset: string;
11
12
  repository: string;
12
13
  title: string;
13
14
  };
@@ -8,6 +8,7 @@ const optionsBase = {
8
8
  },
9
9
  emoji: "\u{1F496}",
10
10
  owner: "test-owner",
11
+ preset: "minimal",
11
12
  repository: "test-repository",
12
13
  title: "Test Title"
13
14
  };
@@ -1,5 +1,5 @@
1
1
  var name = "create-typescript-app";
2
- var version = "2.12.1";
2
+ var version = "2.13.0";
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.8",
36
+ bingo: "^0.5.10",
37
37
  "bingo-fs": "^0.5.4",
38
38
  "bingo-stratum": "^0.5.7",
39
39
  "cached-factory": "^0.1.0",
@@ -80,9 +80,9 @@ var devDependencies = {
80
80
  "@vitest/coverage-v8": "3.0.9",
81
81
  "@vitest/eslint-plugin": "1.1.38",
82
82
  "all-contributors-cli": "6.26.1",
83
- "bingo-requests": "0.5.4",
84
- "bingo-stratum-testers": "0.5.6",
85
- "bingo-testers": "0.5.6",
83
+ "bingo-requests": "0.5.5",
84
+ "bingo-stratum-testers": "0.5.7",
85
+ "bingo-testers": "0.5.7",
86
86
  "console-fail-test": "0.5.0",
87
87
  cspell: "8.17.5",
88
88
  eslint: "9.22.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-typescript-app",
3
- "version": "2.13.0",
3
+ "version": "2.14.0",
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.8",
40
+ "bingo": "^0.5.10",
41
41
  "bingo-fs": "^0.5.4",
42
42
  "bingo-stratum": "^0.5.7",
43
43
  "cached-factory": "^0.1.0",
@@ -84,9 +84,9 @@
84
84
  "@vitest/coverage-v8": "3.0.9",
85
85
  "@vitest/eslint-plugin": "1.1.38",
86
86
  "all-contributors-cli": "6.26.1",
87
- "bingo-requests": "0.5.4",
88
- "bingo-stratum-testers": "0.5.6",
89
- "bingo-testers": "0.5.6",
87
+ "bingo-requests": "0.5.5",
88
+ "bingo-stratum-testers": "0.5.7",
89
+ "bingo-testers": "0.5.7",
90
90
  "console-fail-test": "0.5.0",
91
91
  "cspell": "8.17.5",
92
92
  "eslint": "9.22.0",