Commit Graph

412 Commits

Author SHA1 Message Date
Jeroen Engels
908cec2fee Extract processOpts to be an argument 2021-10-01 23:42:26 +02:00
Jeroen Engels
bd7926257d Use verbose mode for transforms when --verbose is used 2021-10-01 23:31:23 +02:00
Jeroen Engels
4845e5d9ac Throw an error instead of using process.exit 2021-10-01 23:31:23 +02:00
Jeroen Engels
c33c280e09 Throw an error when input is not a JS/Elm file 2021-10-01 23:31:11 +02:00
Jeroen Engels
6e36e78637 Add a verbose mode 2021-10-01 23:10:59 +02:00
Jeroen Engels
09027a3834 Don't print the stack trace when errors happen 2021-10-01 23:07:20 +02:00
Jeroen Engels
1bb4a13ce0 Exit with error code when something goes wrong 2021-10-01 23:05:42 +02:00
Jeroen Engels
39d83a0751 Export a simplified run function in the index.js 2021-10-01 23:00:55 +02:00
Jeroen Engels
fd4ef3f055 Duplicate run function and use in bin.js 2021-10-01 22:59:13 +02:00
Jeroen Engels
84e9c0f95d Remove binary related things from index.js, start execution from bin.js 2021-10-01 18:35:38 +02:00
Jeroen Engels
aca18d1433 Add bin.js 2021-10-01 18:31:43 +02:00
Jeroen Engels
ea0cb5ea78 Expose run 2021-10-01 18:22:49 +02:00
Jeroen Engels
f4e923fdab Formatting 2021-10-01 18:14:41 +02:00
Jeroen Engels
37aefb39e9 Add console.log argument 2021-10-01 18:09:43 +02:00
Jeroen Engels
2099900839 Move inputFilePath into the options 2021-10-01 18:03:14 +02:00
Jeroen Engels
820141a6a0 Rename field 2021-10-01 18:00:39 +02:00
Jeroen Engels
88d34d3a75 Pass options from program 2021-10-01 17:59:14 +02:00
Matthew Griffith
a775035631
Merge pull request #29 from mdgriffith/dependabot/npm_and_yarn/ini-1.3.8
Bump ini from 1.3.5 to 1.3.8
2021-09-29 21:38:01 -04:00
Matthew Griffith
3879716e25
Merge pull request #30 from mdgriffith/dependabot/npm_and_yarn/node-notifier-8.0.1
Bump node-notifier from 8.0.0 to 8.0.1
2021-09-29 21:37:51 -04:00
Matthew Griffith
c3b874d192
Merge pull request #41 from mdgriffith/dependabot/npm_and_yarn/ua-parser-js-0.7.28
Bump ua-parser-js from 0.7.21 to 0.7.28
2021-09-29 21:37:29 -04:00
Matthew Griffith
f4ca3337ec
Merge pull request #42 from mdgriffith/dependabot/npm_and_yarn/hosted-git-info-2.8.9
Bump hosted-git-info from 2.8.8 to 2.8.9
2021-09-29 21:37:12 -04:00
Matthew Griffith
25f9947d64
Merge pull request #44 from mdgriffith/dependabot/npm_and_yarn/glob-parent-5.1.2
Bump glob-parent from 5.1.1 to 5.1.2
2021-09-29 21:36:58 -04:00
Matthew Griffith
ba2f1a4b81 0.2.3 2021-09-29 18:41:56 -04:00
Matthew Griffith
ee9a956c9f don't use in, use hasOwnProperty to avoid weird collisions 2021-09-29 18:41:28 -04:00
Matthew Griffith
9922ab2a94 remove built in benchmarking options for now 2021-09-27 11:32:50 -04:00
Matthew Griffith
d1cf102979 bump to 0.2.1 2021-09-25 10:42:28 -04:00
Matthew Griffith
c5651cc40c whoops, forgot to enable list replacements 2021-09-25 10:42:02 -04:00
Matthew Griffith
c23fb82056 Update package.json to new version 2021-09-25 10:40:27 -04:00
Matthew Griffith
f150167dbb add results for latest run 2021-09-24 16:56:12 -04:00
Matthew Griffith
203f251dd2 Merge branch 'master' of https://github.com/mdgriffith/elm-optimize-level-2 2021-09-24 10:25:19 -04:00
Matthew Griffith
966dd512e2 chroemdriver dep has to be 93 2021-09-24 10:25:05 -04:00
Matthew Griffith
9dacb0cddd move --O3 option up a bit 2021-09-24 10:24:06 -04:00
Matthew Griffith
bd4c1e8cac move emptyOpts to types 2021-09-24 10:23:52 -04:00
Matthew Griffith
4d9c38ea9f use regex instead of replaceAll 2021-09-24 09:36:16 -04:00
Matthew Griffith
88000c3e75 add modified benchmark suite for elm-markdown 2021-09-23 18:16:23 -04:00
Matthew Griffith
7abd8b5542 remove unused imports 2021-09-23 18:11:16 -04:00
Matthew Griffith
0430014aa4 update elm-markdown to latest 2021-09-23 18:11:03 -04:00
Matthew Griffith
7d15204f92 make fastCurriedFns a direct transformation 2021-09-23 17:55:33 -04:00
Matthew Griffith
83e1065d06 update chromedriver 2021-09-23 17:53:20 -04:00
Matthew Griffith
0a95ada9da move simple replacements to just use the files we use for fast fns 2021-09-23 17:51:24 -04:00
Robin Heggelund Hansen
fe4726e173 Remove V8JitLog browser from default test runners. Make sure new elm-css realworld test works as intended. 2021-09-17 09:34:21 +02:00
Robin Heggelund Hansen
444a90936a Finish test suite with button component and a test layout. 2021-09-17 09:34:20 +02:00
Robin Heggelund Hansen
4cc6541afd Add TextInput to benchmark, inspired from real world code base. 2021-09-17 09:34:20 +02:00
Robin Heggelund Hansen
31dae24951 Add boilerplate for new testcase. Seems there is a bug somewhere, as benchmark doesnt complete... 2021-09-17 09:34:20 +02:00
Matthew Griffith
f5c540e3e2
Merge pull request #53 from robinheghan/add-o3-flag
Add O3 flag to enable optimizations that increase asset size
2021-09-13 09:48:15 -04:00
Robin Heggelund Hansen
d14e6e3104 Add -O3 flag to enable optimizations that increase asset size. Currently, thats just the update record pass. 2021-09-10 20:09:38 +02:00
Robin Heggelund Hansen
08629cf44d Make use of commander option parsing instead of hand-crafted solution. 2021-09-10 19:42:48 +02:00
Robin Heggelund Hansen
fd0f08e43e Reduce asset size impact of record updates transform. 2021-09-10 12:41:57 +02:00
Matthew Griffith
f24d26f84c
Merge pull request #50 from amitaibu/patch-1
Fix small typo in minification docs
2021-09-02 09:13:21 -04:00
Robin Heggelund Hansen
7f7793e72d Include replacements in compiled output. 2021-08-20 19:57:47 +02:00