mirror of
https://github.com/d0zingcat/alert-message-center.git
synced 2026-05-13 15:09:19 +00:00
@@ -4,11 +4,13 @@ description: Update project context documentation for AI/IDE awareness
|
|||||||
|
|
||||||
// turbo-all
|
// turbo-all
|
||||||
1. Check recent file changes to identify new features, API changes, or configuration updates.
|
1. Check recent file changes to identify new features, API changes, or configuration updates.
|
||||||
2. Read `docs/copilot-context.md` to understand the current documented state.
|
2. Review `README.md` and `CHANGELOG.md` for recent project status and version updates.
|
||||||
3. Update `docs/copilot-context.md` with:
|
3. Read `docs/copilot-context.md` to understand the current documented state.
|
||||||
|
4. Update `docs/copilot-context.md` with:
|
||||||
- New or modified entities in the data model.
|
- New or modified entities in the data model.
|
||||||
- Added or changed API endpoints.
|
- Added or changed API endpoints.
|
||||||
- New key workflows or architectural decisions.
|
- New key workflows or architectural decisions.
|
||||||
- Updated development conventions or environment variables.
|
- Updated development conventions or environment variables.
|
||||||
4. If `todo.md` exists, ensure it is also updated to reflect completed tasks.
|
- Consistency with `README.md` and `CHANGELOG.md`.
|
||||||
5. Summarize the updates made to the context for the user.
|
5. If `todo.md` exists, ensure it is also updated to reflect completed tasks.
|
||||||
|
6. Summarize the updates made to the context for the user.
|
||||||
|
|||||||
@@ -5,6 +5,11 @@
|
|||||||
本文件的格式基于 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.0.0/),
|
本文件的格式基于 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.0.0/),
|
||||||
并且本项目遵循 [语义化版本 (Semantic Versioning)](https://semver.org/lang/zh-CN/spec/v2.0.0.html)。
|
并且本项目遵循 [语义化版本 (Semantic Versioning)](https://semver.org/lang/zh-CN/spec/v2.0.0.html)。
|
||||||
|
|
||||||
|
## [1.1.1] - 2026-01-13
|
||||||
|
|
||||||
|
### 修复
|
||||||
|
- **CI/CD**: 修复了由于 Dockerfile 路径重构导致的 GitHub Actions 构建失败问题。
|
||||||
|
|
||||||
## [1.1.0] - 2026-01-13
|
## [1.1.0] - 2026-01-13
|
||||||
|
|
||||||
### 新增
|
### 新增
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Project Context for GitHub Copilot
|
# Project Context for GitHub Copilot (v1.1.1)
|
||||||
|
|
||||||
This document provides technical context, architectural decisions, and code conventions for the **Alert Message Center** project. It is intended to help AI assistants understand the codebase.
|
This document provides technical context, architectural decisions, and code conventions for the **Alert Message Center** project. It is intended to help AI assistants understand the codebase.
|
||||||
|
|
||||||
@@ -133,10 +133,18 @@ The database schema is defined in `apps/server/src/db/schema.ts`.
|
|||||||
- **Styling**: Use Tailwind utility classes directly in JSX.
|
- **Styling**: Use Tailwind utility classes directly in JSX.
|
||||||
- **Async/Await**: Prefer `async/await` over `.then()`.
|
- **Async/Await**: Prefer `async/await` over `.then()`.
|
||||||
- **Type Safety**: strict TypeScript usage. Backend and Frontend share types via Hono RPC or shared interfaces.
|
- **Type Safety**: strict TypeScript usage. Backend and Frontend share types via Hono RPC or shared interfaces.
|
||||||
- **Environment Variables**:
|
- **Environment Isolation**:
|
||||||
- `FEISHU_APP_ID`, `FEISHU_APP_SECRET`, `REDIRECT_URI`, `ADMIN_EMAILS`.
|
- Each workspace (`apps/server`, `apps/web`) uses its own `.env` file via Bun's `--env-file .env` flag.
|
||||||
|
- Development proxy target for the frontend is configurable via `VITE_API_URL` (default: `http://localhost:3000`).
|
||||||
- **CI/CD**:
|
- **CI/CD**:
|
||||||
- GitHub Actions automates the build and push of Docker images to GitHub Container Registry (GHCR).
|
- GitHub Actions automates building a multi-stage Docker image and pushing it to GitHub Container Registry (GHCR).
|
||||||
- Images are built for both `apps/server` (Bun) and `apps/web` (Nginx).
|
- Image path: `ghcr.io/${USER}/alert-message-center`.
|
||||||
|
- Deployment Architecture: A single container runs the Bun server, which serves API requests and static frontend assets (via `hono/bun`'s `serveStatic`).
|
||||||
|
|
||||||
|
## 8. Core Documents
|
||||||
|
|
||||||
|
- **[README.md](file:///Users/lilithgames/Workspace/dap/alert-message-center/README.md)**: Main project documentation, including quick start, tech stack overview, and Webhook usage guide.
|
||||||
|
- **[CHANGELOG.md](file:///Users/lilithgames/Workspace/dap/alert-message-center/CHANGELOG.md)**: Record of version changes, following the Keep a Changelog specification.
|
||||||
|
- **[todo.md](file:///Users/lilithgames/Workspace/dap/alert-message-center/todo.md)**: Task tracking and upcoming features.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "alertmessagecenter",
|
"name": "alertmessagecenter",
|
||||||
"version": "1.1.0",
|
"version": "1.1.1",
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"apps/*"
|
"apps/*"
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user