Skip to content

feat: publish @telivityhaip packages to npm#83

Merged
telivity-otaip merged 1 commit into
mainfrom
feat/publish-packages
Apr 18, 2026
Merged

feat: publish @telivityhaip packages to npm#83
telivity-otaip merged 1 commit into
mainfrom
feat/publish-packages

Conversation

@telivity-otaip
Copy link
Copy Markdown
Collaborator

Summary

Prep work to publish HAIP workspace packages to npm under the `@telivityhaip` scope (the `@haip` scope was unavailable).

Changes

  1. Rename scope `@haip/` → `@telivityhaip/` across all source files, package.json manifests, imports, README, CLAUDE.md, Dockerfile, CI workflow, and tsconfig paths.
  2. Make publishable: remove `private: true` from `packages/shared` and `packages/database`. Add `publishConfig.access: public`, `files`, and `repository` fields.
  3. Keep private: `apps/api`, `apps/dashboard`, `tools/*` (not libraries).
  4. New workflow: `.github/workflows/publish.yml` triggered on GitHub release + manual dispatch. Dry-run then real publish with `NPM_TOKEN`.

Dry-run verified locally

```

  • @telivityhaip/shared@0.0.1 (8 files, 6.6 kB)
  • @telivityhaip/database@0.0.1 (16 files)
    ```

Test plan

  • `pnpm install` — resolves @telivityhaip/* correctly via workspace protocol
  • `pnpm build` green
  • `pnpm typecheck` green
  • `pnpm test` — 575/575
  • `pnpm -r publish --dry-run` — both packages ready

After merge

Dušan triggers the publish via GitHub release or `workflow_dispatch`. Verify with `npm view @telivityhaip/shared`.

🤖 Generated with Claude Code

- Rename @haip/* → @telivityhaip/* across all packages, imports, docs,
  Dockerfile, CI workflow, and tsconfig paths
- Remove private:true from packages/shared and packages/database to enable
  publish; add publishConfig + files + repository fields
- Keep apps/api, apps/dashboard, tools/* private (not libraries)
- Add .github/workflows/publish.yml triggered on release + workflow_dispatch
  (dry-run then publish with NPM_TOKEN)

pnpm publish dry-run verified locally:
- @telivityhaip/shared@0.0.1 (8 files, 6.6 kB)
- @telivityhaip/database@0.0.1 (16 files)

575/575 tests passing, build + typecheck clean.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@telivity-otaip telivity-otaip merged commit c9970ed into main Apr 18, 2026
3 checks passed
@telivity-otaip telivity-otaip deleted the feat/publish-packages branch April 18, 2026 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant