Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
- name: Install and build contract test dependencies
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: 'false'
# Skip Electron binary download to avoid flaky race condition during concurrent installs.
ELECTRON_SKIP_BINARY_DOWNLOAD: '1'
run: |
yarn workspaces foreach -pR --topological-dev --from '@launchdarkly/react-sdk-contract-tests' install
yarn workspaces foreach -pR --topological-dev --from '@launchdarkly/react-sdk-contract-tests' run build
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/react/examples/server-only/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"test": "playwright test"
},
"dependencies": {
"@launchdarkly/node-server-sdk": "workspace:^",
"@launchdarkly/react-sdk": "workspace:^",
"@launchdarkly/node-server-sdk": "9.10.10",
"@launchdarkly/react-sdk": "0.1.1",
"next": "^16",
"react": "^19",
"react-dom": "^19"
Expand Down
19 changes: 17 additions & 2 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,12 @@
},
"packages/sdk/server-node": {
"extra-files": [
"src/platform/NodeInfo.ts"
"src/platform/NodeInfo.ts",
{
"type": "json",
"path": "/packages/sdk/react/examples/server-only/package.json",
"jsonpath": "$.dependencies['@launchdarkly/node-server-sdk']"
}
]
},
"packages/sdk/vercel": {
Expand Down Expand Up @@ -106,7 +111,17 @@
"packages/sdk/react": {
"bump-minor-pre-major": true,
"extra-files": [
"src/client/LDReactClient.tsx"
"src/client/LDReactClient.tsx",
{
"type": "json",
"path": "examples/hello-react/package.json",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This example was already using the pinned sdk version

"jsonpath": "$.dependencies['@launchdarkly/react-sdk']"
},
{
"type": "json",
"path": "examples/server-only/package.json",
"jsonpath": "$.dependencies['@launchdarkly/react-sdk']"
}
]
}
},
Expand Down
Loading