Skip to content

Commit 6370131

Browse files
authored
Publish @roo-code/types to npm (#4059)
1 parent e1b2a26 commit 6370131

File tree

1 file changed

+29
-7
lines changed

1 file changed

+29
-7
lines changed

packages/types/package.json

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,35 @@
11
{
22
"name": "@roo-code/types",
3-
"description": "Roo Code foundational types and schemas.",
4-
"version": "0.0.0",
5-
"type": "module",
3+
"version": "1.15.0",
4+
"description": "TypeScript type definitions for Roo Code.",
5+
"publishConfig": {
6+
"access": "public"
7+
},
8+
"author": "Roo Code Team",
9+
"license": "MIT",
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/RooCodeInc/Roo-Code.git"
13+
},
14+
"bugs": {
15+
"url": "https://github.com/RooCodeInc/Roo-Code/issues"
16+
},
17+
"homepage": "https://github.com/RooCodeInc/Roo-Code/tree/main/packages/types",
18+
"keywords": [
19+
"roo",
20+
"roo-code",
21+
"ai"
22+
],
623
"main": "./dist/index.cjs",
24+
"module": "./dist/index.mjs",
25+
"types": "./dist/index.d.ts",
726
"exports": {
827
".": {
9-
"types": "./src/index.ts",
10-
"import": "./src/index.ts",
28+
"types": "./dist/index.d.ts",
29+
"import": "./dist/index.mjs",
1130
"require": {
12-
"types": "./dist/index.d.cts",
13-
"default": "./dist/index.cjs"
31+
"types": "./dist/index.d.ts",
32+
"default": "./dist/index.js"
1433
}
1534
}
1635
},
@@ -22,6 +41,9 @@
2241
"check-types": "tsc --noEmit",
2342
"test": "vitest --globals --run",
2443
"build": "tsup",
44+
"prepublishOnly": "pnpm run build",
45+
"publish:test": "pnpm publish --dry-run",
46+
"publish": "pnpm publish",
2547
"clean": "rimraf dist .turbo"
2648
},
2749
"dependencies": {

0 commit comments

Comments
 (0)