embark/packages
emizzle 2df4970810 fix(@embark/cockpit): Fix cockpit not suggesting console commands
This PR fixes a number of issues relating to the cockpit console.

#### Console commands display in cockpit console
Fix cockpit console not displaying console usage commands that included “<usage option>”. For example “resolve <name>” would not display the “<name>” part, as it was attempting to write this in as HTML (ansi-to-html conversion).

This was fixed by replacing any instances of “<usage>” with “[usage]”. Please note that future usage strings should not contain text wrapped in “<>”.

#### Autosuggestions for “web.eth.” not appearing
Fix “web3.eth.” not suggesting members of `web3.eth`. This was due to a `Object.keys(web3.eth)` throwing `'getOwnPropertyDescriptor' on proxy: trap returned descriptor for property 'defaultAccount' that is incompatible with the existing property in the proxy target` in the console. Changing `Object.keys` to `Object.getOwnPropertyDescriptor` solved the problem.

#### Fix autosuggestion of known console commands (ie from plugins)
Fix known console commands (ie from  plugins) not being autosuggested. For example, typing “web”, should autosuggest `webserver start/stop`,  `log webserver on`, and `log webserver off`.

This PR adds in support for registered console commands (from plugins).
2019-02-20 14:14:41 +01:00
..
embark fix(@embark/cockpit): Fix cockpit not suggesting console commands 2019-02-20 14:14:41 +01:00
embark-async-wrapper feat: create async wrapper 2019-02-12 08:24:20 +00:00
embark-compiler feat: create async wrapper 2019-02-12 08:24:20 +00:00
embark-graph fix: supply missing tsconfig.json in packages/* 2019-02-06 17:20:13 -06:00
embark-typings fix(@embark/cockpit): Fix cockpit not suggesting console commands 2019-02-20 14:14:41 +01:00
embark-ui refactor: be consistent with callbacks and promises 2019-02-13 14:27:42 -05:00
embark-vyper feat: create async wrapper 2019-02-12 08:24:20 +00:00
embarkjs fix(@embark/embarkjs): Fix potential race condition 2019-02-15 12:43:36 -05:00
web3Connector fix(@embark/console): Fix console not working with VM2/monorepo 2019-02-18 16:21:43 +11:00
.yarnrc build: cleanup .yarnrc 2019-02-05 14:15:39 -06:00