@crvouga/mockingbird-service-posthog 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/CHANGELOG.md +5 -0
- package/README.md +169 -0
- package/dist/chunk-A34UTVQR.js +356 -0
- package/dist/chunk-A34UTVQR.js.map +7 -0
- package/dist/chunk-KO6LMI55.js +2945 -0
- package/dist/chunk-KO6LMI55.js.map +7 -0
- package/dist/cli.js +19 -0
- package/dist/cli.js.map +7 -0
- package/dist/index.d.ts +1038 -0
- package/dist/index.js +37 -0
- package/dist/index.js.map +7 -0
- package/dist/server.d.ts +1319 -0
- package/dist/server.js +12 -0
- package/dist/server.js.map +7 -0
- package/package.json +91 -0
package/dist/server.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@crvouga/mockingbird-service-posthog",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Stateful mock of PostHog: /flags v2 and legacy /decide evaluation with per-test flag, variant and payload control, remote config, gzip/base64 capture (/batch/, /e/, /i/v0/e/), recordings intake, and the feature-flag management and HogQL API slice.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"sideEffects": false,
|
|
8
|
+
"files": [
|
|
9
|
+
"dist",
|
|
10
|
+
"README.md",
|
|
11
|
+
"CHANGELOG.md"
|
|
12
|
+
],
|
|
13
|
+
"main": "./dist/index.js",
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"default": "./dist/index.js"
|
|
19
|
+
},
|
|
20
|
+
"./server": {
|
|
21
|
+
"types": "./dist/server.d.ts",
|
|
22
|
+
"default": "./dist/server.js"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"bin": {
|
|
26
|
+
"mockingbird-posthog": "./dist/cli.js"
|
|
27
|
+
},
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public",
|
|
30
|
+
"provenance": true
|
|
31
|
+
},
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "git+https://github.com/crvouga/mockingbird.git",
|
|
35
|
+
"directory": "packages/service/posthog"
|
|
36
|
+
},
|
|
37
|
+
"homepage": "https://github.com/crvouga/mockingbird/tree/main/packages/service/posthog#readme",
|
|
38
|
+
"keywords": [
|
|
39
|
+
"mockingbird",
|
|
40
|
+
"service",
|
|
41
|
+
"posthog",
|
|
42
|
+
"feature-flags",
|
|
43
|
+
"analytics",
|
|
44
|
+
"capture"
|
|
45
|
+
],
|
|
46
|
+
"mockingbird": {
|
|
47
|
+
"runtime": "portable",
|
|
48
|
+
"entries": {
|
|
49
|
+
"server": "node",
|
|
50
|
+
"cli": "node"
|
|
51
|
+
},
|
|
52
|
+
"layer": "service",
|
|
53
|
+
"category": "observability",
|
|
54
|
+
"displayName": "PostHog",
|
|
55
|
+
"status": "wip"
|
|
56
|
+
},
|
|
57
|
+
"scripts": {
|
|
58
|
+
"generate": "bun ../../openapi/codegen/dist/cli.js",
|
|
59
|
+
"generate:check": "bun ../../openapi/codegen/dist/cli.js --check",
|
|
60
|
+
"openapi:check": "bun ../../openapi/codegen/dist/cli.js --validate",
|
|
61
|
+
"build": "bun ../../../scripts/bundle-service.ts",
|
|
62
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
63
|
+
"lint": "biome check .",
|
|
64
|
+
"test": "bun test",
|
|
65
|
+
"parity": "bun scripts/parity.ts",
|
|
66
|
+
"portability": "bun ../../../scripts/portability.ts",
|
|
67
|
+
"pack:check": "bun ../../../scripts/pack-check.ts"
|
|
68
|
+
},
|
|
69
|
+
"dependencies": {
|
|
70
|
+
"@crvouga/mockingbird-service-sqlite": "0.3.0",
|
|
71
|
+
"hono": "4.11.9"
|
|
72
|
+
},
|
|
73
|
+
"devDependencies": {
|
|
74
|
+
"fast-check": "4.9.0",
|
|
75
|
+
"@crvouga/mockingbird-testing": "0.1.0",
|
|
76
|
+
"@crvouga/mockingbird-service-sqlite": "0.0.0-development",
|
|
77
|
+
"@crvouga/mockingbird-parity": "0.0.0-development",
|
|
78
|
+
"@crvouga/mockingbird-openbao": "0.0.0-development",
|
|
79
|
+
"@crvouga/mockingbird-openapi-codegen": "0.1.0",
|
|
80
|
+
"@crvouga/mockingbird-openapi-metadata": "0.0.0-development",
|
|
81
|
+
"@crvouga/mockingbird-core": "0.0.0-development",
|
|
82
|
+
"@crvouga/mockingbird-sqlite": "0.0.0-development",
|
|
83
|
+
"@crvouga/mockingbird-openapi": "0.0.0-development",
|
|
84
|
+
"@crvouga/mockingbird-service": "0.0.0-development",
|
|
85
|
+
"@crvouga/mockingbird-http-codec": "0.0.0-development",
|
|
86
|
+
"@crvouga/mockingbird-adapter-node": "0.0.0-development",
|
|
87
|
+
"posthog-node": "5.52.2",
|
|
88
|
+
"@posthog/core": "1.54.0",
|
|
89
|
+
"posthog-js": "1.433.2"
|
|
90
|
+
}
|
|
91
|
+
}
|