refactor: standardize monorepo configuration#1505
Merged
Merged
Conversation
- Remove 13 redundant package-level .eslintrc.json files - Update root ESLint config to handle all packages directly - Change ignorePatterns from "**/*" to specific build artifacts - All packages had identical configs with no package-specific rules - Reduces maintenance overhead and ensures consistency Benefits: - Single ESLint config to maintain - Guaranteed uniform linting across packages - Simplified setup for new packages - Faster ESLint resolution 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Package Scripts Standardization:
- Add consistent test and lint scripts to all 13 packages
- Use 'npx nx test {project-name}' and 'npx nx lint {project-name}' format
- Preserve existing build scripts (including Lambda handler npm ci steps)
- Remove inconsistent scripts (direct Jest calls, unused watch scripts)
Repository URL Standardization:
- Update 7 packages with outdated repository URLs to point to monorepo
- Change from individual package repositories to unified monorepo URL
- Standardize homepage URLs to use package-specific tree paths
- Add missing bugs URLs for consistency
Benefits:
- Consistent developer experience across all packages
- Scripts work from both root and package directories
- All packages now correctly reference the monorepo
- Unified issue tracking and documentation links
All builds, tests, and linting verified to work exactly as before.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR standardizes configuration across the monorepo to improve maintainability and developer experience.
Changes
1. ESLint Configuration Consolidation
.eslintrc.jsonfiles2. Package.json Scripts Standardization
testandlintscripts to all 13 packages"test": "npx nx test {project-name}"and"lint": "npx nx lint {project-name}"npm cisteps)3. Repository URL Standardization
git+https://github.com/aligent/aws-cdk-constructs.gitBenefits
✅ Reduced Maintenance: Single ESLint config instead of 14
✅ Consistency: Uniform scripts and configuration across all packages
✅ Developer Experience: Scripts work from both root and package directories
✅ Documentation: All packages correctly reference the monorepo
Testing
Breaking Changes
None - all functionality operates exactly as before.
🤖 Generated with Claude Code