@inversifyjs/http-insights-ui 0.0.0-stage → 0.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/LICENSE +21 -0
- package/dist/assets/index-AW6PJHc7.js +9 -0
- package/dist/assets/index-CilfjRp-.css +1 -0
- package/dist/assets/logo-DiUBEWvq.svg +175 -0
- package/dist/index.html +49 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +6 -0
- package/lib/index.js.map +1 -0
- package/package.json +83 -3
- package/README.md +0 -3
package/dist/index.html
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
+
<title>Calls — HTTP Insights</title>
|
|
7
|
+
<meta name="theme-color" content="#070b12" />
|
|
8
|
+
<link rel="icon" href="/.inversify/http-insights-ui/assets/logo-DiUBEWvq.svg" />
|
|
9
|
+
<script>
|
|
10
|
+
(function () {
|
|
11
|
+
var theme = 'dark';
|
|
12
|
+
|
|
13
|
+
try {
|
|
14
|
+
var stored = localStorage.getItem('http-insights-ui-theme');
|
|
15
|
+
if (stored === 'light' || stored === 'dark') {
|
|
16
|
+
theme = stored;
|
|
17
|
+
} else if (
|
|
18
|
+
window.matchMedia('(prefers-color-scheme: light)').matches
|
|
19
|
+
) {
|
|
20
|
+
theme = 'light';
|
|
21
|
+
}
|
|
22
|
+
} catch (error) {
|
|
23
|
+
theme = 'dark';
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
document.documentElement.setAttribute('data-theme', theme);
|
|
27
|
+
|
|
28
|
+
var meta = document.querySelector('meta[name="theme-color"]');
|
|
29
|
+
if (meta) {
|
|
30
|
+
meta.setAttribute(
|
|
31
|
+
'content',
|
|
32
|
+
theme === 'light' ? '#eef3f8' : '#070b12',
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
})();
|
|
36
|
+
</script>
|
|
37
|
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
38
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
39
|
+
<link
|
|
40
|
+
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600&family=Outfit:wght@500;600&display=swap"
|
|
41
|
+
rel="stylesheet"
|
|
42
|
+
/>
|
|
43
|
+
<script type="module" crossorigin src="/.inversify/http-insights-ui/assets/index-AW6PJHc7.js"></script>
|
|
44
|
+
<link rel="stylesheet" crossorigin href="/.inversify/http-insights-ui/assets/index-CilfjRp-.css">
|
|
45
|
+
</head>
|
|
46
|
+
<body>
|
|
47
|
+
<div id="root"></div>
|
|
48
|
+
</body>
|
|
49
|
+
</html>
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,6BAA6B,EAAE,MAI3C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,MAAuC,CAAC"}
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { dirname, join } from 'node:path';
|
|
2
|
+
import { fileURLToPath } from 'node:url';
|
|
3
|
+
const moduleDirectory = dirname(fileURLToPath(import.meta.url));
|
|
4
|
+
export const httpInsightsUiBundleDirectory = join(moduleDirectory, '..', 'dist');
|
|
5
|
+
export const httpInsightsUiPath = '/.inversify/http-insights-ui';
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,eAAe,GAAW,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAExE,MAAM,CAAC,MAAM,6BAA6B,GAAW,IAAI,CACvD,eAAe,EACf,IAAI,EACJ,MAAM,CACP,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAW,8BAA8B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,86 @@
|
|
|
1
1
|
{
|
|
2
|
+
"author": "Roberto Pintos López",
|
|
3
|
+
"bugs": {
|
|
4
|
+
"url": "https://github.com/inversify/monorepo/issues"
|
|
5
|
+
},
|
|
6
|
+
"description": "InversifyJS HTTP insights user interface",
|
|
7
|
+
"devEngines": {
|
|
8
|
+
"node": "^24.10.0",
|
|
9
|
+
"pnpm": "^12.0.0"
|
|
10
|
+
},
|
|
11
|
+
"exports": {
|
|
12
|
+
".": "./lib/index.js"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist",
|
|
16
|
+
"lib",
|
|
17
|
+
"!lib/**/*.spec.js",
|
|
18
|
+
"!lib/**/*.spec.js.map",
|
|
19
|
+
"!lib/**/*.spec.d.ts",
|
|
20
|
+
"!lib/**/*.spec.d.ts.map"
|
|
21
|
+
],
|
|
22
|
+
"homepage": "https://inversify.io",
|
|
23
|
+
"keywords": [
|
|
24
|
+
"dependency injection",
|
|
25
|
+
"dependency inversion",
|
|
26
|
+
"di",
|
|
27
|
+
"http",
|
|
28
|
+
"insights",
|
|
29
|
+
"inversion of control container",
|
|
30
|
+
"ioc",
|
|
31
|
+
"javascript",
|
|
32
|
+
"node",
|
|
33
|
+
"typescript"
|
|
34
|
+
],
|
|
35
|
+
"license": "MIT",
|
|
2
36
|
"name": "@inversifyjs/http-insights-ui",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
37
|
+
"publishConfig": {
|
|
38
|
+
"access": "public"
|
|
39
|
+
},
|
|
40
|
+
"repository": {
|
|
41
|
+
"type": "git",
|
|
42
|
+
"url": "git+https://github.com/inversify/monorepo.git"
|
|
43
|
+
},
|
|
44
|
+
"type": "module",
|
|
45
|
+
"version": "0.3.0",
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@eslint/js": "10.0.1",
|
|
48
|
+
"@inversifyjs/foundation-eslint-config": "0.3.0",
|
|
49
|
+
"@inversifyjs/foundation-prettier-config": "0.1.1",
|
|
50
|
+
"@inversifyjs/foundation-typescript-config": "0.2.0",
|
|
51
|
+
"@tanstack/react-query": "5.104.5",
|
|
52
|
+
"@testing-library/react": "16.3.3",
|
|
53
|
+
"@types/node": "24.19.2",
|
|
54
|
+
"@types/react": "19.3.0",
|
|
55
|
+
"@types/react-dom": "19.3.0",
|
|
56
|
+
"@vitejs/plugin-react": "6.1.2",
|
|
57
|
+
"@vitest/coverage-v8": "5.0.5",
|
|
58
|
+
"eslint": "10.13.0",
|
|
59
|
+
"globals": "17.13.0",
|
|
60
|
+
"jsdom": "30.1.3",
|
|
61
|
+
"lucide-react": "1.61.0",
|
|
62
|
+
"prettier": "3.9.10",
|
|
63
|
+
"react": "19.3.1",
|
|
64
|
+
"react-dom": "19.3.1",
|
|
65
|
+
"react-router": "8.5.0",
|
|
66
|
+
"rimraf": "6.1.3",
|
|
67
|
+
"typescript": "6.0.3",
|
|
68
|
+
"vite": "8.3.5",
|
|
69
|
+
"vitest": "5.0.5"
|
|
70
|
+
},
|
|
71
|
+
"scripts": {
|
|
72
|
+
"build": "pnpm run typecheck && pnpm run build:bundle && pnpm run build:node",
|
|
73
|
+
"build:bundle": "vite build",
|
|
74
|
+
"build:clean": "rimraf dist lib tsconfig.build.tsbuildinfo tsconfig.tsbuildinfo",
|
|
75
|
+
"build:node": "tsc -p tsconfig.build.json",
|
|
76
|
+
"dev": "HTTP_INSIGHTS_UI_BASE=/ vite",
|
|
77
|
+
"format": "prettier --write ./src ./index.html ./vite.config.ts",
|
|
78
|
+
"lint": "eslint ./src ./vite.config.ts",
|
|
79
|
+
"prebuild": "pnpm run build:clean",
|
|
80
|
+
"test": "vitest run",
|
|
81
|
+
"test:coverage": "pnpm run test:unit --coverage",
|
|
82
|
+
"test:integration": "pnpm run test --project Integration",
|
|
83
|
+
"test:unit": "pnpm run test --project Unit",
|
|
84
|
+
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
85
|
+
}
|
|
6
86
|
}
|
package/README.md
DELETED