apps: - api: Hono REST server, all §26 endpoints, 14 tests - worker: delivery runner + payment-confirm + access-sync + renewal + webhook-retry jobs wired to real package clients - dashboard: Next.js merchant dashboard, full §16/§27 sections + §28 product builder - checkout: Next.js hosted USDC checkout with real delivery materialization - marketplace: Next.js public marketplace + agent metadata.json route - admin: Next.js risk/ops console wired to @settlekit/risk + database - docs: Next.js docs site (9 static routes) - examples: 5 runnable end-to-end examples fix(x402): support pinned config.nonce so a stateless verifier can confirm the challenge nonce round-trips (default stays random; package tests intact). Full workspace: 590 tests passing (122 files), tsc green for all packages + api/worker/examples, all 5 Next apps typecheck clean, docs next build green.
21 lines
595 B
JavaScript
21 lines
595 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
// The @settlekit/* workspace packages ship as ESM TypeScript-built JS;
|
|
// transpile them so they are bundled with the app's module graph.
|
|
transpilePackages: [
|
|
"@settlekit/common",
|
|
"@settlekit/database",
|
|
"@settlekit/delivery",
|
|
"@settlekit/entitlements",
|
|
"@settlekit/risk",
|
|
"@settlekit/webhooks",
|
|
],
|
|
experimental: {
|
|
// postgres-js is a server-only dependency of @settlekit/database.
|
|
serverComponentsExternalPackages: ["postgres"],
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|