fix(core): update

This commit is contained in:
2019-11-15 20:59:02 +01:00
parent 17ebd58951
commit d24b11f737
4 changed files with 304 additions and 447 deletions

View File

@ -36,6 +36,10 @@ export class Smartenv {
return this.runtimeEnv === 'node';
}
public get isWsl(): boolean {
return plugins.isWsl;
}
public get nodeVersion(): string {
return process.version;
}

View File

@ -1,4 +1,12 @@
import * as smartparam from '@pushrocks/smartparam';
import * as smartq from '@pushrocks/smartpromise';
import * as smartpromise from '@pushrocks/smartpromise';
export { smartparam, smartq };
export { smartparam, smartpromise };
// third party scope
import isWsl from 'is-wsl';
export {
isWsl
};