BREAKING CHANGE(core): update

This commit is contained in:
2022-06-09 19:59:21 +02:00
parent a7c6f4343d
commit 8c0efd532f
14 changed files with 10742 additions and 960 deletions

8
ts/00_commitinfo_data.ts Normal file
View File

@ -0,0 +1,8 @@
/**
* autocreated commitinfo by @pushrocks/commitinfo
*/
export const commitinfo = {
name: '@pushrocks/smartgulp',
version: '3.0.0',
description: 'lightweight gulp replacement'
}

View File

@ -1 +1 @@
export * from './smartgulp.gulpapi';
export * from './smartgulp.gulpapi.js';

View File

@ -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';

View File

@ -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();
}
);