depository-deploy 1.0.9 → 1.0.11

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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/wizard.html +1 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "depository-deploy",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "description": "Depository document management system – deployment wizard and installers",
5
5
  "license": "UNLICENSED",
6
6
  "publishConfig": {
@@ -25,9 +25,9 @@
25
25
  "scripts/publish.mjs"
26
26
  ],
27
27
  "optionalDependencies": {
28
- "depository-deploy-linux": ">=1.0.0",
29
- "depository-deploy-macos": ">=1.0.0",
30
- "depository-deploy-windows": ">=1.0.0"
28
+ "depository-deploy-linux": "1.0.10",
29
+ "depository-deploy-macos": "1.0.10",
30
+ "depository-deploy-windows": "1.0.10"
31
31
  },
32
32
  "scripts": {
33
33
  "start": "node wizard-server.mjs"
package/wizard.html CHANGED
@@ -2223,7 +2223,6 @@ function saveWizardState() {
2223
2223
  const el = document.getElementById(id);
2224
2224
  if (el) state['_check_' + id] = el.checked;
2225
2225
  }
2226
- state._step = step;
2227
2226
  state._lang = lang;
2228
2227
  try { localStorage.setItem(STORAGE_KEY, JSON.stringify(state)); } catch {}
2229
2228
  }
@@ -2272,9 +2271,7 @@ function restoreWizardState() {
2272
2271
  // Restore language
2273
2272
  if (state._lang && state._lang !== lang) setLang(state._lang);
2274
2273
 
2275
- // Restore step
2276
- if (typeof state._step === 'number' && state._step > 0) showStep(state._step);
2277
-
2274
+ // Always start from step 1 (values are pre-filled, user navigates forward)
2278
2275
  return true;
2279
2276
  }
2280
2277