You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .junie/guidelines.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
These guidelines help Junie make minimal, correct changes to this repository and understand how to validate them.
4
4
5
5
## Project Overview
6
-
A RESTful Notes API built with Node.js (ES Modules) and Express, featuring a database‑agnostic architecture with interchangeable NoSQL backends. The app currently supports CouchDB and MongoDB via repository implementations, includes a lightweight web UI, and provides JSDoc-based documentation and Jest tests. Target runtime is Node.js 22.
6
+
A RESTful Notes API built with Node.js (ES Modules) and Express, featuring a database‑agnostic architecture with interchangeable NoSQL backends. The app currently supports CouchDB and MongoDB via repository implementations, includes a lightweight web UI, and provides JSDoc-based documentation and Jest tests. Target runtime includes Node.js 20, 22, and 24 (LTS versions).
7
7
8
8
Key characteristics:
9
9
- Layered design: Model → Repository (vendor-specific) → API (Express routes)
@@ -25,7 +25,7 @@ Key characteristics:
25
25
- DOCUMENTATION.md — documentation workflow and tips
26
26
27
27
## Prerequisites
28
-
- Node.js: 22.x (as enforced by package.json engines)
28
+
- Node.js: 20.x, 22.x, or 24.x (as enforced by package.json engines)
29
29
- npm: 10+
30
30
- One database backend available locally (CouchDB ≥3.5.1 or MongoDB ≥7.0.28), or use Docker Compose
31
31
@@ -54,7 +54,7 @@ Ensure .env contains the required credentials before starting.
54
54
- Run with coverage: npm run test:coverage
55
55
- Open coverage report: npm run test:coverage:open (Linux requires xdg-open)
56
56
Notes:
57
-
- Jest runs under Node 22 with experimental VM modules flag set by the script
57
+
- Jest runs under Node 24 with experimental VM modules flag set by the script
58
58
59
59
## Documentation
60
60
- Generate docs: npm run docs
@@ -64,7 +64,7 @@ Notes:
64
64
See DOCUMENTATION.md for details.
65
65
66
66
## Code Style and Conventions
67
-
- ESM only ("type": "module"); prefer async/await and modern Node 22 APIs
67
+
- ESM only ("type": "module"); prefer async/await and modern Node 24 APIs
68
68
- Keep repository interface boundaries clean when touching data access code
69
69
- Add or update Jest tests when changing behavior
70
70
- JSDoc for public methods and API routes is encouraged
@@ -78,7 +78,7 @@ See DOCUMENTATION.md for details.
78
78
- Make the minimal change required to satisfy the issue
79
79
- When renaming code entities, use the dedicated rename tool so all references update safely
80
80
- Prefer adding tests or adjusting existing ones to validate new behavior when applicable
0 commit comments