# why this updates a handful of deps we were behind on & avoids breaking docs # what changed bumped the following deps: - `@langchain/openai` to `^1.4.5` - `@langchain/core` to `^1.1.46` - `@anthropic-ai/claude-agent-sdk` to `^0.2.141` - `@fastify/swagger-ui` to `^5.2.6` in `packages/server-v3` & `packages/server-v4` - `uuid` to `^11.1.1` - `vite` to `^7.3.3` in the packages that use `vitest` - workspace tooling like `@changesets/cli`, `c8`, `eslint`, and `tsup` added the following `pnpm` overrides: - `axios` - `follow-redirects` - `jws` - `lodash` - `minimatch` - `uuid` also fixed a `vitest` mock typing issue in `packages/evals/tests/tui/commandTree.test.ts` that resulted from the vite bump <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Update workspace dependencies and add `pnpm` overrides to lock transitive versions, stabilizing builds and preventing docs from breaking. Also fixes a Vitest typing issue introduced by the Vite upgrade. - **Dependencies** - Bumped: `@langchain/openai` → `^1.4.5`, `@langchain/core` → `^1.1.46`, `@anthropic-ai/claude-agent-sdk` → `^0.2.141`, `uuid` → `^11.1.1`, `@fastify/swagger-ui` → `^5.2.6` (server v3/v4). - Tooling: `vite` → `^7.3.3`, `vitest` → `^4.1.6`, `tsup` → `^8.5.1`, plus `@changesets/cli`, `c8`, `eslint`. - Docs: `mintlify` → `^4.2.546` and move OpenAPI path to `api.openapi` in `packages/docs/docs.json`. - Added `pnpm.overrides` for `axios`, `follow-redirects`, `jws`, `lodash`, `minimatch`, `uuid`. - **Bug Fixes** - Fixed `vitest` mock typing in `packages/evals/tests/tui/commandTree.test.ts` by typing handlers (`CommandHandler`) and `printHelp` mocks. <sup>Written for commit cd57bdf55f36ffe05bfa0de3e43aa2619d159546. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. -->
89 lines
3.3 KiB
JSON
89 lines
3.3 KiB
JSON
{
|
|
"name": "stagehand-workspace",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "Stagehand monorepo workspace",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "turbo run build",
|
|
"build:full": "turbo run build",
|
|
"build:cjs": "turbo run build:cjs",
|
|
"build:cli": "turbo run build:cli",
|
|
"build:esm": "turbo run build:esm",
|
|
"build:sea": "turbo run build:sea:esm",
|
|
"build:sea:esm": "turbo run build:sea:esm",
|
|
"build:sea:cjs": "turbo run build:sea:cjs",
|
|
"lint": "turbo run lint",
|
|
"format": "prettier --write .",
|
|
"prettier": "prettier --write .",
|
|
"eslint": "eslint .",
|
|
"test": "turbo run test:core test:e2e test:server test:evals test:cli",
|
|
"test:core": "turbo run test:core --",
|
|
"test:core:local": "STAGEHAND_BROWSER_TARGET=local pnpm run test:core --",
|
|
"test:core:bb": "STAGEHAND_BROWSER_TARGET=browserbase pnpm run test:core --",
|
|
"test:e2e": "turbo run test:e2e --",
|
|
"test:e2e:local": "STAGEHAND_BROWSER_TARGET=local pnpm run test:e2e --",
|
|
"test:e2e:bb": "STAGEHAND_BROWSER_TARGET=browserbase pnpm run test:e2e --",
|
|
"test:server": "turbo run test:server --",
|
|
"test:server:sea": "STAGEHAND_SERVER_TARGET=sea pnpm run test:server --",
|
|
"test:server:local": "STAGEHAND_SERVER_TARGET=local pnpm run test:server --",
|
|
"test:server:remote": "STAGEHAND_SERVER_TARGET=remote pnpm run test:server --",
|
|
"test:evals": "turbo run test:evals --",
|
|
"test:evals:local": "STAGEHAND_BROWSER_TARGET=local pnpm run test:evals --",
|
|
"test:evals:bb": "STAGEHAND_BROWSER_TARGET=browserbase pnpm run test:evals --",
|
|
"coverage:merge": "pnpm -w exec tsx packages/core/scripts/coverage.ts merge",
|
|
"docs": "turbo run docs",
|
|
"dev": "turbo run dev",
|
|
"example": "pnpm --filter @browserbasehq/stagehand run example --",
|
|
"cache:clear": "turbo run build --force",
|
|
"prepare": "node packages/core/scripts/prepare.js && husky",
|
|
"release": "turbo run build && changeset publish",
|
|
"release-canary": "turbo run build && changeset version --snapshot && changeset publish --tag alpha"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/changelog-github": "^0.5.0",
|
|
"@changesets/cli": "^2.31.0",
|
|
"@eslint/js": "^10.0.1",
|
|
"c8": "^11.0.0",
|
|
"dotenv": "^17.3.1",
|
|
"esbuild": "0.27.2",
|
|
"eslint": "^10.3.0",
|
|
"eslint-plugin-security": "^3.0.1",
|
|
"globals": "^15.13.0",
|
|
"husky": "^9.1.7",
|
|
"junit-to-ctrf": "^0.0.14",
|
|
"lint-staged": "^16.4.0",
|
|
"prettier": "^3.2.5",
|
|
"source-map": "^0.7.4",
|
|
"tsx": "^4.19.4",
|
|
"turbo": "^2.8.10",
|
|
"typescript": "5.8.3",
|
|
"typescript-eslint": "^8.56.1"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/browserbase/stagehand.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/browserbase/stagehand/issues"
|
|
},
|
|
"homepage": "https://stagehand.dev",
|
|
"engines": {
|
|
"node": "^20.19.0 || >=22.12.0"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"axios": "^1.15.2",
|
|
"follow-redirects": "^1.16.0",
|
|
"jws": "^4.0.1",
|
|
"lodash": "^4.18.0",
|
|
"minimatch": "^3.1.4",
|
|
"uuid": "^11.1.1"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*": "prettier --write --ignore-unknown"
|
|
},
|
|
"packageManager": "pnpm@9.15.0+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c"
|
|
}
|