@theholocron/holocron-plugin-fern 5.0.0-alpha.6 → 5.0.0-alpha.61

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,4 +1,4 @@
1
- import { AuthError, ResolveTokenInput, Wiki, WikiDnsRecord, WikiProvisionOpts, WikiProxyConfig } from "@theholocron/cli";
1
+ import { AuthError, DnsRecordRequest, ResolveTokenInput, Wiki, WikiProvisionOpts, WikiProxyConfig } from "@theholocron/cli";
2
2
  //#region src/capabilities/wiki.d.ts
3
3
  declare const FERN_VERSION = "5.114.1";
4
4
  interface FernWikiOptions {
@@ -52,7 +52,7 @@ declare class FernWiki implements Wiki {
52
52
  constructor(opts: FernWikiOptions);
53
53
  provision(callOpts?: WikiProvisionOpts): Promise<string>;
54
54
  proxyConfig(): WikiProxyConfig | null;
55
- dnsRecord(): WikiDnsRecord | null;
55
+ dnsRecord(): DnsRecordRequest | null;
56
56
  }
57
57
  //#endregion
58
58
  //#region src/auth.d.ts
package/dist/index.mjs CHANGED
@@ -40,8 +40,11 @@ var FernWiki = class {
40
40
  const hostname = domain.split("/")[0];
41
41
  return {
42
42
  zone: hostname.split(".").slice(-2).join("."),
43
- cname: hostname,
44
- target: `${resolvedFernOrg}.docs.buildwithfern.com`
43
+ record: {
44
+ type: "CNAME",
45
+ name: hostname,
46
+ content: `${resolvedFernOrg}.docs.buildwithfern.com`
47
+ }
45
48
  };
46
49
  }
47
50
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/holocron-plugin-fern",
3
- "version": "5.0.0-alpha.6",
3
+ "version": "5.0.0-alpha.61",
4
4
  "description": "Holocron plugin for Fern. Implements the wiki capability for engineering knowledge publishing.",
5
5
  "keywords": [
6
6
  "fern",
@@ -30,10 +30,10 @@
30
30
  "dist"
31
31
  ],
32
32
  "devDependencies": {
33
- "@theholocron/eslint-config": "^8.0.0",
34
- "@theholocron/tsconfig": "^8.0.0",
35
- "@theholocron/tsdown-config": "^8.0.0",
36
- "@theholocron/vitest-config": "^8.0.0",
33
+ "@theholocron/eslint-config": "^8.4.5",
34
+ "@theholocron/tsconfig": "^8.4.5",
35
+ "@theholocron/tsdown-config": "^8.4.5",
36
+ "@theholocron/vitest-config": "^8.4.5",
37
37
  "@types/node": "^26",
38
38
  "@vitest/coverage-v8": "^4.1.11",
39
39
  "@vitest/eslint-plugin": "^1.6.27",
@@ -44,10 +44,10 @@
44
44
  "tsx": "4.23.12",
45
45
  "typescript": "^5.9.3",
46
46
  "vitest": "^4.1.11",
47
- "@theholocron/cli": "5.0.0-alpha.6"
47
+ "@theholocron/cli": "5.0.0-alpha.61"
48
48
  },
49
49
  "peerDependencies": {
50
- "@theholocron/cli": "5.0.0-alpha.6"
50
+ "@theholocron/cli": "5.0.0-alpha.61"
51
51
  },
52
52
  "engines": {
53
53
  "node": ">=22"