Conversation
|
@launchdarkly/js-sdk-common size report |
|
@launchdarkly/js-client-sdk size report |
|
@launchdarkly/browser size report |
|
@launchdarkly/js-client-sdk-common size report |
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit c42eb49. Configure here.
|
converting this back to draft because we should make this example deployable to vercel. So will need to align this more towards https://github.com/launchdarkly/js-core/tree/main/packages/sdk/vercel/examples/complete. We can look into https://github.com/vercel-labs/emulate to drive e2e and/or easier example start up. |
This PR will create a hello app for vercel sdk that follow the example app specs.
This example should be much simplier and easier to follow than the existing samples.
NOTE: I am also planning on updating the existing examples in future PRs to modernize the implementation.
Note
Low Risk
Primarily adds a new example workspace and metadata wiring; no changes to core SDK runtime behavior or production code paths.
Overview
Adds a new
packages/sdk/vercel/examples/hello-vercelconsole example app (TypeScript build,.env.example, README) that initializes@launchdarkly/vercel-server-sdkwith Vercel Edge Config, evaluates a boolean flag, and optionally polls for changes.Registers the new example as a Yarn workspace, updates
release-please-config.jsonto keep the example’s SDK dependency in sync, and renames the React Vercel Edge example package from@internal/...to@launchdarkly/....Reviewed by Cursor Bugbot for commit c42eb49. Bugbot is set up for automated code reviews on this repo. Configure here.