added print folder to gulpfile install
This commit is contained in:
parent
ec1d36f8b9
commit
668da9ac12
|
@ -129,13 +129,7 @@ function install() {
|
|||
const install = require('gulp-install');
|
||||
const print = require('gulp-print');
|
||||
|
||||
let packageFiles = ['front/package.json'];
|
||||
let services = fs.readdirSync(servicesDir);
|
||||
services.forEach(service => {
|
||||
let packageJson = `${servicesDir}/${service}/package.json`;
|
||||
if (fs.existsSync(packageJson))
|
||||
packageFiles.push(packageJson);
|
||||
});
|
||||
let packageFiles = ['front/package.json', 'print/package.json'];
|
||||
return gulp.src(packageFiles)
|
||||
.pipe(print(filepath => {
|
||||
return `Installing packages in ${filepath}`;
|
||||
|
|
Loading…
Reference in New Issue