Commit 62d1d08
authored
ci(react-sdk): update example app sdk version (#1234)
This PR will:
1. update release please config to update the react example app sdk
versions
2. convert the react example apps to use pinned sdk versions instead of
`workspace^`
3. added env to skip electron binary download in react contract test to
address flaky behavior
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Low risk: changes are limited to CI environment variables and
dependency version pinning in example apps plus release automation
config updates.
>
> **Overview**
> Improves React SDK contract-test CI reliability by setting
`ELECTRON_SKIP_BINARY_DOWNLOAD=1` during dependency installation to
avoid flaky concurrent Electron downloads.
>
> Updates the `server-only` React example to use pinned published
versions of `@launchdarkly/react-sdk` and
`@launchdarkly/node-server-sdk` (instead of `workspace:^`), and extends
`release-please-config.json` so releases automatically bump the SDK
dependency versions in the `hello-react` and `server-only` example
`package.json` files.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
94f9df8. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
<!-- devin-review-badge-begin -->
---
<a href="https://app.devin.ai/review/launchdarkly/js-core/pull/1234"
target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
<img
src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
alt="Open with Devin">
</picture>
</a>
<!-- devin-review-badge-end -->1 parent 860efc3 commit 62d1d08
3 files changed
Lines changed: 21 additions & 4 deletions
File tree
- .github/workflows
- packages/sdk/react/examples/server-only
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
60 | 65 | | |
61 | 66 | | |
62 | 67 | | |
| |||
106 | 111 | | |
107 | 112 | | |
108 | 113 | | |
109 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
110 | 125 | | |
111 | 126 | | |
112 | 127 | | |
| |||
0 commit comments