moledb 0.1.3 → 0.1.5

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/install.js +5 -5
  2. package/package.json +4 -3
package/install.js CHANGED
@@ -33,8 +33,7 @@ const isWindows = platform === 'windows';
33
33
  const ext = isWindows ? '.exe' : '';
34
34
 
35
35
  const binaries = [
36
- { name: 'mole', remote: `mole-${platform}-${arch}${ext}` },
37
- { name: 'mole-cli', remote: `mole-cli-${platform}-${arch}${ext}` }
36
+ { name: 'mole', remote: `mole-${platform}-${arch}${ext}` }
38
37
  ];
39
38
 
40
39
  console.log(`\n📦 Installing Mole DB v${VERSION} for ${platform}/${arch}...\n`);
@@ -108,9 +107,10 @@ Promise.all(binaries.map(downloadBinary))
108
107
  .then(() => {
109
108
  console.log('\n✨ Mole DB installed successfully!\n');
110
109
  console.log('Usage:');
111
- console.log(' mole -i # Start server with interactive mode');
112
- console.log(' mole # Start server only');
113
- console.log(' mole-cli # Connect to running server\n');
110
+ console.log(' mole # Start interactive mode (server + client)');
111
+ console.log(' mole server -d # Start server daemon');
112
+ console.log(' mole connect # Connect to running server');
113
+ console.log(' mole help # Show help\n');
114
114
  })
115
115
  .catch((err) => {
116
116
  console.error(`\n❌ Installation failed: ${err.message}\n`);
package/package.json CHANGED
@@ -1,6 +1,8 @@
1
1
  {
2
2
  "name": "moledb",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
+
5
+
4
6
  "description": "Fast, lightweight in-memory database. Redis-compatible protocol with persistence, replication, and Sentinel support.",
5
7
  "keywords": [
6
8
  "database",
@@ -11,8 +13,7 @@
11
13
  "nosql"
12
14
  ],
13
15
  "bin": {
14
- "mole": "./bin/mole",
15
- "mole-cli": "./bin/mole-cli"
16
+ "mole": "./bin/mole"
16
17
  },
17
18
  "scripts": {
18
19
  "postinstall": "node install.js"