You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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-vercel console example app (TypeScript build, .env.example, README) that initializes @launchdarkly/vercel-server-sdk with Vercel Edge Config, evaluates a boolean flag, and optionally polls for changes.
Registers the new example as a Yarn workspace, updates release-please-config.json to 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.
@launchdarkly/js-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 25623 bytes
Compressed size limit: 29000
Uncompressed size: 125843 bytes
@launchdarkly/js-client-sdk size report
This is the brotli compressed size of the ESM build.
Compressed size: 31664 bytes
Compressed size limit: 34000
Uncompressed size: 112917 bytes
@launchdarkly/browser size report
This is the brotli compressed size of the ESM build.
Compressed size: 179382 bytes
Compressed size limit: 200000
Uncompressed size: 830105 bytes
@launchdarkly/js-client-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 37214 bytes
Compressed size limit: 38000
Uncompressed size: 204443 bytes
The reason will be displayed to describe this comment to others. Learn more.
✅ Devin Review: No Issues Found
Devin Review analyzed this PR and found no potential bugs to report.
View in Devin Review to see 3 additional findings.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.