Commit Graph

210 Commits

Author SHA1 Message Date
Michael Bradley, Jr 314edadb57 Revert "Merge pull request #663 from embark-framework/revert-656-bug_fix/dot.embark_versions_modules"
This reverts commit 7859c384ca, reversing
changes made to a58f21c303.
2018-08-21 16:05:58 -04:00
Iuri Matias 63b01a32d4 Revert ".embark/versions modules" 2018-08-21 16:05:58 -04:00
Michael Bradley, Jr 7cffe94059 revs re: .embark/versions 2018-08-21 16:04:22 -04:00
Iuri Matias 29b0d01f22 move processes into core 2018-08-21 16:04:22 -04:00
Iuri Matias 3e6210c6d1 add missing import 2018-08-21 16:03:35 -04:00
Iuri Matias 2ed7238190 move process files into processes folder 2018-08-21 16:02:18 -04:00
Michael Bradley, Jr b0638d6585 more conservative: only modify webpack's subclass of ProcessWrapper 2018-08-21 15:47:05 -04:00
Michael Bradley, Jr 250d80e0ff env options property doesn't need to be passed to ProcessLauncher 2018-08-21 15:47:05 -04:00
Michael Bradley, Jr d3ffa90cb5 rm disabled lines 2018-08-21 15:47:05 -04:00
Michael Bradley, Jr 971ca8d3ae webpack mode should be 'none' unless embark's mode is 'production' 2018-08-21 15:47:05 -04:00
Michael Bradley, Jr 52ef230d47 comment re: use of webpack-bundle-analyzer to visualize stats.json 2018-08-21 15:47:05 -04:00
Michael Bradley, Jr a7205e47e6 disable stats gen (should be activated via cfg file and/or cli opts) 2018-08-21 15:47:05 -04:00
Michael Bradley, Jr ece251a5bf rev wp config comments 2018-08-21 15:47:05 -04:00
Michael Bradley, Jr e05918d84f stats.report/json is being written to .embark/ not dist/ 2018-08-21 15:47:05 -04:00
Michael Bradley, Jr c713c11790 disabled code + comment re: enabling source maps 2018-08-21 15:47:05 -04:00
Michael Bradley, Jr 7a1e46d3a7 make the linter happy 2018-08-21 15:47:05 -04:00
Michael Bradley, Jr e98bd27a42 rev webpack config w.r.t. webpack 4, babel 7 2018-08-21 15:47:05 -04:00
Michael Bradley, Jr c6e0623f50 write stats report,json into .embark 2018-08-21 15:47:05 -04:00
Michael Bradley, Jr fd2056da8e rm code that doesn't seem to be doing anything (after much investigation) 2018-08-21 15:47:05 -04:00
Michael Bradley, Jr d4c9321c63 rm unnecessary requires 2018-08-21 15:47:05 -04:00
Michael Bradley, Jr bb443b3882 rev HardSource 2018-08-21 15:47:05 -04:00
Michael Bradley, Jr 25be46af2c propagate env 2018-08-21 15:47:05 -04:00
Michael Bradley, Jr a3492f8dc8 babel configured to extend dapp's .babelrc 2018-08-21 15:47:05 -04:00
Anthony Laibe b679d3031a Remove code dependencies to underscore 2018-08-21 15:47:05 -04:00
Jonathan Rainville 4fedf704a8 rename to built 2018-08-21 15:30:11 -04:00
Jonathan Rainville 3700323280 log error when pipeline dies 2018-08-21 15:30:11 -04:00
Iuri Matias 5ade9e090c move asset files check from index to pipeline; index shouldn't know about the internals 2018-08-21 15:30:10 -04:00
Jonathan Rainville e9becec515 sorry senior lint 2018-06-15 15:58:19 -04:00
Jonathan Rainville 2996f51314 fix watch for simple apps 2018-06-15 15:50:23 -04:00
Jonathan Rainville 37b69b43ff fix watch by not restarting anymore and enable config for contracts 2018-06-14 09:15:31 -04:00
Jonathan Rainville 812cefafb1 kill processes when they are over 2018-06-11 15:55:57 -04:00
Jonathan Rainville 0214447476 tigger build 2018-06-08 11:20:14 -04:00
Iuri Matias c8b52a1746 fix errors handling so it doesn't attempt to continue building when there are fatal errors compiling contracts 2018-06-08 07:07:27 -04:00
Jonathan Rainville 56f25ebba1 clonflict for silent 2018-05-30 10:57:25 -04:00
Jonathan Rainville 6145c0b92c start node only when no node is present 2018-05-23 11:17:02 -04:00
Eric Mastro ab1113fc31 Fixed bug where dist folder is created before placeholder page
If dist folder did not already exist, the folder is created prior to creation of the placeholder page. Without this, the dapp files are never built.
2018-05-23 13:35:18 +10:00
Eric Mastro f10abc8da1
Merge branch 'develop' into features/show-building-placeholder 2018-05-23 09:36:11 +10:00
emizzle ab738c05f9 Moved placeholder page html to code generator and ejs template. 2018-05-23 09:33:05 +10:00
emizzle db9fbef140 Add loading placeholder page while embark is building asset files.
We could extend this further to launch the webserver with the placeholder page before building the contracts as well.
2018-05-22 15:15:34 +10:00
emizzle 46e040f861 Merged in merge conflicts from remote 2018-05-22 12:16:13 +10:00
emizzle 85919a4f6d Update to make the imports 'shim' more readable as requested. 2018-05-22 12:11:45 +10:00
Eric Mastro 295152de82
Merge branch 'develop' into features/improve-imports 2018-05-21 21:46:14 +10:00
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