-
-
Notifications
You must be signed in to change notification settings - Fork 1
🤖 Claude Code: add serverless monorepo example #16
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
This new example demonstrates how to detect changes in serverless projects within a monorepo by: - Finding directories containing serverless.yml/serverless.ts/serverless.js files - Detecting changes in those directories and subdirectories - Checking for package.json modifications - Extracting function handlers from serverless config files Closes #15 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> Co-authored-by: David Wells <DavidWells@users.noreply.github.com>
|
💬 Claude Code execution complete ✅ 📊 Execution Info: Pull Request #16 | React (286 files) | @DavidWells |
DavidWells
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
address the comments plz thanks @claude
packages/util-git-info/examples/serverless-monorepo-detection.js
Outdated
Show resolved
Hide resolved
|
Claude finished @github-actions[bot]'s task —— View job Changes completed! ✅Todo List:
SummaryI've successfully updated the extract handler to use the 1. Updated
2. Added configorama dependency (
Benefits of using configorama:
The changes have been committed and pushed to the PR branch. --- | Branch |
Replace manual regex-based parsing with configorama package which handles YAML, JSON, TOML, and JS/TS files automatically. This makes the code cleaner and more robust. Co-authored-by: David Wells <DavidWells@users.noreply.github.com>
|
add a fixtures dir to https://github.com/DavidWells/packages/tree/master/packages/util-git-info/tests with a "monorepo" setup with sub folders with serverless.yml files we will use this to test the new example thanks @claude |
|
Claude finished @DavidWells's task —— View job Changes completed! ✅Todo List:
SummaryI've successfully created a comprehensive test fixtures directory for the serverless monorepo example. Here's what was added: 📁 Fixture Structure: 🎯 Key Features:
✨ Benefits:
These fixtures are now ready to be used for testing the serverless-monorepo-detection example! --- | Branch |
- Created fixtures/monorepo directory with three sample services - service-api: YAML config with REST API endpoints - service-worker: YAML config with background jobs and scheduled functions - service-frontend: JavaScript config with SSR and asset optimization - Added package.json files to each service - Added README documenting the fixture structure These fixtures can be used to test the serverless-monorepo-detection example. Co-authored-by: David Wells <DavidWells@users.noreply.github.com>
🤖 Automated fix by Claude Code
Related Issue: #15
Executed by: @DavidWells
If additional fixes are needed: Mention
@ claudein a comment on this PR.resolves #15
Automated PR by Claude Code Action - Run #19196587999