Reusable libraries for Mentingo: UI and voice building blocks, plus the Luma and self-onboarding API SDKs. Each package is versioned and released independently. UI packages receive transport from their consuming application; the SDKs provide typed service clients.
| Package | Path | Description |
|---|---|---|
@mentingo/voice |
apps/voice |
Voice mentor: microphone capture with Silero VAD, mentor playback and session UI |
@mentingo/luma-sdk |
apps/luma-sdk |
Luma HTTP API, durable course authoring, administration and realtime audio clients |
@mentingo/guide-sdk |
apps/guide-sdk |
Self-onboarding search, chapter lookup and authenticated video publication |
Every publishable package lives in apps/. packages/ holds internal tooling that is never
published, currently @mentingo/typescript-config with the base and react-library presets.
Node.js 20 or newer and pnpm 10 (the exact version is pinned in packageManager).
pnpm install
pnpm typecheck
pnpm test
pnpm build
pnpm formatCommands run through Turborepo for every package; use pnpm --filter <package> <command> to
target one:
pnpm --filter @mentingo/voice test
pnpm --filter @mentingo/luma-sdk typecheck
pnpm --filter @mentingo/luma-sdk test
pnpm --filter @mentingo/luma-sdk build
pnpm --filter @mentingo/luma-sdk generate:clientThe SDK owns its OpenAPI schema and generated client in apps/luma-sdk/src/api/. Regenerate the
client through its script when updating the schema. CI runs format:check, typecheck, test and build on every pull request.
Create apps/<name> with a package.json that:
- uses the appropriate published scope (normally
@mentingo/<name>) with"publishConfig": { "access": "public" }, - lists only build output,
README.mdandLICENSEinfiles, - declares entry points in
exportswith types, - defines
build,typecheckandtestscripts so Turborepo and CI pick them up, - runs
typecheck,testandbuildin aprepackscript, - pins
devDependenciesto exact versions and uses compatible ranges for runtimedependencies, - keeps React and other singletons in
peerDependencies.
Extend @mentingo/typescript-config/react-library.json (or base.json without React), add a
README.md following apps/voice and add the package to the table above.
Versions are managed with Changesets. Every pull
request that changes a published package adds a changeset with pnpm changeset, naming the package,
the bump (patch, minor or major) and a summary for the changelog. Changes that need no release
add one with pnpm changeset add --empty. CI fails on pull requests without a changeset.
To release from an up-to-date main:
pnpm version-packagesThis applies pending changesets, bumps package versions and writes each CHANGELOG.md. Update the
versioned install command in the package README, then merge the result through a pull request
titled chore: release packages. From main after the merge:
pnpm release
git push origin --tagspnpm release publishes every package version that is not on npm yet, running each package's
prepack checks, and tags the commit with its package name and version. Publishing requires access to the @mentingo npm scope.
Branches, commits and pull requests follow the Mentingo
conventions: branches named
[initials]_[type]_[module]_[ticket]_[short_description], Conventional Commits, and pull request
titles such as feat: add voice session controls. Keep code comments for non-obvious constraints
only.
MIT. See LICENSE.