@manojkmfsi/monodog 1.0.13 → 1.0.15
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 +4 -0
- package/CHANGELOG.md +6 -0
- package/dist/index.js +1 -1
- package/dist/setup.js +0 -0
- package/monodog-dashboard/README.md +58 -0
- package/monodog-dashboard/dist/assets/{index-2d967652.js → index-a8c5930e.js} +2 -2
- package/monodog-dashboard/dist/index.html +1 -1
- package/package.json +25 -26
- package/prisma/schema.prisma +22 -21
- package/src/index.ts +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -562,7 +562,7 @@ function startServer(rootPath, port, host) {
|
|
|
562
562
|
try {
|
|
563
563
|
// Await each health check function since they return promises
|
|
564
564
|
const buildStatus = await (0, monorepo_scanner_1.funCheckBuildStatus)(pkg);
|
|
565
|
-
const testCoverage = await
|
|
565
|
+
const testCoverage = 0; //await funCheckTestCoverage(pkg); // skip test coverage for now
|
|
566
566
|
const lintStatus = await (0, monorepo_scanner_1.funCheckLintStatus)(pkg);
|
|
567
567
|
const securityAudit = await (0, monorepo_scanner_1.funCheckSecurityAudit)(pkg);
|
|
568
568
|
// Calculate overall health score
|
package/dist/setup.js
CHANGED
|
File without changes
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Monodog: Monorepo Health Dashboard (Frontend)
|
|
2
|
+
|
|
3
|
+
## 🎯 Overview
|
|
4
|
+
|
|
5
|
+
This is the **client-side application** designed to consume data from the **Monorepo Analytics and Health API** backend service.
|
|
6
|
+
It provides a **real-time, visual dashboard** for tracking the health, dependencies, and overall status of all packages within the monorepo.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 🛠 Technology Stack
|
|
11
|
+
|
|
12
|
+
| Component | Technology | Description |
|
|
13
|
+
| ----------------- | ----------------------------- | --------------------------------------------------------------------- |
|
|
14
|
+
| **Framework** | React (Functional Components) | Core library for building the user interface. |
|
|
15
|
+
| **Styling** | Tailwind CSS | Utility-first framework for responsive, modern, and aesthetic design. |
|
|
16
|
+
| **Data Fetching** | Fetch API (Native JavaScript) | Handles communication with the backend Express API. |
|
|
17
|
+
| **Icons** | Lucide React | Simple, clean vector icons for visualization. |
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## ⚙️ Prerequisites
|
|
22
|
+
|
|
23
|
+
To run this application, ensure the following:
|
|
24
|
+
|
|
25
|
+
- **Node.js** and a package manager (`npm`, `yarn`, or `pnpm`) are installed.
|
|
26
|
+
- The **Monorepo Analytics API** backend service is running and accessible.
|
|
27
|
+
- Default backend URL: **http://localhost:8999**
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## 🚨 API Connection Details
|
|
32
|
+
|
|
33
|
+
The dashboard connects to the backend API using the following base URL:
|
|
34
|
+
|
|
35
|
+
```javascript
|
|
36
|
+
const API_BASE_URL = 'http://localhost:8999/api';
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## 🚀 Getting Started
|
|
40
|
+
|
|
41
|
+
### Installation
|
|
42
|
+
|
|
43
|
+
Clone the repository and install the dependencies:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
# Clone the repository
|
|
47
|
+
git clone https://github.com/mindfiredigital/MonoDog.git
|
|
48
|
+
cd packages/monoapp/monodog-dashboard
|
|
49
|
+
|
|
50
|
+
# Install dependencies
|
|
51
|
+
npm install
|
|
52
|
+
|
|
53
|
+
# build
|
|
54
|
+
npm run build
|
|
55
|
+
|
|
56
|
+
# run dashboard
|
|
57
|
+
npm run dev
|
|
58
|
+
```
|