# <%= appTitle %> — library monorepo

Generated by `lhx-cli create --template=lib-monorepo` on <%= year %>.

## Layout

```
<%= projectName %>/
├── packages/
│   ├── core/        — primary library
│   └── utils/       — shared utilities
├── .changeset/      — changeset version management
├── pnpm-workspace.yaml
├── tsconfig.base.json
└── package.json     — workspace root
```

## Scripts

```bash
pnpm install            # bootstrap workspace
pnpm dev                # parallel watch across all packages
pnpm build              # sequential build of every package
pnpm typecheck          # tsc --noEmit per package
pnpm lint               # biome check the whole tree
pnpm changeset          # author a new version note
pnpm release            # build + changeset publish
```

## Bundler

Each package was scaffolded with **<%= libBundlerName %>**. Re-scaffold with a
different bundler:

```bash
lhx-cli create my-libs --template=lib-monorepo --features=bundler-rollup,format-esm
```

## Output formats

`<%= libFormatsHumanList %>` (per package). Multi-select: pass any combination
of `format-esm`, `format-cjs`, `format-umd` via `--features`.

## Adding a package

```bash
mkdir packages/new-pkg && cd packages/new-pkg
# Mirror the structure of packages/core. Workspace cross-deps use `workspace:*`.
```

## Resources

- 🐛 https://github.com/juwenzhang/lhx-kit/issues
- 📖 https://juwenzhang.github.io/lhx-kit/
