- apps/web: public marketing site (Next.js) — hero/§34, what-you-can-sell grid, how-it-works, dev tools, marketplace teaser, /pricing (§32 tiers), /use-cases (§29). - apps/portal: customer portal (Next.js, §31) — per-customer overview, purchases/ receipts, license keys, api keys, github/discord access (+re-check), subscriptions, downloads; anchored on the universal entitlements layer. - packages/coupons: real discount engine (percent/amount/free-trial, window, expiry, max + per-customer redemptions, min-subtotal, product scoping), bigint USDC math, CouponStore + service. - packages/invoices: real invoicing (line items, discount, @settlekit/tax, statuses, HTML/text render), fixed float bug, InvoiceStore + service. - apps/api: /v1/coupons + /v1/invoices routes wired into context + app. - apps/dashboard: Coupons + Invoices pages + nav + client methods. All package + backend builds 0 TS errors; web/portal/dashboard typecheck clean; 590 tests pass (two redesigned coupon/invoice tests updated to the new API).
25 lines
592 B
JSON
25 lines
592 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"lib": ["dom", "dom.iterable", "ES2022"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve",
|
|
"incremental": true,
|
|
"plugins": [{ "name": "next" }],
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["./*"]
|
|
}
|
|
},
|
|
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
|
"exclude": ["node_modules"]
|
|
}
|