@theholocron/holocron-plugin-fern 5.0.0-alpha.145 → 5.0.0-alpha.147
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 +3 -2
- package/package.json +6 -3
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
2
2
|
import { join } from "node:path";
|
|
3
|
+
import { stringifyJson } from "@theholocron/json-utils";
|
|
3
4
|
import { AuthError, createResolveToken } from "@theholocron/cli";
|
|
4
5
|
//#region src/capabilities/wiki.ts
|
|
5
6
|
const FERN_VERSION = "5.114.1";
|
|
@@ -52,10 +53,10 @@ async function writeFernConfig({ repoRoot, fernOrg }) {
|
|
|
52
53
|
const fernDir = join(repoRoot, "fern");
|
|
53
54
|
await mkdir(fernDir, { recursive: true });
|
|
54
55
|
const org = fernOrg ?? "holocron";
|
|
55
|
-
const content =
|
|
56
|
+
const content = stringifyJson({
|
|
56
57
|
organization: org,
|
|
57
58
|
version: FERN_VERSION
|
|
58
|
-
}
|
|
59
|
+
});
|
|
59
60
|
await writeFile(join(fernDir, "fern.config.json"), content, "utf8");
|
|
60
61
|
return `fern.config.json: org=${org}, version=${FERN_VERSION}`;
|
|
61
62
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/holocron-plugin-fern",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.147",
|
|
4
4
|
"description": "Holocron plugin for Fern. Implements the wiki capability for engineering knowledge publishing.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fern",
|
|
@@ -29,6 +29,9 @@
|
|
|
29
29
|
"files": [
|
|
30
30
|
"dist"
|
|
31
31
|
],
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@theholocron/json-utils": "^1.10.0"
|
|
34
|
+
},
|
|
32
35
|
"devDependencies": {
|
|
33
36
|
"@theholocron/eslint-config": "^8.7.1",
|
|
34
37
|
"@theholocron/tsconfig": "^8.7.1",
|
|
@@ -44,10 +47,10 @@
|
|
|
44
47
|
"tsx": "4.23.12",
|
|
45
48
|
"typescript": "^5.9.3",
|
|
46
49
|
"vitest": "^4.1.11",
|
|
47
|
-
"@theholocron/cli": "5.0.0-alpha.
|
|
50
|
+
"@theholocron/cli": "5.0.0-alpha.147"
|
|
48
51
|
},
|
|
49
52
|
"peerDependencies": {
|
|
50
|
-
"@theholocron/cli": "5.0.0-alpha.
|
|
53
|
+
"@theholocron/cli": "5.0.0-alpha.147"
|
|
51
54
|
},
|
|
52
55
|
"engines": {
|
|
53
56
|
"node": ">=22"
|