fix(core): update
This commit is contained in:
parent
17ebd58951
commit
d24b11f737
720
package-lock.json
generated
720
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
15
package.json
15
package.json
@ -24,16 +24,17 @@
|
||||
"homepage": "https://gitlab.com/pushrocks/smartenv",
|
||||
"dependencies": {
|
||||
"@pushrocks/smartparam": "^1.0.4",
|
||||
"@pushrocks/smartpromise": "^3.0.2",
|
||||
"@types/node": "^12.7.2"
|
||||
"@pushrocks/smartpromise": "^3.0.6",
|
||||
"@types/node": "^12.12.7",
|
||||
"is-wsl": "^2.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@gitzone/tsbuild": "^2.1.11",
|
||||
"@gitzone/tsbuild": "^2.1.17",
|
||||
"@gitzone/tsrun": "^1.2.8",
|
||||
"@gitzone/tstest": "^1.0.24",
|
||||
"@pushrocks/tapbundle": "^3.0.11",
|
||||
"@types/npm": "^2.0.29",
|
||||
"tslint": "^5.19.0",
|
||||
"@gitzone/tstest": "^1.0.28",
|
||||
"@pushrocks/tapbundle": "^3.0.13",
|
||||
"@types/npm": "^2.0.31",
|
||||
"tslint": "^5.20.1",
|
||||
"tslint-config-prettier": "^1.18.0"
|
||||
},
|
||||
"private": false,
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user