BREAKING CHANGE(core): update
This commit is contained in:
8
ts/00_commitinfo_data.ts
Normal file
8
ts/00_commitinfo_data.ts
Normal file
@ -0,0 +1,8 @@
|
||||
/**
|
||||
* autocreated commitinfo by @pushrocks/commitinfo
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@pushrocks/smartgulp',
|
||||
version: '3.0.0',
|
||||
description: 'lightweight gulp replacement'
|
||||
}
|
@ -1 +1 @@
|
||||
export * from './smartgulp.gulpapi';
|
||||
export * from './smartgulp.gulpapi.js';
|
||||
|
@ -1,6 +1,6 @@
|
||||
// this file contains the code to generate and handle the stream
|
||||
|
||||
import * as plugins from './smartgulp.plugins';
|
||||
import * as plugins from './smartgulp.plugins.js';
|
||||
import { Smartfile } from '@pushrocks/smartfile';
|
||||
|
||||
import { Transform } from 'stream';
|
||||
|
@ -1,6 +1,6 @@
|
||||
// this file contains the implementation of the standard gulp api
|
||||
import * as plugins from './smartgulp.plugins';
|
||||
import { GulpStream } from './smartgulp.classes.gulpstream';
|
||||
import * as plugins from './smartgulp.plugins.js';
|
||||
import { GulpStream } from './smartgulp.classes.gulpstream.js';
|
||||
import { Transform } from 'stream';
|
||||
|
||||
import { Smartfile } from '@pushrocks/smartfile';
|
||||
@ -18,7 +18,7 @@ export let src = (minimatchPathArrayArg: string[]): Transform => {
|
||||
}
|
||||
gulpStream.pipeSmartfileArray(smartfileArray);
|
||||
};
|
||||
handleFiles().catch(err => {
|
||||
handleFiles().catch((err) => {
|
||||
console.log(err);
|
||||
});
|
||||
return gulpStream.stream;
|
||||
@ -32,7 +32,7 @@ export let replace = () => {
|
||||
await file.write();
|
||||
cb(null, file);
|
||||
},
|
||||
cb => {
|
||||
(cb) => {
|
||||
cb();
|
||||
}
|
||||
);
|
||||
|
Reference in New Issue
Block a user