Skip to content

feat(build-infrastructure): Add package manager detection and workspace compatibility #24918

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

Draft
wants to merge 22 commits into
base: main
Choose a base branch
from

Conversation

tylerbutler
Copy link
Member

@tylerbutler tylerbutler commented Jun 25, 2025

Important

This builds on #24916 so that needs to be merged first.

  • Enhance packageManagers.ts with improved package manager detection using package-manager-detector
  • Update workspace.ts with better workspace loading and package manager integration

tylerbutler and others added 18 commits June 25, 2025 09:53
- Enhance packageManagers.ts with improved package manager detection using package-manager-detector
- Update workspace.ts with better workspace loading and package manager integration
- Add workspaceCompat.ts for legacy workspace compatibility handling

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add testRepoNoConfig with multiple package manager configurations (pnpm, yarn, bun)
- Create extensive test data with workspace structures and package configurations
- Update existing test files with improved test scenarios and compatibility checks
- Add .npmrc files for package manager configuration testing

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add comprehensive logging system with different log levels and configurable functions
- Add Stopwatch utility class for performance timing and measurement
- Add WriteOnceMap for immutable data structures with write-once semantics

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Implement setDependencyRange library function for updating package dependency ranges
- Add comprehensive test suite covering various dependency update scenarios
- Update build-cli package.json with new eslint-plugin-chai-friendly dependency
- Configure eslint to support chai-friendly testing patterns

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Refactor config.ts to support v1 configuration format with backward compatibility
- Update buildProject.ts with enhanced project loading and configuration inference
- Extend types.ts with new configuration interfaces and package selection criteria

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Update index.ts with new exports for enhanced build infrastructure APIs
- Enhance package.ts and packageJsonUtils.ts with improved package handling
- Update API report with new public interfaces and types
- Update package.json dependencies and pnpm-lock.yaml

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Update index.ts with new exports for enhanced build infrastructure APIs
- Enhance package.ts and packageJsonUtils.ts with improved package handling
- Update API report with new public interfaces and types
- Update package.json dependencies and pnpm-lock.yaml

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add testRepoNoConfig with multiple package manager configurations (pnpm, yarn, bun)
- Create extensive test data with workspace structures and package configurations
- Update existing test files with improved test scenarios and compatibility checks
- Add .npmrc files for package manager configuration testing

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions bot added area: build Build related issues public api change Changes to a public API base: main PRs targeted against main branch labels Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: build Build related issues base: main PRs targeted against main branch public api change Changes to a public API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant