sftp-push-sync 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/README.md +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.1.0] - 2025-11-19
|
|
4
|
+
|
|
5
|
+
Sync only handles files and creates missing directories during upload.
|
|
6
|
+
However, it should also manage directories:
|
|
7
|
+
|
|
8
|
+
- They should (optionally) be removed if:
|
|
9
|
+
- for example, a directory is empty because all files have been deleted from it.
|
|
10
|
+
- or if a directory no longer exists locally.
|
|
11
|
+
|
|
12
|
+
This is now taken into account with the option: `cleanupEmptyDirs`.
|
|
13
|
+
|
|
3
14
|
## [2.0.0] - 2025-11-18
|
|
4
15
|
|
|
5
16
|
### Breaking
|
package/README.md
CHANGED
|
@@ -55,7 +55,6 @@ Create a `sync.config.json` in the root folder of your project:
|
|
|
55
55
|
"password": "mypassword",
|
|
56
56
|
"syncCache": ".sync-cache.prod.json",
|
|
57
57
|
"worker": 3,
|
|
58
|
-
"cleanupEmptyDirs": true,
|
|
59
58
|
"sync": {
|
|
60
59
|
"localRoot": "public",
|
|
61
60
|
"remoteRoot": "/folder/"
|
|
@@ -226,8 +225,9 @@ practical excludes:
|
|
|
226
225
|
Sync only handles files and creates missing directories during upload.
|
|
227
226
|
However, it should also manage directories:
|
|
228
227
|
|
|
229
|
-
-
|
|
230
|
-
-
|
|
228
|
+
- They should (optionally) be removed if:
|
|
229
|
+
- for example, a directory is empty because all files have been deleted from it.
|
|
230
|
+
- or if a directory no longer exists locally.
|
|
231
231
|
|
|
232
232
|
## Which files are needed?
|
|
233
233
|
|