github-repository-provider 8.0.26 → 8.0.27

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-repository-provider",
3
- "version": "8.0.26",
3
+ "version": "8.0.27",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -22,7 +22,7 @@
22
22
  "license": "BSD-2-Clause",
23
23
  "scripts": {
24
24
  "test": "npm run test:ava",
25
- "test:ava": "ava --timeout 2m tests/*-ava.mjs tests/*-ava-node.mjs && ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs",
25
+ "test:ava": "ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs",
26
26
  "cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs && c8 report -r lcov -o build/coverage --temp-directory build/tmp",
27
27
  "docs": "documentation readme --section=API ./src/**/*.mjs",
28
28
  "lint": "npm run lint:docs",
@@ -44,7 +44,7 @@
44
44
  "leveldown": "^6.1.1",
45
45
  "levelup": "^5.1.1",
46
46
  "repository-provider-test-support": "^2.4.4",
47
- "semantic-release": "^22.0.5"
47
+ "semantic-release": "^22.0.6"
48
48
  },
49
49
  "engines": {
50
50
  "node": ">=18.18.2"
@@ -5,6 +5,7 @@ import {
5
5
  url_attribute,
6
6
  size_attribute,
7
7
  language_attribute,
8
+ default_attribute,
8
9
  mapAttributesInverse,
9
10
  optionJSON
10
11
  } from "repository-provider";
@@ -43,12 +44,19 @@ export class GithubRepository extends Repository {
43
44
  auto_init: boolean_attribute,
44
45
  size: size_attribute,
45
46
  language: language_attribute,
47
+ gitignore_template: default_attribute,
48
+ license_template: default_attribute,
46
49
  allow_squash_merge: boolean_attribute,
47
50
  allow_merge_commit: boolean_attribute,
48
51
  allow_rebase_merge: boolean_attribute,
49
52
  allow_auto_merge: boolean_attribute,
50
53
  delete_branch_on_merge: boolean_attribute,
51
- issuesURL: url_attribute
54
+ issuesURL: url_attribute,
55
+ squash_merge_commit_title: default_attribute,
56
+ squash_merge_commit_message: default_attribute,
57
+ merge_commit_title: default_attribute,
58
+ merge_commit_message: default_attribute,
59
+ //custom_properties: default_attribute
52
60
  };
53
61
  }
54
62