Simplify monorepo setup

Remove concurrently and unused root dependencies. Update postinstall
script to install dependencies directly within sub-packages.

Add a check for process.stdin in the server REPL to prevent errors
when run without an available input stream.
This commit is contained in:
SrGooglo 2025-05-12 18:07:50 +00:00
parent 16e0b52a48
commit 955a22cd64
2 changed files with 9 additions and 12 deletions

View File

@ -3,20 +3,10 @@
"license": "ComtyLicense",
"private": true,
"scripts": {
"dev": "concurrently -k \"yarn dev:client\" \"yarn dev:server\"",
"dev": "npm run dev:client & npm run dev:server",
"dev:server": "cd packages/server && npm run dev",
"dev:client": "cd packages/app && npm run dev",
"postinstall": "node ./scripts/post-install.js"
},
"dependencies": {
"7zip-min": "1.4.3",
"@ragestudio/hermes": "^1.0.0",
"axios": "^1.4.0",
"concurrently": "^7.5.0",
"dotenv": "16.0.3",
"form-data": "^4.0.0",
"mintlify": "^4.0.206",
"octokit": "^2.0.14"
"postinstall": "cd packages/app && npm install && cd ../server && npm install"
},
"_web_app_path": "packages/app"
}

View File

@ -5,6 +5,13 @@ export default class RELP {
}
initCommandLine() {
if (!process.stdin) {
console.error(
"Failed to initialize command line: stdin is not available",
)
return null
}
// Configure line-by-line input mode
process.stdin.setEncoding("utf8")
process.stdin.resume()