# @oshun/telegram-miniapp

Static Telegram Mini App surfaces for Oshun V1

Next.js application. `pnpm dev` runs the dev server; `pnpm build && pnpm start`
runs the production server.

## Scripts

| Command          | Definition                              |
| ---------------- | --------------------------------------- |
| `pnpm build`     | next build                              |
| `pnpm typecheck` | tsc --noEmit                            |
| `pnpm test`      | vitest run -c vitest.config.ts          |
| `pnpm e2e`       | playwright test -c playwright.config.ts |

## Layout

- `e2e/`
- `src/`

## Working on this package

The fastest local loop is via Nx:

```bash
pnpm nx test oshun-telegram-miniapp
pnpm nx lint oshun-telegram-miniapp
pnpm nx build oshun-telegram-miniapp
```

When Nx is unhappy (usually because another worktree has duplicate project
names), bypass it with the underlying tools from this directory:

```bash
npx tsc --noEmit
npx vitest run
```

See the [root README](../../../README.md) for monorepo-wide conventions (catalog
deps, commit format, git workflow). See the
[Contributor Guide](../../../docs/CONTRIBUTING.md) for the full PR workflow.
