fix(smartscaf): migrate file handling to SmartFileFactory and tighten TypeScript compatibility

This commit is contained in:
2026-04-30 10:22:59 +00:00
parent 3c68eae55d
commit 77a921920b
9 changed files with 2188 additions and 4522 deletions
+5
View File
@@ -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,