fix(web): configure ESM exports for registry packages

This commit is contained in:
Ajax Davis 2026-01-23 18:11:55 +10:00
parent c4430fb1bf
commit c4ea363497
3 changed files with 23 additions and 1 deletions

View file

@ -2,8 +2,17 @@
"name": "@tpmjs/registry-execute",
"version": "0.1.3",
"description": "Execute tools from the TPMJS registry in any AI SDK agent",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
}
},
"scripts": {
"build": "tsc",
"dev": "tsc --watch",

View file

@ -2,8 +2,17 @@
"name": "@tpmjs/registry-search",
"version": "0.1.2",
"description": "Search the TPMJS tool registry from any AI SDK agent",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
}
},
"scripts": {
"build": "tsc",
"dev": "tsc --watch",