feat: distribution layer — SDK, React, migrations, deploy infra (no CI/CD)
- @settlekit/sdk: typed fetch HTTP client over the REST API; one resource
client per /v1 resource (products, checkout, payments, entitlements,
licenseKeys, apiKeys, bundles, github, discord, saas, escrow, agentServices…),
AbortController timeouts, idempotency keys, SettleKitApiError envelope mapping.
- @settlekit/react: SettleKitProvider, useEntitlement/useCheckout/useCredits
hooks, <Paywall> + <UpgradeButton> (React 18, plan §4).
- database: drizzle.config.ts + generated drizzle/0000_init.sql (48 tables,
indexes, FKs) + db:generate/migrate/push/studio scripts.
- infra: README, ARCHITECTURE, CONTRIBUTING, .env.example, .dockerignore,
docker-compose.yml, per-app Dockerfiles + Dockerfile.next, Makefile.
No tests. No CI/CD pipelines.
2026-06-15 11:02:39 +03:00
|
|
|
{
|
|
|
|
|
"extends": "../../tsconfig.base.json",
|
|
|
|
|
"compilerOptions": {
|
|
|
|
|
"rootDir": "./src",
|
|
|
|
|
"outDir": "./dist",
|
|
|
|
|
"composite": true,
|
|
|
|
|
"jsx": "react-jsx",
|
|
|
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"]
|
|
|
|
|
},
|
|
|
|
|
"references": [{ "path": "../common" }],
|
|
|
|
|
"include": ["src/**/*"],
|
|
|
|
|
"exclude": ["dist", "node_modules"]
|
|
|
|
|
}
|