# Before you publish `@x12i/activix`

## `package.json`

- **`name`**: `@x12i/activix`
- **`version`**: semver bump
- **`repository`**, **`publishConfig.registry`**: npmjs.org + GitHub repo URL
- **`files`**: includes `dist`, `dist-cjs`, `README.md`, **`LICENSE`**, `.env.example` (do **not** publish `.tests-out/`, `src/`, or `.docs/` unless you want them in the tarball)

## Pre-publish build

`prepublishOnly` runs `npm run build`. Confirm locally:

```bash
npm run build
npm pack --dry-run
```

Inspect the tarball contents.

## Auth for `npm publish`

Use an npm auth token that can publish under `@x12i` (and meets your org’s 2FA policy). `.npmrc` should target `https://registry.npmjs.org/`.

## Consumers

They need npm auth for **private** deps like `@x12i/xronox-store`. Document it in the main `README.md`.

## Optional: ship `.docs` in repo only

Keep `.docs/` in Git for contributors; exclude from npm `files` unless you want it inside the published package.
