mercur-cli 0.1.0 → 0.1.2

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.
@@ -32,7 +32,7 @@ export async function pullAndInstall(options) {
32
32
  cwd: targetDir,
33
33
  }
34
34
  );
35
- await execa("yarn", ["install"], {
35
+ await execa("npm", ["install"], {
36
36
  cwd: path.join(targetDir, "storefront"),
37
37
  });
38
38
  }
package/cli/start.js CHANGED
@@ -48,7 +48,7 @@ export async function startAll() {
48
48
  }
49
49
 
50
50
  if (vendorExists) {
51
- console.log("- Vendor Panel: http://localhost:7001");
51
+ console.log("- Vendor Panel: http://localhost:5173");
52
52
  }
53
53
 
54
54
  process.on("SIGINT", async () => {
package/index.js CHANGED
@@ -4,7 +4,6 @@ import chalk from "chalk";
4
4
  import { program } from "commander";
5
5
  import { fullInstall } from "./cli/full-install.js";
6
6
  import { startAll } from "./cli/start.js";
7
- import { backendSetup } from "./cli/backend-setup.js";
8
7
 
9
8
  console.log(
10
9
  chalk.blue(`
@@ -16,19 +15,6 @@ console.log(
16
15
  `)
17
16
  );
18
17
 
19
- program
20
- .command("be-setup")
21
- .version("1.0.0")
22
- .option("-d, --directory <type>", "Mercur directory")
23
- .option("-db_url, --db_url <type>", "DB_URL", "localhost")
24
- .option("-db_port, --db_port <type>", "DB_URL", "5432")
25
- .option("-db_user, --db_user <type>", "DB_URL", "postgres")
26
- .option("-db_pass, --db_pass <type>", "DB_URL", "postgres")
27
- .option("-db_name, --db_name <type>", "DB_URL", "mercur-clis")
28
- .action(async (opts) => {
29
- await backendSetup(opts);
30
- });
31
-
32
18
  program
33
19
  .command("install")
34
20
  .version("1.0.0")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mercur-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "CLI for Mercur - Open Source Marketplace Platform",
5
5
  "main": "index.js",
6
6
  "license": "MIT",