Eric Mastro
d4c04bbed7
Improve dapp imports to allow alternate syntax for importing contracts
...
* Now supports alternate import statements:
* import {Token} from 'Embark/contracts';
* import * as Contracts from 'Embark/contracts';
as well as the existing syntax:
* import Token from 'Embark/contracts/Token';
* Contracts js files moved from .embark to .embark/contracts
* .embark/contracts/index.js generated on the fly which requires all contracts in .embark/contract automatically and then creates a module.exports with each of them.
2018-05-21 21:43:36 +10:00
Iuri Matias
9013af29cd
Merge pull request #438 from embark-framework/features/improve-process-wrapper
...
Improve Process Launcher
2018-05-18 16:03:13 -04:00
Iuri Matias
db6b90e77f
Merge pull request #439 from embark-framework/uv_close_fix
...
only close watcher when it's actually ready
2018-05-18 14:51:05 -04:00
Jonathan Rainville
b829643f61
use once in pipeline
2018-05-18 14:25:20 -04:00
Jonathan Rainville
c5c00fc3b4
conflict in solcW
2018-05-18 14:11:29 -04:00
Iuri Matias
01ae387c74
Merge pull request #418 from embark-framework/refactor_pipeline
...
Refactor pipeline
2018-05-16 18:15:51 -04:00
Iuri Matias
b1fab3e77c
remove console logs
2018-05-16 18:15:23 -04:00
Jonathan Rainville
1ffc9ffe08
enable events calling for request and on
2018-05-16 16:41:25 -04:00
Jonathan Rainville
953ce6659e
reorg subscribe to message method
2018-05-16 16:41:25 -04:00
Jonathan Rainville
1c125a019c
conflict in en.json
2018-05-16 16:41:15 -04:00
Jonathan Rainville
3c0fda5a40
add eventWrapper not tested
2018-05-16 16:40:17 -04:00
Jonathan Rainville
36850895cf
add process wrapper to handle logs
2018-05-16 16:40:17 -04:00
Iuri Matias
00e3af9012
lint is king
2018-05-16 15:18:12 -04:00
Iuri Matias
8ae6c6a646
simplify buildContracts and buildWeb3JS methodsgst
2018-05-16 15:07:47 -04:00
Iuri Matias
44d6cc32df
remove old remove listener; fix callback
2018-05-16 13:56:23 -04:00
Iuri Matias
b7fc3f9054
refactor write contracts
2018-05-16 12:48:17 -04:00
Iuri Matias
d8a1894803
remove extra method
2018-05-16 10:09:46 -04:00
Iuri Matias
6544c2a999
move contracts generation from pipeline to code generator module
2018-05-16 10:00:56 -04:00
Iuri Matias
7271b00cf4
make file changes in the pipelins
2018-05-15 18:21:00 -04:00
Iuri Matias
1f6e386d9b
build web3js generation from pipeline to code_generator
2018-05-15 18:05:44 -04:00
Iuri Matias
760bd984d8
only close watcher when it's actually ready
2018-05-15 17:20:43 -04:00
Jonathan Rainville
6bff25f3b6
hotfix hide logs of hard-source
2018-05-15 15:01:38 -04:00
Iuri Matias
26187cfa1d
add missing default from
2018-05-11 16:18:44 -04:00
Iuri Matias
0b70f32bb9
initial work for i18n
2018-05-10 15:01:34 -04:00
Jonathan Rainville
1bb808a767
Merge pull request #404 from embark-framework/chore/webpack-optimization
...
Add a plugin that caches to increase file processing speed
2018-05-10 14:46:52 -04:00
Jonathan Rainville
59c61d6be1
hode messages from plugin
2018-05-10 14:45:35 -04:00
Jonathan Rainville
fbd36b58e5
ignore tmp files
2018-05-10 13:42:02 -04:00
Jonathan Rainville
986ef520fc
add plugin that caches
2018-05-10 12:22:58 -04:00
Jonathan Rainville
a35ce6f73e
pass normalizeInput
2018-05-10 11:14:25 -04:00
Jonathan Rainville
83f97407e8
touch ups
2018-05-10 10:48:06 -04:00
Jonathan Rainville
31e82e31d0
do a process for each file
2018-05-10 10:43:10 -04:00
Jonathan Rainville
ed1d0ce67c
make only webpack in a separate process
2018-05-10 10:10:09 -04:00
Jonathan Rainville
dc7a002c1e
improve logging
2018-05-08 11:31:47 -04:00
Jonathan Rainville
7d64b705a3
touch ups
2018-05-08 09:52:06 -04:00
Jonathan Rainville
a03777dc65
async buildContractJs
2018-05-08 09:41:19 -04:00
Jonathan Rainville
4ec7fbb9db
async buildContracts
2018-05-08 09:36:50 -04:00
Jonathan Rainville
2dd9e8f2ea
async contract write
2018-05-08 09:25:37 -04:00
Jonathan Rainville
af38383e0f
lint
2018-05-08 09:04:53 -04:00
Jonathan Rainville
1fe6f4ee2c
more async
2018-05-08 09:02:46 -04:00
Jonathan Rainville
1d5f015aaa
async some functions
2018-05-08 08:54:10 -04:00
Jonathan Rainville
e85d8b1ae5
fix file writing, now working
2018-05-07 16:33:30 -04:00
Jonathan Rainville
d2d29be334
fix getting web3 location and provider code
2018-05-07 15:48:01 -04:00
Jonathan Rainville
148a74f3d6
make pipeline js in a different process (still doesnt work)
2018-05-07 14:30:30 -04:00
Jonathan Rainville
3266f20a0f
fix glob in windows
2018-05-02 15:48:06 -04:00
Jonathan Rainville
0dd2938abe
reset watchers after build to make sure files remain watch
2018-04-27 16:34:13 -04:00
Jonathan Rainville
3ecb195b38
move import list out of loop to accelerate build process
2018-04-09 16:29:49 -04:00
Jonathan Rainville
f37b09a371
fix build process on windows
2018-04-09 16:14:07 -04:00
Iuri Matias
2ec7589f90
refactor to use dappPath
2018-04-02 15:30:16 -04:00
Iuri Matias
e0db5ed61a
refactor to use dappPath
2018-04-02 15:06:56 -04:00
Iuri Matias
d5a21d579c
fallback to shelljs if pwd is empty (windows issue)
2018-03-26 15:08:07 -04:00
Iuri Matias
59678dd1fa
remove commented out lines
2018-02-28 18:23:07 -05:00
Iuri Matias
3c1156fc64
fix function identation
2018-02-28 18:14:41 -05:00
Iuri Matias
5ee99a1e5a
refactor: join duplicated code
2018-02-28 18:09:10 -05:00
Iuri Matias
62d4dd456d
restore pipeline plugin
2018-02-28 17:45:39 -05:00
Iuri Matias
349807496a
improve directory copying
2018-02-23 20:36:11 -05:00
Iuri Matias
bb00987427
remove unneded msg when processing files in development
2018-02-23 19:37:42 -05:00
Iuri Matias
511b61c6c5
fix preset requires
2018-02-23 18:24:46 -05:00
Iuri Matias
8d255137d9
fix js error reporting
2018-02-23 14:04:08 -05:00
Iuri Matias
20f4e7621b
fix imports issue
2018-02-22 14:56:55 -05:00
Iuri Matias
9cd8449014
fix directory copying
2018-02-22 11:45:22 -05:00
Iuri Matias
ed530e8511
fix issue in which some files were not triggered change event
2018-02-21 14:04:08 -05:00
Iuri Matias
9df0ee9554
fix issue in which some files were not triggered change event
2018-02-21 13:51:48 -05:00
Iuri Matias
3b60793b25
remove old jshint directives
2018-02-07 19:49:54 -05:00
Iuri Matias
d09b94a5db
refactor pipeline to remove duplicated code
2018-01-17 15:29:34 -05:00
Iuri Matias
ed8fe3a951
remove console logs
2018-01-17 14:55:22 -05:00
Iuri Matias
f4d2f5346d
import react bootstrap
2018-01-17 13:16:43 -05:00
Iuri Matias
4d1368f388
fix lint; update tests
2018-01-17 10:04:11 -05:00
Iuri Matias
be1c5badd8
improve full support for es6
2018-01-16 19:17:52 -05:00
Iuri Matias
4ab01744c6
update demo app
2018-01-12 16:33:16 -05:00
Iuri Matias
728aea6e04
fix imports issue
2018-01-12 14:21:36 -05:00
Iuri Matias
82681fec8f
support versioning ipfs-api
2018-01-10 11:15:32 -05:00
Iuri Matias
59642b4160
fix web3 versioning
2018-01-10 10:43:25 -05:00
Iuri Matias
ae28df8f8e
display error & warning when choosing an unexistant file
2018-01-03 13:44:35 -05:00
Iuri Matias
1c38f3fb89
move lib
2017-12-30 18:25:59 -05:00
Iuri Matias
76be683ed2
refactor webserver
2017-12-18 09:37:16 -05:00
Iuri Matias
8360295ed0
warn if server is already running or not
2017-12-17 19:18:35 -05:00
Iuri Matias
113bb25142
add webserver start/stop cmd
2017-12-17 18:34:41 -05:00
Iuri Matias
158fb1414a
re-use same package if already downloaded
2017-12-16 17:36:52 -05:00
Iuri Matias
f90321a23e
warn user if attempting to download package without internet connection
2017-12-16 17:05:37 -05:00
Iuri Matias
b764ecf4d6
fix logger call
2017-12-16 12:48:59 -05:00
Iuri Matias
9d78f995e8
refactor download
2017-12-16 12:44:52 -05:00
Iuri Matias
a216aa980f
extract tar extraction code
2017-12-16 12:23:02 -05:00
Iuri Matias
8e62a1f2e9
clean up
2017-12-16 12:01:45 -05:00
Iuri Matias
e88b51bdfd
add err arg
2017-12-15 22:06:33 -05:00
Iuri Matias
510bc2c542
refactor httpsGet
2017-12-15 22:05:38 -05:00
Iuri Matias
bee4d0e1f2
extract file download
2017-12-15 21:53:11 -05:00
Iuri Matias
34cec58f32
cleanup
2017-12-14 15:27:19 -05:00
Iuri Matias
2c8f049f4a
remove unused import
2017-12-13 19:51:34 -05:00
Iuri Matias
bed7e7afc6
clean up
2017-12-13 19:49:59 -05:00
Iuri Matias
9211279f8e
fix eslint issues
2017-12-13 19:49:05 -05:00
Iuri Matias
ccb77051f8
import bootstrap in test_app
2017-12-13 19:24:20 -05:00
Iuri Matias
0b00f99f09
include ipfs lib in embarkjs
2017-12-13 15:53:29 -05:00
Iuri Matias
3ddd492e83
refactor building web3 obj
2017-12-13 15:53:29 -05:00
Iuri Matias
c160ac616f
refactor building web3 obj
2017-12-13 15:53:29 -05:00
Iuri Matias
a174b94702
move basic import so it's always available
2017-12-13 15:53:29 -05:00
Iuri Matias
99a66a05ef
import web3 object on contract import
2017-12-13 15:53:29 -05:00
Iuri Matias
b7b5fae2c8
imports with shared web3 object
2017-12-13 15:53:29 -05:00
Iuri Matias
e2cbc2a488
fix linting issues
2017-12-05 18:14:46 -05:00
Iuri Matias
6157968c5e
update default solc version; update spec; fix issue with compiler warnings
2017-10-17 06:51:52 -04:00
Iuri Matias
a9e63069fb
fix connecting to correct provider
2017-10-07 15:20:51 -04:00