Fix issues with gulp publish script

This commit is contained in:
Jürg Lehni 2018-10-17 16:49:04 +02:00
parent 3fd73f92f2
commit e043c6cbd5
2 changed files with 2 additions and 2 deletions

View file

@ -92,7 +92,7 @@ packages.forEach(function(name) {
gulp.task('publish:packages:' + name, ['publish:version'], function() { gulp.task('publish:packages:' + name, ['publish:version'], function() {
var path = 'packages/' + name, var path = 'packages/' + name,
opts = { cwd: path }; opts = { cwd: path };
gulp.src(['package.json'], opts) return gulp.src(['package.json'], opts)
.pipe(jsonEditor({ .pipe(jsonEditor({
version: options.version, version: options.version,
dependencies: { dependencies: {

View file

@ -42,7 +42,7 @@
"del": "^2.2.1", "del": "^2.2.1",
"gulp": "^3.9.1", "gulp": "^3.9.1",
"gulp-cached": "^1.1.0", "gulp-cached": "^1.1.0",
"gulp-git-streamed": "^2.4.0", "gulp-git-streamed": "^2.8.0",
"gulp-jshint": "^2.0.0", "gulp-jshint": "^2.0.0",
"gulp-json-editor": "^2.2.1", "gulp-json-editor": "^2.2.1",
"gulp-prepro": "^2.4.0", "gulp-prepro": "^2.4.0",