chore(openclaw): add tsup build pipeline with ESM output and type declarations (#4335)

This commit is contained in:
Saket Aryan
2026-03-15 00:41:07 +05:30
committed by GitHub
parent df79a43925
commit dc6122ec3d
8 changed files with 4189 additions and 1 deletions
+15
View File
@@ -11,7 +11,19 @@
"mem0",
"long-term-memory"
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"test": "vitest run"
},
"dependencies": {
@@ -24,6 +36,9 @@
]
},
"devDependencies": {
"@types/node": "^22.15.0",
"tsup": "^8.5.0",
"typescript": "^5.8.3",
"vitest": "^4.0.18"
}
}