@theholocron/holocron-plugin-fern 5.0.0-alpha.446 → 5.0.0-alpha.453

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.
Files changed (2) hide show
  1. package/dist/index.d.mts +11 -0
  2. package/package.json +8 -8
package/dist/index.d.mts CHANGED
@@ -1,3 +1,14 @@
1
+ /**
2
+ * `@theholocron/holocron-plugin-fern` — entrypoint.
3
+ *
4
+ * Implements the `wiki` capability using Fern (buildwithfern.com).
5
+ * `holocron setup` loads this plugin when `providers.wiki: "fern"` is
6
+ * declared in `holocron.config.ts` and calls `wiki.provision()` to write
7
+ * `fern/fern.config.json` and a `fern/docs.yml` scaffold.
8
+ *
9
+ * The Fern CLI token (`FERN_TOKEN`) is only required in CI (via the
10
+ * `wiki.yml` reusable workflow) — local setup writes config files only.
11
+ */
1
12
  import { AuthError, DnsRecordRequest, PluginToken, ResolveTokenInput, Wiki, WikiProvisionOpts, WikiProxyConfig } from "@theholocron/cli";
2
13
  /** Resolves the Fern token from `--token`, `HOLOCRON_FERN_TOKEN`, `FERN_TOKEN` or the keyring entry for `fern`, and throws `AuthError` when none is set. */
3
14
  export declare const resolveToken: import("@theholocron/cli").TokenResolver;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/holocron-plugin-fern",
3
- "version": "5.0.0-alpha.446",
3
+ "version": "5.0.0-alpha.453",
4
4
  "description": "Holocron plugin for Fern. Implements the wiki capability for engineering knowledge publishing.",
5
5
  "keywords": [
6
6
  "fern",
@@ -39,18 +39,18 @@
39
39
  "eslint": "^10.14.0",
40
40
  "eslint-plugin-n": "^18.5.0",
41
41
  "globals": "^17.14.0",
42
- "tsdown": "^0.23.5",
42
+ "tsdown": "^0.23.7",
43
43
  "tsx": "4.23.15",
44
44
  "typescript": "^5.9.3",
45
45
  "vitest": "^5.1.0",
46
- "@theholocron/cli": "5.0.0-alpha.446",
47
- "@theholocron/vitest-config": "^8.9.0-alpha.17",
48
- "@theholocron/eslint-config": "^8.9.0-alpha.17",
49
- "@theholocron/tsconfig": "^8.9.0-alpha.17",
50
- "@theholocron/tsdown-config": "^8.9.0-alpha.17"
46
+ "@theholocron/cli": "5.0.0-alpha.453",
47
+ "@theholocron/tsconfig": "^8.9.0-alpha.18",
48
+ "@theholocron/eslint-config": "^8.9.0-alpha.18",
49
+ "@theholocron/tsdown-config": "^8.9.0-alpha.18",
50
+ "@theholocron/vitest-config": "^8.9.0-alpha.18"
51
51
  },
52
52
  "peerDependencies": {
53
- "@theholocron/cli": "5.0.0-alpha.446"
53
+ "@theholocron/cli": "5.0.0-alpha.453"
54
54
  },
55
55
  "engines": {
56
56
  "node": ">=22"