managarten/packages/matrix-bot-common/package.json
Till-JS 12f1288aec build(matrix-bot-common): add build step for Node.js v25 compatibility
- Add build script to compile TypeScript to dist/
- Update exports to point to compiled JavaScript files
- Requires running 'pnpm --filter @manacore/matrix-bot-common build' before consuming

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 03:37:20 +01:00

64 lines
1.5 KiB
JSON

{
"name": "@manacore/matrix-bot-common",
"version": "0.1.0",
"private": true,
"description": "Shared utilities and base classes for Matrix bots",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./base": {
"types": "./dist/base/index.d.ts",
"default": "./dist/base/index.js"
},
"./health": {
"types": "./dist/health/index.d.ts",
"default": "./dist/health/index.js"
},
"./message": {
"types": "./dist/message/index.d.ts",
"default": "./dist/message/index.js"
},
"./markdown": {
"types": "./dist/markdown/index.d.ts",
"default": "./dist/markdown/index.js"
},
"./keywords": {
"types": "./dist/keywords/index.d.ts",
"default": "./dist/keywords/index.js"
},
"./session": {
"types": "./dist/session/index.d.ts",
"default": "./dist/session/index.js"
},
"./list-mapper": {
"types": "./dist/list-mapper/index.d.ts",
"default": "./dist/list-mapper/index.js"
}
},
"scripts": {
"build": "tsc",
"type-check": "tsc --noEmit",
"clean": "rm -rf dist",
"lint": "eslint .",
"prepublishOnly": "pnpm build"
},
"dependencies": {
"@manacore/bot-services": "workspace:*",
"@nestjs/common": "^11.0.20",
"@nestjs/config": "^4.0.2",
"matrix-bot-sdk": "^0.7.1"
},
"peerDependencies": {
"@nestjs/common": "^10.0.0 || ^11.0.0",
"@nestjs/config": "^3.0.0 || ^4.0.0",
"matrix-bot-sdk": "^0.7.0"
},
"devDependencies": {
"@types/node": "^24.10.1",
"typescript": "^5.9.3"
}
}