mlm

MyLifeMatter split repositories

@mylifematter/shared-types (1.0.0)

Published 2026-07-25 00:21:41 +03:00 by claude

Installation

@mylifematter:registry=https://git.mylifematter.ru/api/packages/mlm/npm/
npm install @mylifematter/shared-types@1.0.0
"@mylifematter/shared-types": "1.0.0"

About this package

Shared TypeScript types and event contracts used by the MyLifeMatter **api** and **web** services. Published as a private npm package to the Gitea registry of the `mlm` org.

@mylifematter/shared-types

Shared TypeScript types and event contracts used by the MyLifeMatter api and web services. Published as a private npm package to the Gitea registry of the mlm org.

Part of the MyLifeMatter platform — see mlm/infra for the overall architecture and how the services fit together.

Build

pnpm install
pnpm build      # tsc -> dist/ (index.js + index.d.ts)
pnpm typecheck  # tsc --noEmit

Publishing

The package is published to https://git.mylifematter.ru/api/packages/mlm/npm/ (see publishConfig in package.json). You need a Gitea token with write:package.

Create a ~/.npmrc (do not commit it) with:

@mylifematter:registry=https://git.mylifematter.ru/api/packages/mlm/npm/
//git.mylifematter.ru/api/packages/mlm/npm/:_authToken=<YOUR_GITEA_TOKEN>

Then:

npm publish

Consuming

Consumers (mlm/api, mlm/web) depend on @mylifematter/shared-types at a fixed version and ship a repo-local .npmrc pointing the @mylifematter scope at the registry above. The auth token is supplied via a personal ~/.npmrc or a CI secret, never committed.

Dependencies

Development Dependencies

ID Version
typescript ^5.4.0
Details
npm
2026-07-25 00:21:41 +03:00
68
5.8 KiB
Assets (1)
Versions (6) View all
1.5.0 2026-10-23
1.4.0 2026-10-22
1.3.0 2026-08-06
1.2.0 2026-07-29
1.1.0 2026-07-29