fix(smartscaf): migrate file handling to SmartFileFactory and tighten TypeScript compatibility
This commit is contained in:
@@ -2,6 +2,7 @@ import * as path from 'path';
|
||||
import * as lik from '@push.rocks/lik';
|
||||
import * as smartfile from '@push.rocks/smartfile';
|
||||
import * as smartfm from '@push.rocks/smartfm';
|
||||
import * as smartfs from '@push.rocks/smartfs';
|
||||
import * as smarthbs from '@push.rocks/smarthbs';
|
||||
import * as smartinteract from '@push.rocks/smartinteract';
|
||||
import * as smartobject from '@push.rocks/smartobject';
|
||||
@@ -9,11 +10,15 @@ import * as smartpromise from '@push.rocks/smartpromise';
|
||||
import * as smartyaml from '@push.rocks/smartyaml';
|
||||
import * as smartshell from '@push.rocks/smartshell';
|
||||
|
||||
export const smartFileFactory = smartfile.SmartFileFactory.nodeFs();
|
||||
export const smartFs = smartFileFactory.getSmartFs() as smartfs.SmartFs;
|
||||
|
||||
export {
|
||||
path,
|
||||
lik,
|
||||
smartfile,
|
||||
smartfm,
|
||||
smartfs,
|
||||
smarthbs,
|
||||
smartinteract,
|
||||
smartobject,
|
||||
|
||||
Reference in New Issue
Block a user