46 lines
2.5 KiB
Markdown
46 lines
2.5 KiB
Markdown
# google-drive-content-adapter Development Guidelines
|
|
|
|
Auto-generated from all feature plans. Last updated: 2026-03-06
|
|
|
|
## Active Technologies
|
|
- Node.js v20.x LTS (or later), JavaScript ES2022+ with JSDoc type annotations + `googleapis` (36.x) - justified for OAuth 2.0 and Drive API integration (see Complexity Tracking) (001-drive-proxy-adapter)
|
|
- N/A - stateless proxy, no persistence layer (001-drive-proxy-adapter)
|
|
- Node.js 18.0.0+ (LTS), JavaScript ES2022+ with ES modules + googleapis (^140.0.0) - Google Drive API client library (001-drive-proxy-adapter)
|
|
- N/A (stateless proxy, no persistent storage) (001-drive-proxy-adapter)
|
|
- Node.js 18+ (LTS), JavaScript ES2022+ with ES modules + `googleapis` (Google Drive API client - only approved external dependency) (001-drive-proxy-adapter)
|
|
- N/A (stateless, no persistence - fetches fresh data from Drive API on each request) (001-drive-proxy-adapter)
|
|
- Node.js 18+ (LTS), JavaScript ES2022+ with ES modules + `googleapis` (Google Drive API + OAuth 2.0), Node.js built-ins only otherwise (001-drive-proxy-adapter)
|
|
- N/A (stateless, no persistence layer, no caching) (001-drive-proxy-adapter)
|
|
- JavaScript ES2022+ / Node.js 18 LTS or later + googleapis (Google Drive API v3 client), xmlbuilder2 (sitemap XML generation) (001-drive-proxy-adapter)
|
|
- N/A (no persistent storage, always fetch fresh from Google Drive API) (001-drive-proxy-adapter)
|
|
- JavaScript ES2022+ (Node.js LTS v18.0.0+) (001-drive-proxy-adapter)
|
|
- N/A (no persistence - sitemap generated on-demand from Drive API) (001-drive-proxy-adapter)
|
|
- Node.js >=18.0.0 (ES modules) + axios (HTTP client), jsonwebtoken (JWT for Google auth), uuid (request IDs), xmlbuilder2 (sitemap generation) (001-document-export)
|
|
- N/A (stateless proxy, no database) (001-document-export)
|
|
|
|
- Node.js v20.x LTS (with fallback support for v18.x LTS) (001-drive-proxy-adapter)
|
|
|
|
## Project Structure
|
|
|
|
```text
|
|
src/
|
|
tests/
|
|
```
|
|
|
|
## Commands
|
|
|
|
# Add commands for Node.js v20.x LTS (with fallback support for v18.x LTS)
|
|
|
|
## Code Style
|
|
|
|
Node.js v20.x LTS (with fallback support for v18.x LTS): Follow standard conventions
|
|
|
|
## Recent Changes
|
|
- 001-document-export: Added Node.js >=18.0.0 (ES modules) + axios (HTTP client), jsonwebtoken (JWT for Google auth), uuid (request IDs), xmlbuilder2 (sitemap generation)
|
|
- 001-drive-proxy-adapter: Added JavaScript ES2022+ (Node.js LTS v18.0.0+)
|
|
- 001-drive-proxy-adapter: Added JavaScript ES2022+ / Node.js 18 LTS or later + googleapis (Google Drive API v3 client), xmlbuilder2 (sitemap XML generation)
|
|
|
|
|
|
<!-- MANUAL ADDITIONS START -->
|
|
<!-- MANUAL ADDITIONS END -->
|