@fayz-ai/saas — DEPRECATED
Status: deprecated — do not install this package in new work. Install
@fayz-ai/admininstead:npm install @fayz-ai/admin. This name still resolves only so unmigrated apps keep building:npm install @fayz-ai/saasgets you a re-export and a console warning.
This package was renamed to @fayz-ai/admin in 0.10.0. The name
saas described the business model; the package is the admin surface — the
shell, the CRUD engine, org/billing/permissions — so admin is what it does.
Everything here is a re-export. There is no implementation in this directory.
Migrating
The exported API is identical, so the migration is mechanical:
# 1. imports
grep -rl '@fayz-ai/saas' src | xargs perl -pi -e 's{\@fayz-ai/saas\b}{\@fayz-ai/admin}g'
# 2. dependency
npm pkg delete dependencies.@fayz-ai/saas
npm pkg set dependencies.@fayz-ai/admin=^0.10.0
Subpaths map one-to-one:
| old | new |
|---|---|
@fayz-ai/saas | @fayz-ai/admin |
@fayz-ai/saas/ui | @fayz-ai/admin/ui |
@fayz-ai/saas/db | @fayz-ai/admin/db |
@fayz-ai/saas/org | @fayz-ai/admin/org |
@fayz-ai/saas/billing | @fayz-ai/admin/billing |
@fayz-ai/saas/permissions | @fayz-ai/admin/permissions |
Removal
Per the deprecation policy in packages/sdk/src/deprecations.json (announce in a
minor, remove no earlier than two minors later), this package is published
through 0.10.x and removed in 0.12.0. Importing it logs one warning per
entry point per session.