Skip to content

Commit 2bcac05

Browse files
committed
Added mapping
1 parent 5bda863 commit 2bcac05

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

lib/MetaCPAN/Script/Mapping/CPAN/Distribution.pm

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,22 @@ sub mapping {
6565
}
6666
}
6767
},
68+
"repo" : {
69+
"dynamic" : true,
70+
"properties" : {
71+
"github" : {
72+
"dynamic" : true,
73+
"properties" : {
74+
"stars" : {
75+
"type" : "integer"
76+
},
77+
"watchers" : {
78+
"type" : "integer"
79+
},
80+
}
81+
},
82+
},
83+
},
6884
"name" : {
6985
"ignore_above" : 2048,
7086
"index" : "not_analyzed",

0 commit comments

Comments
 (0)