depository-deploy 1.0.3 → 1.0.4

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 +12 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "depository-deploy",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
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.3",
29
- "depository-deploy-macos": "1.0.3",
30
- "depository-deploy-windows": "1.0.3"
28
+ "depository-deploy-linux": "1.0.4",
29
+ "depository-deploy-macos": "1.0.4",
30
+ "depository-deploy-windows": "1.0.4"
31
31
  },
32
32
  "scripts": {
33
33
  "start": "node wizard-server.mjs"
package/wizard.html CHANGED
@@ -250,11 +250,13 @@ input.err { border-color: var(--err) !important; box-shadow: 0 0 0 3px rgba(220,
250
250
  .checklist li.check-ok::before { content: '✓'; color: var(--ok); }
251
251
  .checklist li.check-fail::before { content: '✗'; color: var(--err); }
252
252
  .checklist li.check-load::before { content: '…'; color: var(--muted); }
253
+ .checklist li.check-info::before { content: 'ℹ'; color: var(--accent); }
253
254
  .checklist li .check-detail {
254
255
  font-size: 11px; color: var(--muted); font-weight: 400; margin-left: 4px;
255
256
  }
256
257
  .checklist li.check-fail .check-detail { color: var(--err); }
257
258
  .checklist li.check-ok .check-detail { color: var(--ok); }
259
+ .checklist li.check-info .check-detail { color: var(--accent); }
258
260
 
259
261
  /* Previous installation warning */
260
262
  .prev-install-warn {
@@ -883,6 +885,7 @@ const T = {
883
885
  check2:"<strong>.NET 9 ASP.NET Core Runtime</strong> installed on the target server",
884
886
  check3:"The <strong>release/</strong> folder (built by your developer) in the same deploy folder",
885
887
  check3_missing:"not found — download below or reinstall via npx depository-deploy@latest",
888
+ check3_server_download:"will be downloaded automatically during installation",
886
889
  check4:"<strong>Administrator / sudo</strong> access on the target machine",
887
890
  welcome_note:"Click <strong>Next</strong> to begin. At the end you will download a <code>depository.conf</code> file and get the command to run the installer.",
888
891
  db_title:"Database Configuration", db_sub:"Choose the database engine that Depository will use to store its data.",
@@ -974,6 +977,7 @@ const T = {
974
977
  check2:"Hedef sunucuda yüklü <strong>.NET 9 ASP.NET Core Runtime</strong>",
975
978
  check3:"Aynı deploy klasöründe (geliştirici tarafından derlenen) <strong>release/</strong> klasörü",
976
979
  check3_missing:"bulunamadı — aşağıdan indirin veya npx depository-deploy@latest ile yeniden kurun",
980
+ check3_server_download:"kurulum sırasında otomatik olarak indirilecek",
977
981
  check4:"Hedef makinede <strong>Yönetici / sudo</strong> erişimi",
978
982
  welcome_note:"Başlamak için <strong>İleri</strong>'ye tıklayın. Sonunda bir <code>depository.conf</code> dosyası indirecek ve yükleyiciyi çalıştıracaksınız.",
979
983
  db_title:"Veritabanı Yapılandırması", db_sub:"Depository'nin verilerini depolamak için kullanacağı veritabanı motorunu seçin.",
@@ -1065,6 +1069,7 @@ const T = {
1065
1069
  check2:"<strong>.NET 9 ASP.NET Core Runtime</strong> installé sur le serveur cible",
1066
1070
  check3:"Le dossier <strong>release/</strong> (compilé par votre développeur) dans le même dossier deploy",
1067
1071
  check3_missing:"introuvable — téléchargez ci-dessous ou réinstallez via npx depository-deploy@latest",
1072
+ check3_server_download:"sera téléchargé automatiquement lors de l'installation",
1068
1073
  check4:"Un accès <strong>Administrateur / sudo</strong> sur la machine cible",
1069
1074
  welcome_note:"Cliquez sur <strong>Suivant</strong> pour commencer. Vous téléchargerez un fichier <code>depository.conf</code> à la fin.",
1070
1075
  db_title:"Configuration de la base de données", db_sub:"Choisissez le moteur de base de données que Depository utilisera pour stocker ses données.",
@@ -1156,6 +1161,7 @@ const T = {
1156
1161
  check2:"<strong>.NET 9 ASP.NET Core Runtime</strong> auf dem Zielserver installiert",
1157
1162
  check3:"Den <strong>release/</strong>-Ordner (vom Entwickler erstellt) im gleichen Deploy-Ordner",
1158
1163
  check3_missing:"nicht gefunden — unten herunterladen oder mit npx depository-deploy@latest neu installieren",
1164
+ check3_server_download:"wird während der Installation automatisch heruntergeladen",
1159
1165
  check4:"<strong>Administrator- / sudo-</strong>Zugriff auf dem Zielrechner",
1160
1166
  welcome_note:"Klicken Sie auf <strong>Weiter</strong>, um zu beginnen. Am Ende laden Sie eine <code>depository.conf</code>-Datei herunter.",
1161
1167
  db_title:"Datenbankkonfiguration", db_sub:"Wählen Sie die Datenbank-Engine, die Depository zum Speichern seiner Daten verwenden soll.",
@@ -1247,6 +1253,7 @@ const T = {
1247
1253
  check2:"<strong>.NET 9 ASP.NET Core Runtime</strong> instalado en el servidor de destino",
1248
1254
  check3:"La carpeta <strong>release/</strong> (compilada por su desarrollador) en la misma carpeta deploy",
1249
1255
  check3_missing:"no encontrada — descargue abajo o reinstale con npx depository-deploy@latest",
1256
+ check3_server_download:"se descargará automáticamente durante la instalación",
1250
1257
  check4:"Acceso de <strong>Administrador / sudo</strong> en la máquina de destino",
1251
1258
  welcome_note:"Haga clic en <strong>Siguiente</strong> para comenzar. Al final descargará un archivo <code>depository.conf</code>.",
1252
1259
  db_title:"Configuración de base de datos", db_sub:"Elija el motor de base de datos que Depository usará para almacenar sus datos.",
@@ -1338,6 +1345,7 @@ const T = {
1338
1345
  check2:"<strong>.NET 9 ASP.NET Core Runtime</strong> مثبت على الخادم الهدف",
1339
1346
  check3:"مجلد <strong>release/</strong> (المُجمَّع من قِبل المطوّر) في نفس مجلد النشر",
1340
1347
  check3_missing:"غير موجود — حمّل أدناه أو أعد التثبيت عبر npx depository-deploy@latest",
1348
+ check3_server_download:"سيتم تنزيله تلقائيًا أثناء التثبيت",
1341
1349
  check4:"صلاحيات <strong>المسؤول / sudo</strong> على الجهاز الهدف",
1342
1350
  welcome_note:"انقر على <strong>التالي</strong> للبدء. في النهاية ستقوم بتنزيل ملف <code>depository.conf</code> والحصول على أمر تشغيل المثبّت.",
1343
1351
  db_title:"تهيئة قاعدة البيانات", db_sub:"اختر محرك قاعدة البيانات الذي سيستخدمه Depository لتخزين بياناته.",
@@ -1567,7 +1575,7 @@ function validateStep(s) {
1567
1575
  if (prevInstallDetected && !document.getElementById('overwriteOk').checked) {
1568
1576
  // Make sure the warning panel is visible and scrolled into view
1569
1577
  const warn = document.getElementById('prevInstallWarn');
1570
- warn.style.display = '';
1578
+ warn.style.display = 'block';
1571
1579
  warn.scrollIntoView({ behavior: 'smooth', block: 'center' });
1572
1580
  return {msg:t('err_overwrite'), field:'overwriteOk'};
1573
1581
  }
@@ -1858,9 +1866,8 @@ async function checkServerMode() {
1858
1866
  relEl.className = 'check-ok';
1859
1867
  relDetail.textContent = '';
1860
1868
  } else {
1861
- relEl.className = 'check-fail';
1862
- relDetail.textContent = ' — ' + t('check3_missing');
1863
- document.getElementById('downloadBinPanel').style.display = '';
1869
+ relEl.className = 'check-info';
1870
+ relDetail.textContent = ' — ' + t('check3_server_download');
1864
1871
  }
1865
1872
  }
1866
1873
  } catch { /* ignore */ }
@@ -1995,7 +2002,7 @@ async function _doCheckPrevInstall() {
1995
2002
  const { exists, isDepository } = await r.json();
1996
2003
 
1997
2004
  if (isDepository) {
1998
- warn.style.display = '';
2005
+ warn.style.display = 'block';
1999
2006
  prevInstallDetected = true;
2000
2007
  document.getElementById('prevInstallMsg').innerHTML = t('prev_install_warn');
2001
2008
  } else {