Fix building docs and verify:docs workflow (#7013)

* Fix building docs and verify:docs workflow

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix commands

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2023-01-25 13:59:21 -05:00
1 parent 2afc62c296
commit 20c0fd912f
20 files changed
+87 -79

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@
},
"scripts": {
"build": "yarn run webpack --config webpack/extensions.ts",
"build-docs": "yarn run typedoc",
"build:docs": "yarn run typedoc",
"clean": "rm -rf dist/",
"prepare:dev": "yarn run build"
},
+4 -12
View File
@@ -3,16 +3,8 @@
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import { extensionApi as main } from "@k8slens/core/main";
import { extensionApi as renderer } from "@k8slens/core/renderer";
import { extensionApi as common } from "@k8slens/core/common";
import { extensionApi as Main } from "@k8slens/core/main";
import { extensionApi as Renderer } from "@k8slens/core/renderer";
import { extensionApi as Common } from "@k8slens/core/common";
const Main = { ... main } as typeof main;
const Renderer = { ...renderer } as typeof renderer;
const Common = { ... common } as typeof common;
export {
Main,
Renderer,
Common,
};
export { Main, Renderer, Common };
+1 -3
View File
@@ -4,11 +4,9 @@
"out": "../../docs/extensions/api",
"excludePrivate": true,
"entryPointStrategy": "expand",
"excludeExternals": true,
"entryPoints": [
"src/extension-api.ts",
"../core/src/common/library.ts",
"../core/src/main/library.ts",
"../core/src/renderer/library.ts"
],
"hideBreadcrumbs": true,
"disableSources": true,