@theholocron/holocron-plugin-fern 5.0.0-alpha.270 → 5.0.0-alpha.271

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
@@ -1,5 +1,7 @@
1
- import { AuthError, DnsRecordRequest, ResolveTokenInput, Wiki, WikiProvisionOpts, WikiProxyConfig } from "@theholocron/cli";
2
- export declare const resolveToken: (input?: ResolveTokenInput) => string;
1
+ import { AuthError, DnsRecordRequest, PluginToken, ResolveTokenInput, Wiki, WikiProvisionOpts, WikiProxyConfig } from "@theholocron/cli";
2
+ export declare const resolveToken: import("@theholocron/cli").TokenResolver;
3
+ /** Every token this plugin takes, for `holocron doctor tokens`. */
4
+ export declare const tokens: PluginToken[];
3
5
  export declare const FERN_VERSION = "5.114.1";
4
6
  interface FernWikiOptions extends ResolveTokenInput {
5
7
  /** Absolute path to the working repo root. Injected by the loader from RuntimeContext. */
package/dist/index.mjs CHANGED
@@ -9,6 +9,8 @@ const resolveToken = createResolveToken({
9
9
  keyringService: "fern",
10
10
  errorMessage: "no Fern token found. Set HOLOCRON_FERN_TOKEN / FERN_TOKEN, or run: holocron auth set fern <token>"
11
11
  });
12
+ /** Every token this plugin takes, for `holocron doctor tokens`. */
13
+ const tokens = [resolveToken.token];
12
14
  // src/capabilities/wiki.ts
13
15
  const FERN_VERSION = "5.114.1";
14
16
  var FernWiki = class {
@@ -188,4 +190,4 @@ function createPlugin(options = {}) {
188
190
  capabilities: { wiki: () => wiki(options) }
189
191
  };
190
192
  }
191
- export { AuthError, FERN_VERSION, FernWiki, createPlugin, resolveToken, wiki };
193
+ export { AuthError, FERN_VERSION, FernWiki, createPlugin, resolveToken, tokens, wiki };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/holocron-plugin-fern",
3
- "version": "5.0.0-alpha.270",
3
+ "version": "5.0.0-alpha.271",
4
4
  "description": "Holocron plugin for Fern. Implements the wiki capability for engineering knowledge publishing.",
5
5
  "keywords": [
6
6
  "fern",
@@ -43,14 +43,14 @@
43
43
  "tsx": "4.23.15",
44
44
  "typescript": "^5.9.3",
45
45
  "vitest": "^5.0.5",
46
- "@theholocron/eslint-config": "^8.9.0-alpha.3",
47
- "@theholocron/cli": "5.0.0-alpha.270",
46
+ "@theholocron/cli": "5.0.0-alpha.271",
47
+ "@theholocron/tsconfig": "^8.9.0-alpha.3",
48
48
  "@theholocron/tsdown-config": "^8.9.0-alpha.3",
49
- "@theholocron/vitest-config": "^8.9.0-alpha.3",
50
- "@theholocron/tsconfig": "^8.9.0-alpha.3"
49
+ "@theholocron/eslint-config": "^8.9.0-alpha.3",
50
+ "@theholocron/vitest-config": "^8.9.0-alpha.3"
51
51
  },
52
52
  "peerDependencies": {
53
- "@theholocron/cli": "5.0.0-alpha.270"
53
+ "@theholocron/cli": "5.0.0-alpha.271"
54
54
  },
55
55
  "engines": {
56
56
  "node": ">=22"