@monodog/backend 1.2.4 → 1.2.5
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/dist/cli.js +1 -0
- package/package.json +3 -3
- package/src/cli.ts +1 -0
package/dist/cli.js
CHANGED
|
@@ -99,6 +99,7 @@ Usage:
|
|
|
99
99
|
Options:
|
|
100
100
|
--serve Start the Monorepo Dashboard API server (default: off).
|
|
101
101
|
--root <path> Specify the root directory of the monorepo to analyze (default: current working directory).
|
|
102
|
+
--port <number> Specify the port for the API server (default: 4000).
|
|
102
103
|
-h, --help Show this help message.
|
|
103
104
|
|
|
104
105
|
Example:
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monodog/backend",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5",
|
|
4
4
|
"description": "Backend API server for monodog monorepo dashboard",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"bin": {
|
|
8
|
-
"monodog-cli": "
|
|
8
|
+
"monodog-cli": "dist/cli.js"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"dev": "tsx watch src/index.ts",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"lint:fix": "eslint . --fix",
|
|
22
22
|
"db:url": "npx ts-node get-db-url.ts",
|
|
23
23
|
"migrate": "DATABASE_URL=$(npm run db:url --silent 2>/dev/null | tr -d '\\n') npx prisma migrate dev",
|
|
24
|
-
"serve": "DATABASE_URL=$(npm run db:url --silent 2>/dev/null | tr -d '\\n') ts-node
|
|
24
|
+
"serve": "DATABASE_URL=$(npm run db:url --silent 2>/dev/null | tr -d '\\n') ts-node dist/cli.js --serve "
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@monodog/ci-status": "1.1.1",
|
package/src/cli.ts
CHANGED
|
@@ -68,6 +68,7 @@ Usage:
|
|
|
68
68
|
Options:
|
|
69
69
|
--serve Start the Monorepo Dashboard API server (default: off).
|
|
70
70
|
--root <path> Specify the root directory of the monorepo to analyze (default: current working directory).
|
|
71
|
+
--port <number> Specify the port for the API server (default: 4000).
|
|
71
72
|
-h, --help Show this help message.
|
|
72
73
|
|
|
73
74
|
Example:
|