@theholocron/holocron-plugin-github 5.0.0-alpha.570 → 5.0.0-alpha.572
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/dist/index.d.mts +1 -0
- package/dist/index.mjs +3 -0
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -403,6 +403,7 @@ export declare class GitHubSource implements Source {
|
|
|
403
403
|
getRepoInfo(): Promise<SourceRepoInfo>;
|
|
404
404
|
getProperties(): Promise<Record<string, string | string[]>>;
|
|
405
405
|
listLabels(): Promise<LabelDef[]>;
|
|
406
|
+
countIssues(query: string, repo?: string): Promise<number>;
|
|
406
407
|
listTeamAccess(): Promise<Array<{
|
|
407
408
|
slug: string;
|
|
408
409
|
permission: TeamPermission$1;
|
package/dist/index.mjs
CHANGED
|
@@ -3084,6 +3084,9 @@ var GitHubSource = class {
|
|
|
3084
3084
|
description: l.description ?? ""
|
|
3085
3085
|
}));
|
|
3086
3086
|
}
|
|
3087
|
+
async countIssues(query, repo) {
|
|
3088
|
+
return this.client.issues.countSearch(repo ?? this.repo, query);
|
|
3089
|
+
}
|
|
3087
3090
|
async listTeamAccess() {
|
|
3088
3091
|
return (await (this.orgClient ?? this.client).teams.listForRepo(this.repo)).map((t) => ({
|
|
3089
3092
|
slug: t.slug,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/holocron-plugin-github",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.572",
|
|
4
4
|
"description": "Holocron plugin for GitHub. Implements source, ci, secrets, environments, and issues capabilities against the GitHub REST API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ci",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"tsx": "4.23.15",
|
|
45
45
|
"typescript": "^6.0.3",
|
|
46
46
|
"vitest": "^5.1.1",
|
|
47
|
-
"@theholocron/cli": "5.0.0-alpha.
|
|
47
|
+
"@theholocron/cli": "5.0.0-alpha.572",
|
|
48
48
|
"@theholocron/eslint-config": "^8.9.0-alpha.24",
|
|
49
49
|
"@theholocron/fs-utils": "^1.17.0-alpha.9",
|
|
50
|
-
"@theholocron/github-client": "^1.58.0-alpha.
|
|
51
|
-
"@theholocron/http-client": "^1.58.0-alpha.
|
|
50
|
+
"@theholocron/github-client": "^1.58.0-alpha.67",
|
|
51
|
+
"@theholocron/http-client": "^1.58.0-alpha.67",
|
|
52
52
|
"@theholocron/misc-utils": "^1.17.0-alpha.9",
|
|
53
53
|
"@theholocron/tsconfig": "^8.9.0-alpha.24",
|
|
54
54
|
"@theholocron/tsdown-config": "^8.9.0-alpha.24",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@theholocron/fs-utils": "^1.16.0",
|
|
59
59
|
"@theholocron/github-client": "^1.58.0",
|
|
60
60
|
"@theholocron/misc-utils": "^1.16.0",
|
|
61
|
-
"@theholocron/cli": "5.0.0-alpha.
|
|
61
|
+
"@theholocron/cli": "5.0.0-alpha.572"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=22"
|