Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
2.6 kB · 55 lines
JSON
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ "name": "session-server", "version": "1.0.0", "description": "A per session-backend implementation for aesthetic.computer.", "main": "session.mjs", "type": "module", "engines": { "node": ">=24.18.1 <25" }, "scripts": { "start": "node session.mjs", "start-do": "PORT=80 node session.mjs", "dev": "kill-port 8889; PORT=8889 NODE_ENV=development TURN_HOST=192.168.1.127 nodemon -I --watch session.mjs --watch chat-manager.mjs session.mjs; env nogreet=true fish", "test": "node --experimental-vm-modules node_modules/vitest/vitest.mjs run", "test:watch": "node --experimental-vm-modules node_modules/vitest/vitest.mjs", "create": "npx jamsocket service create session-server", "build": "echo Built 😄", "build:jamsocket": "cp ../shared/filter.mjs filter.mjs; docker build --platform linux/amd64 --tag session-server-image .", "deploy": "jamsocket push session-server session-server-image", "spawn": "jamsocket spawn session-server", "spawn-token": "jamsocket spawn-token create session-server", "list": "jamsocket backend list", "logs": "f() { jamsocket logs $1; };f" }, "author": "Jeffrey Alan Scudder", "comment:pins": "geoip-lite stays on 1.x: 2.x requires Node >=24 and the Dockerfile runs node:lts-iron (Node 20). ws floors at 8.21.0, the fix for the memory-exhaustion advisory; 8.21.1 was too new to trust when this pin was written and has since cleared .npmrc min-release-age, so the lock now resolves it. redis 6 and mongodb 7 both need Node >=20.19, which Iron satisfies.", "dependencies": { "@geckos.io/server": "^3.1.0", "chokidar": "^5.0.0", "dotenv": "^17.4.2", "fastify": "^5.10.0", "geoip-lite": "^1.4.10", "mongodb": "^7.5.0", "node-fetch": "^3.3.2", "obscenity": "^0.4.6", "redis": "^6.1.0", "ws": "^8.21.0" }, "devDependencies": { "@geckos.io/client": "^3.1.0", "jamsocket": "^0.10.8", "kill-port": "^2.0.1", "nodemon": "^3.1.14", "terminal-kit": "^3.1.3", "vitest": "^4.1.10" }, "comment:overrides": "Transitive advisories with no direct dependency to bump. lodash and minimatch@3 both arrive under geoip-lite@1, whose own 2.x needs Node >=24 while the Dockerfile runs node:lts-iron (Node 20) — so we patch the grandchildren instead of moving the base image. minimatch is scoped to glob, which wants ^3; forcing 3.x globally would break anything on 9.x/10.x.", "overrides": { "lodash": "^4.18.1", "fast-uri": "^3.1.3", "glob": { "minimatch": "^3.1.5" } }}