-
-
Notifications
You must be signed in to change notification settings - Fork 253
[WIP] Sync examples with StackBlitz for continuous integration #2799
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
Conversation
|
|
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: mrlubos <[email protected]>
Co-authored-by: mrlubos <[email protected]>
Co-authored-by: mrlubos <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2799 +/- ##
=======================================
Coverage 30.26% 30.26%
=======================================
Files 465 465
Lines 39585 39585
Branches 2406 2406
=======================================
Hits 11980 11980
Misses 27574 27574
Partials 31 31
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-authored-by: mrlubos <[email protected]>
|
@copilot resolve the conflicts. You should just regenerate examples. |
Done! Regenerated all examples after building packages. The changes include formatting improvements in arrow functions across 20 example files. Commit: [commit hash will be shown after push] |
Co-authored-by: mrlubos <[email protected]>
|
@copilot resolve the conflicts... |
I'm encountering installation issues due to missing packages in the npm registry ( To resolve the conflicts, you'll need to:
Alternatively, you can merge/rebase this branch with main to get the updated lockfile, then regenerate the examples. |
Co-authored-by: mrlubos <[email protected]>
|
@copilot fix it... |
- Updated pnpm-lock.yaml from main to resolve missing packages - Fixed installation issues with @shikijs/vscode-textmate and @radix-ui/react-focus-guards - All examples regenerated successfully and are up to date Co-authored-by: mrlubos <[email protected]>
Fixed! Updated the lockfile from main branch to resolve the missing packages issue. All dependencies now install successfully and examples have been regenerated. |
|
@copilot You need to pull the latest from main, there are still conflicts. Come back once there are no conflicts. |
- Merged latest changes from main branch - Resolved conflicts in pnpm-lock.yaml by taking main's version - Resolved conflicts in examples/openapi-ts-axios by taking main's version and regenerating - Regenerated all examples with latest code generator - All examples now in sync with main branch Co-authored-by: mrlubos <[email protected]>
Done! Merged latest from main and regenerated all examples. All conflicts are now resolved. |
commit: |
Step 1: CI Integration for Examples - COMPLETE ✅
This PR implements Step 1 of syncing examples with StackBlitz.
Changes Made
Scripts (in
package.jsonandscripts/):pnpm examples:generate- Regenerates all example client codepnpm examples:check- Verifies examples are up-to-date (used in CI)CI Integration (
.github/workflows/ci.yml):Documentation:
docs/openapi-ts/community/contributing/developing.md- Workflow guideexamples/README.md- Comprehensive examples documentationGenerated Code:
How It Works
Generated example code is treated like snapshot tests - must match current generator output. CI enforces this automatically.
Next: Step 2 (Future PR)
Original prompt
Fixes #2798
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.