chore(package): re-init package with commitizen and standard-release

This commit is contained in:
Pavel Pertsev
2018-05-16 12:54:46 +03:00
parent cb4e7a5643
commit eaf2328575
10640 changed files with 609660 additions and 117 deletions

21
node_modules/track-changed/dist/changedGitFiles.js generated vendored Normal file
View File

@@ -0,0 +1,21 @@
'use strict';
var _require = require('child_process'),
execSync = _require.execSync;
module.exports = function changedGitFiles(opMode) {
var getModifiedFilesInTreeCommand = 'git diff-tree -r --name-only --no-commit-id HEAD@{1} HEAD';
if (opMode === 'checkout') {
var params = process.env.GIT_PARAMS.split(' ');
if (params[2] === '0') {
// Exit early if this was only a file checkout, not a branch change ($3 == 1)
return [];
}
getModifiedFilesInTreeCommand = 'git diff-tree -r --name-only --no-commit-id ' + params[0] + ' ' + params[1];
}
var sources = execSync(getModifiedFilesInTreeCommand, { encoding: 'utf-8' });
return sources.split('\n');
};