@rpcbase/cli 0.29.0 → 0.31.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/cli",
3
- "version": "0.29.0",
3
+ "version": "0.31.0",
4
4
  "license": "SSPL-1.0",
5
5
  "bin": {
6
6
  "rb": "./bin.js"
@@ -6,6 +6,8 @@ const colors = require("picocolors")
6
6
  const concurrently = require("concurrently")
7
7
  const {exec} = require("child_process")
8
8
 
9
+ const {hideBin} = require("yargs/helpers")
10
+
9
11
  const docker_runtime_check = require("./helpers/docker_runtime_check")
10
12
  const exit_with_message = require("./helpers/exit_with_message")
11
13
  const get_run_configs = require("./helpers/get_run_configs")
@@ -28,7 +30,7 @@ const start_command = async(args) => {
28
30
  if (cfg.type === "client") {
29
31
  name = "client"
30
32
  // command = "yarn dev"
31
- command = "./node_modules/.bin/rb-webpack-browser dev"
33
+ command = "./node_modules/.bin/bundler-client dev"
32
34
  prefixColor = "#C678DD"
33
35
  // server
34
36
  } else if (cfg.type === "server") {
@@ -44,15 +46,7 @@ const start_command = async(args) => {
44
46
 
45
47
  // pass through listed args to client and server
46
48
  if (["client", "server"].includes(cfg.type)) {
47
- if (args.coverage) {
48
- command = `${command} --coverage`
49
- }
50
- if (args.debug) {
51
- command = `${command} --debug`
52
- }
53
- if (args.verbose) {
54
- command = `${command} --verbose`
55
- }
49
+ command = `${command} ${hideBin(process.argv).join(" ")}`
56
50
  }
57
51
 
58
52