@freelensapp/kafka-extension 1.0.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 +18 -0
- package/README.md +432 -0
- package/out/main/index.js +147094 -0
- package/out/main/index.js.map +1 -0
- package/out/renderer/index.js +8125 -0
- package/out/renderer/index.js.map +1 -0
- package/package.json +131 -0
package/package.json
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@freelensapp/kafka-extension",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Freelens extension for Apache Kafka",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/freelensapp/freelens-kafka-extension.git",
|
|
8
|
+
"directory": "."
|
|
9
|
+
},
|
|
10
|
+
"main": "out/main/index.js",
|
|
11
|
+
"renderer": "out/renderer/index.js",
|
|
12
|
+
"files": [
|
|
13
|
+
"out/**/*"
|
|
14
|
+
],
|
|
15
|
+
"engines": {
|
|
16
|
+
"node": ">= 22.0.0",
|
|
17
|
+
"freelens": "^1.8.0"
|
|
18
|
+
},
|
|
19
|
+
"copyright": "© 2025-2026 Freelens Authors",
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"author": {
|
|
22
|
+
"name": "Freelens Authors",
|
|
23
|
+
"email": "freelens@freelens.app"
|
|
24
|
+
},
|
|
25
|
+
"publishConfig": {
|
|
26
|
+
"access": "public",
|
|
27
|
+
"registry": "https://registry.npmjs.org/"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@electron-toolkit/tsconfig": "^2.0.0",
|
|
31
|
+
"@freelensapp/extensions": "^1.9.0",
|
|
32
|
+
"@kubernetes/client-node": "^1.4.0",
|
|
33
|
+
"@types/node": "~24.12.4",
|
|
34
|
+
"@types/react": "^17.0.91",
|
|
35
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
36
|
+
"avsc": "^5.7.9",
|
|
37
|
+
"electron-vite": "^5.0.0",
|
|
38
|
+
"encoding": "^0.1.13",
|
|
39
|
+
"kafkajs": "^2.2.4",
|
|
40
|
+
"lz4-asm": "0.4.2",
|
|
41
|
+
"mobx": "6.16.1",
|
|
42
|
+
"protobufjs": "^7.6.5",
|
|
43
|
+
"react": "17.0.2",
|
|
44
|
+
"sass": "^1.99.0",
|
|
45
|
+
"tsx": "^4.19.2",
|
|
46
|
+
"typescript": "5.9.3",
|
|
47
|
+
"vite": "^8.0.16",
|
|
48
|
+
"vite-plugin-sass-dts": "^1.3.37",
|
|
49
|
+
"vitest": "^4.1.8"
|
|
50
|
+
},
|
|
51
|
+
"keywords": [
|
|
52
|
+
"extension",
|
|
53
|
+
"freelensapp",
|
|
54
|
+
"lens",
|
|
55
|
+
"openlens",
|
|
56
|
+
"freelens",
|
|
57
|
+
"kafka"
|
|
58
|
+
],
|
|
59
|
+
"scripts": {
|
|
60
|
+
"biome": "pnpm dlx @biomejs/biome@2.5.1",
|
|
61
|
+
"biome:check": "pnpm biome check",
|
|
62
|
+
"biome:fix": "pnpm biome check --fix",
|
|
63
|
+
"biome:migrate": "pnpm biome migrate --write",
|
|
64
|
+
"trunk": "pnpm dlx @trunkio/launcher@1.3.4",
|
|
65
|
+
"trunk:check": "pnpm trunk check",
|
|
66
|
+
"trunk:check:all": "pnpm trunk check --all",
|
|
67
|
+
"trunk:fix": "pnpm trunk check --fix",
|
|
68
|
+
"trunk:fix:all": "pnpm trunk check --fix --all",
|
|
69
|
+
"lint": "pnpm lint:check",
|
|
70
|
+
"lint:check": "pnpm biome:check",
|
|
71
|
+
"lint:fix": "pnpm biome:fix",
|
|
72
|
+
"knip": "pnpm dlx knip@6.15.0 --dependencies --no-gitignore",
|
|
73
|
+
"knip:check": "pnpm clean:out && pnpm \"/^knip:(development|production)\\$/\"",
|
|
74
|
+
"knip:development": "pnpm knip",
|
|
75
|
+
"knip:production": "pnpm knip --production --strict",
|
|
76
|
+
"test:unit": "vitest run",
|
|
77
|
+
"smoke:main": "node scripts/smoke-main.cjs",
|
|
78
|
+
"mcp:app": "bash scripts/start-playwright-mcp-app.sh",
|
|
79
|
+
"type:check": "tsc --noEmit -p tsconfig.json --composite false",
|
|
80
|
+
"prebuild": "pnpm type:check",
|
|
81
|
+
"build": "electron-vite build && pnpm smoke:main",
|
|
82
|
+
"build:production": "VITE_PRESERVE_MODULES=false electron-vite build && pnpm smoke:main",
|
|
83
|
+
"build:force": "electron-vite build",
|
|
84
|
+
"bump-version": "pnpm version --no-commit-hooks --no-git-tag-version",
|
|
85
|
+
"pack:dev": "pnpm bump-version prerelease && pnpm build:force && pnpm build && pnpm clean:tgz && pnpm pack && pnpm dlx shx@0.4.0 ls \"$PWD/*.tgz\"",
|
|
86
|
+
"clean": "pnpm clean:out",
|
|
87
|
+
"clean:node_modules": "pnpm dlx shx@0.4.0 rm -rf node_modules",
|
|
88
|
+
"clean:out": "pnpm dlx shx@0.4.0 rm -rf out",
|
|
89
|
+
"clean:tgz": "pnpm dlx shx@0.4.0 rm -f \"*.tgz\"",
|
|
90
|
+
"clean:all": "pnpm \"/^clean:(node_modules|out|tgz)\\$/\"",
|
|
91
|
+
"kafka:up": "docker compose -f test/e2e/docker-compose.yml up -d --wait",
|
|
92
|
+
"kafka:down": "docker compose -f test/e2e/docker-compose.yml down -v",
|
|
93
|
+
"itest": "tsx test/e2e/integration.local.ts",
|
|
94
|
+
"kind:up": "kind load docker-image apache/kafka:3.9.0 --name kind && kubectl --context kind-kind apply -f test/e2e/fixtures/kafka-kind.yaml && kubectl --context kind-kind wait --for=condition=Ready pod/kafka-0 --timeout=180s",
|
|
95
|
+
"kind:down": "kubectl --context kind-kind delete -f test/e2e/fixtures/kafka-kind.yaml --ignore-not-found",
|
|
96
|
+
"itest:kind": "tsx test/e2e/integration.kind.ts",
|
|
97
|
+
"kind:disc:up": "kubectl --context kind-kind apply -f test/e2e/fixtures/strimzi-crd-kind.yaml && kubectl --context kind-kind wait --for=condition=Established crd/kafkas.kafka.strimzi.io --timeout=60s && kubectl --context kind-kind apply -f test/e2e/fixtures/strimzi-fixtures-kind.yaml",
|
|
98
|
+
"kind:disc:down": "kubectl --context kind-kind delete -f test/e2e/fixtures/strimzi-fixtures-kind.yaml --ignore-not-found && kubectl --context kind-kind delete -f test/e2e/fixtures/strimzi-crd-kind.yaml --ignore-not-found",
|
|
99
|
+
"kind:real:up": "kind load docker-image apache/kafka:3.9.0 --name kind && kubectl --context kind-kind apply -f test/e2e/fixtures/strimzi-crd-kind.yaml && kubectl --context kind-kind wait --for=condition=Established crd/kafkas.kafka.strimzi.io --timeout=60s && kubectl --context kind-kind apply -f test/e2e/fixtures/strimzi-real-kind.yaml && kubectl --context kind-kind wait --for=condition=Ready pod/my-cluster-kafka-0 --timeout=180s",
|
|
100
|
+
"kind:real:down": "kubectl --context kind-kind delete -f test/e2e/fixtures/strimzi-real-kind.yaml --ignore-not-found && kubectl --context kind-kind delete -f test/e2e/fixtures/strimzi-crd-kind.yaml --ignore-not-found",
|
|
101
|
+
"kind:univ:up": "kubectl --context kind-kind apply -f test/e2e/fixtures/workload-external-kind.yaml",
|
|
102
|
+
"kind:univ:down": "kubectl --context kind-kind delete -f test/e2e/fixtures/workload-external-kind.yaml --ignore-not-found",
|
|
103
|
+
"itest:cache:real": "tsx test/e2e/cache-timing.real.ts",
|
|
104
|
+
"evidence:aggregate": "tsx test/e2e/aggregate-performance-runs.ts",
|
|
105
|
+
"evidence:finalize": "tsx test/e2e/finalize-performance-evidence.ts",
|
|
106
|
+
"evidence:akhq:real": "tsx test/e2e/akhq-timing.real.ts",
|
|
107
|
+
"kafka:direct:up": "docker compose -p freelens-kafka-e2e-direct -f test/e2e/docker-compose.direct.yml up -d --wait && bash test/e2e/setup-direct.sh",
|
|
108
|
+
"kafka:direct:down": "docker compose -p freelens-kafka-e2e-direct -f test/e2e/docker-compose.direct.yml down -v",
|
|
109
|
+
"kafka:acl:up": "docker compose -p freelens-kafka-e2e-acl -f test/e2e/docker-compose.acl.yml up -d --wait",
|
|
110
|
+
"kafka:acl:down": "docker compose -p freelens-kafka-e2e-acl -f test/e2e/docker-compose.acl.yml down -v",
|
|
111
|
+
"itest:acls": "tsx test/e2e/integration.acls.local.ts",
|
|
112
|
+
"itest:messages": "tsx test/e2e/integration.messages.local.ts",
|
|
113
|
+
"itest:groups": "tsx test/e2e/integration.groups.local.ts",
|
|
114
|
+
"itest:health": "tsx test/e2e/integration.health.local.ts",
|
|
115
|
+
"itest:health-fallback": "ALLOW_LOCAL_MUTATING_KAFKA_FIXTURE=1 KAFKA_LOCAL=127.0.0.1:19092 tsx test/e2e/setup-direct-group.ts && KAFKA_LOCAL=127.0.0.1:19092 tsx test/e2e/integration.health-fallback.local.ts",
|
|
116
|
+
"itest:group-batch": "ALLOW_LOCAL_MUTATING_KAFKA_FIXTURE=1 KAFKA_LOCAL=127.0.0.1:19092 tsx test/e2e/integration.group-offset-batch.local.ts",
|
|
117
|
+
"itest:aggregate-worker": "tsx test/e2e/integration.aggregate-health.local.ts",
|
|
118
|
+
"itest:broker-config": "tsx test/e2e/integration.broker-config.local.ts",
|
|
119
|
+
"kafka:auth:up": "docker compose -f test/e2e/docker-compose.auth.yml up -d --wait && bash test/e2e/setup-auth.sh",
|
|
120
|
+
"kafka:auth:down": "docker compose -f test/e2e/docker-compose.auth.yml down -v",
|
|
121
|
+
"itest:security": "tsx test/e2e/integration.security.local.ts",
|
|
122
|
+
"kind:direct:up": "kubectl --context kind-kind apply -f test/e2e/fixtures/workload-direct-kind.yaml",
|
|
123
|
+
"kind:direct:down": "kubectl --context kind-kind delete -f test/e2e/fixtures/workload-direct-kind.yaml --ignore-not-found",
|
|
124
|
+
"kind:auth:up": "kubectl --context kind-kind apply -f test/e2e/fixtures/workload-auth-kind.yaml",
|
|
125
|
+
"kind:auth:down": "kubectl --context kind-kind delete -f test/e2e/fixtures/workload-auth-kind.yaml --ignore-not-found",
|
|
126
|
+
"itest:disc:kind": "tsx test/e2e/integration.discovery.kind.ts",
|
|
127
|
+
"kind:p25:up": "kind load docker-image apache/kafka:3.9.0 --name kind && kubectl --context kind-kind apply -f test/e2e/fixtures/kafka-p25-kind.yaml && kubectl --context kind-kind wait --for=condition=Ready pod/kafka-0 --timeout=180s",
|
|
128
|
+
"kind:p25:down": "kubectl --context kind-kind delete -f test/e2e/fixtures/kafka-p25-kind.yaml --ignore-not-found",
|
|
129
|
+
"itest:p25:kind": "tsx test/e2e/integration.connect.kind.ts"
|
|
130
|
+
}
|
|
131
|
+
}
|