Dragan Filipovic
c88faf5656
fix: upgrade devDependencies and migrate to eslint 10 flat config
...
- Upgrade eslint 8.31 → 10.1 with new flat config (eslint.config.js)
- Upgrade @vercel/ncc 0.36 → 0.38.4
- Replace eslint-config-airbnb-base + eslint-plugin-import with @eslint/js + @stylistic/eslint-plugin
- Remove stale overrides in package.json (word-wrap, semver)
- Remove obsolete eslint-disable comments from source files
- Add { cause } to rethrown error in rsyncCli.js
- Add .gitignore and CLAUDE.md
- Resolves all 3 npm audit vulnerabilities (flatted, minimatch, js-yaml)
2026-04-02 23:31:02 +02:00
Dragan Filipovic
c81b43c5bf
fix: add proc.on('error') handler to prevent hanging on spawn failure
2026-04-02 23:09:25 +02:00
Dragan Filipovic
71b8eb300f
feat!: replace rsyncwrapper with local rsync module
...
Add src/rsync.js as a drop-in replacement for rsyncwrapper, using
child_process.spawn directly. Only implements the options this project
uses. Single line change in rsyncCli.js to swap the import.
BREAKING CHANGE: rsyncwrapper dependency removed, rsync command is now
constructed and executed via a local module using child_process.spawn.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-02 23:03:21 +02:00
Dragan Filipovic
b11fb7f911
feat!: replace rsyncwrapper with direct child_process.spawn
...
Remove the outdated rsyncwrapper dependency (unmaintained, uses
deprecated util._extend) and replace with a built-in buildRsyncCommand()
+ spawn implementation. Zero runtime dependencies.
BREAKING CHANGE: rsyncwrapper dependency removed, rsync command is now
constructed and executed directly via child_process.spawn.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-02 22:50:21 +02:00
Emmanuel Isenah
b82eced457
feat: apply deleteFile function to remoteCmd
2024-03-17 22:21:09 +01:00
Emmanuel Isenah
1befdb1c6b
feat: Add deleteFile function to helpers module
2024-03-17 22:19:34 +01:00
Måns Andersson
3f5d9aab1a
fix: normalize line endings in SSH key for the underlying OS
2023-09-28 20:05:00 +02:00
Dragan Filipovic
66f6e4b367
fix: add uuid for ssh scripts
2023-09-24 17:29:49 +02:00
Dylan Bryan
f9797b28d5
Added SCRIPT_BEFORE_REQUIRED and SCRIPT_AFTER_REQUIRED flags for error throwing on remote cmd errors
2023-04-18 17:24:01 -04:00
Dragan Filipovic
2fbb06015d
fix : #120 check undefined data
2023-02-21 22:35:05 +01:00
Dragan Filipovic
f0c02fb2a5
fix : #118 check undefined default values
2023-02-21 17:10:24 +01:00
Dragan Filipovic
5894f5e290
fix : #113 limit ssh script input
2023-02-21 17:03:16 +01:00
Dragan Filipovic
59827af83c
fix : #113 limit ssh script output
2023-02-21 16:53:56 +01:00
Dragan Filipovic
4d086346af
fix: fix default TARGET
2023-02-21 15:36:29 +01:00
Dragan Filipovic
0fb307eb41
[e2e] log default values
2023-02-21 14:43:52 +01:00
Sebastian Blesgen
a1e01b2fad
Use custom port for host scan
2023-02-10 18:55:53 +01:00
Nicholas Piasecki
0a1df91f97
Add remote port
2023-01-04 12:18:09 -05:00
Dragan Filipovic
3ef66d0be9
fix: add githubWorkspace as default source root
2023-01-03 23:02:41 +01:00
Dragan Filipovic
9f191f4263
fix: fix default source if empty
2023-01-03 21:55:45 +01:00
Dragan Filipovic
2be7efb376
perf: update default rsync options
...
BREAKING CHANGE: Default rsync options updated to speed up default deployments.
from `rltgoDzvO` to `-rlgoDzvc -i`
2023-01-03 09:21:19 +01:00
Dragan Filipovic
73a65ec97c
feat: Add multi source and multi target support
2023-01-03 02:49:54 +01:00
Dragan Filipovic
98ee38d52e
BREAKING CHANGE: Update inputs for multi src and pattern args
2023-01-02 23:50:02 +01:00
Dragan Filipovic
91b6d280ae
fix: Add visible Rsync CMD for debugging
2023-01-02 22:59:19 +01:00
Dragan Filipovic
8e19e0d6bc
fix: log buffer from rsync stdout
2023-01-02 22:30:57 +01:00
Dragan Filipovic
2a85c96230
add more complex e2e tests
2023-01-02 22:02:16 +01:00
Dragan Filipovic
85f4a96743
fix: Log rsync command
2023-01-02 21:37:23 +01:00
Dragan Filipović
ec9347f8c6
Feature/ssh cmd ( #94 )
...
* feat: Add SSH remote script support - before and after rsync
* fix: remove __dirname
* feat: add sshCmdArgs option
* Add promise instead of callback
* fix: improve logs
* fix: Add simple command exists instead of a plugin
* add non interactive install
* feat: add onStderr and onStdout logs
* Improve reject messages
* feat: Add RSYNC_STDOUT env variable
* emoji updates
* fix: update workflow actions
2023-01-02 21:06:33 +01:00
Dragan Filipovic
45bf266280
Remove Key log
2022-12-31 10:30:19 +01:00
Dragan Filipovic
2121ba96bc
update apt
2022-12-31 10:15:28 +01:00
Dragan Filipovic
b65c6688d1
host rsync
2022-12-31 10:14:04 +01:00
Dragan Filipovic
45eb75d449
inherit
2022-12-31 10:06:06 +01:00
Dragan Filipovic
4b6681d89c
{stdio: 'inherit'}
2022-12-31 10:04:57 +01:00
Dragan Filipovic
70415f9f9d
rsyncVersion
2022-12-31 10:02:46 +01:00
Dragan Filipovic
5403dab9a0
rsync check
2022-12-31 10:00:32 +01:00
Dragan Filipovic
5404854e81
envz
2022-12-31 09:53:43 +01:00
Dragan Filipovic
4efe6b6c40
print vars
2022-12-31 09:48:17 +01:00
Dragan Filipovic
d85914e1f9
test
2022-12-31 03:15:04 +01:00
Dragan Filipovic
aeee708bee
test
2022-12-31 02:43:17 +01:00
Dragan Filipovic
8073f2b34c
test env vars
2022-12-30 15:36:34 +01:00
Dragan Filipovic
c7bd38757d
replace nodeCMD with exec
2022-12-30 15:23:23 +01:00
Dragan Filipovic
692d3fee7d
start nginx for testing
2022-12-30 14:29:31 +01:00
Dragan Filipovic
07265c8c95
RSYNC use excludeFirst instead of exclude
2021-03-24 18:48:12 +01:00
Peter Kracik
2b38f7bf7a
Added exclude parameter
2021-03-12 07:42:12 +01:00
Dragan Filipovic
2bc5e10d4d
[Formatting] formatting updates
2020-09-18 23:26:31 +02:00
Dragan Filipovic
14eb503e62
[action] get input vars from ENV or WITH workflow settings
2020-07-01 00:54:24 +02:00
Dragan Filipovic
ac4f0895a6
[code] hotfix
2020-04-11 17:42:37 +02:00
Dragan Filipovic
62063532be
Merge branch 'master' into feature/SSH-DEPLOY-refactor
...
# Conflicts:
# .gitignore
# README.md
# dist/index.js
# src/index.js
2020-04-11 16:54:21 +02:00
Dragan Filipovic
460751d7c3
[code] split helpers into separate files
2020-04-11 16:29:20 +02:00
GarryOne
00e4d7e856
Added cmd to rsync error output
2020-03-27 01:10:01 +02:00
GarryOne
37e21b5b6b
Added error display for rsync
2020-03-27 00:05:33 +02:00