-
Notifications
You must be signed in to change notification settings - Fork 36
feat: FDv2 contract test wiring, suppressions, and example app, cleanup configuration exports. #1225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
feat: FDv2 contract test wiring, suppressions, and example app, cleanup configuration exports. #1225
Changes from 88 commits
Commits
Show all changes
94 commits
Select commit
Hold shift + click to select a range
e6a4d76
feat: add FDv2 types, refined validators, and DataManager interface e…
kinyoklion a4d5ad0
feat: add FlagManager.applyChanges for FDv2 full/partial/none semantics
kinyoklion cb9d6b6
feat: add SourceFactoryProvider for declarative data source creation
kinyoklion c33790c
Merge branch 'rlamb/fdv2-flag-manager-apply-changes' into rlamb/fdv2-…
kinyoklion 455e057
feat: add FDv2DataManagerBase for mode switching and data source life…
kinyoklion 20f3d28
Merge branch 'main' into rlamb/fdv2-source-factory-provider
kinyoklion a908f6f
feat: wire FDv2 data manager into BrowserClient
kinyoklion 68895af
feat: add FDv2 contract test wiring, suppressions, and example app
kinyoklion 97568e4
fix: address PR review feedback on SourceFactoryProvider
kinyoklion 25121e3
Merge branch 'rlamb/fdv2-source-factory-provider' into rlamb/fdv2-dat…
kinyoklion b1ca6c1
fix: update FDv2DataManagerBase for restructured SourceFactoryContext
kinyoklion de39213
fix: increase bundle size limits for common and sdk-client packages
kinyoklion d9711c4
Merge branch 'rlamb/fdv2-source-factory-provider' into rlamb/fdv2-dat…
kinyoklion 2acb9ab
Merge branch 'rlamb/fdv2-data-manager-base' into rlamb/fdv2-browser-c…
kinyoklion d8a5cd8
Merge branch 'rlamb/fdv2-browser-client-integration' into rlamb/fdv2-…
kinyoklion a343b8b
fix: add applyChanges to FlagUpdater/FlagStore to bypass FDv1 version…
kinyoklion a076479
Merge branch 'rlamb/fdv2-flag-manager-apply-changes' into rlamb/fdv2-…
kinyoklion 90e6af6
Merge branch 'rlamb/fdv2-data-manager-base' into rlamb/fdv2-browser-c…
kinyoklion c3af194
Merge branch 'rlamb/fdv2-browser-client-integration' into rlamb/fdv2-…
kinyoklion 95dabe4
Merge remote-tracking branch 'origin/main' into rlamb/fdv2-flag-manag…
kinyoklion 83cb188
Merge remote-tracking branch 'origin/main' into rlamb/fdv2-data-manag…
kinyoklion 9887de7
Merge branch 'rlamb/fdv2-data-manager-base' into rlamb/fdv2-browser-c…
kinyoklion 96bacc3
Merge branch 'rlamb/fdv2-browser-client-integration' into rlamb/fdv2-…
kinyoklion 80852ff
fix: increase browser SDK bundle size limit
kinyoklion 01bb153
Merge branch 'rlamb/fdv2-flag-manager-apply-changes' into rlamb/fdv2-…
kinyoklion b434d8f
Merge branch 'rlamb/fdv2-data-manager-base' into rlamb/fdv2-browser-c…
kinyoklion d97750e
Merge branch 'rlamb/fdv2-browser-client-integration' into rlamb/fdv2-…
kinyoklion eeea559
fix: delegate full applyChanges to init to avoid duplication
kinyoklion 806b12a
Merge branch 'rlamb/fdv2-flag-manager-apply-changes' into rlamb/fdv2-…
kinyoklion 4c4b9d0
Merge branch 'rlamb/fdv2-data-manager-base' into rlamb/fdv2-browser-c…
kinyoklion a490d54
Merge branch 'rlamb/fdv2-browser-client-integration' into rlamb/fdv2-…
kinyoklion b5e5dc3
fix: unify applyChanges at FlagStore layer for future FDv1 removal
kinyoklion fece197
Merge branch 'rlamb/fdv2-flag-manager-apply-changes' into rlamb/fdv2-…
kinyoklion 87465f8
Merge branch 'rlamb/fdv2-data-manager-base' into rlamb/fdv2-browser-c…
kinyoklion bfaad78
Merge branch 'rlamb/fdv2-browser-client-integration' into rlamb/fdv2-…
kinyoklion a78c26e
Merge remote-tracking branch 'origin/main' into rlamb/fdv2-data-manag…
kinyoklion 3fa35fd
Merge branch 'rlamb/fdv2-data-manager-base' into rlamb/fdv2-browser-c…
kinyoklion 80a25a1
Merge branch 'rlamb/fdv2-browser-client-integration' into rlamb/fdv2-…
kinyoklion ecc301d
feat: refactor mode switching to discriminated union with foregroundC…
kinyoklion de58921
Merge branch 'rlamb/fdv2-data-manager-base' into rlamb/fdv2-browser-c…
kinyoklion 8ac0234
fix: derive initialForegroundMode from ManualModeSwitching in Browser…
kinyoklion e0dc940
Merge branch 'rlamb/fdv2-browser-client-integration' into rlamb/fdv2-…
kinyoklion 2f60e1e
fix: translate contract test initialConnectionMode to ManualModeSwitc…
kinyoklion 76f795c
fix: add ManualModeSwitching to LDClientDataSystemOptions union type
kinyoklion b360da4
Merge branch 'rlamb/fdv2-data-manager-base' into rlamb/fdv2-browser-c…
kinyoklion 09fa94a
Merge branch 'rlamb/fdv2-browser-client-integration' into rlamb/fdv2-…
kinyoklion a39bdb4
fix: rename initialForegroundMode to foregroundMode
kinyoklion a96d111
Merge branch 'rlamb/fdv2-data-manager-base' into rlamb/fdv2-browser-c…
kinyoklion 2fecbc5
fix: rename initialForegroundMode to foregroundMode in BrowserClient
kinyoklion fb182ac
Merge branch 'rlamb/fdv2-browser-client-integration' into rlamb/fdv2-…
kinyoklion 2561279
fix: simplify dataCallback by using ?? [] for transfer-none updates
kinyoklion a9ac466
fix: simplify dataCallback by using ?? [] for transfer-none updates
kinyoklion 09f0a3b
Merge branch 'rlamb/fdv2-data-manager-base' into rlamb/fdv2-browser-c…
kinyoklion 630eae0
Merge branch 'rlamb/fdv2-browser-client-integration' into rlamb/fdv2-…
kinyoklion 659ff40
fix: unconditionally assign selector from payload state
kinyoklion 77f5077
Merge branch 'rlamb/fdv2-data-manager-base' into rlamb/fdv2-browser-c…
kinyoklion 160c9b9
Merge branch 'rlamb/fdv2-browser-client-integration' into rlamb/fdv2-…
kinyoklion 9ce4858
fix: revert combined-browser size limit decrease
kinyoklion 4e70dc0
Merge branch 'rlamb/fdv2-browser-client-integration' into rlamb/fdv2-…
kinyoklion 5f4f9f9
fix: extract resolveForegroundMode helper with type guard
kinyoklion 34ad09f
Merge branch 'rlamb/fdv2-browser-client-integration' into rlamb/fdv2-…
kinyoklion 63a0ac9
fix: remove unnecessary as any cast for bootstrap check
kinyoklion 86f3f1d
Merge branch 'rlamb/fdv2-data-manager-base' into rlamb/fdv2-browser-c…
kinyoklion 7688344
Merge branch 'rlamb/fdv2-browser-client-integration' into rlamb/fdv2-…
kinyoklion 104fd3e
fix: re-check closed state after await in identify to prevent resourc…
kinyoklion ad9a304
fix: re-check closed state after await in identify to prevent resourc…
kinyoklion bcd670a
Merge branch 'rlamb/fdv2-data-manager-base' into rlamb/fdv2-browser-c…
kinyoklion b0d31ee
Merge branch 'rlamb/fdv2-browser-client-integration' into rlamb/fdv2-…
kinyoklion 1c7de9e
fix: update doc comments to match discriminated union API
kinyoklion 68b4baf
fix: update doc comments to match discriminated union API
kinyoklion f536b54
Merge branch 'rlamb/fdv2-data-manager-base' into rlamb/fdv2-browser-c…
kinyoklion 0ef3282
Merge branch 'rlamb/fdv2-browser-client-integration' into rlamb/fdv2-…
kinyoklion 5233983
feat: add setConnectionMode as top-level override bypassing transitio…
kinyoklion 1702f8d
Merge branch 'rlamb/fdv2-data-manager-base' into rlamb/fdv2-browser-c…
kinyoklion ef92296
Merge branch 'rlamb/fdv2-browser-client-integration' into rlamb/fdv2-…
kinyoklion f91a28f
fix: add .catch to flagManager.applyChanges to prevent unhandled reje…
kinyoklion 2e9bc71
Merge branch 'rlamb/fdv2-data-manager-base' into rlamb/fdv2-browser-c…
kinyoklion 93df491
Merge branch 'rlamb/fdv2-browser-client-integration' into rlamb/fdv2-…
kinyoklion 154c7c1
feat: add custom is predicate to validatorOf for discriminated unions
kinyoklion 0786b64
feat: add custom is predicate to validatorOf for discriminated unions
kinyoklion 273af24
Merge branch 'rlamb/fdv2-data-manager-base' into rlamb/fdv2-browser-c…
kinyoklion 3fe9c11
Merge branch 'rlamb/fdv2-browser-client-integration' into rlamb/fdv2-…
kinyoklion 0ac3c0d
fix: forward browser streaming option to FDv2 data manager
kinyoklion 3d17cf0
Merge branch 'rlamb/fdv2-browser-client-integration' into rlamb/fdv2-…
kinyoklion 6c51e12
Merge remote-tracking branch 'origin/main' into rlamb/fdv2-contract-t…
kinyoklion 74f33dc
fix: register example-fdv2 as a workspace
kinyoklion b0be84a
fix: resolve .env path relative to config file in example-fdv2
kinyoklion 41c0225
fix: rename __dirname to configDir to satisfy no-underscore-dangle
kinyoklion 3edb71a
fix: set eventsUri from serviceEndpoints for both FDv1 and FDv2 paths
kinyoklion 3dd6306
Remove payloadFilterKey assignment from ClientEntity
kinyoklion 037c007
fix: address PR review feedback on contract tests and example
kinyoklion 28f6483
fix: export FDv2 configuration types from browser SDK
kinyoklion fd965f6
feat: add EAP disclaimers, internalize backgroundConnectionMode and f…
kinyoklion f3446bf
fix: set dataSystem config when useDefaultDataSystem is true without …
kinyoklion File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,3 +27,4 @@ stats.html | |
| .env | ||
| .env.local | ||
| .env.*.local | ||
| .claude/worktrees | ||
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
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
45 changes: 45 additions & 0 deletions
45
packages/sdk/browser/contract-tests/suppressions_datamode_changes.txt
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| streaming/requests/method and headers/REPORT/http | ||
| streaming/requests/URL path is computed correctly/no environment filter/base URI has no trailing slash/REPORT | ||
| streaming/requests/URL path is computed correctly/no environment filter/base URI has a trailing slash/REPORT | ||
| streaming/requests/query parameters/evaluationReasons set to [none]/REPORT | ||
| streaming/requests/query parameters/evaluationReasons set to false/REPORT | ||
| streaming/requests/query parameters/evaluationReasons set to true/REPORT | ||
| streaming/requests/context properties/single kind minimal/REPORT | ||
| streaming/requests/context properties/single kind with all attributes/REPORT | ||
| streaming/requests/context properties/multi-kind/REPORT | ||
| polling/requests/method and headers/REPORT/http | ||
| polling/requests/URL path is computed correctly/no environment filter/base URI has no trailing slash/REPORT | ||
| polling/requests/URL path is computed correctly/no environment filter/base URI has a trailing slash/REPORT | ||
| polling/requests/query parameters/evaluationReasons set to [none]/REPORT | ||
| polling/requests/query parameters/evaluationReasons set to false/REPORT | ||
| polling/requests/query parameters/evaluationReasons set to true/REPORT | ||
| polling/requests/context properties/single kind minimal/REPORT | ||
| polling/requests/context properties/single kind with all attributes/REPORT | ||
| polling/requests/context properties/multi-kind/REPORT | ||
| tags/stream requests/{"applicationId":null,"applicationVersion":"._-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678"} | ||
| tags/stream requests/{"applicationId":null,"applicationVersion":"________________________________________________________________"} | ||
| tags/stream requests/{"applicationId":"","applicationVersion":null} | ||
| tags/stream requests/{"applicationId":"","applicationVersion":""} | ||
| tags/stream requests/{"applicationId":"","applicationVersion":"._-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678"} | ||
| tags/stream requests/{"applicationId":"","applicationVersion":"________________________________________________________________"} | ||
| tags/stream requests/{"applicationId":"._-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678","applicationVersion":null} | ||
| tags/stream requests/{"applicationId":"._-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678","applicationVersion":""} | ||
| tags/stream requests/{"applicationId":"._-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678","applicationVersion":"._-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678"} | ||
| tags/stream requests/{"applicationId":"._-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678","applicationVersion":"________________________________________________________________"} | ||
| tags/stream requests/{"applicationId":"________________________________________________________________","applicationVersion":null} | ||
| tags/stream requests/{"applicationId":"________________________________________________________________","applicationVersion":""} | ||
| tags/stream requests/{"applicationId":"________________________________________________________________","applicationVersion":"._-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678"} | ||
| tags/stream requests/{"applicationId":"________________________________________________________________","applicationVersion":"________________________________________________________________"} | ||
| tags/poll requests/{"applicationId":null,"applicationVersion":"._-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678"} | ||
| tags/poll requests/{"applicationId":null,"applicationVersion":"________________________________________________________________"} | ||
| tags/poll requests/{"applicationId":"","applicationVersion":"._-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678"} | ||
| tags/poll requests/{"applicationId":"","applicationVersion":"________________________________________________________________"} | ||
| tags/poll requests/{"applicationId":"._-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678","applicationVersion":null} | ||
| tags/poll requests/{"applicationId":"._-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678","applicationVersion":""} | ||
| tags/poll requests/{"applicationId":"._-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678","applicationVersion":"._-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678"} | ||
| tags/poll requests/{"applicationId":"._-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678","applicationVersion":"________________________________________________________________"} | ||
| tags/poll requests/{"applicationId":"________________________________________________________________","applicationVersion":null} | ||
| tags/poll requests/{"applicationId":"________________________________________________________________","applicationVersion":""} | ||
| tags/poll requests/{"applicationId":"________________________________________________________________","applicationVersion":"._-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678"} | ||
| tags/poll requests/{"applicationId":"________________________________________________________________","applicationVersion":"________________________________________________________________"} | ||
| tags/disallowed characters |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| # Set LAUNCHDARKLY_CLIENT_SIDE_ID to your LaunchDarkly client-side ID | ||
| LAUNCHDARKLY_CLIENT_SIDE_ID= | ||
|
|
||
| # Set LAUNCHDARKLY_FLAG_KEY to the feature flag key you want to evaluate | ||
| LAUNCHDARKLY_FLAG_KEY= |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| # LaunchDarkly sample javascript application | ||
|
|
||
| We've built a simple browser application that demonstrates how this LaunchDarkly SDK works. | ||
|
|
||
| Below, you'll find the build procedure. For more comprehensive instructions, you can visit your [Quickstart page](https://app.launchdarkly.com/quickstart#/) or | ||
| the [{name of SDK} reference guide](https://docs.launchdarkly.com/sdk/client-side/javascript). | ||
|
|
||
| ## Prerequisites | ||
|
|
||
| Nodejs 20.6.0 or later | ||
|
|
||
| ## Build instructions | ||
|
|
||
| 1. Make a copy of the `.env.template` and name it `.env` | ||
| ``` | ||
| cp .env.template .env | ||
| ``` | ||
| 2. Set the variables in `.env` to your specific LD values | ||
| ``` | ||
| # Set LAUNCHDARKLY_CLIENT_SIDE_ID to your LaunchDarkly client-side ID | ||
| LAUNCHDARKLY_CLIENT_SIDE_ID= | ||
| # Set LAUNCHDARKLY_FLAG_KEY to the feature flag key you want to evaluate | ||
| LAUNCHDARKLY_FLAG_KEY= | ||
| ``` | ||
| > [!NOTE] | ||
| > Setting these values is equivilent to modifying the `clientSideID` and `flagKey` | ||
| > in [app.ts](./src/app.ts). | ||
| 3. Install and build the project: | ||
| ```bash | ||
| yarn && yarn build | ||
| ``` | ||
| 4. On the command line, run `yarn start` | ||
| ```bash | ||
| yarn start | ||
| ``` | ||
| > [!NOTE] | ||
| > The `yarn start` script simply runs `open index.html`. If that is not working for you, | ||
| > you can open the `index.html` file in a browser for the same results. | ||
| The application will run continuously and react to the flag changes in LaunchDarkly. |
joker23 marked this conversation as resolved.
Show resolved
Hide resolved
|
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| // eslint-disable-next-line import/no-extraneous-dependencies | ||
| import { expect, test as it } from '@playwright/test'; | ||
|
|
||
| it('evaluates the feature flag to true', async ({ page }) => { | ||
| await page.goto('/'); | ||
| await expect(page.locator('body')).toContainText('feature flag evaluates to true', { | ||
| timeout: 20_000, | ||
| }); | ||
| }); |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| body { | ||
| margin: 0; | ||
| padding: 20px; | ||
| background: #373841; | ||
| color: white; | ||
| font-family: | ||
| -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', | ||
| 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; | ||
| -webkit-font-smoothing: antialiased; | ||
| -moz-osx-font-smoothing: grayscale; | ||
| } | ||
|
|
||
| #status { | ||
| padding: 10px; | ||
| margin-bottom: 10px; | ||
| background: rgba(255,255,255,0.1); | ||
| border-radius: 4px; | ||
| } | ||
|
|
||
| #flag { | ||
| font-size: 1.4em; | ||
| padding: 15px; | ||
| margin-bottom: 20px; | ||
| background: rgba(255,255,255,0.05); | ||
| border-radius: 4px; | ||
| } | ||
|
|
||
| #controls { | ||
| display: grid; | ||
| grid-template-columns: 1fr 1fr; | ||
| gap: 15px; | ||
| } | ||
|
|
||
| #controls > div { | ||
| padding: 10px; | ||
| background: rgba(255,255,255,0.05); | ||
| border-radius: 4px; | ||
| } | ||
|
|
||
| #controls h3 { | ||
| margin: 0 0 8px 0; | ||
| font-size: 0.9em; | ||
| text-transform: uppercase; | ||
| opacity: 0.7; | ||
| } | ||
|
|
||
| button { | ||
| padding: 6px 14px; | ||
| margin: 3px 2px; | ||
| border: 1px solid rgba(255,255,255,0.3); | ||
| border-radius: 4px; | ||
| background: rgba(255,255,255,0.1); | ||
| color: white; | ||
| cursor: pointer; | ||
| font-size: 0.9em; | ||
| } | ||
|
|
||
| button:hover { | ||
| background: rgba(255,255,255,0.2); | ||
| } | ||
|
|
||
| #log { | ||
| max-height: 200px; | ||
| overflow-y: auto; | ||
| font-family: monospace; | ||
| font-size: 0.8em; | ||
| line-height: 1.5; | ||
| opacity: 0.8; | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <meta http-equiv="X-UA-Compatible" content="IE=edge;chrome=1"> | ||
| <title>LaunchDarkly tutorial</title> | ||
| <script src="./dist/app.js" defer></script> | ||
| <link rel="stylesheet" href="./index.css"> | ||
| </head> | ||
| <body></body> | ||
| </html> |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| { | ||
| "name": "@launchdarkly/browser-example-fdv2", | ||
| "version": "0.0.0", | ||
| "private": true, | ||
| "description": "LaunchDarkly example for JavaScript Browser SDK", | ||
| "homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/sdk/browser/example", | ||
cursor[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/launchdarkly/js-core.git" | ||
| }, | ||
| "license": "Apache-2.0", | ||
| "packageManager": "yarn@3.4.1", | ||
| "type": "module", | ||
| "scripts": { | ||
| "start": "open index.html", | ||
| "clean": "rm -rf dist dist-static", | ||
| "build": "npm run clean && tsdown", | ||
| "test": "playwright test" | ||
| }, | ||
| "dependencies": { | ||
| "@launchdarkly/js-client-sdk": "workspace:^" | ||
| }, | ||
| "devDependencies": { | ||
| "@playwright/test": "^1.49.1", | ||
| "playwright": "^1.49.1", | ||
| "tsdown": "^0.17.0-beta.4", | ||
| "typescript": "^5.9.3" | ||
| } | ||
| } | ||
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.