mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-01-29 03:59:08 +08:00
feat: Implement provider loader dynamic imports with GitHub URL support
- Add URL detection and parsing utilities for GitHub URLs, local paths, and NPM packages - Implement git operations for cloning and updating repositories with local caching - Add automatic update checking mechanism for GitHub repositories - Update provider-loader.ts to support multiple source types with comprehensive error handling - Add comprehensive test coverage for all new functionality - Include complete documentation with usage examples - Support GitHub URLs: https://github.com/user/repo, user/repo@branch - Support local paths: ./path, /absolute/path - Support NPM packages: package-name, @scope/package - Maintain backward compatibility with existing providers - Add fallback mechanisms and interface validation
This commit is contained in:
@@ -46,7 +46,6 @@ describe('ProviderGitManager', () => {
|
||||
jest.clearAllMocks();
|
||||
});
|
||||
|
||||
|
||||
describe('cloneRepository', () => {
|
||||
it('successfully clones a repository', async () => {
|
||||
const expectedResult = {
|
||||
|
||||
Reference in New Issue
Block a user