# Release

## Local Tarball Flow

Use this flow while the package is still being tested locally:

```powershell
cd D:\new_work\ccpc-cad-viewer
npm install --legacy-peer-deps
npm run pack:local
```

Install the generated tarball in the host app:

```powershell
cd D:\work\modelcollab
npm install D:\new_work\ccpc-cad-viewer\ccpc-cad-viewer-0.1.0.tgz --legacy-peer-deps
```

Then verify the host app:

```powershell
npm run build-only
```

## Versioning

- `0.1.x`: local validation and API discovery.
- `0.2.x`: host integration hardening and added options.
- `1.0.0`: stable component API.

When upgrading `@mlightcad/cad-viewer`, update the related `@mlightcad/*` packages together, run `npm run pack:local`, and re-test the host route.
