UNPKG
mondorepo
Version:
latest (0.1.705)
0.1.705
0.1.704
0.1.703
0.1.701
0.1.700
0.1.666
0.1.75
0.1.62
0.1.61
0.1.6
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.3
0.0.2
0.0.1
Management for collections of packages across teams
github.com/sencha/mondorepo
sencha/mondorepo
mondorepo
/
src
/
VCS.js
14 lines
(11 loc)
•
276 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
const
Git
=
require
(
'./vcs/Git'
);
class
VCS
{
static
registerVCS
(name, vcs) {
let
me =
VCS
; me.
_systems
[name] = vcs; me[name] =
(
opts
) =>
new
me.
_systems
[name](opts); } }
VCS
.
_systems
= {};
VCS
.
registerVCS
(
'git'
,
Git
);
module
.
exports
=
VCS
;