@manojkmfsi/monodog 1.1.31 → 1.1.33
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/CHANGELOG.md +12 -0
- package/README.md +8 -3
- package/dist/config/swagger-config.js +738 -0
- package/dist/constants/api-messages.js +45 -0
- package/dist/constants/error-messages.js +84 -0
- package/dist/constants/features.js +53 -0
- package/dist/constants/http.js +87 -0
- package/dist/constants/index.js +8 -0
- package/dist/constants/middleware.js +2 -13
- package/dist/constants/security.js +1 -9
- package/dist/controllers/auth-controller.js +34 -33
- package/dist/controllers/commit-controller.js +4 -2
- package/dist/controllers/config-controller.js +8 -6
- package/dist/controllers/health-controller.js +5 -3
- package/dist/controllers/package-controller.js +11 -7
- package/dist/controllers/permission-controller.js +32 -30
- package/dist/controllers/pipeline-controller.js +26 -23
- package/dist/controllers/publish-controller.js +110 -75
- package/dist/middleware/auth-middleware.js +17 -15
- package/dist/middleware/dashboard-startup.js +3 -1
- package/dist/middleware/error-handler.js +4 -2
- package/dist/middleware/server-startup.js +3 -51
- package/dist/repositories/index.js +5 -1
- package/dist/repositories/pipeline-audit-log-repository.js +82 -0
- package/dist/repositories/release-pipeline-repository.js +123 -0
- package/dist/services/auth-service.js +22 -12
- package/dist/services/changeset-service.js +83 -3
- package/dist/services/config-service.js +7 -6
- package/dist/services/github-actions-service.js +66 -138
- package/dist/services/github-oauth-service.js +24 -45
- package/dist/services/package-service.js +0 -6
- package/dist/services/permission-service.js +5 -18
- package/dist/services/pipeline-service.js +10 -275
- package/dist/types/auth-service-dto.js +5 -0
- package/dist/types/changeset.js +5 -0
- package/dist/types/config-service.js +2 -0
- package/dist/types/controllers.js +5 -0
- package/dist/types/errors.js +5 -0
- package/dist/types/github-service.js +2 -0
- package/dist/types/index.js +1 -0
- package/dist/types/package-service.js +2 -0
- package/dist/types/permission-dto.js +5 -0
- package/dist/utils/monorepo-scanner.js +4 -3
- package/dist/utils/utilities.js +3 -6
- package/package.json +13 -3
- package/check-db.js +0 -58
- package/dist/utils/ci-status.js +0 -447
- package/dist/utils/db-utils.js +0 -87
- package/monodog-dashboard/dist/assets/index-6NrFUGfK.js +0 -15
- package/monodog-dashboard/dist/assets/index-6NrFUGfK.js.map +0 -1
- package/monodog-dashboard/dist/assets/index-DcvKt8qx.css +0 -1
- package/monodog-dashboard/dist/index.html +0 -14
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Overview
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Monodog provides visual management and monitoring capabilities for packages in monorepos using pnpm and Turbo. It is distributed as an npm package that can be installed in any monorepo to automatically generate a web UI for package oversight.
|
|
6
6
|
|
|
7
7
|
This service is typically run locally or on a central server and power a dedicated frontend dashboard.
|
|
8
8
|
<img width="1593" height="807" alt="package-scan" src="https://github.com/user-attachments/assets/d7e86b80-9f6a-4608-9103-68e6d660cc36" />
|
|
@@ -17,8 +17,7 @@ This service is typically run locally or on a central server and power a dedicat
|
|
|
17
17
|
| **Framework** | Express.js, React | Express Handles all API routing and middleware and React for building the user interface. |
|
|
18
18
|
| **Styling** | Tailwind CSS | Utility-first framework for responsive, modern, and aesthetic design. |
|
|
19
19
|
| **ORM** | Prisma | Database layer for managing package and health status records. |
|
|
20
|
-
|
|
21
|
-
| **VCS** | GitService | Used to fetch and analyze commit history per package path. |
|
|
20
|
+
|**VCS** | Github | Handles secure auth, automates Changeset PRs, and monitors CI/CD status. |
|
|
22
21
|
|
|
23
22
|
---
|
|
24
23
|
|
|
@@ -57,4 +56,10 @@ Run app using serve script:
|
|
|
57
56
|
| **GET** | `/api/commits/:packagePath` | Fetch Git commit history for a specific package directory. | Persistent |
|
|
58
57
|
| **GET** | `/api/config/files` | Scan the monorepo for essential configuration files (e.g., `tsconfig`, `.eslintrc`). | Generated runtime |
|
|
59
58
|
| **PUT** | `/api/config/files/:id` | Update a configuration files (e.g., `tsconfig`, `.eslintrc`). | Generated runtime |
|
|
59
|
+
| **GET** | `/auth/login` | Initiate GitHub OAuth 2.0 authentication flow. Redirects to GitHub for authorization. | Session creation |
|
|
60
|
+
| **GET** | `/auth/callback` | Handle OAuth callback from GitHub with authorization code and validate state parameter. | Session persistence |
|
|
61
|
+
| **GET** | `/auth/me` | Retrieve authenticated user profile. | Persistent |
|
|
62
|
+
| **GET** | `/auth/validate` | Validate current session token status. | Persistent |
|
|
63
|
+
| **GET** | `/auth/logout` | Invalidate session and clear authentication token. | Session termination |
|
|
64
|
+
| **POST** | `/auth/refresh` | Extend session token validity period. | Session update |
|
|
60
65
|
|