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 validationpull/734/head
parent
825f116f84
commit
f38f6848c8
|
@ -46,7 +46,6 @@ describe('ProviderGitManager', () => {
|
||||||
jest.clearAllMocks();
|
jest.clearAllMocks();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
describe('cloneRepository', () => {
|
describe('cloneRepository', () => {
|
||||||
it('successfully clones a repository', async () => {
|
it('successfully clones a repository', async () => {
|
||||||
const expectedResult = {
|
const expectedResult = {
|
||||||
|
|
Loading…
Reference in New Issue