feat: Add Node.js workspace support alongside Rust#1
Merged
Conversation
This commit adds comprehensive support for Node.js workspaces alongside Rust workspaces, with several key improvements: - Add Node.js package.json parsing and version management - Implement workspace inheritance detection for Node.js packages - Add extensive test coverage for Node.js workspace operations - Refactor test infrastructure for better maintainability: - Split integration tests into focused test files - Add helper functions for common test operations - Improve test fixture management - Add test cases for edge cases: - Mixed Rust/Node.js workspaces - Symlinked directories - Case sensitivity handling - Empty manifests - Duplicate package names The changes maintain backward compatibility while extending odometer's capabilities to handle both Rust and Node.js ecosystems seamlessly.
- Update README.md to include Node.js workspace support details - Add Node.js-specific examples and workspace inheritance info - Add mixed ecosystem support documentation - Remove completed PLAN.md as it has served its purpose The documentation now accurately reflects odometer's ability to handle both Rust and Node.js workspaces, including mixed ecosystem scenarios.
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.
This PR adds comprehensive support for Node.js/npm workspaces alongside existing Rust/Cargo workspace functionality. The changes enable odometer to handle mixed ecosystem workspaces, providing consistent version management across both package managers.
Key Changes:
Technical Details:
Testing:
Documentation:
This change maintains backward compatibility while extending odometer's capabilities to support the Node.js ecosystem, making it a truly polyglot workspace version manager.