server-devtools 0.1.0 → 0.1.1

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 (2) hide show
  1. package/README.md +24 -1
  2. package/package.json +11 -19
package/README.md CHANGED
@@ -25,7 +25,7 @@ one developer-focused interface.
25
25
 
26
26
  ## Demo
27
27
 
28
- > Add launch GIF/video here.
28
+ ![ServerDevTools demo](./assets/server-devtools-demo.gif)
29
29
 
30
30
  ``` text
31
31
  POST /users
@@ -314,6 +314,29 @@ Make requests to your application and they will appear in the dashboard.
314
314
 
315
315
  ------------------------------------------------------------------------
316
316
 
317
+ ## Examples
318
+
319
+ Working example applications are available if you want to see ServerDevTools
320
+ integrated into a real project.
321
+
322
+ ### Express + TypeScript
323
+
324
+ [server-devtools-express-ts](https://github.com/Goddiegold/server-devtools-express-ts)
325
+
326
+ A minimal Express + TypeScript application showing ServerDevTools
327
+ initialization, preloading, middleware mounting, encryption configuration,
328
+ current-user capture, and request inspection.
329
+
330
+ ### NestJS
331
+
332
+ [server-devtools-nestjs-test](https://github.com/Goddiegold/server-devtools-nestjs-test)
333
+
334
+ A minimal NestJS application showing the ServerDevTools preload setup,
335
+ middleware integration, NestJS error interceptor, encryption configuration,
336
+ current-user capture, and request inspection.
337
+
338
+ ------------------------------------------------------------------------
339
+
317
340
  ## Request Inspector
318
341
 
319
342
  Inspect the incoming request, including:
package/package.json CHANGED
@@ -1,14 +1,12 @@
1
1
  {
2
2
  "name": "server-devtools",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Chrome DevTools for your backend. Inspect HTTP requests, database operations, outbound calls, errors, and execution timing from an embedded dashboard.",
5
- "license": "Apache-2.0",
5
+ "license": "Apache-2.0",
6
6
  "author": "Godwin Ehikhamhen",
7
7
  "type": "commonjs",
8
-
9
8
  "main": "./dist/src/index.js",
10
9
  "types": "./dist/src/index.d.ts",
11
-
12
10
  "exports": {
13
11
  ".": {
14
12
  "types": "./dist/src/index.d.ts",
@@ -21,23 +19,20 @@
21
19
  "default": "./dist/src/nestjs.js"
22
20
  }
23
21
  },
24
-
25
22
  "files": [
26
23
  "dist",
27
24
  "README.md",
28
25
  "LICENSE"
29
26
  ],
30
-
31
- "scripts": {
32
- "clean": "rm -rf dist",
33
- "build:sdk": "tsc -p tsconfig.build.json && node scripts/finalize-commonjs-entry.cjs",
34
- "build:dashboard": "npm --prefix dashboard run build",
35
- "build": "npm run clean && npm run build:sdk && npm run build:dashboard",
36
- "test": "tsx --test tests/*.test.ts",
37
- "typecheck": "tsc --noEmit",
38
- "prepublishOnly": "npm run test && npm run typecheck && npm run build"
39
- },
40
-
27
+ "scripts": {
28
+ "clean": "rm -rf dist",
29
+ "build:sdk": "tsc -p tsconfig.build.json && node scripts/finalize-commonjs-entry.cjs",
30
+ "build:dashboard": "npm --prefix dashboard run build",
31
+ "build": "npm run clean && npm run build:sdk && npm run build:dashboard",
32
+ "test": "tsx --test tests/*.test.ts",
33
+ "typecheck": "tsc --noEmit",
34
+ "prepublishOnly": "npm run test && npm run typecheck && npm run build"
35
+ },
41
36
  "keywords": [
42
37
  "nodejs",
43
38
  "debugging",
@@ -50,11 +45,9 @@
50
45
  "nestjs",
51
46
  "mongodb"
52
47
  ],
53
-
54
48
  "engines": {
55
49
  "node": ">=20"
56
50
  },
57
-
58
51
  "dependencies": {
59
52
  "@opentelemetry/api": "^1.9.1",
60
53
  "@opentelemetry/auto-instrumentations-node": "^0.79.0",
@@ -65,7 +58,6 @@
65
58
  "@opentelemetry/sdk-node": "^0.221.0",
66
59
  "@opentelemetry/sdk-trace-node": "^2.10.0"
67
60
  },
68
-
69
61
  "devDependencies": {
70
62
  "@nestjs/common": "^11.2.3",
71
63
  "@nestjs/core": "^11.2.3",