embark/site
Michael Bradley, Jr 030fb4acc6 build(deps): bump web3[-*] from 1.2.4 to 1.2.6
Remove `bignumber.js` workaround (in the root, from PR #2152) because it's no
longer needed (verified locally).

Remove the `"skipLibCheck"` workaround (in `packages/plugins/solidity-tests`,
from PR #2152) because it's no longer needed (verified locally).

Refactor a typing in `packages/plugins/geth`. What's happening is that in web3
v1.2.4 `sendTransaction` has a return type of `PromiEvent<TransactionReceipt>`
but in v1.2.6 it has a return type of `PromiEvent<TransactionReceipt |
TransactionRevertInstructionError>`.

Compare:
* [v1.2.4/packages/web3-eth/types/index.d.ts#L291-L294](https://github.com/ethereum/web3.js/blob/v1.2.4/packages/web3-eth/types/index.d.ts#L291-L294)
* [v1.2.6/packages/web3-eth/types/index.d.ts#L295-L298](https://github.com/ethereum/web3.js/blob/v1.2.6/packages/web3-eth/types/index.d.ts#L295-L298)

The problem is that the `TransactionRevertInstructionError` type doesn't have a
`transactionHash` property. Since at present the code in
`packages/plugins/geth/src/devtxs.ts` only deals with the success case re:
`sendTransaction`, import the `TransactionReceipt` type from `web3-eth` and
cast the resolved return value's type using TypeScript's `as` operator.
2020-02-03 10:17:07 -06:00
..
scripts chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
source build(deps): bump web3[-*] from 1.2.4 to 1.2.6 2020-02-03 10:17:07 -06:00
themes/embark chore: update phantom siteId 2020-01-29 14:36:41 -05:00
.gitignore fix: add missing linkjuice built 2019-05-07 17:42:32 +02:00
CNAME chore: update site urls 2020-01-28 12:07:17 -05:00
LICENSE chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
README.md chore: rename org references from embark-framework to embarklabs 2020-01-16 15:36:29 -05:00
_config.yml chore: update site urls 2020-01-28 12:07:17 -05:00
deploy-site.js chore: rename org references from embark-framework to embarklabs 2020-01-16 15:36:29 -05:00
gulpfile.js chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
package.json build(deps-dev): bump gulp-useref from 4.0.0 to 4.0.1 in /site 2020-01-22 13:45:23 -06:00
yarn.lock build(deps-dev): bump gulp-useref from 4.0.0 to 4.0.1 in /site 2020-01-22 13:45:23 -06:00

README.md

Embark Official Website

The website for Embark.

Getting started

Install dependencies:

$ git clone https://github.com/embarklabs/embark.git
$ cd embark/site
$ npm install

Generate:

$ hexo generate

Run server:

$ hexo server