RezinaLMS-CustomerEnd/package.json
n3p-tun3 ff5772e9cf build: Vercel builds against the real API by default
- new `app:build` script bakes NEXT_PUBLIC_LMS_API=https://api.rezina.yaltopia.com into
  the student app; the URL lives in package.json, so nobody sets it by hand
- vercel.json runs `app:build`, so a deploy of this branch talks to the API with no
  dashboard settings
- `demo:build` (the hosted artifact demo) is unchanged and keeps demo data: its sandbox
  blocks calls to outside servers (artifact check: no network attempts)
- README: Vercel section updated, including how to build the old in-memory demo
2026-11-02 20:53:55 +03:00

14 lines
613 B
JSON

{
"name": "makeup-lms",
"private": true,
"packageManager": "pnpm@9.15.9",
"scripts": {
"app:build": "NEXT_PUBLIC_LMS_API=https://api.rezina.yaltopia.com pnpm --filter demo build",
"demo:build": "pnpm --filter demo build && node tools/artifact-inline.mjs apps/demo/out dist/demo.html && node tools/artifact-check.mjs dist/demo.html",
"test": "node packages/features/src/domain.check.ts && node packages/data/src/api.check.ts",
"typecheck": "pnpm -r exec tsc --noEmit",
"i18n:check": "node tools/i18n-check.mjs"
},
"devDependencies": { "jsdom": "^26.1.0", "typescript": "^5.6.0" }
}