mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
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:
1 parent
2afc62c296
commit
20c0fd912f
20 files changed
+87
-79
No files matched your search
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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 };
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user