containdb 1.0.1 → 5.15.37

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.
@@ -26,9 +26,12 @@ if (!supported[platform] || !supported[platform][arch]) {
26
26
  }
27
27
 
28
28
  const binaryName = supported[platform][arch];
29
- const binaryPath = path.join(__dirname, 'runner', binaryName);
29
+ const binaryPath = path.join(__dirname, 'bin', binaryName);
30
30
 
31
- const child = spawn(binaryPath, process.argv.slice(2), { stdio: 'inherit' });
31
+ // Copy existing environment and add our custom flag
32
+ const env = { ...process.env, CONTAINDB_INSTALL_SOURCE: 'npm' };
33
+
34
+ const child = spawn(binaryPath, process.argv.slice(2), { stdio: 'inherit', env });
32
35
 
33
36
  child.on('exit', (code) => {
34
37
  process.exit(code);
package/README.md CHANGED
@@ -51,14 +51,31 @@ ContainDB is an open-source CLI tool that automates the creation, management, an
51
51
 
52
52
  ## Installation
53
53
 
54
- ### Option 1: Using the Debian Package (Recommended)
54
+ ### Option 1: For Windows & macOS (Recommended)
55
+
56
+ Since these platforms usually have Node.js installed, this is the easiest way:
57
+
58
+ ```bash
59
+ npm install -g containdb
60
+ ```
61
+
62
+ ### Option 2: For Linux (Recommended)
63
+
64
+ Use our automated installer script:
55
65
 
56
66
  ```bash
57
67
  curl -fsSL https://raw.githubusercontent.com/nexoral/ContainDB/main/Scripts/installer.sh | sudo bash -
68
+ ```
69
+
70
+ ### Option 3: Alternative (Any OS)
58
71
 
72
+ If you have Node.js installed, you can install ContainDB anywhere:
73
+
74
+ ```bash
75
+ npm install -g containdb
59
76
  ```
60
77
 
61
- ### Option 2: Build from Source
78
+ ### Option 4: Build from Source
62
79
 
63
80
  ```bash
64
81
  # Clone the repository
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,15 +1,52 @@
1
1
  {
2
2
  "name": "containdb",
3
- "version": "1.0.1",
4
- "description": "ContainDB CLI - A tool for managing Docker databases",
3
+ "version": "5.15.37",
4
+ "description": "The Ultimate Docker Database Manager. Automate the creation, management, and monitoring of containerized databases (MongoDB, MySQL, PostgreSQL, Redis) and their GUI tools (Compass, phpMyAdmin, PgAdmin, RedisInsight) with a simple CLI. No complex Docker commands—just productivity.",
5
5
  "bin": {
6
6
  "containdb": "./InstallController.js"
7
7
  },
8
8
  "scripts": {
9
9
  "test": "echo \"Error: no test specified\" && exit 1"
10
10
  },
11
- "author": "Ankan",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/nexoral/ContainDB.git"
14
+ },
15
+ "homepage": "https://github.com/nexoral/ContainDB#readme",
16
+ "bugs": {
17
+ "url": "https://github.com/nexoral/ContainDB/issues"
18
+ },
19
+ "keywords": [
20
+ "containdb",
21
+ "docker",
22
+ "database",
23
+ "cli",
24
+ "devops",
25
+ "mongodb",
26
+ "mysql",
27
+ "postgresql",
28
+ "redis",
29
+ "mariadb",
30
+ "phpmyadmin",
31
+ "pgadmin",
32
+ "redisinsight",
33
+ "mongodb-compass",
34
+ "container-management",
35
+ "docker-compose",
36
+ "productivity",
37
+ "developer-tools",
38
+ "golang",
39
+ "cross-platform",
40
+ "automation",
41
+ "environment-setup",
42
+ "local-development"
43
+ ],
44
+ "author": "Ankan Saha",
12
45
  "license": "MIT",
46
+ "funding": {
47
+ "type": "git",
48
+ "url": "https://github.com/sponsors/AnkanSaha"
49
+ },
13
50
  "os": [
14
51
  "darwin",
15
52
  "linux",
@@ -18,5 +55,9 @@
18
55
  "cpu": [
19
56
  "x64",
20
57
  "arm64"
21
- ]
22
- }
58
+ ],
59
+ "engines": {
60
+ "node": ">=16.0.0",
61
+ "npm": ">=8.0.0"
62
+ }
63
+ }
package/VERSION DELETED
@@ -1 +0,0 @@
1
- 5.15.35-stable