From 8652faacf43485fa98386d0f291dd1209b4ee74a Mon Sep 17 00:00:00 2001 From: Brace Sproul Date: Wed, 11 Jun 2025 14:31:16 -0700 Subject: [PATCH] fix: Add a postinstall hook to agent so it builds deps (#115) --- apps/open-swe/package.json | 4 +++- yarn.lock | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/open-swe/package.json b/apps/open-swe/package.json index 705ab851..4d7206b5 100644 --- a/apps/open-swe/package.json +++ b/apps/open-swe/package.json @@ -18,7 +18,8 @@ "format:check": "prettier --check .", "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --testPathPattern=\\.test\\.ts$ --testPathIgnorePatterns=\\.int\\.test\\.ts$", "test:int": "node --experimental-vm-modules node_modules/jest/bin/jest.js --testPathPattern=\\.int\\.test\\.ts$", - "test:single": "NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.js --testTimeout 100000" + "test:single": "NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.js --testTimeout 100000", + "postinstall": "turbo build" }, "dependencies": { "@daytonaio/sdk": "^0.18.1", @@ -53,6 +54,7 @@ "jest": "^29.7.0", "prettier": "^3.5.2", "ts-jest": "^29.1.0", + "turbo": "^2.5.0", "typescript": "~5.7.2", "typescript-eslint": "^8.22.0" }, diff --git a/yarn.lock b/yarn.lock index 1fb7a656..0fa31d9e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2267,6 +2267,7 @@ __metadata: langsmith: ^0.3.29 prettier: ^3.5.2 ts-jest: ^29.1.0 + turbo: ^2.5.0 typescript: ~5.7.2 typescript-eslint: ^8.22.0 uuid: ^11.0.5