Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(experiments): declaring the frontend dependencies of the product package (#112194)

Rodrigo Iloro508c9fafbe61
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 2ed4357a3ba7..e23d4c6be512 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -3640,6 +3640,21 @@ importers:
products/experiments:
dependencies:
+ '@base-ui/react':
+ specifier: 'catalog:'
+ '@dnd-kit/core':
+ specifier: '*'
+ '@dnd-kit/modifiers':
+ specifier: '*'
+ '@dnd-kit/sortable':
+ specifier: '*'
+ '@dnd-kit/utilities':
+ specifier: '*'
+ version: 3.2.1([email protected])
'@posthog/brand':
specifier: 'catalog:'
version: 0.12.3([email protected])
@@ -3667,9 +3682,18 @@ importers:
kea-router:
specifier: 'catalog:'
version: 3.4.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))
+ kea-subscriptions:
+ specifier: 'catalog:'
+ version: 3.0.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))
+ posthog-js:
+ specifier: 'catalog:'
+ version: 1.438.1(@types/[email protected])([email protected])
react:
specifier: 18.3.1
version: 18.3.1
+ react-dom:
+ specifier: 18.3.1
+ version: 18.3.1([email protected])
ts-pattern:
specifier: 'catalog:'
version: 4.3.0
diff --git a/products/experiments/package.json b/products/experiments/package.json
index c09f23dd057a..46a124066f9d 100644
--- a/products/experiments/package.json
+++ b/products/experiments/package.json
@@ -4,11 +4,14 @@
"backend:test": "pytest -c ../../pytest.ini --rootdir ../.. backend/ stats/tests -v --tb=short"
},
"dependencies": {
+ "@base-ui/react": "catalog:",
"@posthog/brand": "catalog:",
"fast-equals": "catalog:",
"kea": "catalog:",
"kea-loaders": "catalog:",
"kea-router": "catalog:",
+ "kea-subscriptions": "catalog:",
+ "posthog-js": "catalog:",
"ts-pattern": "catalog:"
},
"devDependencies": {
@@ -19,6 +22,10 @@
"kea-test-utils": "catalog:"
},
"peerDependencies": {
+ "@dnd-kit/core": "*",
+ "@dnd-kit/modifiers": "*",
+ "@dnd-kit/sortable": "*",
+ "@dnd-kit/utilities": "*",
"@posthog/brand": "catalog:",
"@posthog/icons": "catalog:",
"@testing-library/dom": "*",
@@ -27,6 +34,7 @@
"@testing-library/user-event": "*",
"@types/react": "*",
"clsx": "*",
- "react": "*"
+ "react": "*",
+ "react-dom": "*"
}
}