mvcct-templates
Advanced tools
Comparing version 1.0.0-alfa6 to 1.0.0-alfa7
var gulp = require("gulp"), | ||
insert= require("gulp-insert"); | ||
insert= require("gulp-insert"), | ||
vn=require("vinyl-fs"); | ||
@@ -38,4 +39,4 @@ var gutil = require('gulp-util'); | ||
gulp.task('copy:files', function () { | ||
return gulp.src(["./Views/**/*.*", "./wwwroot/**/*.*", "./tasks/**/*.*"], { base: '.' }) | ||
.pipe(gulp.dest("../..")); | ||
return gulp.vn(["./Views/**/*.*", "./wwwroot/**/*.*", "./tasks/**/*.*"], { base: '.' }) | ||
.pipe(vn.dest("../..", {overwrite: false})); | ||
}); | ||
@@ -45,3 +46,3 @@ | ||
return gulp.src(["../../Views/_ViewImports.cshtml"], { base: '../..' }) | ||
.pipe(grep(/MvcControlsToolkit.Core.Views/, {inverted: true})) | ||
.pipe(grep(/MvcControlsToolkit.Core.Views/, {invert: true})) | ||
.pipe(insert.wrap(toprependViewImport, topappendViewImport)) | ||
@@ -53,3 +54,3 @@ .pipe(gulp.dest("../..")); | ||
return gulp.src(["../../gulpfile.js"], { base: '../..' }) | ||
.pipe(grep(/gulp-load-subtasks/, {inverted: true})) | ||
.pipe(grep(/gulp-load-subtasks/, {invert: true})) | ||
.pipe(insert.prepend(toPrependGulpfile)) | ||
@@ -56,0 +57,0 @@ .pipe(gulp.dest("../..")); |
{ | ||
"name": "mvcct-templates", | ||
"version": "1.0.0-alfa6", | ||
"version": "1.0.0-alfa7", | ||
"homepage": "https://github.com/MvcControlsToolkit/MvcControlsToolkit.Templates", | ||
@@ -32,3 +32,4 @@ "description": "mvcct-templates installs content files needed by Mvc Controls Toolkit into asp.net core.", | ||
"through2": "^0.6.3", | ||
"gulp-load-subtasks": ">=1.1.2" | ||
"gulp-load-subtasks": ">=1.1.2", | ||
"vinyl-fs": ">=2.4.3" | ||
}, | ||
@@ -35,0 +36,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11906
140
6
+ Addedvinyl-fs@>=2.4.3