Iuri Matias
f7e226fdd4
chore(@embark/): move cockpit packages to their own folder ( #1883 )
2019-09-07 12:02:49 -04:00
Iuri Matias
8cf458b129
chore(@embark/): move more packages to their logical folders, remove embark- prefix ( #1882 )
2019-09-07 11:27:08 -04:00
Michael Bradley, Jr
25a06447c8
fix(@embarkjs/swarm): web3@1.0.0-beta.37 -> web3@1.2.1
2019-09-06 19:31:18 -05:00
Michael Bradley, Jr
2dedfaa127
build: use only exact versions for deps because unexpected yarn.lock causes CI/release to fail
...
The exception is `embark/-*` packages that are in the monorepo, should always
use caret ranges for those packages.
2019-09-06 19:31:18 -05:00
Michael Bradley, Jr
4e590991a8
style: fix linter errors on master after recent PR merges
2019-09-06 19:31:18 -05:00
Iuri Matias
c46c52ff5c
move embarkjs packages & remove embark- prefix from some folders ( #1879 )
...
* chore(@embark/): move embarkjs packages to their own folder
* chore(@embark/): rename embark-ui folder to cockpit
* chore(@embark/): rename packages already in logical folders to remove embark- prefix
chore(@embark/): rename packages already in logical folders to remove embark- prefix
update package.json files to use correct eslint config
remove core/* from package.json workspaces
2019-09-06 18:26:08 -04:00
Iuri Matias
48c328e39e
refactor(@embark/): move several packages into logical folders ( #1877 )
2019-09-06 17:39:51 -04:00
Iuri Matias
43386ff35d
chore(@embark/): remove old modules blockchain-process & code-generator; remove old methods from engine.js ( #1875 )
...
chore (@embark/) remove old modules blockchain-process and code-generator
chore (@embark/) remove old module blockchain-process
chore (@embark/) remove embark blockchain & embark simulator cmds
chore (@embark/) remove old methods from engine.js
Revert "chore (@embark/) remove embark blockchain & embark simulator cmds"
This reverts commit 703a424fb9e720b9342acb4cf9d00530f7393059.
re-add cockpit modules
re-add cockpit modules
2019-09-06 17:35:44 -04:00
Jonathan Rainville
0b9670fd33
Fix embark blockchain command + fix wss in Embark ( #1874 )
...
* fix(@embark/cmd_controller): fix embark blockchain command
* feat(@embark/blockchain): ping endpoint before starting the node
also use web3 instead of function to ping endpoint
* dont override console.error completely
2019-09-06 15:08:33 -04:00
Pascal Precht
86ee867689
feat(@embark/specialconfigs): introduce dynamic addresses ( #1873 )
...
* fix embarkjs generation
fix ens setProvider
fix embarkjs objects
fix generated embarkjs provider
generate contracts
fix embarkjs-ens
* address some of the issues in the code review
* feat(@embark/specialconfigs): introduce dynamic addresses
This commit introduces a new Smart Contract configuration addressHandler
that lets users define a function to "lazily" compute the address of the
Smart Contract in question.
This is useful when a third-party takes care of deploying a dependency
Smart Contract, but the address of that Smart Contract only being available
at run-time.
Example:
```
deploy: {
SimpleStorage: {
fromIndex: 0,
args: [100],
},
OtherContract: {
deps: ['SimpleStorage'],
address: async (deps) => {
// use `deps.contracts.SimpleStorage` to determine address
},
abiDefinition: ABI
},
}
```
In the example above, OtherContract will be deployed after SimpleStorage
because it uses the deps property to define Smart Contracts that it depends
on. All dependencies are exposed on the addressHandler function parameter
similar to deployment hooks.
Closes #1690
2019-09-06 15:02:51 -04:00
Eric Mastro
022a3c11ec
fix(@embark/embark-deploy-tracker): Fix reading of empty file ( #1872 )
...
There was an error that would display on the second+ run of embark, that was causing by trying to read JSON of an empty file.
The solution was a combination of ensuring the file existed with defaults when enabled, and also ensuring we await the saving of the file.
Included is a bit of a refactor of how the tracking functions handled the “current chain”. Hopefully, this should make things more clear.
Tests have been updated accordingly.
2019-09-06 14:30:12 -04:00
André Medeiros
7e839e758e
refactor: wire up coverage ( #1865 )
...
* refactor: wire up coverage
* refactor: coverage now reacts instead of being told what to do
2019-09-05 16:35:17 -04:00
Iuri Matias
718d19f7d3
re-add embarkjs generation ( #1858 )
...
* fix embarkjs generation
fix ens setProvider
fix embarkjs objects
fix generated embarkjs provider
generate contracts
fix embarkjs-ens
* address some of the issues in the code review
* address some of the issues in the code review
* address some of the issues in the code review
* address some of the issues in the code review
2019-09-05 16:04:52 -04:00
Jonathan Rainville
b260e81055
refactor(@embark/cmd-controller): re add cargo for file watcher ( #1855 )
...
* refactor(@embark/cmd-controller): re add cargo for file watcher
(cherry picked from commit 5c77b4000742a14f42a6dc5c145672b9cd0957a3)
* use generate:all instea dof the event
2019-09-05 15:49:44 -04:00
Michael Bradley, Jr
8716373be2
fix: type checker and linter errors on master after recent PR merges
2019-09-05 13:33:34 -05:00
Jonathan Rainville
58ad62f32b
refactor(@embark/cmd-controller): re add cargo for file watcher ( #1857 )
2019-09-03 14:03:29 -04:00
André Medeiros
230fe592a6
feat(@embark/test-runner): add reports to tests ( #1864 )
2019-09-03 13:38:36 -04:00
Eric Mastro
f9557d4c93
refactor(@cockpit): Re-add APIs ( #1831 )
...
* refactor(@cockpit/contract-apis): Re-add contract APIs
Re-add functionality for Contract functionality to work in Cockpit.
# Conflicts:
# packages/embark/src/lib/modules/blockchain-client/index.js
# packages/embark/src/lib/modules/blockchain/index.js
* fix(@embark/transaction-tracker): re-enable oracle apis
2019-09-03 12:02:52 -04:00
Pascal Precht
dd82a01b65
fix(@embark/cmd_controller): ensure namesystem is set up in console command ( #1822 )
...
This caused the console command to hang
2019-09-03 11:59:00 -04:00
Pascal Precht
c7eb5868b9
fix(@embark/cmd_controller): ensure blockchain module is started before storage ( #1821 )
...
This is crucial as the storage module tries to generate/eval artifacts that
depend on a `web3` object inside the VM scope. The registration of that object
can only be garuanteed when the `blockchain:started` event has been fired.
This commit ensures these modules are not spinned up in parallel as we're running
into race conditions.
2019-09-03 11:56:12 -04:00
Michael Bradley, Jr
58c55ed88b
fix(@cockpit): PropTypes typos: boolean -> bool, function -> func
2019-09-03 09:55:00 -05:00
dependabot-preview[bot]
939596cd58
build(deps-dev): bump eslint-config-react-app from 3.0.5 to 3.0.8
...
Bumps [eslint-config-react-app](https://github.com/facebook/create-react-app/tree/HEAD/packages/eslint-config-react-app ) from 3.0.5 to 3.0.8.
- [Release notes](https://github.com/facebook/create-react-app/releases )
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-1.x.md )
- [Commits](https://github.com/facebook/create-react-app/commits/eslint-config-react-app@3.0.8/packages/eslint-config-react-app )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-03 09:55:00 -05:00
Michael Bradley, Jr
37b5cc0941
build(deps): add ajv@6.10.2 to deps of embark-scaffolding
...
embark-scaffolding imports ajv but it was not properly listed as a dependency
2019-09-03 09:22:18 -05:00
dependabot-preview[bot]
43cc536d4e
build(deps): bump ajv from 6.5.5 to 6.10.2
...
Bumps [ajv](https://github.com/epoberezkin/ajv ) from 6.5.5 to 6.10.2.
- [Release notes](https://github.com/epoberezkin/ajv/releases )
- [Commits](https://github.com/epoberezkin/ajv/compare/v6.5.5...v6.10.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-03 09:22:18 -05:00
Michael Bradley
b736ebefcd
refactor: initial steps toward 5.0.0-alpha.0 ( #1856 )
...
BREAKING CHANGE:
There are more than several breaking changes, including DApp configuration for
accounts.
2019-08-30 16:50:20 -04:00
dependabot-preview[bot]
1e13398933
build(deps): bump @babel/plugin-proposal-class-properties
...
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel ) from 7.3.0 to 7.5.5.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.3.0...v7.5.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-30 06:57:48 -05:00
dependabot-preview[bot]
59c92e121d
build(deps): bump babel-loader from 8.0.4 to 8.0.6
...
Bumps [babel-loader](https://github.com/babel/babel-loader ) from 8.0.4 to 8.0.6.
- [Release notes](https://github.com/babel/babel-loader/releases )
- [Changelog](https://github.com/babel/babel-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel-loader/compare/v8.0.4...v8.0.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-30 06:56:40 -05:00
Michael Bradley, Jr
775881318f
refactor(@embark/utils): bip39.mnemonicToSeed -> bip39.mnemonicToSeedSync
2019-08-29 12:39:15 -05:00
dependabot-preview[bot]
faa36550f7
build(deps): bump bip39 from 2.5.0 to 3.0.2
...
Bumps [bip39](https://github.com/bitcoinjs/bip39 ) from 2.5.0 to 3.0.2.
- [Release notes](https://github.com/bitcoinjs/bip39/releases )
- [Changelog](https://github.com/bitcoinjs/bip39/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bitcoinjs/bip39/compare/v2.5.0...v3.0.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-29 12:39:15 -05:00
dependabot-preview[bot]
459079cfe5
build(deps-dev): bump eslint-loader from 2.2.1 to 3.0.0
...
Bumps [eslint-loader](https://github.com/webpack-contrib/eslint-loader ) from 2.2.1 to 3.0.0.
- [Release notes](https://github.com/webpack-contrib/eslint-loader/releases )
- [Changelog](https://github.com/webpack-contrib/eslint-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/eslint-loader/compare/v2.2.1...v3.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-29 12:27:07 -05:00
Michael Bradley, Jr
706e43c9c5
chore(release): 4.1.1
2019-08-28 14:52:21 -05:00
dependabot-preview[bot]
ac919e9429
build(deps): bump @babel/plugin-transform-flow-strip-types
...
Bumps [@babel/plugin-transform-flow-strip-types](https://github.com/babel/babel ) from 7.2.3 to 7.4.4.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.2.3...v7.4.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-28 08:48:47 -05:00
dependabot-preview[bot]
8ff844041c
build(deps): bump @babel/plugin-transform-destructuring
...
Bumps [@babel/plugin-transform-destructuring](https://github.com/babel/babel ) from 7.3.2 to 7.5.0.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.3.2...v7.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-28 08:37:19 -05:00
Michael Bradley, Jr
c4d68c7898
build(deps): bump follow-redirects from 1.7.0 to 1.8.0
2019-08-27 10:56:52 -05:00
dependabot-preview[bot]
080540fb01
build(deps): bump follow-redirects from 1.5.7 to 1.7.0
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.5.7 to 1.7.0.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.5.7...v1.7.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-27 10:56:52 -05:00
dependabot-preview[bot]
e0e783c525
build(deps-dev): bump react-bootstrap-typeahead from 3.2.4 to 3.4.6
...
Bumps [react-bootstrap-typeahead](https://github.com/ericgio/react-bootstrap-typeahead ) from 3.2.4 to 3.4.6.
- [Release notes](https://github.com/ericgio/react-bootstrap-typeahead/releases )
- [Changelog](https://github.com/ericgio/react-bootstrap-typeahead/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ericgio/react-bootstrap-typeahead/compare/v3.2.4...v3.4.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-27 10:43:08 -05:00
dependabot-preview[bot]
2eeda93f16
build(deps-dev): bump mini-css-extract-plugin from 0.4.3 to 0.8.0
...
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin ) from 0.4.3 to 0.8.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.4.3...v0.8.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-27 10:40:32 -05:00
dependabot-preview[bot]
5a03a703dc
build(deps-dev): bump @types/mocha from 5.2.0 to 5.2.7
...
Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha ) from 5.2.0 to 5.2.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 11:41:27 -05:00
dependabot-preview[bot]
259ec442eb
build(deps): bump url-loader from 1.1.1 to 2.1.0
...
Bumps [url-loader](https://github.com/webpack-contrib/url-loader ) from 1.1.1 to 2.1.0.
- [Release notes](https://github.com/webpack-contrib/url-loader/releases )
- [Changelog](https://github.com/webpack-contrib/url-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/url-loader/compare/v1.1.1...v2.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 11:36:34 -05:00
dependabot-preview[bot]
bdb1177159
build(deps): bump webpack from 4.29.3 to 4.39.2
...
Bumps [webpack](https://github.com/webpack/webpack ) from 4.29.3 to 4.39.2.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v4.29.3...v4.39.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 10:56:30 -05:00
dependabot-preview[bot]
f9975bea9a
build(deps-dev): bump prop-types from 15.6.2 to 15.7.2
...
Bumps [prop-types](https://github.com/facebook/prop-types ) from 15.6.2 to 15.7.2.
- [Release notes](https://github.com/facebook/prop-types/releases )
- [Changelog](https://github.com/facebook/prop-types/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/prop-types/compare/v15.6.2...v15.7.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 10:20:07 -05:00
Michael Bradley, Jr
6a64124e13
build(deps-dev): bump react-dom to 16.9.0
2019-08-26 09:41:27 -05:00
dependabot-preview[bot]
97cc709d7f
build(deps-dev): bump react from 16.7.0 to 16.9.0
...
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react ) from 16.7.0 to 16.9.0.
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v16.9.0/packages/react )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 09:41:27 -05:00
Jonathan Rainville
d2fc210706
fix(@mbark/embarkjs): enable using wss in embarkjs and the Dapp
2019-08-21 14:52:44 -04:00
Michael Bradley, Jr
ff97aa5b3e
fix(@embark/pipeline): revise require in embarkArtifacts/contracts/index
2019-08-20 14:25:45 -05:00
Michael Bradley, Jr
3a9fa56349
build(deps): remove unused mocha-sinon package
2019-08-20 14:25:25 -05:00
dependabot-preview[bot]
ea1c654a19
build(deps): bump source-map-support from 0.5.9 to 0.5.13
...
Bumps [source-map-support](https://github.com/evanw/node-source-map-support ) from 0.5.9 to 0.5.13.
- [Release notes](https://github.com/evanw/node-source-map-support/releases )
- [Commits](https://github.com/evanw/node-source-map-support/compare/v0.5.9...v0.5.13 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-20 14:00:18 -05:00
dependabot-preview[bot]
55a8f70337
build(deps-dev): bump eslint-loader from 2.1.1 to 2.2.1
...
Bumps [eslint-loader](https://github.com/webpack-contrib/eslint-loader ) from 2.1.1 to 2.2.1.
- [Release notes](https://github.com/webpack-contrib/eslint-loader/releases )
- [Changelog](https://github.com/webpack-contrib/eslint-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/eslint-loader/compare/2.1.1...v2.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-20 13:45:53 -05:00
dependabot-preview[bot]
dca6342330
build(deps): bump rimraf from 2.6.3 to 3.0.0
...
Bumps [rimraf](https://github.com/isaacs/rimraf ) from 2.6.3 to 3.0.0.
- [Release notes](https://github.com/isaacs/rimraf/releases )
- [Changelog](https://github.com/isaacs/rimraf/blob/master/CHANGELOG.md )
- [Commits](https://github.com/isaacs/rimraf/compare/v2.6.3...v3.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-20 13:44:24 -05:00
Michael Bradley, Jr
b4247fbc61
build(deps): opn 6.0.0 -> open 6.4.0
2019-08-20 13:39:44 -05:00