src/platform/kbn-ui/chrome-layout/packaging/README.md
This directory contains the build infrastructure that produces a self-contained
@kbn/ui-chrome-layout tarball for use outside of Kibana (e.g. Cloud UI).
./scripts/build.sh
Output lands in ../target/:
index.js — bundled CommonJS moduleindex.d.ts — TypeScript declarationsmetadata.json — build metadata (name, version, gitSha, timestamp)package.json — installable manifest with peer-dependency declarationskbn-ui-chrome-layout-<version>.tgz — installable tarball@kbn/ui-chrome-layout-constants and @kbn/ui-chrome-layout-utils are aliased
at build time to their pre-built outputs under ../../chrome-layout-constants/target/
and ../../chrome-layout-utils/target/. Run those packages' build.sh first if
their targets are missing (Step 0 of this script does this automatically).
# Build the package first
./scripts/build.sh
# Start the dev server (http://localhost:3000)
cd example && ./start.sh