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.

This commit is contained in:
2025-11-22 13:41:24 +00:00
parent 4f5eb4a4d4
commit bfc0c0576b
10 changed files with 205 additions and 98 deletions

17
pnpm-lock.yaml generated
View File

@@ -17,6 +17,9 @@ importers:
'@push.rocks/smartfile-interfaces':
specifier: ^1.0.7
version: 1.0.7
'@push.rocks/smartfs':
specifier: ^1.0.0
version: 1.1.0
'@push.rocks/smarthash':
specifier: ^3.2.3
version: 3.2.3
@@ -38,15 +41,9 @@ importers:
'@push.rocks/smartstream':
specifier: ^3.2.5
version: 3.2.5
'@types/fs-extra':
specifier: ^11.0.4
version: 11.0.4
'@types/js-yaml':
specifier: ^4.0.9
version: 4.0.9
fs-extra:
specifier: ^11.3.1
version: 11.3.1
glob:
specifier: ^11.0.3
version: 11.0.3
@@ -896,6 +893,9 @@ packages:
'@push.rocks/smartfile@11.2.5':
resolution: {integrity: sha512-Szmv0dFvDZBLsAOC2kJ0r0J0vZM0zqMAXT1G8XH11maU8pNYtYC1vceTpxoZGy4qbJcko7oGpgNUAlY+8LN3HA==}
'@push.rocks/smartfs@1.1.0':
resolution: {integrity: sha512-fg8JIjFUPPX5laRoBpTaGwhMfZ3Y8mFT4fUaW54Y4J/BfOBa/y0+rIFgvgvqcOZgkQlyZU+FIfL8Z6zezqxyTg==}
'@push.rocks/smartguard@3.1.0':
resolution: {integrity: sha512-J23q84f1O+TwFGmd4lrO9XLHUh2DaLXo9PN/9VmTWYzTkQDv5JehmifXVI0esophXcCIfbdIu6hbt7/aHlDF4A==}
@@ -3524,6 +3524,7 @@ packages:
resolution: {integrity: sha512-5RJYU5zWFXTQ5iRXAo75vlhK5ybZOyqEyg/szw2VtHc6ZOPcC7ruX4nnXk1OqqlY56Z7XT+WCFhV+/XPj4QwtQ==}
engines: {node: '>=20.18.0'}
hasBin: true
bundledDependencies: []
peek-readable@5.3.1:
resolution: {integrity: sha512-GVlENSDW6KHaXcd9zkZltB7tCLosKB/4Hg0fqBJkAoBgYG2Tn1xtMgXtSUuMU9AK/gCm/tTdT8mgAeF4YNeeqw==}
@@ -5939,6 +5940,10 @@ snapshots:
glob: 11.0.3
js-yaml: 4.1.0
'@push.rocks/smartfs@1.1.0':
dependencies:
'@push.rocks/smartpath': 6.0.0
'@push.rocks/smartguard@3.1.0':
dependencies:
'@push.rocks/smartpromise': 4.2.3