Skip to content

Commit fc396d6

Browse files
authored
chore(demo): add clear all notifications button and update project config (#1915)
1 parent 004f6cd commit fc396d6

File tree

15 files changed

+339
-1178
lines changed

15 files changed

+339
-1178
lines changed

.cursor/rules/bun.mdc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
description: Use Bun instead of Node.js, npm, pnpm
3+
globs: '*.ts, *.tsx, *.html, *.css, *.js, *.jsx, package.json'
4+
alwaysApply: false
5+
---
6+
7+
Default to using Bun instead of Node.js.
8+
9+
- Use `bun <file>` instead of `node <file>` or `ts-node <file>`
10+
- Use `bun build <file.html|file.ts|file.css>` instead of `webpack` or `esbuild`
11+
- Use `bun install` instead of `npm install` or `yarn install` or `pnpm install`
12+
- Use `bun run <script>` instead of `npm run <script>` or `yarn run <script>` or `pnpm run <script>`
13+
- Use `bunx <package> <command>` instead of `npx <package> <command>`
14+
- Bun automatically loads .env, so don't use dotenv.

.cursor/rules/pr-conventions.mdc

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
description: Conventions for pull request titles and body content
3+
alwaysApply: true
4+
---
5+
6+
# Pull Request Conventions
7+
8+
## PR Title
9+
10+
Use semantic/conventional commit prefixes in PR titles:
11+
12+
- `fix:` for bug fixes
13+
- `feat:` for new features
14+
- `chore:` for maintenance tasks (deps, CI, tooling)
15+
- `refactor:` for code restructuring without behavior changes
16+
- `docs:` for documentation-only changes
17+
- `test:` for test-only changes
18+
19+
Example: `fix: resolve notification grouping on Android 14`
20+
21+
## PR Body
22+
23+
Follow the repo's PR template at `.github/pull_request_template.md`. Every PR body must include:
24+
25+
1. **One Line Summary** (required)
26+
2. **Motivation** (required) explaining why the change is being made
27+
3. **Scope** (recommended) describing what is and isn't affected
28+
4. **Testing** section with manual and/or unit testing details
29+
5. **Affected code checklist** with relevant items checked
30+
6. **Checklist** sections confirmed
31+
32+
Remove the instructional header block (between `<!-- START -->` and `<!-- END -->`) before submitting.

.cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdc

Lines changed: 0 additions & 1 deletion
This file was deleted.

CLAUDE.md

Lines changed: 0 additions & 111 deletions
This file was deleted.

0 commit comments

Comments
 (0)