@manojkmfsi/monodog 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +6 -0
- package/README.md +8 -5
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Monodog: Monorepo Analytics and Health API
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## Overview
|
|
4
4
|
|
|
5
5
|
The dashboard will provide visual management and monitoring capabilities for packages in monorepos using pnpm, turbo. It will be distributed as an npm package installable in any monorepo to auto-generate a web UI for package oversight.
|
|
6
6
|
|
|
@@ -9,7 +9,7 @@ This service is typically run locally or on a central server and power a dedicat
|
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## Technology Stack
|
|
13
13
|
|
|
14
14
|
| Component | Technology | Description |
|
|
15
15
|
| ------------- | -------------------- | ----------------------------------------------------------------------------------------- |
|
|
@@ -22,7 +22,7 @@ This service is typically run locally or on a central server and power a dedicat
|
|
|
22
22
|
|
|
23
23
|
---
|
|
24
24
|
|
|
25
|
-
##
|
|
25
|
+
## Prerequisites
|
|
26
26
|
|
|
27
27
|
You must have the following installed to run the service:
|
|
28
28
|
|
|
@@ -49,9 +49,12 @@ Run app using serve script:
|
|
|
49
49
|
| Method | Route | Purpose | Persistence |
|
|
50
50
|
| ------- | --------------------------- | --------------------------------------------------------------------------------------- | ------------------- |
|
|
51
51
|
| **GET** | `/api/packages` | Retrieve all package metadata from the database. | Persistent |
|
|
52
|
-
| **
|
|
52
|
+
| **POST** | `/api/packages/refresh` | Trigger a full file scan of the monorepo and update/sync the database. | Triggers write |
|
|
53
53
|
| **GET** | `/api/packages/:name` | Get detailed info, commits and health status for a package. | Persistent |
|
|
54
|
+
| **PUT** | `/api/packages/update-config`| Update configuration for a package. | Triggers write |
|
|
54
55
|
| **GET** | `/api/health/packages` | Fetch the latest health metrics (score, build status) for all packages. | Persistent |
|
|
55
|
-
| **
|
|
56
|
+
| **POST** | `/api/health/refresh` | Recalculate all package health metrics (build, lint, security) and update the database. | Triggers write |
|
|
56
57
|
| **GET** | `/api/commits/:packagePath` | Fetch Git commit history for a specific package directory. | Persistent |
|
|
57
58
|
| **GET** | `/api/config/files` | Scan the monorepo for essential configuration files (e.g., `tsconfig`, `.eslintrc`). | Generated runtime |
|
|
59
|
+
| **PUT** | `/api/config/files/:id` | Update a configuration files (e.g., `tsconfig`, `.eslintrc`). | Generated runtime |
|
|
60
|
+
|