@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.
Files changed (52) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +8 -3
  3. package/dist/config/swagger-config.js +738 -0
  4. package/dist/constants/api-messages.js +45 -0
  5. package/dist/constants/error-messages.js +84 -0
  6. package/dist/constants/features.js +53 -0
  7. package/dist/constants/http.js +87 -0
  8. package/dist/constants/index.js +8 -0
  9. package/dist/constants/middleware.js +2 -13
  10. package/dist/constants/security.js +1 -9
  11. package/dist/controllers/auth-controller.js +34 -33
  12. package/dist/controllers/commit-controller.js +4 -2
  13. package/dist/controllers/config-controller.js +8 -6
  14. package/dist/controllers/health-controller.js +5 -3
  15. package/dist/controllers/package-controller.js +11 -7
  16. package/dist/controllers/permission-controller.js +32 -30
  17. package/dist/controllers/pipeline-controller.js +26 -23
  18. package/dist/controllers/publish-controller.js +110 -75
  19. package/dist/middleware/auth-middleware.js +17 -15
  20. package/dist/middleware/dashboard-startup.js +3 -1
  21. package/dist/middleware/error-handler.js +4 -2
  22. package/dist/middleware/server-startup.js +3 -51
  23. package/dist/repositories/index.js +5 -1
  24. package/dist/repositories/pipeline-audit-log-repository.js +82 -0
  25. package/dist/repositories/release-pipeline-repository.js +123 -0
  26. package/dist/services/auth-service.js +22 -12
  27. package/dist/services/changeset-service.js +83 -3
  28. package/dist/services/config-service.js +7 -6
  29. package/dist/services/github-actions-service.js +66 -138
  30. package/dist/services/github-oauth-service.js +24 -45
  31. package/dist/services/package-service.js +0 -6
  32. package/dist/services/permission-service.js +5 -18
  33. package/dist/services/pipeline-service.js +10 -275
  34. package/dist/types/auth-service-dto.js +5 -0
  35. package/dist/types/changeset.js +5 -0
  36. package/dist/types/config-service.js +2 -0
  37. package/dist/types/controllers.js +5 -0
  38. package/dist/types/errors.js +5 -0
  39. package/dist/types/github-service.js +2 -0
  40. package/dist/types/index.js +1 -0
  41. package/dist/types/package-service.js +2 -0
  42. package/dist/types/permission-dto.js +5 -0
  43. package/dist/utils/monorepo-scanner.js +4 -3
  44. package/dist/utils/utilities.js +3 -6
  45. package/package.json +13 -3
  46. package/check-db.js +0 -58
  47. package/dist/utils/ci-status.js +0 -447
  48. package/dist/utils/db-utils.js +0 -87
  49. package/monodog-dashboard/dist/assets/index-6NrFUGfK.js +0 -15
  50. package/monodog-dashboard/dist/assets/index-6NrFUGfK.js.map +0 -1
  51. package/monodog-dashboard/dist/assets/index-DcvKt8qx.css +0 -1
  52. package/monodog-dashboard/dist/index.html +0 -14
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @manojkmfsi/monoapp
2
2
 
3
+ ## 1.1.33
4
+
5
+ ### Patch Changes
6
+
7
+ - Remove dist and updated text
8
+
9
+ ## 1.1.32
10
+
11
+ ### Patch Changes
12
+
13
+ - fix pipeline issues and optimize code
14
+
3
15
  ## 1.1.31
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Overview
4
4
 
5
- The dashboard will provide visual management and monitoring capabilities for packages in monorepos using pnpm and turbo. It will be distributed as an npm package installable in any monorepo to auto-generate a web UI for package oversight.
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
- | **Scanning** | monorepo-scanner | Core logic for file system scanning and package metadata extraction. |
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