Commit Graph

3829 Commits

Author SHA1 Message Date
Pascal Precht 42877e8567
WIP SAVEPOINT 2018-10-10 12:13:13 +02:00
Iuri Matias 3201afdb2e
Merge pull request #844 from subramanianv/integrateRemixTests
Integrate remix tests
2018-10-07 09:45:25 -04:00
Iuri Matias be4a8aca6e
Merge pull request #968 from embark-framework/bug_fix/accounts
Fix Accounts and add nodeAccounts to specifically use the node accounts
2018-10-07 09:04:54 -04:00
Subramanian Venkatesan 0408e7a90f Adds solc option to tests. Runs smart contract tests using remix-tests
Ref: #817
2018-10-06 15:36:07 +05:30
Jonathan Rainville 16067b572c change 70000 for a constant 2018-10-05 20:05:07 -04:00
Iuri Matias 4d4654c9a5
Merge pull request #969 from embark-framework/chore/improve-error-message
chore(blockchainProcess): improve error message when blockchain clien…
2018-10-05 18:07:00 -04:00
Iuri Matias a2e003bbcc
Merge pull request #960 from embark-framework/features/enhance-webpack
enhance webpack
2018-10-05 18:06:28 -04:00
Iuri Matias a2a6ff6117
Merge pull request #966 from cryptomental/feature/track-fields-in-contract-configuration
contract_deployer: Redeploy if track field is set to false.
2018-10-05 17:55:10 -04:00
Iuri Matias 38b7f786bd
Merge pull request #959 from hodlbank/before-deploy-contract-arguments
Make possible for deploy:contract:beforeDeploy plugin to modify arguments
2018-10-05 17:42:59 -04:00
Iuri Matias 8a986aa58d
Merge pull request #953 from evgeniuz/develop
improved error message when there is issue communicating with node
2018-10-05 17:41:41 -04:00
Iuri Matias 7de1c05435
Merge pull request #920 from embark-framework/feature/remove-warning-connect-infura
Update “no account” message and hide for infura
2018-10-05 17:39:08 -04:00
Iuri Matias 418b967836
Merge pull request #918 from embark-framework/bug_fix/update-storage-configs
Storage configs: Move “provider” keys to the correct level
2018-10-05 17:37:29 -04:00
Iuri Matias 6257f1817f
Merge pull request #917 from embark-framework/feature/cors-message
After upload message regarding CORS and public gateways
2018-10-05 17:37:00 -04:00
Michael Bradley 2a9ccce40c
Merge pull request #962 from embark-framework/refactor/pipeline
Refactor pipeline related packages into their own plugin modules.
2018-10-05 16:35:41 -05:00
Iuri Matias 8e7c383a82
Merge pull request #883 from StevenJNPearce/develop
add ENS console commands
2018-10-05 17:30:35 -04:00
Pascal Precht fb92eb5bbf
refactor(modules/pipeline/webpackProcess): load pipeline config in Config class
to configure pipeline specific options like TypeScript support.

At the time this has been added, `core/config` didn't handle the loading
of configuration files for pipeline related tasks yet.

This commit ensures a dapp's `pipeline.json` will be loaded and used to
configure Embark's webpack process as part of Embark's `Config` initialization.
2018-10-05 22:54:26 +02:00
Pascal Precht 5916660d5e
feat(modules/watcher): introduce watcher plugin module
As part of a bigger refactoring to make Embark's build pipeline pluggable,
this commit moves the watcher into its own plugin module so it can be
consumed via Embark's event bus.

It also introduces new command handlers for all watcher related APIs respectively:

- watcher:start
- watcher:stop
- watcher:restart
2018-10-05 22:47:17 +02:00
Pascal Precht 9337914b6e
chore(blockchainProcess): improve error message when blockchain client exits early
In cases a blockchain client exits before Embark is done doing its work,
the current error message doesn't provide any pointers to why this
happened.

Running `$ embark blockchain` separately could yield more information by
the underlying process.
2018-10-05 19:16:08 +02:00
Jonathan Rainville 467eeeec55 use an event to get web3 instead of global 2018-10-05 13:15:01 -04:00
Pascal Precht 82eeb350ee
feat(modules/pipeline): move pipeline into its own module plugin
This is the first step of refactoring Embark's pipeline abstraction into
dedicated plugin modules that take advantage of Embark's event system.

With this commit we're moving `Pipeline` into `lib/modules/pipeline` and
introduce a new command handler `pipeline:build`. Embark's engine now
requests builds via this command handler.

Notice that `Watch` still lives in `lib/pipeline` as this is a step-by-step
refactoring to reduce chances of introducing regressions.
2018-10-05 18:01:04 +02:00
Jonathan Rainville ec1382e838 add helpful messages when ens register is rejected 2018-10-05 11:08:33 -04:00
Jonathan Rainville b01793e9b7 make on deploy manual 2018-10-05 10:49:46 -04:00
Cryptomental 701b25e5e7 contract_deployer: Redeploy if track field is set to false.
Always deploy the contract regardless if already deployed
when 'track' field in the contract configuration is specified
and set to false.

In line with #938 requirements:

* If a contract has the track field set to false, that contract
  will always deploy.
* If the track field is set to true, then the existing deployment
  tracking mechanism will be active for that contract.
* If the field is not set, it should be assumed to true by default

Refs: https://github.com/embark-framework/embark/issues/938
2018-10-05 15:42:40 +02:00
Michael Bradley, Jr 5697afa94b fix chunking problem related to dynamic import and bug re: umd 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr fe5e276d7a per latest babel-preset-react-app exclue transform-typeof-symbol 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr 0f05ce328b in comments provide links to relevant tag not a commit 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr 71bdf13818 TODO comment re: pipeline config 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr f464d3b8c9 don't waste time gzip'ing contents of babel-loader's cache 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr f94d3a1263 call path.basename w/ extension name to avoid e.g. `.js.1.js` 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr c8640da7d6 rev file name to better reflect its purpose 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr 3db984f47e extract copy/preserve logic into a helper in lib/core/fs
preserved files should end with <number>.<ext> vs. <ext>.<number>
2018-10-04 14:53:42 -05:00
Michael Bradley, Jr 7729e9de5c comments re: flow/typescript in templates' config/pipeline.js 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr 85b3abff3c babel-loader should process .ts, .tsx files when typescript is enabled 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr c0a64e1e3f pipeline.js dapp config to allow easy toggling of typescript 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr 6b74ce45c9 rev comment to provide more context/clarity 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr ac39593aa6 bump shrinkwrap 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr 1dadf6338b raise exception if both Flow and TypeScript are enabled 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr 787dfbe428 TypeScript support -- disabled by default 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr f9df8e5713 babel plugins, presets and their configs per babel-preset-react-app 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr 144f9cea0a don't need quotes 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr 8242792753 customize babel-loader behavior -- don't try to cache babel macros 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr 8f50fc7bfa enabel babel-loader's default cache directory 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr c738100606 can use use: shortcuts for .css 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr 2770906fb2 proper loader for sass (scss) 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr d7cd5fddf9 deps -- sass (scss) 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr b95e2dee3e comment re: adaptation from babel-preset-react-app 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr 28d9ea43cd explain babel plugin, preset order 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr 8db316ebf0 default webpack-overrides.js 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr c8f1add82c eject webpack overrides 2018-10-04 14:53:42 -05:00
Michael Bradley, Jr eeb7dd9814 deps -- babel 7 preset for TypeScript 2018-10-04 14:53:42 -05:00