spindb 0.37.2 → 0.38.0
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/dist/cli/bin.js +9 -0
- package/dist/cli/bin.js.map +1 -0
- package/dist/cli/commands/attach.js +102 -0
- package/dist/cli/commands/attach.js.map +1 -0
- package/dist/cli/commands/backup.js +197 -0
- package/dist/cli/commands/backup.js.map +1 -0
- package/dist/cli/commands/backups.js +190 -0
- package/dist/cli/commands/backups.js.map +1 -0
- package/dist/cli/commands/clone.js +119 -0
- package/dist/cli/commands/clone.js.map +1 -0
- package/dist/cli/commands/config.js +276 -0
- package/dist/cli/commands/config.js.map +1 -0
- package/dist/cli/commands/connect.js +559 -0
- package/dist/cli/commands/connect.js.map +1 -0
- package/dist/cli/commands/create.js +952 -0
- package/dist/cli/commands/create.js.map +1 -0
- package/dist/cli/commands/databases.js +485 -0
- package/dist/cli/commands/databases.js.map +1 -0
- package/dist/cli/commands/delete.js +106 -0
- package/dist/cli/commands/delete.js.map +1 -0
- package/dist/cli/commands/deps.js +238 -0
- package/dist/cli/commands/deps.js.map +1 -0
- package/dist/cli/commands/detach.js +81 -0
- package/dist/cli/commands/detach.js.map +1 -0
- package/dist/cli/commands/doctor.js +567 -0
- package/dist/cli/commands/doctor.js.map +1 -0
- package/dist/cli/commands/duckdb.js +207 -0
- package/dist/cli/commands/duckdb.js.map +1 -0
- package/dist/cli/commands/edit.js +524 -0
- package/dist/cli/commands/edit.js.map +1 -0
- package/dist/cli/commands/engines.js +1414 -0
- package/dist/cli/commands/engines.js.map +1 -0
- package/dist/cli/commands/export.js +383 -0
- package/dist/cli/commands/export.js.map +1 -0
- package/dist/cli/commands/info.js +270 -0
- package/dist/cli/commands/info.js.map +1 -0
- package/dist/cli/commands/list.js +215 -0
- package/dist/cli/commands/list.js.map +1 -0
- package/dist/cli/commands/logs.js +81 -0
- package/dist/cli/commands/logs.js.map +1 -0
- package/dist/cli/commands/menu/backup-handlers.js +1202 -0
- package/dist/cli/commands/menu/backup-handlers.js.map +1 -0
- package/dist/cli/commands/menu/container-handlers.js +1788 -0
- package/dist/cli/commands/menu/container-handlers.js.map +1 -0
- package/dist/cli/commands/menu/engine-handlers.js +235 -0
- package/dist/cli/commands/menu/engine-handlers.js.map +1 -0
- package/dist/cli/commands/menu/index.js +266 -0
- package/dist/cli/commands/menu/index.js.map +1 -0
- package/dist/cli/commands/menu/settings-handlers.js +320 -0
- package/dist/cli/commands/menu/settings-handlers.js.map +1 -0
- package/dist/cli/commands/menu/shared.js +13 -0
- package/dist/cli/commands/menu/shared.js.map +1 -0
- package/dist/cli/commands/menu/shell-handlers.js +1573 -0
- package/dist/cli/commands/menu/shell-handlers.js.map +1 -0
- package/dist/cli/commands/menu/sql-handlers.js +185 -0
- package/dist/cli/commands/menu/sql-handlers.js.map +1 -0
- package/dist/cli/commands/menu/update-handlers.js +322 -0
- package/dist/cli/commands/menu/update-handlers.js.map +1 -0
- package/dist/cli/commands/menu/validators.js +9 -0
- package/dist/cli/commands/menu/validators.js.map +1 -0
- package/dist/cli/commands/ports.js +166 -0
- package/dist/cli/commands/ports.js.map +1 -0
- package/dist/cli/commands/pull.js +166 -0
- package/dist/cli/commands/pull.js.map +1 -0
- package/dist/cli/commands/query.js +180 -0
- package/dist/cli/commands/query.js.map +1 -0
- package/dist/cli/commands/restore.js +428 -0
- package/dist/cli/commands/restore.js.map +1 -0
- package/dist/cli/commands/run.js +115 -0
- package/dist/cli/commands/run.js.map +1 -0
- package/dist/cli/commands/self-update.js +99 -0
- package/dist/cli/commands/self-update.js.map +1 -0
- package/dist/cli/commands/sqlite.js +207 -0
- package/dist/cli/commands/sqlite.js.map +1 -0
- package/dist/cli/commands/start.js +196 -0
- package/dist/cli/commands/start.js.map +1 -0
- package/dist/cli/commands/stop.js +182 -0
- package/dist/cli/commands/stop.js.map +1 -0
- package/dist/cli/commands/url.js +88 -0
- package/dist/cli/commands/url.js.map +1 -0
- package/dist/cli/commands/users.js +189 -0
- package/dist/cli/commands/users.js.map +1 -0
- package/dist/cli/commands/version.js +52 -0
- package/dist/cli/commands/version.js.map +1 -0
- package/dist/cli/commands/which.js +258 -0
- package/dist/cli/commands/which.js.map +1 -0
- package/dist/cli/constants.js +212 -0
- package/dist/cli/constants.js.map +1 -0
- package/dist/cli/helpers.js +1120 -0
- package/dist/cli/helpers.js.map +1 -0
- package/dist/cli/index.js +146 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/ui/prompts.js +1002 -0
- package/dist/cli/ui/prompts.js.map +1 -0
- package/dist/cli/ui/spinner.js +74 -0
- package/dist/cli/ui/spinner.js.map +1 -0
- package/dist/cli/ui/theme.js +99 -0
- package/dist/cli/ui/theme.js.map +1 -0
- package/dist/cli/utils/file-follower.js +79 -0
- package/dist/cli/utils/file-follower.js.map +1 -0
- package/dist/config/backup-formats.js +363 -0
- package/dist/config/backup-formats.js.map +1 -0
- package/dist/config/defaults.js +25 -0
- package/dist/config/defaults.js.map +1 -0
- package/dist/config/engine-defaults.js +303 -0
- package/dist/config/engine-defaults.js.map +1 -0
- package/dist/config/engines-registry.js +103 -0
- package/dist/config/engines-registry.js.map +1 -0
- package/dist/config/os-dependencies.js +767 -0
- package/dist/config/os-dependencies.js.map +1 -0
- package/dist/config/paths.js +156 -0
- package/dist/config/paths.js.map +1 -0
- package/dist/config/version.js +3 -0
- package/dist/config/version.js.map +1 -0
- package/dist/core/backup-restore.js +219 -0
- package/dist/core/backup-restore.js.map +1 -0
- package/dist/core/base-binary-manager.js +403 -0
- package/dist/core/base-binary-manager.js.map +1 -0
- package/dist/core/base-document-binary-manager.js +364 -0
- package/dist/core/base-document-binary-manager.js.map +1 -0
- package/dist/core/base-embedded-binary-manager.js +364 -0
- package/dist/core/base-embedded-binary-manager.js.map +1 -0
- package/dist/core/base-server-binary-manager.js +368 -0
- package/dist/core/base-server-binary-manager.js.map +1 -0
- package/dist/core/config-manager.js +495 -0
- package/dist/core/config-manager.js.map +1 -0
- package/dist/core/container-manager.js +609 -0
- package/dist/core/container-manager.js.map +1 -0
- package/dist/core/credential-generator.js +67 -0
- package/dist/core/credential-generator.js.map +1 -0
- package/dist/core/credential-manager.js +211 -0
- package/dist/core/credential-manager.js.map +1 -0
- package/dist/core/dblab-utils.js +105 -0
- package/dist/core/dblab-utils.js.map +1 -0
- package/dist/core/dependency-manager.js +359 -0
- package/dist/core/dependency-manager.js.map +1 -0
- package/dist/core/docker-exporter.js +1077 -0
- package/dist/core/docker-exporter.js.map +1 -0
- package/dist/core/error-handler.js +295 -0
- package/dist/core/error-handler.js.map +1 -0
- package/dist/core/fs-error-utils.js +74 -0
- package/dist/core/fs-error-utils.js.map +1 -0
- package/dist/core/homebrew-version-manager.js +280 -0
- package/dist/core/homebrew-version-manager.js.map +1 -0
- package/dist/core/hostdb-client.js +252 -0
- package/dist/core/hostdb-client.js.map +1 -0
- package/dist/core/hostdb-metadata.js +243 -0
- package/dist/core/hostdb-metadata.js.map +1 -0
- package/dist/core/hostdb-releases-factory.js +161 -0
- package/dist/core/hostdb-releases-factory.js.map +1 -0
- package/dist/core/library-env.js +88 -0
- package/dist/core/library-env.js.map +1 -0
- package/dist/core/pgweb-utils.js +53 -0
- package/dist/core/pgweb-utils.js.map +1 -0
- package/dist/core/platform-service.js +632 -0
- package/dist/core/platform-service.js.map +1 -0
- package/dist/core/port-manager.js +136 -0
- package/dist/core/port-manager.js.map +1 -0
- package/dist/core/process-manager.js +445 -0
- package/dist/core/process-manager.js.map +1 -0
- package/dist/core/pull-manager.js +418 -0
- package/dist/core/pull-manager.js.map +1 -0
- package/dist/core/query-parser.js +449 -0
- package/dist/core/query-parser.js.map +1 -0
- package/dist/core/spawn-utils.js +90 -0
- package/dist/core/spawn-utils.js.map +1 -0
- package/dist/core/start-with-retry.js +90 -0
- package/dist/core/start-with-retry.js.map +1 -0
- package/dist/core/test-cleanup.js +85 -0
- package/dist/core/test-cleanup.js.map +1 -0
- package/dist/core/tls-generator.js +84 -0
- package/dist/core/tls-generator.js.map +1 -0
- package/dist/core/transaction-manager.js +139 -0
- package/dist/core/transaction-manager.js.map +1 -0
- package/dist/core/update-manager.js +241 -0
- package/dist/core/update-manager.js.map +1 -0
- package/dist/core/version-migration.js +260 -0
- package/dist/core/version-migration.js.map +1 -0
- package/dist/core/version-utils.js +91 -0
- package/dist/core/version-utils.js.map +1 -0
- package/dist/engines/base-engine.js +179 -0
- package/dist/engines/base-engine.js.map +1 -0
- package/dist/engines/clickhouse/backup.js +289 -0
- package/dist/engines/clickhouse/backup.js.map +1 -0
- package/dist/engines/clickhouse/binary-manager.js +145 -0
- package/dist/engines/clickhouse/binary-manager.js.map +1 -0
- package/dist/engines/clickhouse/binary-urls.js +100 -0
- package/dist/engines/clickhouse/binary-urls.js.map +1 -0
- package/dist/engines/clickhouse/cli-utils.js +143 -0
- package/dist/engines/clickhouse/cli-utils.js.map +1 -0
- package/dist/engines/clickhouse/hostdb-releases.js +24 -0
- package/dist/engines/clickhouse/hostdb-releases.js.map +1 -0
- package/dist/engines/clickhouse/index.js +1077 -0
- package/dist/engines/clickhouse/index.js.map +1 -0
- package/dist/engines/clickhouse/restore.js +335 -0
- package/dist/engines/clickhouse/restore.js.map +1 -0
- package/dist/engines/clickhouse/version-maps.js +83 -0
- package/dist/engines/clickhouse/version-maps.js.map +1 -0
- package/dist/engines/clickhouse/version-validator.js +133 -0
- package/dist/engines/clickhouse/version-validator.js.map +1 -0
- package/dist/engines/cockroachdb/backup.js +261 -0
- package/dist/engines/cockroachdb/backup.js.map +1 -0
- package/dist/engines/cockroachdb/binary-manager.js +33 -0
- package/dist/engines/cockroachdb/binary-manager.js.map +1 -0
- package/dist/engines/cockroachdb/binary-urls.js +33 -0
- package/dist/engines/cockroachdb/binary-urls.js.map +1 -0
- package/dist/engines/cockroachdb/cli-utils.js +338 -0
- package/dist/engines/cockroachdb/cli-utils.js.map +1 -0
- package/dist/engines/cockroachdb/hostdb-releases.js +21 -0
- package/dist/engines/cockroachdb/hostdb-releases.js.map +1 -0
- package/dist/engines/cockroachdb/index.js +1016 -0
- package/dist/engines/cockroachdb/index.js.map +1 -0
- package/dist/engines/cockroachdb/restore.js +323 -0
- package/dist/engines/cockroachdb/restore.js.map +1 -0
- package/dist/engines/cockroachdb/version-maps.js +37 -0
- package/dist/engines/cockroachdb/version-maps.js.map +1 -0
- package/dist/engines/couchdb/api-client.js +64 -0
- package/dist/engines/couchdb/api-client.js.map +1 -0
- package/dist/engines/couchdb/backup.js +90 -0
- package/dist/engines/couchdb/backup.js.map +1 -0
- package/dist/engines/couchdb/binary-manager.js +62 -0
- package/dist/engines/couchdb/binary-manager.js.map +1 -0
- package/dist/engines/couchdb/binary-urls.js +92 -0
- package/dist/engines/couchdb/binary-urls.js.map +1 -0
- package/dist/engines/couchdb/hostdb-releases.js +21 -0
- package/dist/engines/couchdb/hostdb-releases.js.map +1 -0
- package/dist/engines/couchdb/index.js +1043 -0
- package/dist/engines/couchdb/index.js.map +1 -0
- package/dist/engines/couchdb/restore.js +198 -0
- package/dist/engines/couchdb/restore.js.map +1 -0
- package/dist/engines/couchdb/version-maps.js +67 -0
- package/dist/engines/couchdb/version-maps.js.map +1 -0
- package/dist/engines/couchdb/version-validator.js +88 -0
- package/dist/engines/couchdb/version-validator.js.map +1 -0
- package/dist/engines/duckdb/binary-manager.js +33 -0
- package/dist/engines/duckdb/binary-manager.js.map +1 -0
- package/{engines/duckdb/binary-urls.ts → dist/engines/duckdb/binary-urls.js} +11 -16
- package/dist/engines/duckdb/binary-urls.js.map +1 -0
- package/dist/engines/duckdb/hostdb-releases.js +21 -0
- package/dist/engines/duckdb/hostdb-releases.js.map +1 -0
- package/dist/engines/duckdb/index.js +594 -0
- package/dist/engines/duckdb/index.js.map +1 -0
- package/dist/engines/duckdb/registry.js +265 -0
- package/dist/engines/duckdb/registry.js.map +1 -0
- package/dist/engines/duckdb/scanner.js +12 -0
- package/dist/engines/duckdb/scanner.js.map +1 -0
- package/dist/engines/duckdb/version-maps.js +67 -0
- package/dist/engines/duckdb/version-maps.js.map +1 -0
- package/dist/engines/duckdb/version-validator.js +62 -0
- package/dist/engines/duckdb/version-validator.js.map +1 -0
- package/dist/engines/ferretdb/backup.js +170 -0
- package/dist/engines/ferretdb/backup.js.map +1 -0
- package/dist/engines/ferretdb/binary-manager.js +765 -0
- package/dist/engines/ferretdb/binary-manager.js.map +1 -0
- package/dist/engines/ferretdb/binary-urls.js +135 -0
- package/dist/engines/ferretdb/binary-urls.js.map +1 -0
- package/dist/engines/ferretdb/index.js +1517 -0
- package/dist/engines/ferretdb/index.js.map +1 -0
- package/dist/engines/ferretdb/restore.js +310 -0
- package/dist/engines/ferretdb/restore.js.map +1 -0
- package/{engines/ferretdb/version-maps.ts → dist/engines/ferretdb/version-maps.js} +62 -79
- package/dist/engines/ferretdb/version-maps.js.map +1 -0
- package/dist/engines/file-based-utils.js +184 -0
- package/dist/engines/file-based-utils.js.map +1 -0
- package/dist/engines/index.js +124 -0
- package/dist/engines/index.js.map +1 -0
- package/dist/engines/influxdb/api-client.js +54 -0
- package/dist/engines/influxdb/api-client.js.map +1 -0
- package/dist/engines/influxdb/backup.js +119 -0
- package/dist/engines/influxdb/backup.js.map +1 -0
- package/dist/engines/influxdb/binary-manager.js +87 -0
- package/dist/engines/influxdb/binary-manager.js.map +1 -0
- package/dist/engines/influxdb/binary-urls.js +56 -0
- package/dist/engines/influxdb/binary-urls.js.map +1 -0
- package/dist/engines/influxdb/hostdb-releases.js +21 -0
- package/dist/engines/influxdb/hostdb-releases.js.map +1 -0
- package/dist/engines/influxdb/index.js +962 -0
- package/dist/engines/influxdb/index.js.map +1 -0
- package/dist/engines/influxdb/restore.js +329 -0
- package/dist/engines/influxdb/restore.js.map +1 -0
- package/dist/engines/influxdb/version-maps.js +64 -0
- package/dist/engines/influxdb/version-maps.js.map +1 -0
- package/dist/engines/influxdb/version-validator.js +109 -0
- package/dist/engines/influxdb/version-validator.js.map +1 -0
- package/dist/engines/mariadb/backup.js +178 -0
- package/dist/engines/mariadb/backup.js.map +1 -0
- package/dist/engines/mariadb/binary-manager.js +33 -0
- package/dist/engines/mariadb/binary-manager.js.map +1 -0
- package/{engines/mariadb/binary-urls.ts → dist/engines/mariadb/binary-urls.js} +38 -55
- package/dist/engines/mariadb/binary-urls.js.map +1 -0
- package/dist/engines/mariadb/hostdb-releases.js +21 -0
- package/dist/engines/mariadb/hostdb-releases.js.map +1 -0
- package/dist/engines/mariadb/index.js +1011 -0
- package/dist/engines/mariadb/index.js.map +1 -0
- package/dist/engines/mariadb/restore.js +322 -0
- package/dist/engines/mariadb/restore.js.map +1 -0
- package/dist/engines/mariadb/version-maps.js +63 -0
- package/dist/engines/mariadb/version-maps.js.map +1 -0
- package/dist/engines/mariadb/version-validator.js +143 -0
- package/dist/engines/mariadb/version-validator.js.map +1 -0
- package/dist/engines/meilisearch/api-client.js +50 -0
- package/dist/engines/meilisearch/api-client.js.map +1 -0
- package/dist/engines/meilisearch/backup.js +167 -0
- package/dist/engines/meilisearch/backup.js.map +1 -0
- package/dist/engines/meilisearch/binary-manager.js +31 -0
- package/dist/engines/meilisearch/binary-manager.js.map +1 -0
- package/dist/engines/meilisearch/binary-urls.js +56 -0
- package/dist/engines/meilisearch/binary-urls.js.map +1 -0
- package/dist/engines/meilisearch/hostdb-releases.js +21 -0
- package/dist/engines/meilisearch/hostdb-releases.js.map +1 -0
- package/dist/engines/meilisearch/index.js +992 -0
- package/dist/engines/meilisearch/index.js.map +1 -0
- package/dist/engines/meilisearch/restore.js +167 -0
- package/dist/engines/meilisearch/restore.js.map +1 -0
- package/dist/engines/meilisearch/version-maps.js +67 -0
- package/dist/engines/meilisearch/version-maps.js.map +1 -0
- package/dist/engines/meilisearch/version-validator.js +109 -0
- package/dist/engines/meilisearch/version-validator.js.map +1 -0
- package/dist/engines/mongodb/backup.js +109 -0
- package/dist/engines/mongodb/backup.js.map +1 -0
- package/dist/engines/mongodb/binary-manager.js +36 -0
- package/dist/engines/mongodb/binary-manager.js.map +1 -0
- package/dist/engines/mongodb/binary-urls.js +46 -0
- package/dist/engines/mongodb/binary-urls.js.map +1 -0
- package/dist/engines/mongodb/cli-utils.js +131 -0
- package/dist/engines/mongodb/cli-utils.js.map +1 -0
- package/dist/engines/mongodb/hostdb-releases.js +77 -0
- package/dist/engines/mongodb/hostdb-releases.js.map +1 -0
- package/dist/engines/mongodb/index.js +873 -0
- package/dist/engines/mongodb/index.js.map +1 -0
- package/dist/engines/mongodb/restore.js +276 -0
- package/dist/engines/mongodb/restore.js.map +1 -0
- package/dist/engines/mongodb/version-maps.js +79 -0
- package/dist/engines/mongodb/version-maps.js.map +1 -0
- package/dist/engines/mongodb/version-validator.js +133 -0
- package/dist/engines/mongodb/version-validator.js.map +1 -0
- package/dist/engines/mysql/backup.js +210 -0
- package/dist/engines/mysql/backup.js.map +1 -0
- package/dist/engines/mysql/binary-detection.js +325 -0
- package/dist/engines/mysql/binary-detection.js.map +1 -0
- package/dist/engines/mysql/binary-manager.js +30 -0
- package/dist/engines/mysql/binary-manager.js.map +1 -0
- package/dist/engines/mysql/binary-urls.js +87 -0
- package/dist/engines/mysql/binary-urls.js.map +1 -0
- package/{engines/mysql/hostdb-releases.ts → dist/engines/mysql/hostdb-releases.js} +20 -23
- package/dist/engines/mysql/hostdb-releases.js.map +1 -0
- package/dist/engines/mysql/index.js +1066 -0
- package/dist/engines/mysql/index.js.map +1 -0
- package/dist/engines/mysql/restore.js +361 -0
- package/dist/engines/mysql/restore.js.map +1 -0
- package/dist/engines/mysql/version-maps.js +79 -0
- package/dist/engines/mysql/version-maps.js.map +1 -0
- package/dist/engines/mysql/version-validator.js +266 -0
- package/dist/engines/mysql/version-validator.js.map +1 -0
- package/dist/engines/postgresql/backup.js +118 -0
- package/dist/engines/postgresql/backup.js.map +1 -0
- package/dist/engines/postgresql/binary-manager.js +85 -0
- package/dist/engines/postgresql/binary-manager.js.map +1 -0
- package/dist/engines/postgresql/binary-urls.js +80 -0
- package/dist/engines/postgresql/binary-urls.js.map +1 -0
- package/dist/engines/postgresql/hostdb-releases.js +21 -0
- package/dist/engines/postgresql/hostdb-releases.js.map +1 -0
- package/dist/engines/postgresql/index.js +852 -0
- package/dist/engines/postgresql/index.js.map +1 -0
- package/dist/engines/postgresql/remote-version.js +109 -0
- package/dist/engines/postgresql/remote-version.js.map +1 -0
- package/dist/engines/postgresql/restore.js +254 -0
- package/dist/engines/postgresql/restore.js.map +1 -0
- package/dist/engines/postgresql/version-maps.js +73 -0
- package/dist/engines/postgresql/version-maps.js.map +1 -0
- package/dist/engines/postgresql/version-validator.js +286 -0
- package/dist/engines/postgresql/version-validator.js.map +1 -0
- package/dist/engines/qdrant/api-client.js +50 -0
- package/dist/engines/qdrant/api-client.js.map +1 -0
- package/dist/engines/qdrant/backup.js +115 -0
- package/dist/engines/qdrant/backup.js.map +1 -0
- package/dist/engines/qdrant/binary-manager.js +31 -0
- package/dist/engines/qdrant/binary-manager.js.map +1 -0
- package/dist/engines/qdrant/binary-urls.js +92 -0
- package/dist/engines/qdrant/binary-urls.js.map +1 -0
- package/dist/engines/qdrant/cli-utils.js +39 -0
- package/dist/engines/qdrant/cli-utils.js.map +1 -0
- package/dist/engines/qdrant/hostdb-releases.js +21 -0
- package/dist/engines/qdrant/hostdb-releases.js.map +1 -0
- package/dist/engines/qdrant/index.js +1002 -0
- package/dist/engines/qdrant/index.js.map +1 -0
- package/dist/engines/qdrant/restore.js +154 -0
- package/dist/engines/qdrant/restore.js.map +1 -0
- package/dist/engines/qdrant/version-maps.js +67 -0
- package/dist/engines/qdrant/version-maps.js.map +1 -0
- package/dist/engines/qdrant/version-validator.js +109 -0
- package/dist/engines/qdrant/version-validator.js.map +1 -0
- package/dist/engines/questdb/backup.js +191 -0
- package/dist/engines/questdb/backup.js.map +1 -0
- package/dist/engines/questdb/binary-manager.js +247 -0
- package/dist/engines/questdb/binary-manager.js.map +1 -0
- package/dist/engines/questdb/binary-urls.js +27 -0
- package/dist/engines/questdb/binary-urls.js.map +1 -0
- package/dist/engines/questdb/hostdb-releases.js +21 -0
- package/dist/engines/questdb/hostdb-releases.js.map +1 -0
- package/dist/engines/questdb/index.js +814 -0
- package/dist/engines/questdb/index.js.map +1 -0
- package/dist/engines/questdb/restore.js +202 -0
- package/dist/engines/questdb/restore.js.map +1 -0
- package/dist/engines/questdb/version-maps.js +33 -0
- package/dist/engines/questdb/version-maps.js.map +1 -0
- package/dist/engines/questdb/version-validator.js +99 -0
- package/dist/engines/questdb/version-validator.js.map +1 -0
- package/dist/engines/redis/backup.js +292 -0
- package/dist/engines/redis/backup.js.map +1 -0
- package/dist/engines/redis/binary-manager.js +32 -0
- package/dist/engines/redis/binary-manager.js.map +1 -0
- package/dist/engines/redis/binary-urls.js +96 -0
- package/dist/engines/redis/binary-urls.js.map +1 -0
- package/dist/engines/redis/cli-utils.js +38 -0
- package/dist/engines/redis/cli-utils.js.map +1 -0
- package/dist/engines/redis/hostdb-releases.js +21 -0
- package/dist/engines/redis/hostdb-releases.js.map +1 -0
- package/dist/engines/redis/index.js +1263 -0
- package/dist/engines/redis/index.js.map +1 -0
- package/dist/engines/redis/restore.js +338 -0
- package/dist/engines/redis/restore.js.map +1 -0
- package/dist/engines/redis/version-maps.js +70 -0
- package/dist/engines/redis/version-maps.js.map +1 -0
- package/dist/engines/redis/version-validator.js +109 -0
- package/dist/engines/redis/version-validator.js.map +1 -0
- package/dist/engines/sqlite/binary-manager.js +39 -0
- package/dist/engines/sqlite/binary-manager.js.map +1 -0
- package/{engines/sqlite/binary-urls.ts → dist/engines/sqlite/binary-urls.js} +11 -16
- package/dist/engines/sqlite/binary-urls.js.map +1 -0
- package/dist/engines/sqlite/hostdb-releases.js +21 -0
- package/dist/engines/sqlite/hostdb-releases.js.map +1 -0
- package/dist/engines/sqlite/index.js +493 -0
- package/dist/engines/sqlite/index.js.map +1 -0
- package/dist/engines/sqlite/registry.js +163 -0
- package/dist/engines/sqlite/registry.js.map +1 -0
- package/dist/engines/sqlite/scanner.js +12 -0
- package/dist/engines/sqlite/scanner.js.map +1 -0
- package/dist/engines/sqlite/version-maps.js +57 -0
- package/dist/engines/sqlite/version-maps.js.map +1 -0
- package/dist/engines/surrealdb/backup.js +97 -0
- package/dist/engines/surrealdb/backup.js.map +1 -0
- package/dist/engines/surrealdb/binary-manager.js +33 -0
- package/dist/engines/surrealdb/binary-manager.js.map +1 -0
- package/dist/engines/surrealdb/binary-urls.js +33 -0
- package/dist/engines/surrealdb/binary-urls.js.map +1 -0
- package/dist/engines/surrealdb/cli-utils.js +147 -0
- package/dist/engines/surrealdb/cli-utils.js.map +1 -0
- package/dist/engines/surrealdb/hostdb-releases.js +21 -0
- package/dist/engines/surrealdb/hostdb-releases.js.map +1 -0
- package/dist/engines/surrealdb/index.js +1022 -0
- package/dist/engines/surrealdb/index.js.map +1 -0
- package/dist/engines/surrealdb/restore.js +224 -0
- package/dist/engines/surrealdb/restore.js.map +1 -0
- package/dist/engines/surrealdb/version-maps.js +36 -0
- package/dist/engines/surrealdb/version-maps.js.map +1 -0
- package/dist/engines/tigerbeetle/backup.js +36 -0
- package/dist/engines/tigerbeetle/backup.js.map +1 -0
- package/dist/engines/tigerbeetle/binary-manager.js +72 -0
- package/dist/engines/tigerbeetle/binary-manager.js.map +1 -0
- package/dist/engines/tigerbeetle/binary-urls.js +49 -0
- package/dist/engines/tigerbeetle/binary-urls.js.map +1 -0
- package/dist/engines/tigerbeetle/hostdb-releases.js +21 -0
- package/dist/engines/tigerbeetle/hostdb-releases.js.map +1 -0
- package/dist/engines/tigerbeetle/index.js +559 -0
- package/dist/engines/tigerbeetle/index.js.map +1 -0
- package/dist/engines/tigerbeetle/restore.js +91 -0
- package/dist/engines/tigerbeetle/restore.js.map +1 -0
- package/{engines/tigerbeetle/version-maps.ts → dist/engines/tigerbeetle/version-maps.js} +22 -31
- package/dist/engines/tigerbeetle/version-maps.js.map +1 -0
- package/dist/engines/tigerbeetle/version-validator.js +108 -0
- package/dist/engines/tigerbeetle/version-validator.js.map +1 -0
- package/dist/engines/typedb/backup.js +129 -0
- package/dist/engines/typedb/backup.js.map +1 -0
- package/dist/engines/typedb/binary-manager.js +151 -0
- package/dist/engines/typedb/binary-manager.js.map +1 -0
- package/dist/engines/typedb/binary-urls.js +33 -0
- package/dist/engines/typedb/binary-urls.js.map +1 -0
- package/dist/engines/typedb/cli-utils.js +163 -0
- package/dist/engines/typedb/cli-utils.js.map +1 -0
- package/dist/engines/typedb/hostdb-releases.js +21 -0
- package/dist/engines/typedb/hostdb-releases.js.map +1 -0
- package/dist/engines/typedb/index.js +1003 -0
- package/dist/engines/typedb/index.js.map +1 -0
- package/dist/engines/typedb/restore.js +279 -0
- package/dist/engines/typedb/restore.js.map +1 -0
- package/dist/engines/typedb/version-maps.js +40 -0
- package/dist/engines/typedb/version-maps.js.map +1 -0
- package/dist/engines/typedb/version-validator.js +103 -0
- package/dist/engines/typedb/version-validator.js.map +1 -0
- package/dist/engines/valkey/backup.js +292 -0
- package/dist/engines/valkey/backup.js.map +1 -0
- package/dist/engines/valkey/binary-manager.js +33 -0
- package/dist/engines/valkey/binary-manager.js.map +1 -0
- package/dist/engines/valkey/binary-urls.js +98 -0
- package/dist/engines/valkey/binary-urls.js.map +1 -0
- package/dist/engines/valkey/cli-utils.js +38 -0
- package/dist/engines/valkey/cli-utils.js.map +1 -0
- package/dist/engines/valkey/hostdb-releases.js +21 -0
- package/dist/engines/valkey/hostdb-releases.js.map +1 -0
- package/dist/engines/valkey/index.js +1257 -0
- package/dist/engines/valkey/index.js.map +1 -0
- package/dist/engines/valkey/restore.js +340 -0
- package/dist/engines/valkey/restore.js.map +1 -0
- package/dist/engines/valkey/version-maps.js +70 -0
- package/dist/engines/valkey/version-maps.js.map +1 -0
- package/dist/engines/valkey/version-validator.js +112 -0
- package/dist/engines/valkey/version-validator.js.map +1 -0
- package/dist/engines/weaviate/api-client.js +50 -0
- package/dist/engines/weaviate/api-client.js.map +1 -0
- package/dist/engines/weaviate/backup.js +95 -0
- package/dist/engines/weaviate/backup.js.map +1 -0
- package/dist/engines/weaviate/binary-manager.js +58 -0
- package/dist/engines/weaviate/binary-manager.js.map +1 -0
- package/dist/engines/weaviate/binary-urls.js +92 -0
- package/dist/engines/weaviate/binary-urls.js.map +1 -0
- package/dist/engines/weaviate/cli-utils.js +39 -0
- package/dist/engines/weaviate/cli-utils.js.map +1 -0
- package/dist/engines/weaviate/hostdb-releases.js +21 -0
- package/dist/engines/weaviate/hostdb-releases.js.map +1 -0
- package/dist/engines/weaviate/index.js +871 -0
- package/dist/engines/weaviate/index.js.map +1 -0
- package/dist/engines/weaviate/restore.js +185 -0
- package/dist/engines/weaviate/restore.js.map +1 -0
- package/dist/engines/weaviate/version-maps.js +67 -0
- package/dist/engines/weaviate/version-maps.js.map +1 -0
- package/dist/engines/weaviate/version-validator.js +109 -0
- package/dist/engines/weaviate/version-validator.js.map +1 -0
- package/dist/types/index.js +102 -0
- package/dist/types/index.js.map +1 -0
- package/package.json +12 -9
- package/bin/cli.js +0 -68
- package/cli/bin.ts +0 -10
- package/cli/commands/attach.ts +0 -139
- package/cli/commands/backup.ts +0 -290
- package/cli/commands/backups.ts +0 -247
- package/cli/commands/clone.ts +0 -159
- package/cli/commands/config.ts +0 -367
- package/cli/commands/connect.ts +0 -684
- package/cli/commands/create.ts +0 -1201
- package/cli/commands/databases.ts +0 -630
- package/cli/commands/delete.ts +0 -133
- package/cli/commands/deps.ts +0 -342
- package/cli/commands/detach.ts +0 -107
- package/cli/commands/doctor.ts +0 -689
- package/cli/commands/duckdb.ts +0 -273
- package/cli/commands/edit.ts +0 -683
- package/cli/commands/engines.ts +0 -1914
- package/cli/commands/export.ts +0 -544
- package/cli/commands/info.ts +0 -340
- package/cli/commands/list.ts +0 -284
- package/cli/commands/logs.ts +0 -102
- package/cli/commands/menu/backup-handlers.ts +0 -1571
- package/cli/commands/menu/container-handlers.ts +0 -2288
- package/cli/commands/menu/engine-handlers.ts +0 -355
- package/cli/commands/menu/index.ts +0 -342
- package/cli/commands/menu/settings-handlers.ts +0 -365
- package/cli/commands/menu/shared.ts +0 -23
- package/cli/commands/menu/shell-handlers.ts +0 -1811
- package/cli/commands/menu/sql-handlers.ts +0 -231
- package/cli/commands/menu/update-handlers.ts +0 -378
- package/cli/commands/menu/validators.ts +0 -8
- package/cli/commands/ports.ts +0 -211
- package/cli/commands/pull.ts +0 -223
- package/cli/commands/query.ts +0 -241
- package/cli/commands/restore.ts +0 -587
- package/cli/commands/run.ts +0 -178
- package/cli/commands/self-update.ts +0 -121
- package/cli/commands/sqlite.ts +0 -273
- package/cli/commands/start.ts +0 -218
- package/cli/commands/stop.ts +0 -241
- package/cli/commands/url.ts +0 -104
- package/cli/commands/users.ts +0 -264
- package/cli/commands/version.ts +0 -55
- package/cli/commands/which.ts +0 -290
- package/cli/constants.ts +0 -233
- package/cli/helpers.ts +0 -1593
- package/cli/index.ts +0 -162
- package/cli/ui/prompts.ts +0 -1525
- package/cli/ui/spinner.ts +0 -88
- package/cli/ui/theme.ts +0 -128
- package/cli/utils/file-follower.ts +0 -93
- package/config/backup-formats.ts +0 -446
- package/config/defaults.ts +0 -56
- package/config/engine-defaults.ts +0 -336
- package/config/engines-registry.ts +0 -150
- package/config/engines.schema.json +0 -135
- package/config/os-dependencies.ts +0 -888
- package/config/paths.ts +0 -200
- package/core/backup-restore.ts +0 -330
- package/core/base-binary-manager.ts +0 -562
- package/core/base-document-binary-manager.ts +0 -523
- package/core/base-embedded-binary-manager.ts +0 -547
- package/core/base-server-binary-manager.ts +0 -523
- package/core/config-manager.ts +0 -652
- package/core/container-manager.ts +0 -787
- package/core/credential-generator.ts +0 -93
- package/core/credential-manager.ts +0 -259
- package/core/dblab-utils.ts +0 -113
- package/core/dependency-manager.ts +0 -512
- package/core/docker-exporter.ts +0 -1345
- package/core/error-handler.ts +0 -419
- package/core/fs-error-utils.ts +0 -82
- package/core/homebrew-version-manager.ts +0 -352
- package/core/hostdb-client.ts +0 -344
- package/core/hostdb-metadata.ts +0 -350
- package/core/hostdb-releases-factory.ts +0 -237
- package/core/library-env.ts +0 -118
- package/core/pgweb-utils.ts +0 -62
- package/core/platform-service.ts +0 -829
- package/core/port-manager.ts +0 -165
- package/core/process-manager.ts +0 -576
- package/core/pull-manager.ts +0 -511
- package/core/query-parser.ts +0 -514
- package/core/spawn-utils.ts +0 -122
- package/core/start-with-retry.ts +0 -130
- package/core/test-cleanup.ts +0 -108
- package/core/tls-generator.ts +0 -116
- package/core/transaction-manager.ts +0 -158
- package/core/update-manager.ts +0 -308
- package/core/version-migration.ts +0 -346
- package/core/version-utils.ts +0 -104
- package/engines/base-engine.ts +0 -340
- package/engines/clickhouse/README.md +0 -231
- package/engines/clickhouse/backup.ts +0 -398
- package/engines/clickhouse/binary-manager.ts +0 -201
- package/engines/clickhouse/binary-urls.ts +0 -125
- package/engines/clickhouse/cli-utils.ts +0 -176
- package/engines/clickhouse/hostdb-releases.ts +0 -30
- package/engines/clickhouse/index.ts +0 -1345
- package/engines/clickhouse/restore.ts +0 -466
- package/engines/clickhouse/version-maps.ts +0 -95
- package/engines/clickhouse/version-validator.ts +0 -154
- package/engines/cockroachdb/README.md +0 -170
- package/engines/cockroachdb/backup.ts +0 -376
- package/engines/cockroachdb/binary-manager.ts +0 -45
- package/engines/cockroachdb/binary-urls.ts +0 -40
- package/engines/cockroachdb/cli-utils.ts +0 -384
- package/engines/cockroachdb/hostdb-releases.ts +0 -26
- package/engines/cockroachdb/index.ts +0 -1276
- package/engines/cockroachdb/restore.ts +0 -455
- package/engines/cockroachdb/version-maps.ts +0 -42
- package/engines/couchdb/README.md +0 -257
- package/engines/couchdb/api-client.ts +0 -81
- package/engines/couchdb/backup.ts +0 -137
- package/engines/couchdb/binary-manager.ts +0 -86
- package/engines/couchdb/binary-urls.ts +0 -115
- package/engines/couchdb/hostdb-releases.ts +0 -23
- package/engines/couchdb/index.ts +0 -1429
- package/engines/couchdb/restore.ts +0 -290
- package/engines/couchdb/version-maps.ts +0 -78
- package/engines/couchdb/version-validator.ts +0 -111
- package/engines/duckdb/README.md +0 -154
- package/engines/duckdb/binary-manager.ts +0 -45
- package/engines/duckdb/hostdb-releases.ts +0 -23
- package/engines/duckdb/index.ts +0 -749
- package/engines/duckdb/registry.ts +0 -303
- package/engines/duckdb/scanner.ts +0 -22
- package/engines/duckdb/version-maps.ts +0 -78
- package/engines/duckdb/version-validator.ts +0 -78
- package/engines/ferretdb/README.md +0 -262
- package/engines/ferretdb/backup.ts +0 -173
- package/engines/ferretdb/binary-manager.ts +0 -1095
- package/engines/ferretdb/binary-urls.ts +0 -183
- package/engines/ferretdb/index.ts +0 -1907
- package/engines/ferretdb/restore.ts +0 -357
- package/engines/file-based-utils.ts +0 -262
- package/engines/index.ts +0 -131
- package/engines/influxdb/README.md +0 -180
- package/engines/influxdb/api-client.ts +0 -64
- package/engines/influxdb/backup.ts +0 -160
- package/engines/influxdb/binary-manager.ts +0 -110
- package/engines/influxdb/binary-urls.ts +0 -69
- package/engines/influxdb/hostdb-releases.ts +0 -23
- package/engines/influxdb/index.ts +0 -1272
- package/engines/influxdb/restore.ts +0 -417
- package/engines/influxdb/version-maps.ts +0 -75
- package/engines/influxdb/version-validator.ts +0 -128
- package/engines/mariadb/README.md +0 -141
- package/engines/mariadb/backup.ts +0 -233
- package/engines/mariadb/binary-manager.ts +0 -45
- package/engines/mariadb/hostdb-releases.ts +0 -23
- package/engines/mariadb/index.ts +0 -1300
- package/engines/mariadb/restore.ts +0 -447
- package/engines/mariadb/version-maps.ts +0 -72
- package/engines/mariadb/version-validator.ts +0 -181
- package/engines/meilisearch/README.md +0 -255
- package/engines/meilisearch/api-client.ts +0 -61
- package/engines/meilisearch/backup.ts +0 -233
- package/engines/meilisearch/binary-manager.ts +0 -43
- package/engines/meilisearch/binary-urls.ts +0 -69
- package/engines/meilisearch/hostdb-releases.ts +0 -26
- package/engines/meilisearch/index.ts +0 -1292
- package/engines/meilisearch/restore.ts +0 -219
- package/engines/meilisearch/version-maps.ts +0 -78
- package/engines/meilisearch/version-validator.ts +0 -128
- package/engines/mongodb/README.md +0 -162
- package/engines/mongodb/backup.ts +0 -127
- package/engines/mongodb/binary-manager.ts +0 -48
- package/engines/mongodb/binary-urls.ts +0 -63
- package/engines/mongodb/cli-utils.ts +0 -171
- package/engines/mongodb/hostdb-releases.ts +0 -91
- package/engines/mongodb/index.ts +0 -1118
- package/engines/mongodb/restore.ts +0 -361
- package/engines/mongodb/version-maps.ts +0 -91
- package/engines/mongodb/version-validator.ts +0 -160
- package/engines/mysql/README.md +0 -142
- package/engines/mysql/backup.ts +0 -270
- package/engines/mysql/binary-detection.ts +0 -408
- package/engines/mysql/binary-manager.ts +0 -42
- package/engines/mysql/binary-urls.ts +0 -104
- package/engines/mysql/index.ts +0 -1361
- package/engines/mysql/restore.ts +0 -500
- package/engines/mysql/version-maps.ts +0 -91
- package/engines/mysql/version-validator.ts +0 -369
- package/engines/postgresql/README.md +0 -158
- package/engines/postgresql/backup.ts +0 -151
- package/engines/postgresql/binary-manager.ts +0 -114
- package/engines/postgresql/binary-urls.ts +0 -99
- package/engines/postgresql/hostdb-releases.ts +0 -26
- package/engines/postgresql/index.ts +0 -1143
- package/engines/postgresql/remote-version.ts +0 -161
- package/engines/postgresql/restore.ts +0 -342
- package/engines/postgresql/version-maps.ts +0 -83
- package/engines/postgresql/version-validator.ts +0 -413
- package/engines/qdrant/README.md +0 -222
- package/engines/qdrant/api-client.ts +0 -61
- package/engines/qdrant/backup.ts +0 -165
- package/engines/qdrant/binary-manager.ts +0 -43
- package/engines/qdrant/binary-urls.ts +0 -115
- package/engines/qdrant/cli-utils.ts +0 -43
- package/engines/qdrant/hostdb-releases.ts +0 -23
- package/engines/qdrant/index.ts +0 -1312
- package/engines/qdrant/restore.ts +0 -203
- package/engines/qdrant/version-maps.ts +0 -78
- package/engines/qdrant/version-validator.ts +0 -128
- package/engines/questdb/README.md +0 -334
- package/engines/questdb/backup.ts +0 -220
- package/engines/questdb/binary-manager.ts +0 -310
- package/engines/questdb/binary-urls.ts +0 -34
- package/engines/questdb/hostdb-releases.ts +0 -23
- package/engines/questdb/index.ts +0 -1023
- package/engines/questdb/restore.ts +0 -260
- package/engines/questdb/version-maps.ts +0 -37
- package/engines/questdb/version-validator.ts +0 -121
- package/engines/redis/README.md +0 -173
- package/engines/redis/backup.ts +0 -389
- package/engines/redis/binary-manager.ts +0 -44
- package/engines/redis/binary-urls.ts +0 -117
- package/engines/redis/cli-utils.ts +0 -42
- package/engines/redis/hostdb-releases.ts +0 -23
- package/engines/redis/index.ts +0 -1583
- package/engines/redis/restore.ts +0 -443
- package/engines/redis/version-maps.ts +0 -81
- package/engines/redis/version-validator.ts +0 -131
- package/engines/sqlite/README.md +0 -162
- package/engines/sqlite/binary-manager.ts +0 -52
- package/engines/sqlite/hostdb-releases.ts +0 -23
- package/engines/sqlite/index.ts +0 -641
- package/engines/sqlite/registry.ts +0 -198
- package/engines/sqlite/scanner.ts +0 -22
- package/engines/sqlite/version-maps.ts +0 -64
- package/engines/surrealdb/README.md +0 -218
- package/engines/surrealdb/backup.ts +0 -131
- package/engines/surrealdb/binary-manager.ts +0 -45
- package/engines/surrealdb/binary-urls.ts +0 -40
- package/engines/surrealdb/cli-utils.ts +0 -173
- package/engines/surrealdb/hostdb-releases.ts +0 -23
- package/engines/surrealdb/index.ts +0 -1246
- package/engines/surrealdb/restore.ts +0 -302
- package/engines/surrealdb/version-maps.ts +0 -41
- package/engines/tigerbeetle/README.md +0 -61
- package/engines/tigerbeetle/backup.ts +0 -49
- package/engines/tigerbeetle/binary-manager.ts +0 -95
- package/engines/tigerbeetle/binary-urls.ts +0 -62
- package/engines/tigerbeetle/hostdb-releases.ts +0 -26
- package/engines/tigerbeetle/index.ts +0 -746
- package/engines/tigerbeetle/restore.ts +0 -130
- package/engines/tigerbeetle/version-validator.ts +0 -126
- package/engines/typedb/backup.ts +0 -167
- package/engines/typedb/binary-manager.ts +0 -200
- package/engines/typedb/binary-urls.ts +0 -40
- package/engines/typedb/cli-utils.ts +0 -210
- package/engines/typedb/hostdb-releases.ts +0 -23
- package/engines/typedb/index.ts +0 -1275
- package/engines/typedb/restore.ts +0 -377
- package/engines/typedb/version-maps.ts +0 -48
- package/engines/typedb/version-validator.ts +0 -127
- package/engines/valkey/README.md +0 -219
- package/engines/valkey/backup.ts +0 -389
- package/engines/valkey/binary-manager.ts +0 -45
- package/engines/valkey/binary-urls.ts +0 -122
- package/engines/valkey/cli-utils.ts +0 -42
- package/engines/valkey/hostdb-releases.ts +0 -23
- package/engines/valkey/index.ts +0 -1585
- package/engines/valkey/restore.ts +0 -446
- package/engines/valkey/version-maps.ts +0 -81
- package/engines/valkey/version-validator.ts +0 -131
- package/engines/weaviate/README.md +0 -302
- package/engines/weaviate/api-client.ts +0 -61
- package/engines/weaviate/backup.ts +0 -145
- package/engines/weaviate/binary-manager.ts +0 -80
- package/engines/weaviate/binary-urls.ts +0 -115
- package/engines/weaviate/cli-utils.ts +0 -43
- package/engines/weaviate/hostdb-releases.ts +0 -23
- package/engines/weaviate/index.ts +0 -1139
- package/engines/weaviate/restore.ts +0 -235
- package/engines/weaviate/version-maps.ts +0 -78
- package/engines/weaviate/version-validator.ts +0 -128
- package/types/index.ts +0 -624
- /package/{config → dist/config}/engines.json +0 -0
|
@@ -0,0 +1,767 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OS-level dependency registry for database engines
|
|
3
|
+
*
|
|
4
|
+
* This module defines the system packages required for each database engine
|
|
5
|
+
* across different operating systems and package managers.
|
|
6
|
+
*/
|
|
7
|
+
import { getPostgresHomebrewPackage } from './engine-defaults.js';
|
|
8
|
+
// =============================================================================
|
|
9
|
+
// Package Manager Definitions
|
|
10
|
+
// =============================================================================
|
|
11
|
+
export const packageManagers = [
|
|
12
|
+
{
|
|
13
|
+
id: 'brew',
|
|
14
|
+
name: 'Homebrew',
|
|
15
|
+
checkCommand: 'brew --version',
|
|
16
|
+
platforms: ['darwin'],
|
|
17
|
+
installTemplate: 'brew install {package}',
|
|
18
|
+
updateTemplate: 'brew upgrade {package}',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
id: 'apt',
|
|
22
|
+
name: 'APT',
|
|
23
|
+
checkCommand: 'apt --version',
|
|
24
|
+
platforms: ['linux'],
|
|
25
|
+
installTemplate: 'sudo apt update && sudo apt install -y {package}',
|
|
26
|
+
updateTemplate: 'sudo apt update && sudo apt upgrade -y {package}',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
id: 'yum',
|
|
30
|
+
name: 'YUM',
|
|
31
|
+
checkCommand: 'yum --version',
|
|
32
|
+
platforms: ['linux'],
|
|
33
|
+
installTemplate: 'sudo yum install -y {package}',
|
|
34
|
+
updateTemplate: 'sudo yum update -y {package}',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
id: 'dnf',
|
|
38
|
+
name: 'DNF',
|
|
39
|
+
checkCommand: 'dnf --version',
|
|
40
|
+
platforms: ['linux'],
|
|
41
|
+
installTemplate: 'sudo dnf install -y {package}',
|
|
42
|
+
updateTemplate: 'sudo dnf upgrade -y {package}',
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: 'pacman',
|
|
46
|
+
name: 'Pacman',
|
|
47
|
+
checkCommand: 'pacman --version',
|
|
48
|
+
platforms: ['linux'],
|
|
49
|
+
installTemplate: 'sudo pacman -S --noconfirm {package}',
|
|
50
|
+
updateTemplate: 'sudo pacman -Syu --noconfirm {package}',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
id: 'choco',
|
|
54
|
+
name: 'Chocolatey',
|
|
55
|
+
checkCommand: 'choco --version',
|
|
56
|
+
platforms: ['win32'],
|
|
57
|
+
installTemplate: 'choco install -y {package}',
|
|
58
|
+
updateTemplate: 'choco upgrade -y {package}',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
id: 'winget',
|
|
62
|
+
name: 'Windows Package Manager',
|
|
63
|
+
checkCommand: 'winget --version',
|
|
64
|
+
platforms: ['win32'],
|
|
65
|
+
installTemplate: 'winget install {package}',
|
|
66
|
+
updateTemplate: 'winget upgrade {package}',
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
id: 'scoop',
|
|
70
|
+
name: 'Scoop',
|
|
71
|
+
checkCommand: 'scoop --version',
|
|
72
|
+
platforms: ['win32'],
|
|
73
|
+
installTemplate: 'scoop install {package}',
|
|
74
|
+
updateTemplate: 'scoop update {package}',
|
|
75
|
+
},
|
|
76
|
+
];
|
|
77
|
+
// =============================================================================
|
|
78
|
+
// PostgreSQL Dependencies
|
|
79
|
+
// =============================================================================
|
|
80
|
+
/**
|
|
81
|
+
* Helper to create PostgreSQL client tool dependency
|
|
82
|
+
* Uses getPostgresHomebrewPackage() to get the current latest version
|
|
83
|
+
*/
|
|
84
|
+
function createPostgresDependency(name, binary, description) {
|
|
85
|
+
const pgPackage = getPostgresHomebrewPackage();
|
|
86
|
+
return {
|
|
87
|
+
name,
|
|
88
|
+
binary,
|
|
89
|
+
description,
|
|
90
|
+
packages: {
|
|
91
|
+
brew: {
|
|
92
|
+
package: pgPackage,
|
|
93
|
+
postInstall: [`brew link --overwrite ${pgPackage}`],
|
|
94
|
+
},
|
|
95
|
+
apt: { package: 'postgresql-client' },
|
|
96
|
+
yum: { package: 'postgresql' },
|
|
97
|
+
dnf: { package: 'postgresql' },
|
|
98
|
+
pacman: { package: 'postgresql-libs' },
|
|
99
|
+
choco: { package: 'postgresql' },
|
|
100
|
+
winget: { package: 'PostgreSQL.PostgreSQL' },
|
|
101
|
+
scoop: { package: 'postgresql' },
|
|
102
|
+
},
|
|
103
|
+
manualInstall: {
|
|
104
|
+
darwin: [
|
|
105
|
+
'Install Homebrew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',
|
|
106
|
+
`Then run: brew install ${pgPackage} && brew link --overwrite ${pgPackage}`,
|
|
107
|
+
'Or install Postgres.app: https://postgresapp.com/downloads.html',
|
|
108
|
+
],
|
|
109
|
+
linux: [
|
|
110
|
+
'Ubuntu/Debian: sudo apt install postgresql-client',
|
|
111
|
+
'CentOS/RHEL: sudo yum install postgresql',
|
|
112
|
+
'Fedora: sudo dnf install postgresql',
|
|
113
|
+
'Arch: sudo pacman -S postgresql-libs',
|
|
114
|
+
],
|
|
115
|
+
win32: [
|
|
116
|
+
'Using Chocolatey: choco install postgresql',
|
|
117
|
+
'Using winget: winget install PostgreSQL.PostgreSQL',
|
|
118
|
+
'Using Scoop: scoop install postgresql',
|
|
119
|
+
'Or download from: https://www.enterprisedb.com/downloads/postgres-postgresql-downloads',
|
|
120
|
+
],
|
|
121
|
+
},
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
const postgresqlDependencies = {
|
|
125
|
+
engine: 'postgresql',
|
|
126
|
+
displayName: 'PostgreSQL',
|
|
127
|
+
dependencies: [
|
|
128
|
+
createPostgresDependency('psql', 'psql', 'PostgreSQL interactive terminal'),
|
|
129
|
+
createPostgresDependency('pg_dump', 'pg_dump', 'PostgreSQL database backup utility'),
|
|
130
|
+
createPostgresDependency('pg_restore', 'pg_restore', 'PostgreSQL database restore utility'),
|
|
131
|
+
createPostgresDependency('pg_basebackup', 'pg_basebackup', 'PostgreSQL base backup utility for physical backups'),
|
|
132
|
+
],
|
|
133
|
+
};
|
|
134
|
+
// =============================================================================
|
|
135
|
+
// MySQL Dependencies (placeholder for future)
|
|
136
|
+
// =============================================================================
|
|
137
|
+
const mysqlDependencies = {
|
|
138
|
+
engine: 'mysql',
|
|
139
|
+
displayName: 'MySQL/MariaDB',
|
|
140
|
+
dependencies: [
|
|
141
|
+
{
|
|
142
|
+
name: 'mysqld',
|
|
143
|
+
binary: 'mysqld',
|
|
144
|
+
description: 'MySQL/MariaDB server daemon',
|
|
145
|
+
packages: {
|
|
146
|
+
brew: { package: 'mysql' },
|
|
147
|
+
// Modern Debian/Ubuntu use mariadb-server (MySQL-compatible)
|
|
148
|
+
apt: { package: 'mariadb-server' },
|
|
149
|
+
choco: { package: 'mysql' },
|
|
150
|
+
winget: { package: 'Oracle.MySQL' },
|
|
151
|
+
scoop: { package: 'mysql' },
|
|
152
|
+
yum: { package: 'mariadb-server' },
|
|
153
|
+
dnf: { package: 'mariadb-server' },
|
|
154
|
+
pacman: { package: 'mariadb' },
|
|
155
|
+
},
|
|
156
|
+
manualInstall: {
|
|
157
|
+
darwin: [
|
|
158
|
+
'Install Homebrew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',
|
|
159
|
+
'Then run: brew install mysql',
|
|
160
|
+
],
|
|
161
|
+
linux: [
|
|
162
|
+
'Debian/Ubuntu: sudo apt install mariadb-server',
|
|
163
|
+
'CentOS/RHEL: sudo yum install mariadb-server',
|
|
164
|
+
'Fedora: sudo dnf install mariadb-server',
|
|
165
|
+
'Arch: sudo pacman -S mariadb',
|
|
166
|
+
],
|
|
167
|
+
win32: [
|
|
168
|
+
'Using Chocolatey: choco install mysql',
|
|
169
|
+
'Using winget: winget install Oracle.MySQL',
|
|
170
|
+
'Using Scoop: scoop install mysql',
|
|
171
|
+
'Or download from: https://dev.mysql.com/downloads/mysql/',
|
|
172
|
+
],
|
|
173
|
+
},
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
name: 'mysql',
|
|
177
|
+
binary: 'mysql',
|
|
178
|
+
description: 'MySQL/MariaDB command-line client',
|
|
179
|
+
packages: {
|
|
180
|
+
brew: { package: 'mysql' },
|
|
181
|
+
apt: { package: 'mariadb-client' },
|
|
182
|
+
yum: { package: 'mariadb' },
|
|
183
|
+
dnf: { package: 'mariadb' },
|
|
184
|
+
pacman: { package: 'mariadb-clients' },
|
|
185
|
+
choco: { package: 'mysql' },
|
|
186
|
+
winget: { package: 'Oracle.MySQL' },
|
|
187
|
+
scoop: { package: 'mysql' },
|
|
188
|
+
},
|
|
189
|
+
manualInstall: {
|
|
190
|
+
darwin: [
|
|
191
|
+
'Install Homebrew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',
|
|
192
|
+
'Then run: brew install mysql',
|
|
193
|
+
],
|
|
194
|
+
linux: [
|
|
195
|
+
'Debian/Ubuntu: sudo apt install mariadb-client',
|
|
196
|
+
'CentOS/RHEL: sudo yum install mariadb',
|
|
197
|
+
'Fedora: sudo dnf install mariadb',
|
|
198
|
+
'Arch: sudo pacman -S mariadb-clients',
|
|
199
|
+
],
|
|
200
|
+
win32: [
|
|
201
|
+
'Using Chocolatey: choco install mysql',
|
|
202
|
+
'Using winget: winget install Oracle.MySQL',
|
|
203
|
+
'Using Scoop: scoop install mysql',
|
|
204
|
+
'Or download from: https://dev.mysql.com/downloads/mysql/',
|
|
205
|
+
],
|
|
206
|
+
},
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
name: 'mysqldump',
|
|
210
|
+
binary: 'mysqldump',
|
|
211
|
+
description: 'MySQL/MariaDB database backup utility',
|
|
212
|
+
packages: {
|
|
213
|
+
brew: { package: 'mysql' },
|
|
214
|
+
apt: { package: 'mariadb-client' },
|
|
215
|
+
yum: { package: 'mariadb' },
|
|
216
|
+
dnf: { package: 'mariadb' },
|
|
217
|
+
pacman: { package: 'mariadb-clients' },
|
|
218
|
+
choco: { package: 'mysql' },
|
|
219
|
+
winget: { package: 'Oracle.MySQL' },
|
|
220
|
+
scoop: { package: 'mysql' },
|
|
221
|
+
},
|
|
222
|
+
manualInstall: {
|
|
223
|
+
darwin: [
|
|
224
|
+
'Install Homebrew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',
|
|
225
|
+
'Then run: brew install mysql',
|
|
226
|
+
],
|
|
227
|
+
linux: [
|
|
228
|
+
'Debian/Ubuntu: sudo apt install mariadb-client',
|
|
229
|
+
'CentOS/RHEL: sudo yum install mariadb',
|
|
230
|
+
'Fedora: sudo dnf install mariadb',
|
|
231
|
+
'Arch: sudo pacman -S mariadb-clients',
|
|
232
|
+
],
|
|
233
|
+
win32: [
|
|
234
|
+
'Using Chocolatey: choco install mysql',
|
|
235
|
+
'Using winget: winget install Oracle.MySQL',
|
|
236
|
+
'Using Scoop: scoop install mysql',
|
|
237
|
+
'Or download from: https://dev.mysql.com/downloads/mysql/',
|
|
238
|
+
],
|
|
239
|
+
},
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
name: 'mysqladmin',
|
|
243
|
+
binary: 'mysqladmin',
|
|
244
|
+
description: 'MySQL/MariaDB server administration utility',
|
|
245
|
+
packages: {
|
|
246
|
+
brew: { package: 'mysql' },
|
|
247
|
+
apt: { package: 'mariadb-client' },
|
|
248
|
+
yum: { package: 'mariadb' },
|
|
249
|
+
dnf: { package: 'mariadb' },
|
|
250
|
+
pacman: { package: 'mariadb-clients' },
|
|
251
|
+
choco: { package: 'mysql' },
|
|
252
|
+
winget: { package: 'Oracle.MySQL' },
|
|
253
|
+
scoop: { package: 'mysql' },
|
|
254
|
+
},
|
|
255
|
+
manualInstall: {
|
|
256
|
+
darwin: [
|
|
257
|
+
'Install Homebrew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',
|
|
258
|
+
'Then run: brew install mysql',
|
|
259
|
+
],
|
|
260
|
+
linux: [
|
|
261
|
+
'Debian/Ubuntu: sudo apt install mariadb-client',
|
|
262
|
+
'CentOS/RHEL: sudo yum install mariadb',
|
|
263
|
+
'Fedora: sudo dnf install mariadb',
|
|
264
|
+
'Arch: sudo pacman -S mariadb-clients',
|
|
265
|
+
],
|
|
266
|
+
win32: [
|
|
267
|
+
'Using Chocolatey: choco install mysql',
|
|
268
|
+
'Using winget: winget install Oracle.MySQL',
|
|
269
|
+
'Using Scoop: scoop install mysql',
|
|
270
|
+
'Or download from: https://dev.mysql.com/downloads/mysql/',
|
|
271
|
+
],
|
|
272
|
+
},
|
|
273
|
+
},
|
|
274
|
+
],
|
|
275
|
+
};
|
|
276
|
+
// =============================================================================
|
|
277
|
+
// SQLite Dependencies
|
|
278
|
+
// =============================================================================
|
|
279
|
+
const sqliteDependencies = {
|
|
280
|
+
engine: 'sqlite',
|
|
281
|
+
displayName: 'SQLite',
|
|
282
|
+
dependencies: [
|
|
283
|
+
{
|
|
284
|
+
name: 'sqlite3',
|
|
285
|
+
binary: 'sqlite3',
|
|
286
|
+
description: 'SQLite command-line interface',
|
|
287
|
+
packages: {
|
|
288
|
+
brew: { package: 'sqlite' },
|
|
289
|
+
apt: { package: 'sqlite3' },
|
|
290
|
+
yum: { package: 'sqlite' },
|
|
291
|
+
dnf: { package: 'sqlite' },
|
|
292
|
+
pacman: { package: 'sqlite' },
|
|
293
|
+
choco: { package: 'sqlite' },
|
|
294
|
+
winget: { package: 'SQLite.SQLite' },
|
|
295
|
+
scoop: { package: 'sqlite' },
|
|
296
|
+
},
|
|
297
|
+
manualInstall: {
|
|
298
|
+
darwin: [
|
|
299
|
+
'Install Homebrew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',
|
|
300
|
+
'Then run: brew install sqlite',
|
|
301
|
+
'Note: macOS includes sqlite3 by default in /usr/bin/sqlite3',
|
|
302
|
+
],
|
|
303
|
+
linux: [
|
|
304
|
+
'Debian/Ubuntu: sudo apt install sqlite3',
|
|
305
|
+
'CentOS/RHEL: sudo yum install sqlite',
|
|
306
|
+
'Fedora: sudo dnf install sqlite',
|
|
307
|
+
'Arch: sudo pacman -S sqlite',
|
|
308
|
+
],
|
|
309
|
+
win32: [
|
|
310
|
+
'Using Chocolatey: choco install sqlite',
|
|
311
|
+
'Using winget: winget install SQLite.SQLite',
|
|
312
|
+
'Using Scoop: scoop install sqlite',
|
|
313
|
+
'Or download from: https://www.sqlite.org/download.html',
|
|
314
|
+
],
|
|
315
|
+
},
|
|
316
|
+
},
|
|
317
|
+
],
|
|
318
|
+
};
|
|
319
|
+
// =============================================================================
|
|
320
|
+
// MongoDB Dependencies
|
|
321
|
+
// =============================================================================
|
|
322
|
+
const mongodbDependencies = {
|
|
323
|
+
engine: 'mongodb',
|
|
324
|
+
displayName: 'MongoDB',
|
|
325
|
+
dependencies: [
|
|
326
|
+
{
|
|
327
|
+
name: 'mongod',
|
|
328
|
+
binary: 'mongod',
|
|
329
|
+
description: 'MongoDB server daemon',
|
|
330
|
+
packages: {
|
|
331
|
+
brew: {
|
|
332
|
+
package: 'mongodb/brew/mongodb-community',
|
|
333
|
+
preInstall: ['brew tap mongodb/brew'],
|
|
334
|
+
},
|
|
335
|
+
// MongoDB requires their own apt repository, not available in default repos
|
|
336
|
+
choco: { package: 'mongodb' },
|
|
337
|
+
winget: { package: 'MongoDB.Server' },
|
|
338
|
+
scoop: { package: 'mongodb' },
|
|
339
|
+
},
|
|
340
|
+
manualInstall: {
|
|
341
|
+
darwin: [
|
|
342
|
+
'Install Homebrew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',
|
|
343
|
+
'Add MongoDB tap: brew tap mongodb/brew',
|
|
344
|
+
'Then run: brew install mongodb-community',
|
|
345
|
+
'For specific versions: brew install mongodb-community@7.0',
|
|
346
|
+
],
|
|
347
|
+
linux: [
|
|
348
|
+
'MongoDB requires adding their official repository.',
|
|
349
|
+
'Ubuntu/Debian: Follow https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-ubuntu/',
|
|
350
|
+
'RHEL/CentOS: Follow https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-red-hat/',
|
|
351
|
+
],
|
|
352
|
+
win32: [
|
|
353
|
+
'Using Chocolatey: choco install mongodb',
|
|
354
|
+
'Using winget: winget install MongoDB.Server',
|
|
355
|
+
'Or download from: https://www.mongodb.com/try/download/community',
|
|
356
|
+
],
|
|
357
|
+
},
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
name: 'mongosh',
|
|
361
|
+
binary: 'mongosh',
|
|
362
|
+
description: 'MongoDB Shell (modern interactive shell)',
|
|
363
|
+
packages: {
|
|
364
|
+
brew: { package: 'mongosh' },
|
|
365
|
+
choco: { package: 'mongodb-shell' },
|
|
366
|
+
winget: { package: 'MongoDB.Shell' },
|
|
367
|
+
scoop: { package: 'mongosh' },
|
|
368
|
+
},
|
|
369
|
+
manualInstall: {
|
|
370
|
+
darwin: [
|
|
371
|
+
'Install with Homebrew: brew install mongosh',
|
|
372
|
+
'Or download from: https://www.mongodb.com/try/download/shell',
|
|
373
|
+
],
|
|
374
|
+
linux: [
|
|
375
|
+
'Download from: https://www.mongodb.com/try/download/shell',
|
|
376
|
+
'Or install via npm: npm install -g mongosh',
|
|
377
|
+
],
|
|
378
|
+
win32: [
|
|
379
|
+
'Using Chocolatey: choco install mongodb-shell',
|
|
380
|
+
'Using winget: winget install MongoDB.Shell',
|
|
381
|
+
'Or download from: https://www.mongodb.com/try/download/shell',
|
|
382
|
+
],
|
|
383
|
+
},
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
name: 'mongodump',
|
|
387
|
+
binary: 'mongodump',
|
|
388
|
+
description: 'MongoDB database backup utility',
|
|
389
|
+
packages: {
|
|
390
|
+
brew: { package: 'mongodb-database-tools' },
|
|
391
|
+
choco: { package: 'mongodb-database-tools' },
|
|
392
|
+
},
|
|
393
|
+
manualInstall: {
|
|
394
|
+
darwin: [
|
|
395
|
+
'Install with Homebrew: brew install mongodb-database-tools',
|
|
396
|
+
'Or download from: https://www.mongodb.com/try/download/database-tools',
|
|
397
|
+
],
|
|
398
|
+
linux: [
|
|
399
|
+
'Download from: https://www.mongodb.com/try/download/database-tools',
|
|
400
|
+
'Extract and add to PATH',
|
|
401
|
+
],
|
|
402
|
+
win32: [
|
|
403
|
+
'Using Chocolatey: choco install mongodb-database-tools',
|
|
404
|
+
'Or download from: https://www.mongodb.com/try/download/database-tools',
|
|
405
|
+
],
|
|
406
|
+
},
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
name: 'mongorestore',
|
|
410
|
+
binary: 'mongorestore',
|
|
411
|
+
description: 'MongoDB database restore utility',
|
|
412
|
+
packages: {
|
|
413
|
+
brew: { package: 'mongodb-database-tools' },
|
|
414
|
+
choco: { package: 'mongodb-database-tools' },
|
|
415
|
+
},
|
|
416
|
+
manualInstall: {
|
|
417
|
+
darwin: [
|
|
418
|
+
'Install with Homebrew: brew install mongodb-database-tools',
|
|
419
|
+
'Or download from: https://www.mongodb.com/try/download/database-tools',
|
|
420
|
+
],
|
|
421
|
+
linux: [
|
|
422
|
+
'Download from: https://www.mongodb.com/try/download/database-tools',
|
|
423
|
+
'Extract and add to PATH',
|
|
424
|
+
],
|
|
425
|
+
win32: [
|
|
426
|
+
'Using Chocolatey: choco install mongodb-database-tools',
|
|
427
|
+
'Or download from: https://www.mongodb.com/try/download/database-tools',
|
|
428
|
+
],
|
|
429
|
+
},
|
|
430
|
+
},
|
|
431
|
+
],
|
|
432
|
+
};
|
|
433
|
+
// =============================================================================
|
|
434
|
+
// Redis Dependencies
|
|
435
|
+
// =============================================================================
|
|
436
|
+
const redisDependencies = {
|
|
437
|
+
engine: 'redis',
|
|
438
|
+
displayName: 'Redis',
|
|
439
|
+
dependencies: [
|
|
440
|
+
{
|
|
441
|
+
name: 'redis-server',
|
|
442
|
+
binary: 'redis-server',
|
|
443
|
+
description: 'Redis in-memory data store server',
|
|
444
|
+
packages: {
|
|
445
|
+
brew: { package: 'redis' },
|
|
446
|
+
apt: { package: 'redis-server' },
|
|
447
|
+
yum: { package: 'redis' },
|
|
448
|
+
dnf: { package: 'redis' },
|
|
449
|
+
pacman: { package: 'redis' },
|
|
450
|
+
winget: { package: 'Redis.Redis' },
|
|
451
|
+
},
|
|
452
|
+
manualInstall: {
|
|
453
|
+
darwin: [
|
|
454
|
+
'Install Homebrew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',
|
|
455
|
+
'Then run: brew install redis',
|
|
456
|
+
'To start as service: brew services start redis',
|
|
457
|
+
],
|
|
458
|
+
linux: [
|
|
459
|
+
'Debian/Ubuntu: sudo apt install redis-server',
|
|
460
|
+
'CentOS/RHEL: sudo yum install redis',
|
|
461
|
+
'Fedora: sudo dnf install redis',
|
|
462
|
+
'Arch: sudo pacman -S redis',
|
|
463
|
+
],
|
|
464
|
+
win32: [
|
|
465
|
+
'Using winget (recommended): winget install Redis.Redis',
|
|
466
|
+
'Or download from: https://github.com/redis-windows/redis-windows/releases',
|
|
467
|
+
],
|
|
468
|
+
},
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
name: 'redis-cli',
|
|
472
|
+
binary: 'redis-cli',
|
|
473
|
+
description: 'Redis command-line interface client',
|
|
474
|
+
packages: {
|
|
475
|
+
brew: { package: 'redis' },
|
|
476
|
+
apt: { package: 'redis-tools' },
|
|
477
|
+
yum: { package: 'redis' },
|
|
478
|
+
dnf: { package: 'redis' },
|
|
479
|
+
pacman: { package: 'redis' },
|
|
480
|
+
winget: { package: 'Redis.Redis' },
|
|
481
|
+
},
|
|
482
|
+
manualInstall: {
|
|
483
|
+
darwin: [
|
|
484
|
+
'Install Homebrew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',
|
|
485
|
+
'Then run: brew install redis',
|
|
486
|
+
],
|
|
487
|
+
linux: [
|
|
488
|
+
'Debian/Ubuntu: sudo apt install redis-tools',
|
|
489
|
+
'CentOS/RHEL: sudo yum install redis',
|
|
490
|
+
'Fedora: sudo dnf install redis',
|
|
491
|
+
'Arch: sudo pacman -S redis',
|
|
492
|
+
],
|
|
493
|
+
win32: [
|
|
494
|
+
'Using winget (recommended): winget install Redis.Redis',
|
|
495
|
+
'Or download from: https://github.com/redis-windows/redis-windows/releases',
|
|
496
|
+
],
|
|
497
|
+
},
|
|
498
|
+
},
|
|
499
|
+
],
|
|
500
|
+
};
|
|
501
|
+
// =============================================================================
|
|
502
|
+
// Valkey Dependencies
|
|
503
|
+
// =============================================================================
|
|
504
|
+
const valkeyDependencies = {
|
|
505
|
+
engine: 'valkey',
|
|
506
|
+
displayName: 'Valkey',
|
|
507
|
+
dependencies: [
|
|
508
|
+
{
|
|
509
|
+
name: 'valkey-server',
|
|
510
|
+
binary: 'valkey-server',
|
|
511
|
+
description: 'Valkey in-memory data store server (Redis fork)',
|
|
512
|
+
packages: {
|
|
513
|
+
// Valkey is relatively new - not yet in most package managers
|
|
514
|
+
// Primary distribution is via GitHub releases (hostdb)
|
|
515
|
+
brew: { package: 'valkey' },
|
|
516
|
+
},
|
|
517
|
+
manualInstall: {
|
|
518
|
+
darwin: [
|
|
519
|
+
'Install Homebrew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',
|
|
520
|
+
'Then run: brew install valkey',
|
|
521
|
+
'Or use SpinDB: spindb engines download valkey 9',
|
|
522
|
+
],
|
|
523
|
+
linux: [
|
|
524
|
+
'Valkey is not yet in most Linux package repositories.',
|
|
525
|
+
'Use SpinDB to download binaries: spindb engines download valkey 9',
|
|
526
|
+
'Or build from source: https://github.com/valkey-io/valkey',
|
|
527
|
+
],
|
|
528
|
+
win32: [
|
|
529
|
+
'Use SpinDB to download binaries: spindb engines download valkey 9',
|
|
530
|
+
'Or build from source: https://github.com/valkey-io/valkey',
|
|
531
|
+
],
|
|
532
|
+
},
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
name: 'valkey-cli',
|
|
536
|
+
binary: 'valkey-cli',
|
|
537
|
+
description: 'Valkey command-line interface client',
|
|
538
|
+
packages: {
|
|
539
|
+
brew: { package: 'valkey' },
|
|
540
|
+
},
|
|
541
|
+
manualInstall: {
|
|
542
|
+
darwin: [
|
|
543
|
+
'Install Homebrew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',
|
|
544
|
+
'Then run: brew install valkey',
|
|
545
|
+
'Or use SpinDB: spindb engines download valkey 9',
|
|
546
|
+
],
|
|
547
|
+
linux: [
|
|
548
|
+
'Valkey is not yet in most Linux package repositories.',
|
|
549
|
+
'Use SpinDB to download binaries: spindb engines download valkey 9',
|
|
550
|
+
'Or build from source: https://github.com/valkey-io/valkey',
|
|
551
|
+
],
|
|
552
|
+
win32: [
|
|
553
|
+
'Use SpinDB to download binaries: spindb engines download valkey 9',
|
|
554
|
+
'Or build from source: https://github.com/valkey-io/valkey',
|
|
555
|
+
],
|
|
556
|
+
},
|
|
557
|
+
},
|
|
558
|
+
],
|
|
559
|
+
};
|
|
560
|
+
// =============================================================================
|
|
561
|
+
// ClickHouse Dependencies
|
|
562
|
+
// =============================================================================
|
|
563
|
+
const clickhouseDependencies = {
|
|
564
|
+
engine: 'clickhouse',
|
|
565
|
+
displayName: 'ClickHouse',
|
|
566
|
+
dependencies: [
|
|
567
|
+
{
|
|
568
|
+
name: 'clickhouse',
|
|
569
|
+
binary: 'clickhouse',
|
|
570
|
+
description: 'ClickHouse database binaries (clickhouse-server, clickhouse-client, clickhouse-local, clickhouse-benchmark). Homebrew installs the unified clickhouse binary with subcommands.',
|
|
571
|
+
packages: {
|
|
572
|
+
brew: { package: 'clickhouse' },
|
|
573
|
+
// ClickHouse requires their own apt repository
|
|
574
|
+
},
|
|
575
|
+
manualInstall: {
|
|
576
|
+
darwin: [
|
|
577
|
+
'Install with Homebrew: brew install clickhouse',
|
|
578
|
+
'Or use SpinDB: spindb engines download clickhouse 25.12',
|
|
579
|
+
],
|
|
580
|
+
linux: [
|
|
581
|
+
'ClickHouse provides official packages.',
|
|
582
|
+
'Add their apt repository: https://clickhouse.com/docs/en/install#install-from-deb-packages',
|
|
583
|
+
'Or use SpinDB: spindb engines download clickhouse 25.12',
|
|
584
|
+
],
|
|
585
|
+
win32: [
|
|
586
|
+
'ClickHouse does not officially support Windows.',
|
|
587
|
+
'Use WSL2 with Linux installation instructions.',
|
|
588
|
+
],
|
|
589
|
+
},
|
|
590
|
+
},
|
|
591
|
+
],
|
|
592
|
+
};
|
|
593
|
+
// =============================================================================
|
|
594
|
+
// Optional Tools (engine-agnostic)
|
|
595
|
+
// =============================================================================
|
|
596
|
+
/**
|
|
597
|
+
* usql - Universal SQL client
|
|
598
|
+
* Works with PostgreSQL, MySQL, SQLite, and 20+ other databases
|
|
599
|
+
* https://github.com/xo/usql
|
|
600
|
+
*/
|
|
601
|
+
export const usqlDependency = {
|
|
602
|
+
name: 'usql',
|
|
603
|
+
binary: 'usql',
|
|
604
|
+
description: 'Universal SQL client with auto-completion, syntax highlighting, and multi-database support',
|
|
605
|
+
packages: {
|
|
606
|
+
brew: {
|
|
607
|
+
package: 'xo/xo/usql',
|
|
608
|
+
preInstall: ['brew tap xo/xo'],
|
|
609
|
+
},
|
|
610
|
+
// Note: usql is not in standard Linux package repos, must use manual install
|
|
611
|
+
},
|
|
612
|
+
manualInstall: {
|
|
613
|
+
darwin: [
|
|
614
|
+
'Install Homebrew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',
|
|
615
|
+
'Then run: brew tap xo/xo && brew install xo/xo/usql',
|
|
616
|
+
],
|
|
617
|
+
linux: [
|
|
618
|
+
'Download from GitHub releases: https://github.com/xo/usql/releases',
|
|
619
|
+
'Extract and move to PATH: sudo mv usql /usr/local/bin/',
|
|
620
|
+
'Or install via Go: go install github.com/xo/usql@latest',
|
|
621
|
+
],
|
|
622
|
+
},
|
|
623
|
+
};
|
|
624
|
+
/**
|
|
625
|
+
* pgcli - PostgreSQL CLI with auto-completion and syntax highlighting
|
|
626
|
+
* https://github.com/dbcli/pgcli
|
|
627
|
+
*/
|
|
628
|
+
export const pgcliDependency = {
|
|
629
|
+
name: 'pgcli',
|
|
630
|
+
binary: 'pgcli',
|
|
631
|
+
description: 'PostgreSQL CLI with intelligent auto-completion and syntax highlighting',
|
|
632
|
+
packages: {
|
|
633
|
+
brew: { package: 'pgcli' },
|
|
634
|
+
apt: { package: 'pgcli' },
|
|
635
|
+
dnf: { package: 'pgcli' },
|
|
636
|
+
yum: { package: 'pgcli' },
|
|
637
|
+
pacman: { package: 'pgcli' },
|
|
638
|
+
},
|
|
639
|
+
manualInstall: {
|
|
640
|
+
darwin: [
|
|
641
|
+
'Install with Homebrew: brew install pgcli',
|
|
642
|
+
'Or with pip: pip install pgcli',
|
|
643
|
+
],
|
|
644
|
+
linux: [
|
|
645
|
+
'Debian/Ubuntu: sudo apt install pgcli',
|
|
646
|
+
'Fedora: sudo dnf install pgcli',
|
|
647
|
+
'Or with pip: pip install pgcli',
|
|
648
|
+
],
|
|
649
|
+
},
|
|
650
|
+
};
|
|
651
|
+
/**
|
|
652
|
+
* mycli - MySQL CLI with auto-completion and syntax highlighting
|
|
653
|
+
* https://github.com/dbcli/mycli
|
|
654
|
+
*/
|
|
655
|
+
export const mycliDependency = {
|
|
656
|
+
name: 'mycli',
|
|
657
|
+
binary: 'mycli',
|
|
658
|
+
description: 'MySQL/MariaDB CLI with intelligent auto-completion and syntax highlighting',
|
|
659
|
+
packages: {
|
|
660
|
+
brew: { package: 'mycli' },
|
|
661
|
+
apt: { package: 'mycli' },
|
|
662
|
+
dnf: { package: 'mycli' },
|
|
663
|
+
yum: { package: 'mycli' },
|
|
664
|
+
pacman: { package: 'mycli' },
|
|
665
|
+
},
|
|
666
|
+
manualInstall: {
|
|
667
|
+
darwin: [
|
|
668
|
+
'Install with Homebrew: brew install mycli',
|
|
669
|
+
'Or with pip: pip install mycli',
|
|
670
|
+
],
|
|
671
|
+
linux: [
|
|
672
|
+
'Debian/Ubuntu: sudo apt install mycli',
|
|
673
|
+
'Fedora: sudo dnf install mycli',
|
|
674
|
+
'Or with pip: pip install mycli',
|
|
675
|
+
],
|
|
676
|
+
},
|
|
677
|
+
};
|
|
678
|
+
/**
|
|
679
|
+
* litecli - SQLite CLI with auto-completion and syntax highlighting
|
|
680
|
+
* https://github.com/dbcli/litecli
|
|
681
|
+
*/
|
|
682
|
+
export const litecliDependency = {
|
|
683
|
+
name: 'litecli',
|
|
684
|
+
binary: 'litecli',
|
|
685
|
+
description: 'SQLite CLI with intelligent auto-completion and syntax highlighting',
|
|
686
|
+
packages: {
|
|
687
|
+
brew: { package: 'litecli' },
|
|
688
|
+
apt: { package: 'litecli' },
|
|
689
|
+
dnf: { package: 'litecli' },
|
|
690
|
+
yum: { package: 'litecli' },
|
|
691
|
+
pacman: { package: 'litecli' },
|
|
692
|
+
},
|
|
693
|
+
manualInstall: {
|
|
694
|
+
darwin: [
|
|
695
|
+
'Install with Homebrew: brew install litecli',
|
|
696
|
+
'Or with pip: pip install litecli',
|
|
697
|
+
],
|
|
698
|
+
linux: [
|
|
699
|
+
'Debian/Ubuntu: sudo apt install litecli',
|
|
700
|
+
'Fedora: sudo dnf install litecli',
|
|
701
|
+
'Or with pip: pip install litecli',
|
|
702
|
+
],
|
|
703
|
+
},
|
|
704
|
+
};
|
|
705
|
+
/**
|
|
706
|
+
* iredis - Redis CLI with auto-completion and syntax highlighting
|
|
707
|
+
* https://github.com/laixintao/iredis
|
|
708
|
+
*/
|
|
709
|
+
export const iredisDependency = {
|
|
710
|
+
name: 'iredis',
|
|
711
|
+
binary: 'iredis',
|
|
712
|
+
description: 'Redis CLI with intelligent auto-completion and syntax highlighting',
|
|
713
|
+
packages: {
|
|
714
|
+
brew: { package: 'iredis' },
|
|
715
|
+
// Most platforms use pip install
|
|
716
|
+
},
|
|
717
|
+
manualInstall: {
|
|
718
|
+
darwin: [
|
|
719
|
+
'Install with Homebrew: brew install iredis',
|
|
720
|
+
'Or with pip: pip install iredis',
|
|
721
|
+
],
|
|
722
|
+
linux: ['Install with pip: pip install iredis'],
|
|
723
|
+
win32: ['Install with pip: pip install iredis'],
|
|
724
|
+
},
|
|
725
|
+
};
|
|
726
|
+
// =============================================================================
|
|
727
|
+
// Registry
|
|
728
|
+
// =============================================================================
|
|
729
|
+
// All engine dependencies registry
|
|
730
|
+
export const engineDependencies = [
|
|
731
|
+
postgresqlDependencies,
|
|
732
|
+
mysqlDependencies,
|
|
733
|
+
sqliteDependencies,
|
|
734
|
+
mongodbDependencies,
|
|
735
|
+
redisDependencies,
|
|
736
|
+
valkeyDependencies,
|
|
737
|
+
clickhouseDependencies,
|
|
738
|
+
];
|
|
739
|
+
// Get dependencies for a specific engine
|
|
740
|
+
export function getEngineDependencies(engine) {
|
|
741
|
+
return engineDependencies.find((e) => e.engine === engine);
|
|
742
|
+
}
|
|
743
|
+
// Get all dependencies across all engines
|
|
744
|
+
export function getAllDependencies() {
|
|
745
|
+
return engineDependencies.flatMap((e) => e.dependencies);
|
|
746
|
+
}
|
|
747
|
+
// Get unique dependencies (deduplicated by binary name)
|
|
748
|
+
export function getUniqueDependencies() {
|
|
749
|
+
const seen = new Set();
|
|
750
|
+
const unique = [];
|
|
751
|
+
for (const dep of getAllDependencies()) {
|
|
752
|
+
if (!seen.has(dep.binary)) {
|
|
753
|
+
seen.add(dep.binary);
|
|
754
|
+
unique.push(dep);
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
return unique;
|
|
758
|
+
}
|
|
759
|
+
// Get package manager config by ID
|
|
760
|
+
export function getPackageManager(id) {
|
|
761
|
+
return packageManagers.find((pm) => pm.id === id);
|
|
762
|
+
}
|
|
763
|
+
// Get package managers available for a platform
|
|
764
|
+
export function getPackageManagersForPlatform(platform) {
|
|
765
|
+
return packageManagers.filter((pm) => pm.platforms.includes(platform));
|
|
766
|
+
}
|
|
767
|
+
//# sourceMappingURL=os-dependencies.js.map
|