mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:32:32 +00:00
typescript 7.0.2 is the native compiler and exports no JavaScript API, so ts-jest, tsup's dts build and typescript-eslint cannot read it. It comes in aliased as tsgo and does the typechecking through new typecheck scripts; typescript stays on the 6 line for the tools. shell-tool-mcp asked for moduleResolution "Node", which TS7 removed, so it moves to node16 alongside its module; the node and jest globals it uncovers are now declared rather than swept in. 30 diagnostics before, 29 after, the same on both compilers. Co-authored-by: Hanzo Dev <[email protected]>
65 lines
1.6 KiB
JSON
65 lines
1.6 KiB
JSON
{
|
|
"name": "@hanzo/dev-sdk",
|
|
"version": "0.0.0-dev",
|
|
"description": "TypeScript SDK for Hanzo Dev.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/hanzoai/dev.git",
|
|
"directory": "sdk/typescript"
|
|
},
|
|
"keywords": [
|
|
"hanzo",
|
|
"dev",
|
|
"agent",
|
|
"sdk",
|
|
"typescript"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"clean": "rm -rf dist",
|
|
"build": "tsup",
|
|
"build:watch": "tsup --watch",
|
|
"typecheck": "../../node_modules/tsgo/bin/tsc --noEmit --incremental false",
|
|
"lint": "pnpm eslint \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
"lint:fix": "pnpm eslint --fix \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"coverage": "jest --coverage",
|
|
"format": "prettier --check .",
|
|
"format:fix": "prettier --write .",
|
|
"prepare": "pnpm run build"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "catalog:",
|
|
"@types/node": "catalog:",
|
|
"eslint": "catalog:",
|
|
"eslint-config-prettier": "catalog:",
|
|
"eslint-plugin-jest": "catalog:",
|
|
"eslint-plugin-node-import": "catalog:",
|
|
"jest": "catalog:",
|
|
"prettier": "catalog:",
|
|
"ts-jest": "catalog:",
|
|
"ts-jest-mock-import-meta": "catalog:",
|
|
"ts-node": "catalog:",
|
|
"tsup": "catalog:",
|
|
"typescript": "catalog:",
|
|
"typescript-eslint": "catalog:"
|
|
}
|
|
}
|