@nifrajs/devtools 2.1.0 → 2.3.0

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/README.md CHANGED
@@ -18,7 +18,7 @@ unless explicitly allowed. Leave it unregistered in production for zero request-
18
18
 
19
19
  ## For AI agents
20
20
 
21
- Start with [`LLM.md`](./LLM.md) — this package's contract card (the exports you call + its footguns),
21
+ Start with [`LLM.md`](./LLM.md) - this package's contract card (the exports you call + its footguns),
22
22
  one cheap read instead of the whole corpus. For the wider framework: the repo's
23
23
  [`AGENTS.md`](../../AGENTS.md) is the copy-paste quick reference, and
24
24
  [`llms-full.txt`](../../llms-full.txt) is the full machine-readable corpus. Run `nifra check` as the
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * `@nifrajs/devtools` — interactive DevTools overlay for `nifra dev`.
2
+ * `@nifrajs/devtools` - interactive DevTools overlay for `nifra dev`.
3
3
  *
4
4
  * Server-side: a middleware plugin that captures request traces into a ring buffer
5
5
  * and streams them via SSE at `/_nifra/devtools`.
@@ -7,7 +7,7 @@
7
7
  * Client-side: a floating browser overlay that connects to the SSE stream and
8
8
  * renders a scrolling log of request traces with ISR status badges.
9
9
  *
10
- * **Zero production overhead** — register conditionally:
10
+ * **Zero production overhead** - register conditionally:
11
11
  * ```ts
12
12
  * if (process.env.NODE_ENV !== "production") app.use(devtools())
13
13
  * ```
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * `@nifrajs/devtools` — interactive DevTools overlay for `nifra dev`.
2
+ * `@nifrajs/devtools` - interactive DevTools overlay for `nifra dev`.
3
3
  *
4
4
  * Server-side: a middleware plugin that captures request traces into a ring buffer
5
5
  * and streams them via SSE at `/_nifra/devtools`.
@@ -7,7 +7,7 @@
7
7
  * Client-side: a floating browser overlay that connects to the SSE stream and
8
8
  * renders a scrolling log of request traces with ISR status badges.
9
9
  *
10
- * **Zero production overhead** — register conditionally:
10
+ * **Zero production overhead** - register conditionally:
11
11
  * ```ts
12
12
  * if (process.env.NODE_ENV !== "production") app.use(devtools())
13
13
  * ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nifrajs/devtools",
3
- "version": "2.1.0",
4
- "description": "Interactive DevTools overlay for nifra dev — loader traces, ISR status, route metadata.",
3
+ "version": "2.3.0",
4
+ "description": "Interactive DevTools overlay for nifra dev - loader traces, ISR status, route metadata.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -31,12 +31,21 @@
31
31
  "access": "public"
32
32
  },
33
33
  "dependencies": {
34
- "@nifrajs/otel": "2.1.0"
34
+ "@nifrajs/otel": "2.3.0"
35
35
  },
36
36
  "peerDependencies": {
37
- "@nifrajs/core": "^2.1.0"
37
+ "@nifrajs/core": "^2.3.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@nifrajs/core": "workspace:*"
41
- }
41
+ },
42
+ "repository": {
43
+ "type": "git",
44
+ "url": "git+https://github.com/nifrajs/nifra.git",
45
+ "directory": "packages/devtools"
46
+ },
47
+ "bugs": {
48
+ "url": "https://github.com/nifrajs/nifra/issues"
49
+ },
50
+ "homepage": "https://github.com/nifrajs/nifra#readme"
42
51
  }
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * `@nifrajs/devtools` — interactive DevTools overlay for `nifra dev`.
2
+ * `@nifrajs/devtools` - interactive DevTools overlay for `nifra dev`.
3
3
  *
4
4
  * Server-side: a middleware plugin that captures request traces into a ring buffer
5
5
  * and streams them via SSE at `/_nifra/devtools`.
@@ -7,7 +7,7 @@
7
7
  * Client-side: a floating browser overlay that connects to the SSE stream and
8
8
  * renders a scrolling log of request traces with ISR status badges.
9
9
  *
10
- * **Zero production overhead** — register conditionally:
10
+ * **Zero production overhead** - register conditionally:
11
11
  * ```ts
12
12
  * if (process.env.NODE_ENV !== "production") app.use(devtools())
13
13
  * ```