@wyxos/zephyr 0.9.6 → 0.9.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wyxos/zephyr",
3
- "version": "0.9.6",
3
+ "version": "0.9.8",
4
4
  "description": "A streamlined deployment tool for web applications with intelligent Laravel project detection",
5
5
  "type": "module",
6
6
  "main": "./src/index.mjs",
@@ -28,7 +28,10 @@ function createPresetState(rootDir, projectConfig, preset, {
28
28
  async saveOptions(nextOptions, {
29
29
  message = null
30
30
  } = {}) {
31
- const normalizedOptions = normalizePresetOptions(nextOptions)
31
+ const normalizedOptions = normalizePresetOptions({
32
+ ...preset.options,
33
+ ...nextOptions
34
+ })
32
35
 
33
36
  if (presetOptionsEqual(preset.options, normalizedOptions)) {
34
37
  return false
@@ -365,6 +365,7 @@ export async function runDeployment(config, options = {}) {
365
365
  remoteState = await resolveRemoteDeploymentState({
366
366
  snapshot,
367
367
  executionMode,
368
+ persistPresetOptions: presetState?.saveOptions,
368
369
  ssh,
369
370
  remoteCwd,
370
371
  runPrompt,