mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-15 14:22:43 +00:00
feat(desktop): ts-ify everything
This commit is contained in:
parent
fac85518fc
commit
39d09453f9
116 changed files with 2500 additions and 1756 deletions
11
apps/desktop/scripts/assert-root-install.mjs
Normal file
11
apps/desktop/scripts/assert-root-install.mjs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import { accessSync } from "fs"
|
||||
import { resolve, join } from "path"
|
||||
|
||||
const root = resolve(import.meta.dirname, "..", "..", "..")
|
||||
|
||||
try {
|
||||
accessSync(join(root, "node_modules", "vite", "package.json"))
|
||||
} catch {
|
||||
console.error(`Run from repo root: cd ${root} && npm ci`)
|
||||
process.exit(1)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue