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
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
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
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
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
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
Jonathan Rainville
beea030c18
remove process.exits
2018-10-04 15:18:31 -04:00
Jonathan Rainville
7c74f14b71
fix rebase problems and now works
2018-10-04 15:18:31 -04:00
Jonathan Rainville
fa181669f5
use known addresses for ENSRegistrery
2018-10-04 15:18:31 -04:00
Jonathan Rainville
1dd21dc198
conflict in ens index
2018-10-04 15:18:31 -04:00
Jonathan Rainville
5756e58d1e
conflict in ens index
2018-10-04 15:18:31 -04:00
Jonathan Rainville
7d193054f8
conflict in ens index
2018-10-04 15:18:31 -04:00
Anthony Laibe
7d4407ce3c
Fix git merging badly
2018-10-03 15:28:00 +01:00
Iuri Matias
de93a56e9f
Merge pull request #952 from cryptomental/feature/landing-page-should-display-error-if-build-broken
...
Feature/landing page should display error if build broken
2018-10-02 18:42:43 -04:00
Iuri Matias
9d34bed725
Merge pull request #950 from cryptomental/feature/add-nobrowser-option-to-coverage
...
cmd, run_tests: Add --nobrowser option for runCoverage.
2018-10-02 18:41:06 -04:00
Iuri Matias
c09c58f406
Merge pull request #951 from cryptomental/feature/add-output-option-to-embark-graph
...
cmd, cmd_controller, graph: Add --output option to graph.
2018-10-02 18:39:37 -04:00
Iuri Matias
417af91553
Merge pull request #931 from embark-framework/feature/ens-use-real-networkId
...
ENS config use the actual network ID
2018-10-02 18:24:41 -04:00
Iuri Matias
3b0709dc78
Merge pull request #919 from embark-framework/bugfix/multiple-useless-send
...
Use broadcast to avoid useless send
2018-10-02 18:22:30 -04:00
Cryptomental
7c5bda319e
cmd, cmd_controller, graph: Add --output option to graph.
...
Add optional --output argument to graph generator. The argument allows
to specify a filepath for graph output. Default filepath is ./diagram.svg
if the argument is not specified.
Refs: https://github.com/embark-framework/embark/issues/944
2018-10-02 23:03:11 +02:00
Cryptomental
c0a2b38041
cmd, run_tests: Add --nobrowser option for runCoverage.
...
Do not start browser during coverage run when --nobrowser option is passed.
Refs: https://github.com/embark-framework/embark/issues/941
2018-10-02 22:43:26 +02:00
Andre Medeiros
77fb2bec37
Fix linting
2018-10-02 12:54:08 -04:00
Andre Medeiros
f0f0235591
Account for empty initialization in loops
2018-10-02 12:50:07 -04:00
Cryptomental
bc68687994
webserver: Emit websocket outputError and show error on the landing page.
...
Whenever outputError is emitted by Ember, display error message on the landing page
and stop the page from refreshing every four seconds.
Refs: https://github.com/embark-framework/embark/issues/946
2018-10-01 23:12:42 +02:00
Cryptomental
79d8dc8dca
contracts_manager, deployment: Emit outputError whenever build error or deployment error happens.
...
Emit outputError when:
* contracts cannot be built
* contracts cannot be deployed
Refs: https://github.com/embark-framework/embark/issues/946
2018-10-01 22:55:45 +02:00
Iuri Matias
1aafc132ef
Merge pull request #932 from embark-framework/bugfix/missing-config
...
Add missing config
2018-09-29 19:28:45 -04:00
Iuri Matias
9a34a66d13
Merge pull request #934 from embark-framework/fix_contracts_json
...
output contracts json even if the pipeline is empty
2018-09-28 13:44:21 -04:00
Iuri Matias
a41bdf1b4a
output contracts json even if the pipeline is empty
2018-09-28 13:22:03 -04:00
Anthony Laibe
bee3f2f0c5
Address PR feedback
2018-09-28 15:06:58 +01:00
Anthony Laibe
1b4e0c84f7
Add missing config
...
The configuration for test is not passed via the engine
2018-09-28 13:22:28 +01:00
Anthony Laibe
c6b0c34d8c
ENS config use the actual network ID
...
Instead of relying on the name of network.
Fetch the real network id and configure ENS
based on that value
2018-09-28 12:28:34 +01:00
Anthony Laibe
2b01c4bcdc
Use broadcast to avoid useless send
2018-09-28 08:55:14 +01:00
Iuri Matias
62f2a2c421
Merge pull request #928 from embark-framework/bug_fix/next-steps-too-soon
...
display "Next steps" after npm install has finished
2018-09-27 18:48:51 -04:00