Skip to content

Commit e324bd5

Browse files
committed
stub out command to rebuild
1 parent d6f1fd6 commit e324bd5

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

docs-viewer/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"src"
99
],
1010
"bin": {
11-
"preview-api-docs": "./src/preview-docs.ts"
11+
"preview-api-docs": "./src/preview-docs.ts",
12+
"rebuild-api-docs": "./src/rebuild-docs.ts"
1213
},
1314
"dependencies": {
1415
"@types/bun": "^1.2.4",

docs-viewer/src/rebuild-docs.ts

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#! /usr/bin/env bun
2+
3+
/**
4+
* Rebuilds the data used by the docs viewer app
5+
*/
6+
7+
async function main();
8+
9+
main();

0 commit comments

Comments
 (0)