@sentry/junior
v0.75.0
Published
`@sentry/junior` is a Slack bot package built on [Hono](https://hono.dev/).
Readme
@sentry/junior
@sentry/junior is a Slack bot package built on Hono.
Install
pnpm add @sentry/junior hono @sentry/nodeQuick usage
server.ts:
import { initSentry } from "@sentry/junior/instrumentation";
initSentry();
import { createApp } from "@sentry/junior";
const app = await createApp();
export default app;Run junior init my-bot to scaffold a complete project including vercel.json for Vercel deployment.
Use defineJuniorPlugins([...]) in a runtime-safe plugin module, then point
juniorNitro({ plugins: "./plugins" }) at that module. createApp() reads the
same enabled set from Nitro's virtual module. Manifest-only packages use
package-name strings; trusted factories such as githubPlugin() register their
manifest and in-process hooks together.
Full docs
Canonical docs: https://junior.sentry.dev/
- Quickstart: https://junior.sentry.dev/start-here/quickstart/
- Slack app setup: https://junior.sentry.dev/start-here/slack-app-setup/
- Deployment: https://junior.sentry.dev/start-here/deploy-to-vercel/
- Plugin setup: https://junior.sentry.dev/extend/
- API reference: https://junior.sentry.dev/reference/api/
