This is the public monorepo for Sawala Cloud's TypeScript SDK family. Every @sawala/* package on npm is built from one of the workspaces under packages/.
| Package | npm | Description |
|---|---|---|
@sawala/formulir-react |
React components and headless hooks for embedding Sawala Formulir forms. | |
@sawala/kontena-client |
Framework-agnostic client for the Kontena public read API — Sawala's headless CMS. | |
@sawala/datana-client |
Framework-agnostic client for the Datana public read API — Sawala's structured-data platform. |
More packages will appear here as they ship.
Pick the package you need and install it directly. Each package is independently versioned via Changesets; their versions are unrelated to one another.
npm install @sawala/formulir-reactEach package's own README has its quickstart, API reference, and per-framework examples.
sdk-typescript/
packages/
formulir-react/ # @sawala/formulir-react
kontena-client/ # @sawala/kontena-client
datana-client/ # @sawala/datana-client
...future packages
.changeset/ # per-package independent versioning
.github/workflows/ # shared CI + release pipeline
tsconfig.base.json # shared TypeScript base; each package extends this
eslint.config.js # shared lint config
package.json # workspaces: ["packages/*"]
This repo is open for community contributions. Bugs, ideas, and PRs are welcome via the issue tracker.
Local development:
nvm use # picks up Node version from .nvmrc
npm ci
npm run build
npm testEvery PR that changes published code must include a changeset:
npx changesetThe interactive prompt picks the affected package(s) and the semver bump. Commit the resulting .changeset/*.md file with your change. On merge to main, the release workflow opens a "Version Packages" PR; merging that PR publishes the affected packages to npm.
MIT. See LICENSE.