mirror of
https://github.com/bdnugget/rs-sdk.git
synced 2026-11-07 09:07:30 +00:00
Rebased rs-sdk local mods onto LostCityRS/Engine-TS origin/274 tip 4c0d036f: - feat: Apply @bla@ to @str@, preserve colors across text lines - fix: Retreat logic, vertical auto-sizing/centering, hide-controls hotkey - chore: Updated dependencies (ejs 5, eslint 10, kysely 0.29, ...) - chore: Replaced bcrypt with bcrypt-ts - chore: Back to node as the primary runtime (tsx scripts, node:sqlite) Conflict resolutions / re-applied mods: - package.json: kept bun-based scripts (Docker runs oven/bun) + hiscores script + rsmod-pathfinder github fork dep + @types/bun; took upstream's updated dependency set (bcrypt-ts, ejs 5, etc.); regenerated bun.lock - src/web.ts: kept our 3-line shim re-exporting the modular src/web/ split - view/client.ejs: took upstream auto-sizing markup, kept selected=auto, favicon switching, footer links, cachebust import - public/client/*.js: kept deleted (bundles built in-image, not committed) - NEW MOD src/db/query.ts: runtime sqlite chooser — Bun lacks node:sqlite, so restore BunSqliteDialect (kysely-bun-sqlite) under Bun, use upstream's NodeSqliteDialect under node. Required for bun runtime at all (local AND Docker); verified engine boots to 'World ready' on bun 1.3.14. Note: local bun upgraded 1.2.19 -> 1.3.14 to match prod image. Typecheck clean. Vendor branch: ../repos/engine vendor-274. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
28 lines
731 B
JSON
28 lines
731 B
JSON
{
|
|
"compilerOptions": {
|
|
"rootDir": ".",
|
|
"outDir": "out",
|
|
"target": "ESNext",
|
|
"lib": ["ESNext", "WebWorker"],
|
|
"module": "NodeNext",
|
|
"moduleResolution": "NodeNext",
|
|
"paths": {
|
|
"#3rdparty/*": ["./src/3rdparty/*"],
|
|
"#/*": ["./src/*"],
|
|
"#tools/*": ["./tools/*"]
|
|
},
|
|
"types": ["node"],
|
|
"typeRoots": ["node_modules", "node_modules/@types"],
|
|
"sourceMap": true,
|
|
"allowJs": true,
|
|
"checkJs": false,
|
|
"strict": true,
|
|
"alwaysStrict": true,
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"allowUnreachableCode": true
|
|
},
|
|
"include": ["src/**/*.ts", "src/**/*.js", "tools/**/*.ts", "tools/**/*.js"],
|
|
"exclude": ["node_modules", "<node_internals>/**"]
|
|
}
|