@alert-whatif/ui 0.1.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/index.d.ts +244 -0
- package/dist/index.js +5233 -0
- package/dist/index.js.map +1 -0
- package/package.json +64 -0
package/package.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@alert-whatif/ui",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Shared React components for alert-whatif (chart, compute trace, parameter controls). Pure presentational layer — no Grafana SDK, no datasource concerns. Consumed by @alert-whatif/demo and @alert-whatif/plugin.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Alertcraft",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "./dist/index.js",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/David6811/alert-whatif.git",
|
|
21
|
+
"directory": "packages/ui"
|
|
22
|
+
},
|
|
23
|
+
"homepage": "https://github.com/David6811/alert-whatif#readme",
|
|
24
|
+
"bugs": "https://github.com/David6811/alert-whatif/issues",
|
|
25
|
+
"keywords": [
|
|
26
|
+
"grafana",
|
|
27
|
+
"alerting",
|
|
28
|
+
"alert-rules",
|
|
29
|
+
"react",
|
|
30
|
+
"visualization"
|
|
31
|
+
],
|
|
32
|
+
"publishConfig": {
|
|
33
|
+
"access": "public"
|
|
34
|
+
},
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"react": "^18.0.0",
|
|
37
|
+
"react-dom": "^18.0.0"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"@emotion/css": "11.10.6",
|
|
41
|
+
"@alert-whatif/core": "^0.1.0"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
45
|
+
"@testing-library/react": "^16.3.2",
|
|
46
|
+
"@testing-library/user-event": "^14.6.1",
|
|
47
|
+
"@types/react": "^18.3.0",
|
|
48
|
+
"@types/react-dom": "^18.3.0",
|
|
49
|
+
"@vitejs/plugin-react": "^4.7.0",
|
|
50
|
+
"happy-dom": "^20.9.0",
|
|
51
|
+
"react": "^18.3.0",
|
|
52
|
+
"react-dom": "^18.3.0",
|
|
53
|
+
"tsup": "^8.5.1",
|
|
54
|
+
"typescript": "^5.9.0",
|
|
55
|
+
"vitest": "^3.2.4"
|
|
56
|
+
},
|
|
57
|
+
"scripts": {
|
|
58
|
+
"build": "tsup",
|
|
59
|
+
"typecheck": "tsc --noEmit",
|
|
60
|
+
"test": "vitest run"
|
|
61
|
+
},
|
|
62
|
+
"module": "./dist/index.js",
|
|
63
|
+
"types": "./dist/index.d.ts"
|
|
64
|
+
}
|