215 Commits

Author SHA1 Message Date
Anthony Laibe
634fb63b71 File Editor 2018-09-30 12:14:54 -04:00
Anthony Laibe
e6e9fdc2bc File explorer 2018-09-30 12:13:08 -04:00
Anthony Laibe
e30bdf1222 Remove last fiddle, and use code to compile 2018-09-30 12:08:53 -04:00
emizzle
a9071f714c Fiddle file stored in filesystem
Fiddles are now stored in the filesystem so they can be preserved across page reloads, but also so that contracts deployed via fiddles can have their source code shown.

Fiddles deployed as contracts now fully work with existing contract list UI and functionality. Fiddle deployed contracts are listed in a separate section in the UI.

Current limitation is that only single contracts per file are supported. If the fiddle contains multiple contracts, it’s currently not supported.
2018-09-30 12:08:41 -04:00
Anthony Laibe
162b610df8 Use path embark-api 2018-09-30 11:06:14 -04:00
Iuri Matias
a7f1d3c21e add event and API endpoint to get the contract sourcecode 2018-09-30 10:53:43 -04:00
Iuri Matias
a41bdf1b4a output contracts json even if the pipeline is empty 2018-09-28 13:22:03 -04:00
Anthony Laibe
0cb12e0591 Clean build dir before starting 2018-09-13 14:07:14 +01:00
Jonathan Rainville
3d37fe6362 catch webserver config and restart it 2018-09-07 14:54:15 -04:00
Michael Bradley, Jr
7d29e53048 remove stray ? in webpack.config.js 2018-09-05 16:49:26 -05:00
Jonathan Rainville
56147ba200 fix order and remove ? 2018-09-05 11:47:53 -04:00
Jonathan Rainville
047286b46d skip webpack if no js files 2018-09-05 11:38:09 -04:00
Michael Bradley, Jr
b67aa8cc2d best practice re: early return w/ callback invocation 2018-09-04 08:20:27 -05:00
Michael Bradley, Jr
7d65c2b0cd rename placeholder event: 'build-placeholder' 2018-09-04 07:35:53 -05:00
Michael Bradley, Jr
03c51fba46 pipeline fires placeholder event only after first build 2018-09-03 10:17:45 -05:00
Michael Bradley, Jr
de0034c1fc formatting -- pipeline.js 2018-09-03 10:17:45 -05:00
Michael Bradley, Jr
6ee195aba9 make webserver module responsible for building placeholder 2018-09-03 10:17:45 -05:00
Michael Bradley, Jr
12d37f8f68 don't load the CompressionPlugin by default 2018-08-28 15:50:40 -05:00
Michael Bradley, Jr
fccdee35ed don't have webpack produce a .gz of output by default 2018-08-28 15:45:11 -05:00
Michael Bradley, Jr
8fa5bddde5 rev comment re: webpack-bundle-analyzer 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr
6149921562 rev comments 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr
65d2153638 prefer early return for config.stats tests 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr
9e62d9c1a9 isDir test should support possible use of '\' by devs on Windows 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr
8bec33177e rm some else clauses 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr
f4b11ce29f explanatory comment 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr
382122c6d9 mapCb -> eachCb 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr
04a5e3335d self.logger -> self.logger.error 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr
f66552b044 errorMessage helper moved to utils 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr
c8cd5f4229 consistent indentation 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr
46c4aea520 rev comment re: NODE_PATH in webpack config 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr
cec7dc5750 DRY resolve 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr
792a8f57eb consistent handling of error messages, no double reporting 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr
421927d815 paths more DRY 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr
67147f2cad make the linter happy 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr
7fb9c552dc assetFileWrite no longer processes files corresponding to .js keys 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr
0161a9b402 "writing file" messages for files that will be written by webpack 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr
e1fb746aa7 relocate webpack.config.js under lib/pipeline/ 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr
53a4fd2089 rm redundant setup of env vars 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr
8be1090a44 prefer joinPath to +'ing strings together 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr
b3c8e5fa45 missing spaces 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr
3ad834d93d rev comment to reflect code changes 2018-08-24 15:04:15 -05:00
Michael Bradley, Jr
35f92f2ae8 more DRY re: config 2018-08-24 15:04:15 -05:00
Michael Bradley, Jr
04fcb1510a rev comment 2018-08-24 15:04:15 -05:00
Michael Bradley, Jr
1f56f717b8 'running webpack' message should indicate config name 2018-08-24 15:04:15 -05:00
Michael Bradley, Jr
7291fd1187 can use this, don't need self 2018-08-24 15:04:15 -05:00
Michael Bradley, Jr
963ecc0d92 formatting 2018-08-24 15:04:15 -05:00
Michael Bradley, Jr
878186660b change timing of "writing file" messages 2018-08-24 15:04:15 -05:00
Michael Bradley, Jr
f654c0a013 single webpack run 2018-08-24 15:04:15 -05:00
Michael Bradley, Jr
e9ec968598 whitespace 2018-08-24 15:04:15 -05:00
Michael Bradley, Jr
6282e092f1 note/question 2018-08-24 15:04:15 -05:00