@theholocron/holocron-plugin-github 2.0.0-alpha.55 → 2.0.0-alpha.57

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 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.55",
3
+ "version": "2.0.0-alpha.57",
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",
@@ -21,18 +21,18 @@
21
21
  }
22
22
  },
23
23
  "peerDependencies": {
24
- "@theholocron/github-client": "^0.7.0",
25
- "@theholocron/cli": "2.0.0-alpha.55"
24
+ "@theholocron/github-client": "^0.11.3",
25
+ "@theholocron/cli": "2.0.0-alpha.57"
26
26
  },
27
27
  "dependencies": {
28
28
  "libsodium-wrappers": "^0.7.15"
29
29
  },
30
30
  "devDependencies": {
31
- "@theholocron/eslint-config": "^7.0.0",
32
- "@theholocron/github-client": "^0.7.0",
33
- "@theholocron/tsconfig": "^7.0.0",
34
- "@theholocron/tsdown-config": "^7.0.0",
35
- "@theholocron/vitest-config": "^7.2.3",
31
+ "@theholocron/eslint-config": "^7.3.0",
32
+ "@theholocron/github-client": "^0.11.3",
33
+ "@theholocron/tsconfig": "^7.3.0",
34
+ "@theholocron/tsdown-config": "^7.3.0",
35
+ "@theholocron/vitest-config": "^7.3.0",
36
36
  "@types/libsodium-wrappers": "^0.7.14",
37
37
  "@types/node": "^26",
38
38
  "@vitest/coverage-v8": "^4.1.10",
@@ -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.55"
47
+ "@theholocron/cli": "2.0.0-alpha.57"
48
48
  },
49
49
  "publishConfig": {
50
50
  "access": "public"