octant icon indicating copy to clipboard operation
octant copied to clipboard

Generate an import shortcut for TypeScript components

Open wwitzel3 opened this issue 5 years ago • 1 comments
trafficstars

Describe the problem/challenge you have Currently when using the TypeScript components generated from the Octant source, each component must be imported from its full file path.

Describe the solution you'd like Create an import shortcut for the components that get output, components.d.ts when generating the TypeScript files.

Example contents

export { PodStatusConfig } from "./components/pod-status";
...

Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]

Environment:

  • Octant version (use octant version):
  • Kubernetes version (use kubectl version):
  • OS (macOS 10.15, Windows 10, Ubuntu 19.10 etc):

wwitzel3 avatar Oct 01 '20 11:10 wwitzel3

xref https://github.com/vmware-tanzu/plugin-library-for-octant/pull/29

GuessWhoSamFoo avatar Aug 17 '21 16:08 GuessWhoSamFoo