# @v-office/sdk-core

Shared core SDK for vOffice website-facing packages.

This package owns backend-independent domain contracts, shared parser utilities, runtime wiring, translations, and the v10 adapter implementation used by `@v-office/website-sdk`.

## Development

Install dependencies (once, at the repository root; this package is a workspace member):

```sh
pnpm install
```

Run static checks:

```sh
pnpm check
```

Build distributable output:

```sh
pnpm build
```

`sdks/website` depends on this package through `workspace:*`; `pnpm pack` writes the exact core version into its tarball, so the two release together.

## Publishing

See [docs/internal/releasing/overview.md](../../docs/internal/releasing/overview.md). `node .github/release/cli.mts prepare sdk-core <bump>` bumps core and `website-sdk` (it depends on core at runtime through `workspace:*`; `pnpm pack` writes the exact core version into its tarball) and scaffolds the notes of both; the `Release packages` workflow publishes what is on `main`, core first. Publishing only affects external consumers: the portals (`portals/owner`, `portals/guest`) embed the core of the deployed commit via `workspace:*`, so every core change on `main` reaches them on the next `Build & deploy`, with or without a release.
