mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-16 19:04:08 +03:00
d4c15db2ba
Inside a workspace folder npm treats the folder as its own project and resolves it from the registry, past pnpm-workspace.yaml's overrides and release-age gate; the root preinstall never runs there, and --ignore-scripts skips it at the root. Each workspace folder and the root now carry an .npmrc with engine-strict=true and an engines.npm that no npm satisfies. npm checks engines only when it builds a dependency tree, so install (with --ignore-scripts, --package-lock-only or --force), ci, update, dedupe, uninstall and link fail with EBADENGINE on npm 10 to 12, while npx, npm exec and npm run work. pnpm reads neither. The root refusal needs the root devEngines gone (npm skips root engines while it is set), so this builds on the single-source pnpm pin. The root .npmrc also makes npx strict about engines anywhere in the checkout. npm-shrinkwrap.json joins package-lock.json in .gitignore.
56 lines
1.7 KiB
JSON
56 lines
1.7 KiB
JSON
{
|
|
"name": "@hermes/bootstrap-installer",
|
|
"private": true,
|
|
"engines": {
|
|
"npm": "npm is refused here: run pnpm install --frozen-lockfile at the repository root"
|
|
},
|
|
"version": "0.0.0",
|
|
"description": "Hermes Setup — signed installer that drives scripts/install.ps1 with a polished native UI.",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --host 127.0.0.1 --port 5175",
|
|
"build": "tsc -b && vite build",
|
|
"preview": "vite preview",
|
|
"tauri": "tauri",
|
|
"tauri:dev": "tauri dev",
|
|
"tauri:build": "tauri build",
|
|
"tauri:build:debug": "tauri build --debug",
|
|
"typecheck": "tsc -p . --noEmit",
|
|
"check": "pnpm run typecheck && pnpm run lint",
|
|
"lint": "eslint src/",
|
|
"lint:fix": "eslint src/ --fix",
|
|
"fix": "pnpm run lint:fix"
|
|
},
|
|
"dependencies": {
|
|
"@nanostores/react": "1.1.0",
|
|
"@nous-research/ui": "0.19.1",
|
|
"@tailwindcss/typography": "0.5.20",
|
|
"@tailwindcss/vite": "4.3.3",
|
|
"@tauri-apps/api": "2.12.2",
|
|
"@tauri-apps/plugin-dialog": "2.8.1",
|
|
"@tauri-apps/plugin-opener": "2.7.0",
|
|
"@tauri-apps/plugin-process": "2.4.0",
|
|
"@tauri-apps/plugin-shell": "2.4.1",
|
|
"@vscode/codicons": "0.0.45",
|
|
"class-variance-authority": "0.7.1",
|
|
"clsx": "2.1.1",
|
|
"katex": "0.19.0",
|
|
"lucide-react": "0.577.0",
|
|
"nanostores": "1.4.2",
|
|
"radix-ui": "1.7.0",
|
|
"react": "19.3.0",
|
|
"react-dom": "19.3.0",
|
|
"tailwind-merge": "3.7.0",
|
|
"tailwindcss": "4.3.3",
|
|
"tw-shimmer": "0.4.13"
|
|
},
|
|
"devDependencies": {
|
|
"@tauri-apps/cli": "2.12.1",
|
|
"@types/react": "19.3.0",
|
|
"@types/react-dom": "19.3.0",
|
|
"@vitejs/plugin-react": "6.0.3",
|
|
"typescript": "6.0.3",
|
|
"vite": "8.3.4"
|
|
}
|
|
}
|