@theholocron/holocron-plugin-github 2.0.0-alpha.56 → 2.0.0-alpha.58
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 +4 -0
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -50,6 +50,7 @@ declare class GitHubSource implements Source {
|
|
|
50
50
|
syncLabels(canonical: ReadonlyArray<LabelDef>, stale: ReadonlyArray<string>): Promise<string>;
|
|
51
51
|
syncProperties(values: Record<string, string>): Promise<string>;
|
|
52
52
|
syncTopics(topics: string[]): Promise<string>;
|
|
53
|
+
syncDescription(description: string): Promise<string>;
|
|
53
54
|
}
|
|
54
55
|
//#endregion
|
|
55
56
|
//#region src/capabilities/secrets.d.ts
|
package/dist/index.mjs
CHANGED
|
@@ -542,6 +542,10 @@ var GitHubSource = class {
|
|
|
542
542
|
async syncTopics(topics) {
|
|
543
543
|
return syncTopics(this.client, this.repo, topics);
|
|
544
544
|
}
|
|
545
|
+
async syncDescription(description) {
|
|
546
|
+
await this.client.repos.updateRepo(this.repo, { description });
|
|
547
|
+
return "description updated";
|
|
548
|
+
}
|
|
545
549
|
};
|
|
546
550
|
function isENOENT(err) {
|
|
547
551
|
return typeof err === "object" && err !== null && "code" in err && err.code === "ENOENT";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/holocron-plugin-github",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.58",
|
|
4
4
|
"description": "Holocron plugin for GitHub. Implements source, ci, secrets, environments, and issues capabilities against the GitHub REST API.",
|
|
5
5
|
"homepage": "https://github.com/theholocron/holocron/tree/main/packages/holocron-plugin-github#readme",
|
|
6
6
|
"bugs": "https://github.com/theholocron/holocron/issues",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"@theholocron/github-client": "^0.11.3",
|
|
25
|
-
"@theholocron/cli": "2.0.0-alpha.
|
|
25
|
+
"@theholocron/cli": "2.0.0-alpha.58"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"libsodium-wrappers": "^0.7.15"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"tsx": "^4.22.4",
|
|
45
45
|
"typescript": "^5.9.3",
|
|
46
46
|
"vitest": "^4.1.10",
|
|
47
|
-
"@theholocron/cli": "2.0.0-alpha.
|
|
47
|
+
"@theholocron/cli": "2.0.0-alpha.58"
|
|
48
48
|
},
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|