Просмотр исходного кода

Bump @roo-code/types to v1.43.0 (#6640)

Chris Estreich 4 месяцев назад
Родитель
Сommit
fd7550f463
3 измененных файлов с 6 добавлено и 27 удалено
  1. 0 23
      packages/types/README.md
  2. 5 2
      packages/types/npm/package.json
  3. 1 2
      packages/types/package.json

+ 0 - 23
packages/types/README.md

@@ -1,23 +0,0 @@
-# @roo-code/types
-
-### Publish to NPM
-
-First authenticate with NPM:
-
-```sh
-npm login
-```
-
-Next, manually bump the NPM package version:
-
-```sh
-cd packages/types/npm && npm version minor && cd -
-```
-
-Finally, publish to NPM:
-
-```sh
-pnpm --filter @roo-code/types npm:publish
-```
-
-Note that you'll be asked for an MFA code to complete the publish.

+ 5 - 2
packages/types/npm/package.json

@@ -1,6 +1,6 @@
 {
 {
 	"name": "@roo-code/types",
 	"name": "@roo-code/types",
-	"version": "1.42.0",
+	"version": "1.43.0",
 	"description": "TypeScript type definitions for Roo Code.",
 	"description": "TypeScript type definitions for Roo Code.",
 	"publishConfig": {
 	"publishConfig": {
 		"access": "public",
 		"access": "public",
@@ -37,5 +37,8 @@
 	},
 	},
 	"files": [
 	"files": [
 		"dist"
 		"dist"
-	]
+	],
+	"dependencies": {
+		"zod": "^3.25.61"
+	}
 }
 }

+ 1 - 2
packages/types/package.json

@@ -18,8 +18,7 @@
 		"check-types": "tsc --noEmit",
 		"check-types": "tsc --noEmit",
 		"test": "vitest run",
 		"test": "vitest run",
 		"build": "tsup",
 		"build": "tsup",
-		"npm:publish:test": "tsup --outDir npm/dist && cd npm && npm publish --dry-run",
-		"npm:publish": "tsup --outDir npm/dist && cd npm && npm publish",
+		"npm:publish": "cd npm && npm version minor && cd - && tsup --outDir npm/dist && cd npm && npm publish",
 		"clean": "rimraf dist npm/dist .turbo"
 		"clean": "rimraf dist npm/dist .turbo"
 	},
 	},
 	"dependencies": {
 	"dependencies": {