Monorepo for the Aziface Web SDK (@azify/aziface-web) and reference demo applications.
| Path | Description |
|---|---|
packages/aziface |
Publishable SDK β biometric flows for React (enroll, authenticate, liveness, document scan) |
apps/nextapp |
Next.js demo app |
apps/viteapp |
Vite + React demo app |
SDK documentation (installation, API, types): packages/aziface/README.md
- Node.js 22+
- npm 10+
- FaceTec static assets served from your app (see Static assets in the SDK docs)
git clone https://github.com/azifydev/aziface-web.git
cd aziface-web
npm ci| Command | Description |
|---|---|
npm run dev |
Start all workspaces that expose a dev script |
npm run next:dev |
Next.js demo at http://localhost:3000 |
npm run vite:dev |
Vite demo at http://localhost:5173 |
npm run build |
Build all workspaces |
npm run next:build |
Build Next.js demo only |
npm run vite:build |
Build Vite demo only |
npm run clean |
Remove build artifacts |
npm run build -w @azify/aziface-web
npm run dev -w @azify/aziface-web # watch mode (tsup)When developing the SDK alongside a demo app, link the local package or bump the workspace dependency in the app package.json.
aziface-web/
βββ packages/aziface/ # @azify/aziface-web (npm package)
βββ apps/nextapp/ # Next.js reference implementation
βββ apps/viteapp/ # Vite reference implementation
βββ .github/workflows/ # CI and release pipelines
βββ .releaserc.js # semantic-release configuration
- Branch from
main - Follow Conventional Commits β PR titles are validated in CI
- Fill in
.github/PULL_REQUEST_TEMPLATE.md - Test changes in NextApp, ViteApp, and/or the SDK package as applicable
Commit β release mapping (configured in .releaserc.js):
| Commit type | Version bump |
|---|---|
feat, chore |
minor |
fix, perf, style |
patch |
BREAKING CHANGE in body |
major (default analyzer behavior) |
On every pull request to main:
- Semantic PR title check
npm ci+npm run buildacross workspaces
Releases are automated with semantic-release when commits are pushed to main.
Flow:
- Build
@azify/aziface-web - Analyze commits since the last git tag
- Publish to npm
- Create GitHub release and tag (
vX.Y.Z) - Commit
package.json+CHANGELOG.mdwith[skip ci]
Manual release (maintainers):
npm run releaseRequires GH_TOKEN and NPM_TOKEN with publish access to the @azify scope.
| Secret | Purpose |
|---|---|
GH_TOKEN_V2 |
Push release commits, create GitHub releases |
NPM_TOKEN_V2 |
Publish @azify/aziface-web to npm (Automation token with Read and Write on @azify) |
AZIFACE_ASSETS_URL |
FaceTec assets (CI/internal use) |
MIT β see LICENSE if present, or package metadata.