chore: bump example deps & point to parent SDK rather than published#403
Conversation
|
ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (4)
WalkthroughThis PR updates four example package.json files to require Node.js 20.19.0 as the minimum runtime version, switches two examples to use a local workspace reference for ChangesExample Package Configuration Updates
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Pull request overview
Updates the repository’s runnable examples to align with the current SDK/runtime expectations by pointing examples at the local workspace SDK and refreshing dependency/runtime constraints.
Changes:
- Switches example projects to depend on the local parent
@openfga/sdkviafile:instead of a published semver range (where applicable). - Bumps example dependency versions (notably OpenTelemetry and syntax-transformer).
- Raises example
engines.noderequirements to>=20.19.0and removes an examplepackage-lock.json.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| example/streamed-list-objects/package.json | Uses local SDK via file: and bumps syntax-transformer + Node engine requirement. |
| example/streamed-list-objects/package-lock.json | Removes committed lockfile for the example. |
| example/opentelemetry/package.json | Updates OpenTelemetry/dotenv deps and aligns Node engine requirement. |
| example/example1/package.json | Switches SDK dependency to local file: and aligns Node engine requirement. |
| example/api-executor/package.json | Aligns Node engine requirement with repo runtime baseline. |
Files not reviewed (1)
- example/streamed-list-objects/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Description
What problem is being solved?
How is it being solved?
What changes are made to solve it?
References
Review Checklist
mainSummary by CodeRabbit