@theholocron/holocron-plugin-github 3.3.15 → 3.4.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/dist/index.d.mts +1 -0
- package/dist/index.mjs +4 -0
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -153,6 +153,7 @@ declare class GitHubSource implements Source {
|
|
|
153
153
|
syncTeams(teams: TeamEntry$1[]): Promise<string>;
|
|
154
154
|
syncTopics(topics: string[]): Promise<string>;
|
|
155
155
|
syncDescription(description: string): Promise<string>;
|
|
156
|
+
syncHomepage(homepage: string): Promise<string>;
|
|
156
157
|
}
|
|
157
158
|
//#endregion
|
|
158
159
|
//#region src/capabilities/teams.d.ts
|
package/dist/index.mjs
CHANGED
|
@@ -584,6 +584,10 @@ var GitHubSource = class {
|
|
|
584
584
|
await this.client.repos.updateRepo(this.repo, { description });
|
|
585
585
|
return "description updated";
|
|
586
586
|
}
|
|
587
|
+
async syncHomepage(homepage) {
|
|
588
|
+
await this.client.repos.updateRepo(this.repo, { homepage });
|
|
589
|
+
return "homepage updated";
|
|
590
|
+
}
|
|
587
591
|
};
|
|
588
592
|
function isENOENT(err) {
|
|
589
593
|
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": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
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",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"@theholocron/github-client": "^1.3.5",
|
|
26
|
-
"@theholocron/cli": "3.
|
|
26
|
+
"@theholocron/cli": "3.4.0"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"libsodium-wrappers": "^0.8.4"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"tsx": "4.23.1",
|
|
45
45
|
"typescript": "^5.9.3",
|
|
46
46
|
"vitest": "^4.1.10",
|
|
47
|
-
"@theholocron/cli": "3.
|
|
47
|
+
"@theholocron/cli": "3.4.0"
|
|
48
48
|
},
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|