embark/packages
emizzle 9f7c6828a8 fix(@embark/proxy): Parse `rpcPort` from config as integer
## User reported error
i recently updated to embark 5.0 im having issues connecting to a local node each time i connect to it i get the following output from the embark console

```
Error during proxy setup: Port should be >= 0 and < 65536. Received 754510.. Use '--loglevel debug' for more detailed information.
```

This is what i have under the blockchain.js  file
```
localDev: {
    endpoint: "http://127.0.0.1:7545",
    accounts: [{
      nodeAccounts: true,
    }]
  }
```
### Problem
The port to start the proxy on is incremented by a constant value (using the `+` operator), however the port comes from the config and in the case where it is a string, the `+` operator acts as a string concatentation.

### Fix
Ensure the port from the config is always parsed to a number before attempting to add the constant proxy port offset.
2020-01-22 11:18:16 -05:00
..
cockpit chore(prerelease): 5.1.0-nightly.1 2020-01-20 09:57:35 -06:00
core chore(prerelease): 5.1.0-nightly.3 2020-01-22 00:13:43 +00:00
embark chore(prerelease): 5.1.0-nightly.3 2020-01-22 00:13:43 +00:00
embarkjs chore(prerelease): 5.1.0-nightly.2 2020-01-21 00:12:55 +00:00
plugins chore(prerelease): 5.1.0-nightly.3 2020-01-22 00:13:43 +00:00
stack fix(@embark/proxy): Parse `rpcPort` from config as integer 2020-01-22 11:18:16 -05:00
utils chore(prerelease): 5.1.0-nightly.1 2020-01-20 09:57:35 -06:00
.yarnrc build: cleanup .yarnrc 2019-02-05 14:15:39 -06:00