{"id":28538565,"url":"https://github.com/myshov/gulp-gitflow-diff","last_synced_at":"2025-07-23T06:34:15.825Z","repository":{"id":57257683,"uuid":"54326492","full_name":"myshov/gulp-gitflow-diff","owner":"myshov","description":"Gulp plugin for the filtering of files that differ from some base git branch","archived":false,"fork":false,"pushed_at":"2019-01-16T10:07:15.000Z","size":7,"stargazers_count":4,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-09T18:12:52.857Z","etag":null,"topics":["git-flow","gulp-plugins"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/myshov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-20T15:57:07.000Z","updated_at":"2020-07-06T19:11:50.000Z","dependencies_parsed_at":"2022-08-25T21:22:47.284Z","dependency_job_id":null,"html_url":"https://github.com/myshov/gulp-gitflow-diff","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/myshov/gulp-gitflow-diff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myshov%2Fgulp-gitflow-diff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myshov%2Fgulp-gitflow-diff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myshov%2Fgulp-gitflow-diff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myshov%2Fgulp-gitflow-diff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/myshov","download_url":"https://codeload.github.com/myshov/gulp-gitflow-diff/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myshov%2Fgulp-gitflow-diff/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264240302,"owners_count":23578118,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git-flow","gulp-plugins"],"created_at":"2025-06-09T18:12:47.913Z","updated_at":"2025-07-23T06:34:15.812Z","avatar_url":"https://github.com/myshov.png","language":"JavaScript","readme":"# gulp-gitflow-diff [![Build Status](https://travis-ci.org/myshov/gulp-gitflow-diff.svg?branch=master)](https://travis-ci.org/myshov/gulp-gitflow-diff)\nGulp plugin for fitlering files that differ from some base git branch\n\nThis plugin is useful when you have a pretty large project with adopted git-flow/github-flow organization of development process. And for example you want to lint files on git push hook. Why do you have to lint every single file when only several of them actually have been changed? This plugin will help to filter only those files that actually have been changed relatively of base branch (usually `master` or `origin/master`).\n\n# Installation\n\n```sh\n$ npm install gulp-gitflow-diff --save-dev\n```\n\n# Usage\n\n## Basic example\n\n```js\nvar gulp = require('gulp');\nvar gulpGitflowDiff = require('gulp-gitflow-diff');\n\n\ngulp.task('default', function () {\n    return gulp.src('./src/**/*.js')\n        .pipe(gulpGitflowDiff({baseBranch: 'master'}))\n        .pipe(gulp.dest('dest'));\n});\n```\n\n## Linting example\n\n```js\nvar gulp = require('gulp');\nvar eslint = require('gulp-eslint');\nvar gulpGitflowDiff = require('gulp-gitflow-diff');\n\n\ngulp.task('lint', function () {\n    return gulp.src('./src/**/*.js')\n        .pipe(gulpGitflowDiff({baseBranch: 'master'}))\n        .pipe(eslint())\n        .pipe(eslint.format())\n        .pipe(eslint.failAfterError());\n});\n```\n\n# NPM\n\nhttps://www.npmjs.com/package/gulp-gitflow-diff\n\n# License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyshov%2Fgulp-gitflow-diff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmyshov%2Fgulp-gitflow-diff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyshov%2Fgulp-gitflow-diff/lists"}