Skip to content

Commit 413fcaf

Browse files
author
dave horner
committed
feat(latest_node): update clean commands to use rimraf and change dev script in agor-daemon, update node-pty dependency and bump node version requirement across packages
1 parent 6373a6a commit 413fcaf

File tree

6 files changed

+15
-10
lines changed

6 files changed

+15
-10
lines changed

apps/agor-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"scripts": {
1010
"build": "tsup",
1111
"dev": "cross-env NODE_NO_WARNINGS=1 tsx bin/dev.ts",
12-
"clean": "rm -rf dist",
12+
"clean": "rimraf dist",
1313
"typecheck": "tsc --noEmit"
1414
},
1515
"dependencies": {

apps/agor-daemon/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,17 @@
66
"main": "./dist/index.js",
77
"scripts": {
88
"build": "tsup",
9-
"dev": "concurrently -k -n core,daemon -c cyan,green \"pnpm --filter @agor/core dev\" \"cross-env-shell .\\node_modules\\.bin\\tsx watch --clear-screen=false --ignore 'node_modules/**' src/index.ts\"",
9+
"dev": "concurrently -k -n core,daemon -c cyan,green \"pnpm --filter @agor/core dev\" \"nodemon --watch dist --ext js --exec node dist/src/index.js\"",
1010
"dev:daemon-only": "tsx watch --clear-screen=false --ignore 'node_modules/**' src/index.ts",
1111
"start": "node dist/index.js",
12-
"clean": "rm -rf dist",
12+
"clean": "rimraf dist",
1313
"typecheck": "tsc --noEmit",
1414
"test": "vitest run",
1515
"test:watch": "vitest"
1616
},
1717
"dependencies": {
1818
"@agor/core": "workspace:*",
1919
"@feathersjs/schema": "^5.0.37",
20-
"@homebridge/node-pty-prebuilt-multiarch": "^0.13.1",
2120
"compression": "^1.8.1",
2221
"cors": "^2.8.5",
2322
"cron-parser": "^5.4.0",
@@ -27,6 +26,7 @@
2726
"feathers-swagger": "^3.0.0",
2827
"handlebars": "^4.7.8",
2928
"jsonwebtoken": "^9.0.2",
29+
"node-pty": "^1.0.0",
3030
"socket.io": "^4.8.1",
3131
"swagger-ui-dist": "^5.30.0"
3232
},
@@ -40,6 +40,7 @@
4040
"@types/node": "^22.10.2",
4141
"concurrently": "^9.2.1",
4242
"glob": "^11.0.3",
43+
"nodemon": "^3.1.11",
4344
"tsup": "^8.3.5",
4445
"tsx": "^4.19.2",
4546
"typescript": "^5.9.3",

apps/agor-daemon/src/services/terminals.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import { resolveUserEnvironment } from '@agor/core/config';
1818
import { type Database, WorktreeRepository } from '@agor/core/db';
1919
import type { Application } from '@agor/core/feathers';
2020
import type { UserID, WorktreeID } from '@agor/core/types';
21-
import type { IPty } from '@homebridge/node-pty-prebuilt-multiarch';
22-
import * as pty from '@homebridge/node-pty-prebuilt-multiarch';
21+
import type { IPty } from 'node-pty';
22+
import * as pty from 'node-pty';
2323

2424
interface TerminalSession {
2525
terminalId: string;

apps/agor-ui/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"@types/react-dom": "^18.3.7",
5353
"@vitejs/plugin-react": "^5.0.4",
5454
"jsdom": "^27.0.0",
55+
"nodemon": "^3.1.11",
5556
"storybook": "^9.1.10",
5657
"typescript": "~5.9.3",
5758
"vite": "^7.1.11",

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,15 @@
2727
"typecheck": "turbo run typecheck",
2828
"check": "pnpm typecheck && pnpm lint && pnpm build",
2929
"check:fix": "pnpm lint:fix && pnpm typecheck && pnpm build",
30-
"clean": "turbo run clean && rm -rf node_modules",
30+
"clean": "turbo run clean && rimraf node_modules",
3131
"prepare": "husky",
3232
"cli:link": "pnpm -C apps/agor-cli link --global",
3333
"cli:unlink": "pnpm -C apps/agor-cli unlink --global",
3434
"agor": "cross-env NODE_NO_WARNINGS=1 pnpm --filter @agor/cli exec tsx bin/dev.ts",
3535
"seed": "tsx scripts/seed.ts"
3636
},
3737
"devDependencies": {
38+
"rimraf": "^5.0.5",
3839
"@biomejs/biome": "^2.2.6",
3940
"@google-analytics/admin": "^9.0.1",
4041
"cross-env": "^10.1.0",
@@ -48,7 +49,7 @@
4849
},
4950
"packageManager": "[email protected]",
5051
"engines": {
51-
"node": ">=20.0.0 <21.0.0",
52+
"node": ">=20.0.0 <26.0.0",
5253
"pnpm": ">=9.0.0"
5354
},
5455
"pnpm": {
@@ -57,5 +58,8 @@
5758
"glob": "^11.1.0",
5859
"npm-run-path": "^5.3.0"
5960
}
61+
},
62+
"dependencies": {
63+
"pnpm": "^10.22.0"
6064
}
6165
}

packages/agor-live/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@agor/core/*": "./dist/core/*"
2323
},
2424
"engines": {
25-
"node": ">=20.0.0 <21.0.0"
25+
"node": ">=20.0.0 <26.0.0"
2626
},
2727
"keywords": [
2828
"ai",
@@ -59,7 +59,6 @@
5959
"@feathersjs/typebox": "^5.0.37",
6060
"@google/gemini-cli-core": "^0.9.0",
6161
"@google/genai": "^1.26.0",
62-
"@homebridge/node-pty-prebuilt-multiarch": "^0.13.1",
6362
"@libsql/client": "^0.15.15",
6463
"@modelcontextprotocol/sdk": "^1.20.2",
6564
"@oclif/core": "^4.6.0",

0 commit comments

Comments
 (0)