@theholocron/holocron-plugin-github 5.0.0-alpha.421 → 5.0.0-alpha.422
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 +4 -1
- package/dist/index.mjs +17 -11
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -448,6 +448,9 @@ export declare function createPlugin(options: GitHubPluginOptions): {
|
|
|
448
448
|
* is supplied or the supplied token is rejected.
|
|
449
449
|
*/
|
|
450
450
|
export declare const AUTH_HINT: string;
|
|
451
|
-
/**
|
|
451
|
+
/**
|
|
452
|
+
* Every token this plugin takes, for `holocron doctor tokens`. The release token is `optional`: only CI's release
|
|
453
|
+
* workflow reads it (from the org secret), so a development environment has no reason to hold it.
|
|
454
|
+
*/
|
|
452
455
|
export declare const tokens: PluginToken[];
|
|
453
456
|
export { type Auth, AuthError, type CanonicalLabel, type GitHubClientOptions, type NormalizedTeamEntry, type ProjectsOptions, type ResolveTokenInput, type TeamEntry, type TeamPermission, type VerifyTokenFailure, type VerifyTokenResult, type VerifyTokenSuccess, createFeatureResolver, createGitHubClient };
|
package/dist/index.mjs
CHANGED
|
@@ -2296,16 +2296,22 @@ function createPlugin(options) {
|
|
|
2296
2296
|
* is supplied or the supplied token is rejected.
|
|
2297
2297
|
*/
|
|
2298
2298
|
const AUTH_HINT = "generate fine-grained Personal Access Tokens at https://github.com/settings/tokens (one per feature — see docs/tokens.md for required scopes per operation), then run: holocron auth set github.<feature> <PAT>";
|
|
2299
|
-
/**
|
|
2299
|
+
/**
|
|
2300
|
+
* Every token this plugin takes, for `holocron doctor tokens`. The release token is `optional`: only CI's release
|
|
2301
|
+
* workflow reads it (from the org secret), so a development environment has no reason to hold it.
|
|
2302
|
+
*/
|
|
2300
2303
|
const tokens = [
|
|
2301
|
-
resolveReadToken,
|
|
2302
|
-
resolveIssuesToken,
|
|
2303
|
-
resolveSyncToken,
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2304
|
+
resolveReadToken.token,
|
|
2305
|
+
resolveIssuesToken.token,
|
|
2306
|
+
resolveSyncToken.token,
|
|
2307
|
+
{
|
|
2308
|
+
...resolveReleaseToken.token,
|
|
2309
|
+
optional: true
|
|
2310
|
+
},
|
|
2311
|
+
resolveAdminToken.token,
|
|
2312
|
+
resolveSecretsToken.token,
|
|
2313
|
+
resolveDeployToken.token,
|
|
2314
|
+
resolveUserSyncToken.token,
|
|
2315
|
+
resolveOrgToken.token
|
|
2316
|
+
];
|
|
2311
2317
|
export { AUTH_HINT, AuthError, GitHubCi, GitHubEnvironments, GitHubIssues, GitHubProjects, GitHubSecrets, GitHubSource, ci, createFeatureResolver, createGitHubClient, createPlugin, encryptSecret, environments, issues, normalizeTeamEntry, projects, resolveAdminToken, resolveDeployToken, resolveIssuesToken, resolveOrgToken, resolveReadToken, resolveReleaseToken, resolveSecretsToken, resolveSyncToken, resolveUserSyncToken, secrets, source, syncLabels, syncTeams, tokens, verifyToken };
|
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.422",
|
|
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,21 +44,21 @@
|
|
|
44
44
|
"tsx": "4.23.15",
|
|
45
45
|
"typescript": "^5.9.3",
|
|
46
46
|
"vitest": "^5.1.0",
|
|
47
|
-
"@theholocron/cli": "5.0.0-alpha.421",
|
|
48
47
|
"@theholocron/eslint-config": "^8.9.0-alpha.16",
|
|
49
|
-
"@theholocron/
|
|
48
|
+
"@theholocron/fs-utils": "^1.17.0-alpha.4",
|
|
49
|
+
"@theholocron/cli": "5.0.0-alpha.422",
|
|
50
50
|
"@theholocron/http-client": "^1.58.0-alpha.28",
|
|
51
51
|
"@theholocron/misc-utils": "^1.17.0-alpha.4",
|
|
52
|
-
"@theholocron/fs-utils": "^1.17.0-alpha.4",
|
|
53
52
|
"@theholocron/tsconfig": "^8.9.0-alpha.16",
|
|
54
53
|
"@theholocron/tsdown-config": "^8.9.0-alpha.16",
|
|
55
|
-
"@theholocron/vitest-config": "^8.9.0-alpha.16"
|
|
54
|
+
"@theholocron/vitest-config": "^8.9.0-alpha.16",
|
|
55
|
+
"@theholocron/github-client": "^1.58.0-alpha.28"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
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.422"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=22"
|