@theholocron/holocron-plugin-github 5.0.0-alpha.558 → 5.0.0-alpha.559
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.mjs +4 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -4034,10 +4034,13 @@ const EXPECTED = {
|
|
|
4034
4034
|
}, { "org-webhooks": "required" }, { "org-webhooks": "absent" })
|
|
4035
4035
|
};
|
|
4036
4036
|
// src/tokens.ts
|
|
4037
|
-
/**
|
|
4037
|
+
/** The page that makes a fine-grained personal access token, where every token of this plugin is made. */
|
|
4038
|
+
const TOKEN_PAGE = "https://github.com/settings/personal-access-tokens/new";
|
|
4039
|
+
/** Adds what a layer's token must and must not be able to do (`EXPECTED`, by `envName`) and where it is made to a token. */
|
|
4038
4040
|
function declared(token) {
|
|
4039
4041
|
return {
|
|
4040
4042
|
...token,
|
|
4043
|
+
page: TOKEN_PAGE,
|
|
4041
4044
|
expect: EXPECTED[token.envName]
|
|
4042
4045
|
};
|
|
4043
4046
|
}
|
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.559",
|
|
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,10 +44,10 @@
|
|
|
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.559",
|
|
48
|
+
"@theholocron/eslint-config": "^8.9.0-alpha.24",
|
|
48
49
|
"@theholocron/fs-utils": "^1.17.0-alpha.8",
|
|
49
50
|
"@theholocron/github-client": "^1.58.0-alpha.61",
|
|
50
|
-
"@theholocron/eslint-config": "^8.9.0-alpha.24",
|
|
51
51
|
"@theholocron/http-client": "^1.58.0-alpha.61",
|
|
52
52
|
"@theholocron/misc-utils": "^1.17.0-alpha.8",
|
|
53
53
|
"@theholocron/tsconfig": "^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.559"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=22"
|