BREAKING CHANGE(SmartFileFactory): Refactor to in-memory file API and introduce SmartFileFactory; delegate filesystem operations to @push.rocks/smartfs; bump to 12.0.0
This commit is contained in:
13
ts/index.ts
13
ts/index.ts
@@ -1,14 +1,11 @@
|
||||
import * as plugins from './plugins.js';
|
||||
import * as fsMod from './fs.js';
|
||||
import * as fsStreamMod from './fsstream.js';
|
||||
import * as interpreterMod from './interpreter.js';
|
||||
import * as memoryMod from './memory.js';
|
||||
|
||||
// Export main classes - focused on in-memory file representations
|
||||
export * from './classes.smartfile.js';
|
||||
export * from './classes.streamfile.js';
|
||||
export * from './classes.virtualdirectory.js';
|
||||
export * from './classes.smartfile.factory.js';
|
||||
|
||||
export const fs = fsMod;
|
||||
export const fsStream = fsStreamMod;
|
||||
export const interpreter = interpreterMod;
|
||||
export const memory = memoryMod;
|
||||
// Note: Filesystem operations (fs, memory, fsStream, interpreter) have been removed.
|
||||
// Use @push.rocks/smartfs for low-level filesystem operations.
|
||||
// Use SmartFileFactory for creating SmartFile/StreamFile/VirtualDirectory instances.
|
||||
|
||||
Reference in New Issue
Block a user