@rpcbase/server 0.231.0 → 0.233.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/bin.js CHANGED
@@ -32,6 +32,7 @@ const args = yargs(hideBin(process.argv))
32
32
  })
33
33
  .command("start", "runs server/infrastructure", () => {}, (args) => {
34
34
  is_command = true
35
+ check_args(args)
35
36
  start_server_infrastructure(args)
36
37
  })
37
38
  .command("agent", "run the agent", () => {}, (args) => {
@@ -42,7 +43,6 @@ const args = yargs(hideBin(process.argv))
42
43
  is_command = true
43
44
  build_server()
44
45
  })
45
- .check(check_args)
46
46
  .parse()
47
47
 
48
48
 
package/cli/check_args.js CHANGED
@@ -8,6 +8,7 @@ const check_args = (args) => {
8
8
  try {
9
9
  const {npm_config_argv} = process.env
10
10
 
11
+ // if not started from npm (ie: docker) this var is not set, we assume args are correct
11
12
  if (!npm_config_argv) {
12
13
  console.warn("no npm_config_argv skipping arg check")
13
14
  return
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/server",
3
- "version": "0.231.0",
3
+ "version": "0.233.0",
4
4
  "license": "SSPL-1.0",
5
5
  "main": "./index.js",
6
6
  "bin": {