Files
united-workforce/package.json
T
xiaoju e5e6de2fad chore: migrate from bun to pnpm + vitest + esbuild
- Replace bun:test with vitest across all packages
- Replace bun build with esbuild
- Replace bun:sqlite with better-sqlite3
- Fix OCAS Store API: store.put/get → store.cas.put/get
- Fix vitest vi.mock hoisting (vi.hoisted)
- Add pnpm-workspace.yaml and pnpm-lock.yaml
- Update all package.json test/build scripts

WIP: 8 failures remain in agent-hermes (bun engines check + sqlite migration)

Refs #26
2026-06-03 14:33:03 +00:00

41 lines
1.2 KiB
JSON

{
"name": "@united-workforce/monorepo",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"uwf": "pnpm tsx packages/cli/src/cli.ts",
"prepublishOnly": "echo 'Use pnpm run release instead' && exit 1",
"build": "npx tsc --build",
"check": "npx tsc --build && biome check . && bash scripts/lint-log-tags.sh",
"typecheck": "npx tsc --build",
"format": "biome format --write .",
"test": "pnpm -r run test",
"test:ci": "pnpm -r run test:ci",
"changeset": "npx changeset",
"version": "npx changeset version",
"release": "pnpm run build && pnpm run test && node scripts/publish-all.mjs"
},
"devDependencies": {
"@agentclientprotocol/sdk": "^0.22.1",
"@biomejs/biome": "^2.4.14",
"@changesets/cli": "^2.31.0",
"@types/node": "^25.7.0",
"@types/xxhashjs": "^0.2.4",
"@united-workforce/agent-hermes": "workspace:*",
"typescript": "^5.8.3",
"vitest": "^3.2.1",
"yaml": "^2.9.0"
},
"repository": {
"type": "git",
"url": "https://github.com/shazhou-ww/united-workforce.git"
},
"homepage": "https://github.com/shazhou-ww/united-workforce#readme",
"bugs": {
"url": "https://github.com/shazhou-ww/united-workforce/issues"
},
"license": "MIT"
}