2026-10-02 14:19:11 +00:00
|
|
|
{
|
|
|
|
|
"name": "@lumina/market",
|
|
|
|
|
"version": "0.0.1",
|
|
|
|
|
"private": true,
|
2026-11-01 21:09:08 +00:00
|
|
|
"scripts": {
|
|
|
|
|
"test": "vitest run --config ../../vitest.config.ts"
|
|
|
|
|
},
|
2026-10-02 14:19:11 +00:00
|
|
|
"type": "module",
|
|
|
|
|
"sideEffects": false,
|
|
|
|
|
"exports": {
|
|
|
|
|
".": "./src/index.ts",
|
|
|
|
|
"./server": "./src/server.ts",
|
|
|
|
|
"./app/*/server": "./src/app/*/server.ts",
|
|
|
|
|
"./app/*": "./src/app/*/index.ts",
|
|
|
|
|
"./features/*/caches": "./src/features/*/caches/server.ts",
|
|
|
|
|
"./features/*": "./src/features/*/index.ts",
|
|
|
|
|
"./stores/*": "./src/stores/*/index.ts",
|
feat(market): app foundation, session handling and feature data layer
Foundation
- AppShell: query client, i18n, connection bar (NetworkBoundary), toast region,
and reactions to sign-in and sign-out
- error boundaries: ErrorFallback, PartBoundary (catchError), StatusEmptyState,
readOnServer
- typed ROUTES, platform env (API origin, support config), Persian locales
(common, errors) with typed i18next keys
- mapApiErrorBody adapts the gateway's error envelope; shared utils for E.164
phones, API URLs and field-error renames
- session: refreshSessionInProxy renews an expired cookie session before render
- guards: requireAccount, redirectIfSignedIn, requireRole
Data layer (entities, repositories with mappers, query keys, server caches)
- auth (with login, logout and registration actions), profile, channel, follow,
notification, post, prediction, feed, pricing, checkout, subscription,
transaction, overview, finance
- shared domain enums live in shared/constants
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 17:33:07 +00:00
|
|
|
"./env": "./src/env/index.ts",
|
2026-10-02 14:19:11 +00:00
|
|
|
"./shared/locales/*": "./src/shared/locales/*",
|
|
|
|
|
"./shared/*": "./src/shared/*/index.ts",
|
|
|
|
|
"./package.json": "./package.json"
|
|
|
|
|
},
|
|
|
|
|
"nx": {
|
|
|
|
|
"name": "market",
|
|
|
|
|
"tags": [
|
|
|
|
|
"type:platform",
|
|
|
|
|
"scope:market"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"@lumina/integrations": "workspace:*",
|
|
|
|
|
"@lumina/island": "workspace:*",
|
|
|
|
|
"@lumina/libs": "workspace:*",
|
|
|
|
|
"@lumina/tools": "workspace:*"
|
|
|
|
|
}
|
|
|
|
|
}
|