Files
notifier/bun.config.ts
abearxiong 6cf949bcd1 feat: add Feishu notifier for message notifications
- Implemented a lightweight notification library with support for multiple channels.
- Added FeishuNotifier class to send messages via Feishu webhook.
- Created README documentation for usage and configuration of Feishu notifier.
- Added TypeScript configuration for the project.
- Included a test script for verifying Feishu message notifications.
2026-01-08 16:43:53 +08:00

17 lines
419 B
TypeScript

// @ts-check
import { resolvePath } from '@kevisual/use-config';
import { execSync } from 'node:child_process';
const entry = 'src/index.ts';
const naming = 'app';
const external = ['pm2'];
await Bun.build({
target: 'node',
format: 'esm',
entrypoints: [resolvePath(entry, { meta: import.meta })],
outdir: resolvePath('./dist', { meta: import.meta }),
naming: {
entry: `${naming}.js`,
},
external,
});