feat(testing): package angular2_testing to prepare it for publishing
Closes #5682
This commit is contained in:
@ -37,3 +37,4 @@ publishModule angular2
|
||||
publishModule benchpress
|
||||
publishModule benchmarks
|
||||
publishModule angular2_material
|
||||
publishModule angular2_testing
|
||||
|
@ -27,4 +27,9 @@ doc['authors'] = Object.keys(BASE_PACKAGE_JSON.contributors).map(function(name)
|
||||
return BASE_PACKAGE_JSON.contributors[name];
|
||||
});
|
||||
|
||||
if (doc['dependencies'] && doc['dependencies']['angular2']) {
|
||||
delete doc['dependencies']['angular2'];
|
||||
doc['dependencies']['angular2'] = BASE_PACKAGE_JSON.version;
|
||||
}
|
||||
|
||||
fs.writeFileSync(pubspecFile, yaml.safeDump(doc));
|
||||
|
Reference in New Issue
Block a user