github-repository-provider 10.0.39 → 10.0.40
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": "10.0.
|
|
3
|
+
"version": "10.0.40",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"fetch-rate-limit-util": "^4.6.2",
|
|
39
39
|
"matching-iterator": "^2.1.7",
|
|
40
40
|
"one-time-execution-method": "^3.1.4",
|
|
41
|
-
"repository-provider": "^37.1.
|
|
41
|
+
"repository-provider": "^37.1.3"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/node": "^26.0.0",
|
package/src/github-owner.mjs
CHANGED
package/src/github-provider.mjs
CHANGED
|
@@ -54,20 +54,23 @@ export class GithubProvider extends MultiGroupProvider {
|
|
|
54
54
|
...super.attributes,
|
|
55
55
|
host: {
|
|
56
56
|
...hostname_attribute,
|
|
57
|
+
name: "host",
|
|
57
58
|
env: ["{{instanceIdentifier}}HOST", "GH_HOST"],
|
|
58
59
|
default: host
|
|
59
60
|
},
|
|
60
|
-
ssh: url_attribute,
|
|
61
|
+
ssh: { ...url_attribute, name: "ssh" },
|
|
61
62
|
url: {
|
|
62
63
|
...url_attribute,
|
|
63
64
|
env: "{{instanceIdentifier}}SERVER_URL"
|
|
64
65
|
},
|
|
65
66
|
api: {
|
|
66
67
|
...url_attribute,
|
|
68
|
+
name: "api",
|
|
67
69
|
env: "{{instanceIdentifier}}API_URL"
|
|
68
70
|
},
|
|
69
71
|
authentication: {
|
|
70
72
|
...object_attribute,
|
|
73
|
+
name: "authentication",
|
|
71
74
|
attributes: {
|
|
72
75
|
token: {
|
|
73
76
|
...token_attribute,
|
|
@@ -14,7 +14,7 @@ export class GithubPullRequest extends PullRequest {
|
|
|
14
14
|
|
|
15
15
|
static attributes = {
|
|
16
16
|
...super.attributes,
|
|
17
|
-
maintainer_can_modify: boolean_attribute,
|
|
17
|
+
maintainer_can_modify: { ...boolean_attribute, name: "maintainer_can_modify" },
|
|
18
18
|
url: {
|
|
19
19
|
...PullRequest.attributes.url,
|
|
20
20
|
externalName: "api"
|
|
@@ -26,33 +26,82 @@ export class GithubRepository extends Repository {
|
|
|
26
26
|
|
|
27
27
|
static attributes = {
|
|
28
28
|
...super.attributes,
|
|
29
|
-
gitignore_template:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
29
|
+
gitignore_template: {
|
|
30
|
+
...string_attribute_writable,
|
|
31
|
+
name: "gitignore_template"
|
|
32
|
+
},
|
|
33
|
+
license_template: {
|
|
34
|
+
...string_attribute_writable,
|
|
35
|
+
name: "license_template"
|
|
36
|
+
},
|
|
37
|
+
has_issues: { ...boolean_attribute_writable_false, name: "has_issues" },
|
|
38
|
+
has_projects: { ...boolean_attribute_writable_false, name: "has_projects" },
|
|
39
|
+
has_wiki: { ...boolean_attribute_writable_false, name: "has_wiki" },
|
|
40
|
+
allow_squash_merge: {
|
|
41
|
+
...boolean_attribute_writable_false,
|
|
42
|
+
name: "allow_squash_merge"
|
|
43
|
+
},
|
|
44
|
+
allow_merge_commit: {
|
|
45
|
+
...boolean_attribute_writable_false,
|
|
46
|
+
name: "allow_merge_commit"
|
|
47
|
+
},
|
|
48
|
+
allow_rebase_merge: {
|
|
49
|
+
...boolean_attribute_writable_false,
|
|
50
|
+
name: "allow_rebase_merge"
|
|
51
|
+
},
|
|
52
|
+
allow_auto_merge: {
|
|
53
|
+
...boolean_attribute_writable_false,
|
|
54
|
+
name: "allow_auto_merge"
|
|
55
|
+
},
|
|
56
|
+
delete_branch_on_merge: {
|
|
57
|
+
...boolean_attribute_writable_false,
|
|
58
|
+
name: "delete_branch_on_merge"
|
|
59
|
+
},
|
|
60
|
+
allow_update_branch: {
|
|
61
|
+
...boolean_attribute_writable_false,
|
|
62
|
+
name: "allow_update_branch"
|
|
63
|
+
},
|
|
64
|
+
use_squash_pr_title_as_default: {
|
|
65
|
+
...boolean_attribute_writable_false,
|
|
66
|
+
name: "use_squash_pr_title_as_default"
|
|
67
|
+
},
|
|
68
|
+
squash_merge_commit_title: {
|
|
69
|
+
...string_attribute_writable,
|
|
70
|
+
name: "squash_merge_commit_title"
|
|
71
|
+
},
|
|
72
|
+
squash_merge_commit_message: {
|
|
73
|
+
...string_attribute_writable,
|
|
74
|
+
name: "squash_merge_commit_message"
|
|
75
|
+
},
|
|
76
|
+
merge_commit_title: {
|
|
77
|
+
...string_attribute_writable,
|
|
78
|
+
name: "merge_commit_title"
|
|
79
|
+
},
|
|
80
|
+
merge_commit_message: {
|
|
81
|
+
...string_attribute_writable,
|
|
82
|
+
name: "merge_commit_message"
|
|
83
|
+
},
|
|
84
|
+
allow_forking: {
|
|
85
|
+
...boolean_attribute_writable_false,
|
|
86
|
+
name: "allow_forking"
|
|
87
|
+
},
|
|
88
|
+
web_commit_signoff_required: {
|
|
89
|
+
...boolean_attribute_writable_false,
|
|
90
|
+
name: "web_commit_signoff_required"
|
|
91
|
+
},
|
|
47
92
|
size: size_attribute,
|
|
48
93
|
language: language_attribute,
|
|
49
|
-
issuesURL: url_attribute,
|
|
50
|
-
auto_init: boolean_attribute_writable_false,
|
|
94
|
+
issuesURL: { ...url_attribute, name: "issuesURL" },
|
|
95
|
+
auto_init: { ...boolean_attribute_writable_false, name: "auto_init" },
|
|
51
96
|
url: {
|
|
52
97
|
...super.attributes.url,
|
|
53
98
|
externalName: "api"
|
|
54
99
|
},
|
|
55
|
-
isTemplate: {
|
|
100
|
+
isTemplate: {
|
|
101
|
+
...super.attributes.isTemplate,
|
|
102
|
+
name: "isTemplate",
|
|
103
|
+
externalName: "is_template"
|
|
104
|
+
}
|
|
56
105
|
};
|
|
57
106
|
|
|
58
107
|
static defaultBranchName = "main";
|