fix(filesystem): Migrate filesystem implementation to @push.rocks/smartfs and add Web Streams handling

This commit is contained in:
2025-11-23 22:12:29 +00:00
parent 415ba3e76d
commit 32346636e0
9 changed files with 671 additions and 74 deletions

View File

@@ -3,17 +3,19 @@ import * as path from 'path';
import * as http from 'http';
import * as crypto from 'crypto';
import * as url from 'url';
import * as fs from 'fs';
export { path, http, crypto, url, fs };
export { path, http, crypto, url };
// @push.rocks scope
import * as smartbucket from '@push.rocks/smartbucket';
import * as smartfile from '@push.rocks/smartfile';
import { SmartFs, SmartFsProviderNode } from '@push.rocks/smartfs';
import * as smartpath from '@push.rocks/smartpath';
import { SmartXml } from '@push.rocks/smartxml';
export { smartbucket, smartfile, smartpath, SmartXml };
// Create SmartFs instance with Node.js provider
export const smartfs = new SmartFs(new SmartFsProviderNode());
export { smartbucket, smartpath, SmartXml };
// @tsclass scope
import * as tsclass from '@tsclass/tsclass';