213 Commits

Author SHA1 Message Date
Pascal Precht
80c80e9beb
fix(commands/build): don't start blockchain node when --contracts is used
Prior to this commit `$ embark build --contracts` spinned up a blockchain node
which is not necessary as `--contracts` can be seen as a "compile only" option.

This commit ensures we don't start any web3 services with `--contracts` is used.
2018-10-22 19:40:52 +02:00
Pascal Precht
71e92358a8
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-22 19:35:58 +02:00
Pascal Precht
a0ef234fea
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-22 19:35:58 +02:00
Anthony Laibe
dd8c6b9a35
Add missing config
The configuration for test is not passed via the engine
2018-10-22 19:25:16 +02:00
Michael Bradley, Jr
c360975e8f webServer svc doesn't need to handle cli opts (handled in core/config) 2018-09-17 17:59:52 -05:00
Anthony Laibe
1b242baefd No webserver and no ipc server on console 2018-09-13 09:19:57 +01:00
Subramanian Venkatesan
fe0bbc3559 changes from the code review 2018-09-10 22:38:17 +05:30
Subramanian Venkatesan
53de6dcb19 Fixes to npm command parsing 2018-09-10 16:19:37 +05:30
Subramanian Venkatesan
cb751b5213 install npm package using shell.js 2018-09-10 14:01:36 +05:30
Subramanian Venkatesan
74f0d05ca0 Plugin Command 2018-09-09 23:07:55 +05:30
Anthony Laibe
c92f6f8865 Fix dynamic IPC 2018-09-05 10:40:37 +01:00
Michael Bradley, Jr
1d38af1f58 expose buildDir to webserver in same manner as its done for pipeline 2018-09-03 10:17:45 -05:00
Iuri Matias
a1c2d7e77a
Merge pull request #756 from embark-framework/feature/console-ipc-server-client
Console can be a client or server ipc
2018-08-31 07:58:55 -04:00
Iuri Matias
46076c8d4e
Merge pull request #751 from embark-framework/feature/embarkjs-console
Feature/embarkjs console
2018-08-31 07:46:54 -04:00
Anthony Laibe
e0f73c7d22 Make console a module 2018-08-31 09:36:50 +01:00
Andre Medeiros
bb92582c0a Fix passing compiler options 2018-08-30 16:11:42 -04:00
Anthony Laibe
59e82d5fc6 Console can be a client or server ipc 2018-08-30 15:45:01 +01:00
Anthony Laibe
83c01cffdc Storage and Whisper connect 2018-08-30 10:04:58 +01:00
Michael Bradley, Jr
b41f5a397d --pipeline option for ebmark build|run to spec webpack config name 2018-08-24 15:04:15 -05:00
Iuri Matias
ffbd39882a remove isTest 2018-08-24 09:25:47 -04:00
Iuri Matias
5fe86e35d1
Merge pull request #736 from embark-framework/features/test-node-option
Add --node option for tests
2018-08-23 15:07:10 -04:00
Jonathan Rainville
86f1cf51d2 enable node=embark 2018-08-23 12:54:43 -04:00
Jonathan Rainville
128620e281 remove double registerModule 2018-08-22 10:56:09 -04:00
Anthony Laibe
dd8658a59a Reload config when a file is added/removed 2018-08-21 16:10:22 -04:00
Anthony Laibe
27933774a9 Console command connect to ipc 2018-08-21 16:09:48 -04:00
Andre Medeiros
253d3dd57c wip 2018-08-21 16:09:13 -04:00
Iuri Matias
dfbff4466f rename module 2018-08-21 16:07:58 -04:00
Iuri Matias
53d944e801 move contracts manager to its own module 2018-08-21 16:07:58 -04:00
Iuri Matias
3a15804fda remove engine param 2018-08-21 16:05:58 -04:00
Iuri Matias
29b0d01f22 move processes into core 2018-08-21 16:04:22 -04:00
Iuri Matias
46f5760c18 move intercept logs to utils 2018-08-21 16:04:22 -04:00
Iuri Matias
4919114f36 move blockchain connection code to its own module 2018-08-21 16:04:22 -04:00
Iuri Matias
567b0c75b8 get blockchain object from event bus 2018-08-21 16:04:22 -04:00
Iuri Matias
62fad583da don't pass web3 object to whisper module since it uses its own 2018-08-21 16:04:22 -04:00
Iuri Matias
9526e61652 rename blockchain connector 2018-08-21 16:04:22 -04:00
Iuri Matias
93a9a3065f clean up 2018-08-21 16:04:22 -04:00
Iuri Matias
0c9dc48362 move code generator to a module 2018-08-21 16:04:22 -04:00
Iuri Matias
40e58dbcf2 move deployment to a module 2018-08-21 16:03:35 -04:00
Iuri Matias
f9321776b1 move deployment to module 2018-08-21 16:03:35 -04:00
Iuri Matias
4ecb44e1c9 prepare to make it a module 2018-08-21 16:03:35 -04:00
Iuri Matias
be3a79ce39 move contract deployer to deploy manager 2018-08-21 16:03:35 -04:00
Iuri Matias
2baaba07e6 move the versions manager to its own module 2018-08-21 16:03:35 -04:00
Iuri Matias
5175b5710a update to fix tests 2018-08-21 16:02:18 -04:00
Iuri Matias
5bf89b0fea move copmiler to a module 2018-08-21 16:02:18 -04:00
Iuri Matias
9707b0076d move graph into a module 2018-08-21 16:02:18 -04:00
Iuri Matias
75de982772 move code runner to core modules 2018-08-21 16:02:18 -04:00
Iuri Matias
1b90640b10 rename process manager 2018-08-21 16:02:18 -04:00
Iuri Matias
2ea982d0e5 move blockchain process to own module 2018-08-21 16:01:14 -04:00
Iuri Matias
3584a20fd7 first stab at refactor blockchain launcher 2018-08-21 15:59:46 -04:00
Michael Bradley, Jr
25be46af2c propagate env 2018-08-21 15:47:05 -04:00