@theholocron/holocron-plugin-fern 3.45.0 → 3.45.2
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 +2 -1
- package/dist/index.mjs +7 -0
- package/package.json +7 -7
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AuthError, ResolveTokenInput, Wiki, WikiDnsRecord, WikiProvisionOpts } from "@theholocron/cli";
|
|
1
|
+
import { AuthError, ResolveTokenInput, Wiki, WikiDnsRecord, WikiProvisionOpts, WikiProxyConfig } from "@theholocron/cli";
|
|
2
2
|
//#region src/capabilities/wiki.d.ts
|
|
3
3
|
declare const FERN_VERSION = "5.35.4";
|
|
4
4
|
interface FernWikiOptions {
|
|
@@ -40,6 +40,7 @@ declare class FernWiki implements Wiki {
|
|
|
40
40
|
readonly providerName = "fern";
|
|
41
41
|
constructor(opts: FernWikiOptions);
|
|
42
42
|
provision(callOpts?: WikiProvisionOpts): Promise<string>;
|
|
43
|
+
proxyConfig(): WikiProxyConfig | null;
|
|
43
44
|
dnsRecord(): WikiDnsRecord | null;
|
|
44
45
|
}
|
|
45
46
|
//#endregion
|
package/dist/index.mjs
CHANGED
|
@@ -26,6 +26,13 @@ var FernWiki = class {
|
|
|
26
26
|
domain
|
|
27
27
|
})}`;
|
|
28
28
|
}
|
|
29
|
+
proxyConfig() {
|
|
30
|
+
if (!this.opts.domain) return null;
|
|
31
|
+
return {
|
|
32
|
+
target: "https://app.buildwithfern.com",
|
|
33
|
+
headers: { "X-Fern-Host": this.opts.domain.split("/")[0] }
|
|
34
|
+
};
|
|
35
|
+
}
|
|
29
36
|
dnsRecord() {
|
|
30
37
|
const { org, domain, fernOrg } = this.opts;
|
|
31
38
|
if (!domain) return null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/holocron-plugin-fern",
|
|
3
|
-
"version": "3.45.
|
|
3
|
+
"version": "3.45.2",
|
|
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": "^7.
|
|
34
|
-
"@theholocron/tsconfig": "^7.
|
|
35
|
-
"@theholocron/tsdown-config": "^7.
|
|
36
|
-
"@theholocron/vitest-config": "^7.
|
|
33
|
+
"@theholocron/eslint-config": "^7.29.0",
|
|
34
|
+
"@theholocron/tsconfig": "^7.29.0",
|
|
35
|
+
"@theholocron/tsdown-config": "^7.29.0",
|
|
36
|
+
"@theholocron/vitest-config": "^7.29.0",
|
|
37
37
|
"@types/node": "^26",
|
|
38
38
|
"@vitest/coverage-v8": "^4.1.10",
|
|
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.10",
|
|
47
|
-
"@theholocron/cli": "3.45.
|
|
47
|
+
"@theholocron/cli": "3.45.2"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@theholocron/cli": "3.45.
|
|
50
|
+
"@theholocron/cli": "3.45.2"
|
|
51
51
|
},
|
|
52
52
|
"engines": {
|
|
53
53
|
"node": ">=22"
|