fix(core): update

This commit is contained in:
2019-09-27 11:00:17 +02:00
parent f889664e4d
commit 4fc4cda786
8 changed files with 674 additions and 560 deletions

View File

@ -1,9 +1,32 @@
export import fs = require('fs');
export import fsExtra = require('fs-extra');
export let glob = require('glob');
export import path = require('path');
export import smartpromise = require('@pushrocks/smartpromise');
export import smartrequest = require('@pushrocks/smartrequest');
export import smartpath = require('@pushrocks/smartpath');
export let vinylFile = require('vinyl-file');
export let yaml = require('js-yaml');
// node native scope
import * as fs from 'fs';
import * as path from 'path';
export {
fs,
path
};
// @pushrocks scope
import * as smarthash from '@pushrocks/smarthash';
import * as smartpath from '@pushrocks/smartpath';
import * as smartpromise from '@pushrocks/smartpromise';
import * as smartrequest from '@pushrocks/smartrequest';
export {
smarthash,
smartpath,
smartpromise,
smartrequest,
};
// third party scope
import * as fsExtra from 'fs-extra';
import glob from 'glob';
import yaml from 'js-yaml';
export {
fsExtra,
glob,
yaml
};