feat(smartfs): Integrate @push.rocks/smartfs and wire SmartFileFactory.nodeFs to return a real SmartFs instance

This commit is contained in:
2025-11-29 17:42:44 +00:00
parent ff620acece
commit 055b78e5ea
6 changed files with 15 additions and 14 deletions

View File

@@ -1,5 +1,13 @@
# Changelog
## 2025-11-29 - 13.1.0 - feat(smartfs)
Integrate @push.rocks/smartfs and wire SmartFileFactory.nodeFs to return a real SmartFs instance
- Add runtime dependency @push.rocks/smartfs@^1.1.0 to package.json (previous peerDependency removed).
- Export smartfs from ts/plugins.ts so internal modules can access SmartFs and providers.
- Implement SmartFileFactory.nodeFs() to instantiate plugins.smartfs.SmartFs with SmartFsProviderNode and return a factory bound to that SmartFs.
- Enable factory-created SmartFile/StreamFile/VirtualDirectory instances to use the bound SmartFs for filesystem operations (read/write/streams).
## 2025-11-22 - 13.0.1 - fix(smartfile)
Stream and filesystem integrations: remove fs-extra, switch to fs/promises.rename, add Web WritableStream compatibility, and use smartFs recursive directory methods; update plugins exports and README.