mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-02 22:37:07 +08:00
* update package with new services and computeId config * generateIndexPagesProcessor was not using log * use StringMap not ES6-shim Map in errorNamespaceMap * remove unused dependencies from generateErrorDocsProcessor * ensure generatePagesDataProcessor adds its doc to the collection * debugDumpProcessor was moved to dgeni-packages
18 lines
402 B
JavaScript
18 lines
402 B
JavaScript
"use strict";
|
|
|
|
var gruntUtils = require('../../../lib/grunt/utils');
|
|
var versionInfo = require('../../../lib/versions/version-info');
|
|
|
|
/**
|
|
* @dgService gitData
|
|
* @description
|
|
* Information from the local git repository
|
|
*/
|
|
module.exports = function gitData() {
|
|
return {
|
|
version: versionInfo.currentVersion,
|
|
versions: versionInfo.previousVersions,
|
|
info: versionInfo.gitRepoInfo
|
|
};
|
|
};
|