fix(core): update
This commit is contained in:
@@ -3,4 +3,8 @@ import * as plugins from './smartsystem.plugins';
|
||||
export class Smartsystem {
|
||||
public env = new plugins.smartenv.Smartenv();
|
||||
public cpus = plugins.os.cpus();
|
||||
public network = new plugins.smartnetwork.SmartNetwork();
|
||||
public get information() {
|
||||
return plugins.systeminformation;
|
||||
}
|
||||
}
|
||||
|
@@ -1,16 +1,16 @@
|
||||
// node native
|
||||
import os from 'os'
|
||||
import os from 'os';
|
||||
|
||||
export {
|
||||
os
|
||||
}
|
||||
export { os };
|
||||
|
||||
import * as lik from '@pushrocks/lik';
|
||||
import * as smartenv from '@pushrocks/smartenv';
|
||||
import * as smartnetwork from '@pushrocks/smartnetwork';
|
||||
import * as smartpromise from '@pushrocks/smartpromise';
|
||||
|
||||
export {
|
||||
lik,
|
||||
smartenv,
|
||||
smartpromise
|
||||
}
|
||||
export { lik, smartenv, smartnetwork, smartpromise };
|
||||
|
||||
// third party
|
||||
import * as systeminformation from 'systeminformation';
|
||||
|
||||
export { systeminformation };
|
||||
|
Reference in New Issue
Block a user