This package bundles the monorepo root `package.json` as an installable package so that any package in the monorepo (or installed inside `node_modules`) can import it without relying on an absolute path to the repository root.

**Key Commands**

```bash
# Build both CJS (index.js) and ESM (index.mjs) outputs
yarn workspace @packages/root build

# Build only CommonJS
yarn workspace @packages/root build:cjs

# Build only ESM
yarn workspace @packages/root build:esm
```

**Architecture**

- `index.ts` — Source that re-exports the root `package.json`
- `rollup.config.mjs` — Rollup config used to produce both CJS and ESM bundles
- `index.js` — Generated CJS bundle (do not edit)
- `index.mjs` — Generated ESM bundle (do not edit)

**Gotchas / Notes**

- There is no file watcher for this package. If the root `package.json` changes you must manually re-run `yarn workspace @packages/root build`.
- Packages using Vite/ESM import `index.mjs`; CommonJS consumers use `index.js`.

**Auto-Generated Files**

- `index.js` and `index.mjs` — Generated by rollup; do not edit by hand.
