sftp-push-sync 1.0.0 → 1.0.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/README.md
CHANGED
|
@@ -18,7 +18,7 @@ Features:
|
|
|
18
18
|
- Parallel uploads/deletions via worker pool
|
|
19
19
|
- include/exclude patterns
|
|
20
20
|
|
|
21
|
-
The file
|
|
21
|
+
The file `sftp-push-sync.mjs` is pure JavaScript (ESM), not TypeScript. Node.js can execute it directly as long as "type": "module" is specified in package.json or the file has the extension .mjs.
|
|
22
22
|
|
|
23
23
|
## Config file
|
|
24
24
|
|
|
@@ -74,13 +74,13 @@ If you have stored the scripts in `package.json` as follows:
|
|
|
74
74
|
```json
|
|
75
75
|
|
|
76
76
|
"scripts": {
|
|
77
|
-
"sync:staging": "node
|
|
78
|
-
"sync:staging:dry": "node
|
|
77
|
+
"sync:staging": "node sftp-push-sync.mjs staging",
|
|
78
|
+
"sync:staging:dry": "node sftp-push-sync.mjs staging --dry-run",
|
|
79
79
|
"ss": "npm run sync:staging",
|
|
80
80
|
"ssd": "npm run sync:staging:dry",
|
|
81
81
|
|
|
82
|
-
"sync:prod": "node
|
|
83
|
-
"sync:prod:dry": "node
|
|
82
|
+
"sync:prod": "node sftp-push-sync.mjs prod",
|
|
83
|
+
"sync:prod:dry": "node sftp-push-sync.mjs prod --dry-run",
|
|
84
84
|
"sp": "npm run sync:prod",
|
|
85
85
|
"spd": "npm run sync:prod:dry",
|
|
86
86
|
},
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sftp-push-sync",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "SFTP Sync Tool für Hugo-Projekte (local -> remote, mit Hash-Cache)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"hugo-sftp-sync": "./bin/sftp-sync.mjs"
|
|
7
|
+
"hugo-sftp-sync": "./bin/sftp-push-sync.mjs"
|
|
8
8
|
},
|
|
9
9
|
"keywords": [
|
|
10
10
|
"hugo",
|