Publish @roo-code/types to npm (#4059)

This commit is contained in:
Chris Estreich 2025-05-27 19:21:27 -07:00 committed by GitHub
parent e1b2a260ca
commit 6370131364
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,16 +1,35 @@
{
"name": "@roo-code/types",
"description": "Roo Code foundational types and schemas.",
"version": "0.0.0",
"type": "module",
"version": "1.15.0",
"description": "TypeScript type definitions for Roo Code.",
"publishConfig": {
"access": "public"
},
"author": "Roo Code Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/RooCodeInc/Roo-Code.git"
},
"bugs": {
"url": "https://github.com/RooCodeInc/Roo-Code/issues"
},
"homepage": "https://github.com/RooCodeInc/Roo-Code/tree/main/packages/types",
"keywords": [
"roo",
"roo-code",
"ai"
],
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./src/index.ts",
"import": "./src/index.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
@ -22,6 +41,9 @@
"check-types": "tsc --noEmit",
"test": "vitest --globals --run",
"build": "tsup",
"prepublishOnly": "pnpm run build",
"publish:test": "pnpm publish --dry-run",
"publish": "pnpm publish",
"clean": "rimraf dist .turbo"
},
"dependencies": {