Skip to content

Commit

Permalink
Add release configuration to update examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
kinyoklion committed Nov 5, 2024
1 parent 205e600 commit 6379a78
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/sdk/server-ai/examples/bedrock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"license": "Apache-2.0",
"dependencies": {
"@aws-sdk/client-bedrock-runtime": "^3.679.0",
"@launchdarkly/node-server-sdk": "9.7.0",
"@launchdarkly/node-server-sdk": "^9.7.0",
"@launchdarkly/server-sdk-ai": "0.1.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/server-ai/examples/openai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"author": "LaunchDarkly",
"license": "Apache-2.0",
"dependencies": {
"@launchdarkly/node-server-sdk": "9.7.0",
"@launchdarkly/node-server-sdk": "^9.7.0",
"@launchdarkly/server-sdk-ai": "0.1.0",
"openai": "^4.58.1"
},
Expand Down
11 changes: 10 additions & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,16 @@
},
"packages/sdk/server-ai": {
"bump-minor-pre-major": true,
"release-as": "0.1.0"
"release-as": "0.1.0",
"extra-files": [{
"type": "json",
"path": "examples/bedrock/package.json",
"jsonpath": "$.dependencies.@launchdarkly/server-sdk-ai"
},{
"type": "json",
"path": "examples/openai/package.json",
"jsonpath": "$.dependencies.@launchdarkly/server-sdk-ai"
}]
}
},
"plugins": [
Expand Down

0 comments on commit 6379a78

Please sign in to comment.