Commit Graph

5 Commits

Author SHA1 Message Date
Kyle Fang
06e9bd0b79 feat: add React Router example with MemoryRouter
- Install react-router-dom dependency
- Create react-router-experiment.tsx demonstrating React Router usage
- Implement navigation with Routes, nested routes, and navigation hooks
- Add example pages: Homepage, BlogsIndex, and BlogPage with params
- Use MemoryRouter for in-memory routing suitable for Telegram bots

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-03 10:26:33 +08:00
Kyle Fang
ce93835833 feat: add tetris... 2025-07-02 22:36:29 +08:00
Kyle Fang
9c85277f85 feat: add useeffect-interval hook implementation 2025-07-01 11:33:00 +08:00
Kyle Fang
2d57a7c9c9 fix: resolve GitHub Actions workflow failures
- Add README.md to packages/examples for docs workflow
- Fix CI workflow bun filter commands and add test env vars
- Add security permissions for SARIF upload in security workflow
- Document NPM_TOKEN requirement in release workflow

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-01 10:22:16 +08:00
Kyle Fang
457f933273 refactor: reorganize into monorepo with Bun workspaces
- Split project into three packages:
  - @react-telegram/core: Core React reconciler
  - @react-telegram/mtcute-adapter: MTCute Telegram adapter
  - @react-telegram/examples: Example bots (private)
- Add <br /> tag support for line breaks
- Update all examples to use <br /> instead of {'\n'}
- Configure Bun workspaces for better package management
- Update imports to use package names instead of relative paths
- Update README with new installation instructions
- Remove test files (moved to separate testing setup)

BREAKING CHANGE: Package names changed from react-telegram to @react-telegram/*

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-01 09:58:46 +08:00