@fern-api/generator-cli 0.5.3 → 0.6.1
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/api.d.ts +418 -341
- package/dist/api.js +22436 -8263
- package/dist/cli.js +28204 -13545
- package/lib/api.js +9 -0
- package/package.json +21 -12
package/lib/api.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { generateReadme, generateReadmeToStream } from "./api/generate-readme.js";
|
|
2
|
+
export { generateReference, generateReferenceToStream } from "./api/generate-reference.js";
|
|
3
|
+
export { githubPr } from "./api/github-pr.js";
|
|
4
|
+
export { githubPush } from "./api/github-push.js";
|
|
5
|
+
export { githubRelease } from "./api/github-release.js";
|
|
6
|
+
export { consolePipelineLogger, formatReplayPrBody, logReplaySummary, PostGenerationPipeline } from "./pipeline/index.js";
|
|
7
|
+
export { formatBootstrapSummary, replayInit } from "./replay/replay-init.js";
|
|
8
|
+
export { replayRun } from "./replay/replay-run.js";
|
|
9
|
+
//# sourceMappingURL=api.js.map
|
package/package.json
CHANGED
|
@@ -1,22 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fern-api/generator-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/fern-api/fern.git",
|
|
7
7
|
"directory": "packages/generator-cli"
|
|
8
8
|
},
|
|
9
9
|
"type": "commonjs",
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"development": "./src/api.ts",
|
|
13
|
+
"source": "./src/api.ts",
|
|
14
|
+
"types": "./lib/api.d.ts",
|
|
15
|
+
"default": "./lib/api.js"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"main": "lib/api.js",
|
|
19
|
+
"source": "src/api.ts",
|
|
20
|
+
"types": "lib/api.d.ts",
|
|
13
21
|
"bin": {
|
|
14
22
|
"generator-cli": "bin/cli"
|
|
15
23
|
},
|
|
16
24
|
"files": ["bin", "dist"],
|
|
17
25
|
"scripts": {
|
|
18
26
|
"clean": "rm -rf ./lib && rm -rf ./dist && tsc --build --clean",
|
|
19
|
-
"
|
|
27
|
+
"compile": "tsc --build",
|
|
28
|
+
"depcheck": "knip --config ../../knip.json --no-config-hints",
|
|
20
29
|
"dist:cli": "node build.mjs",
|
|
21
30
|
"test": "vitest --run --passWithNoTests --globals --disable-console-intercept",
|
|
22
31
|
"test:update": "vitest -u --run --passWithNoTests --globals --disable-console-intercept"
|
|
@@ -25,18 +34,18 @@
|
|
|
25
34
|
"@fern-api/configs": "workspace:*",
|
|
26
35
|
"@fern-api/fs-utils": "workspace:*",
|
|
27
36
|
"@fern-api/github": "workspace:*",
|
|
37
|
+
"@fern-api/replay": "^0.6.0",
|
|
28
38
|
"@octokit/rest": "^20.1.2",
|
|
29
39
|
"@types/jest": "^29.5.11",
|
|
30
40
|
"@types/node": "^22.0.0",
|
|
31
41
|
"@types/yargs": "^17.0.32",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"esbuild": "^0.25.0",
|
|
42
|
+
"es-toolkit": "catalog:",
|
|
43
|
+
"esbuild": "catalog:",
|
|
35
44
|
"execa": "^9.5.1",
|
|
36
|
-
"tmp-promise": "
|
|
37
|
-
"tsup": "
|
|
38
|
-
"typescript": "
|
|
39
|
-
"vitest": "
|
|
45
|
+
"tmp-promise": "catalog:",
|
|
46
|
+
"tsup": "catalog:",
|
|
47
|
+
"typescript": "catalog:",
|
|
48
|
+
"vitest": "catalog:",
|
|
40
49
|
"yargs": "^17.4.1"
|
|
41
50
|
}
|
|
42
51
|
}
|