UNPKG

gulp-bump-version

Version:

gulp-bump-version eases and automates the management of semver version strings in the source code of almost any file type.

1 lines 563 B
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const stream_1=require("stream"),bump_1=require("./dist/src/bump");module.exports=function(e){let r=new stream_1.Transform({objectMode:!0});return r._transform=function(r,o,t){let s=null,i=(new bump_1.default).bumpVersion(r,e);-3==i&&(s="ERROR: You must provide an options argument as an object with a property of version or type, appropriately set for modifying file versions as you prefer. Visit http://gitlab.com/mmod/gulp-bump-version#basic-usage-examples for more information."),t(s,i)},r};