79 Commits

Author SHA1 Message Date
Evan Wallace
7215f3433a add a cache method for js plugins 2020-11-12 00:14:05 -08:00
Evan Wallace
01b78a9caa avoid import for native node modules 2020-11-11 17:31:51 -08:00
Evan Wallace
a370d53517 fix #510: add the "--keep-names" option 2020-11-11 02:38:13 -08:00
Evan Wallace
6e8d315a82 fix #496: add a "text" property to output files 2020-11-07 04:25:56 -08:00
Evan Wallace
f7c5465628 cleanup after landing #505 2020-11-05 11:55:00 -08:00
Mathieu Dutour
dc062cb1c0 the executable path should be bin/eslint (#505) 2020-11-05 11:38:13 -08:00
Evan Wallace
1f0a0036e8 remove comment, not actually sure if 0.5s is right 2020-11-03 13:37:56 -08:00
Evan Wallace
8e977461f3 cleanup after landing #494 2020-11-03 13:16:21 -08:00
Ryan Tsao
6c3de1259d Use JS bin wrapper if yarn berry detected during install (#494) 2020-11-03 12:24:41 -08:00
Evan Wallace
67803d287b add tests for typescript type definitions (#499) 2020-11-01 15:04:45 -08:00
Evan Wallace
43081ce9a8 allow an empty plugin array in "buildSync" (#499) 2020-11-01 13:19:09 -08:00
Tommaso De Rossi
676df72569 fix: plugins should be optional (#500) 2020-11-01 13:12:16 -08:00
Evan Wallace
05e64d6fe3 fix omission of "outbase" in js api (#471) 2020-10-31 23:03:04 -07:00
Evan Wallace
38c5be5b53 add a plugin api (#111) 2020-10-31 22:11:47 -07:00
Evan Wallace
4c00b53703 remove the strict option entirely 2020-10-28 07:42:57 -07:00
Evan Wallace
aa00fff4ad remove "--strict" for "??" and "?." 2020-10-28 07:42:55 -07:00
Evan Wallace
2c321ef12d rename transform result "js" => "code" 2020-10-28 07:39:56 -07:00
Evan Wallace
e8f368cb72 fix #483: add "tsconfigRaw" to transform API 2020-10-27 19:34:34 -07:00
Evan Wallace
14ac0c2bb5 expose "version" in js api 2020-10-26 01:57:03 -07:00
Evan Wallace
523c9ad16b fix #485: change the default charset to ascii-only 2020-10-24 20:14:11 -07:00
Evan Wallace
b5fabe99e7 fix #70: implement the "--ascii-only" flag 2020-10-24 05:14:02 -07:00
Evan Wallace
3fde369dad comments about "write: true" 2020-10-21 13:11:13 -07:00
Evan Wallace
09641c18f9 fix #478: add "--avoid-tdz" workaround for safari 2020-10-20 18:12:10 -07:00
Evan Wallace
dd62d98baa cleanup after #342 2020-10-18 03:30:55 -07:00
Caleb Eby
cfaedaeeb3 Add ESM build for browsers (#342) 2020-10-18 02:07:44 -07:00
Evan Wallace
02c6627536 fix #451: implement "--inject" 2020-10-18 00:05:18 -07:00
Evan Wallace
f2bb75e6aa fix #459: add a "public path" option 2020-10-17 17:03:40 -07:00
IU
2cb5f40534 fix #440: wrong cli flag when set mainFields in JS (#441) 2020-10-07 22:40:15 -07:00
Evan Wallace
05547323c8 move api flag errors inside try/catch 2020-10-07 17:22:14 -07:00
Evan Wallace
3f2b779dbb move transform input errors inside try/catch 2020-10-07 17:11:46 -07:00
Evan Wallace
ef4a9286ac add "css" loader to typescript types 2020-09-26 23:52:52 -07:00
Evan Wallace
0c22da3542 revert #91 to try to fix #407 2020-09-23 10:06:58 -07:00
Evan Wallace
758b25f8e2 validate host and binary versions (#407) 2020-09-22 16:53:06 -07:00
Evan Wallace
07f1e83c96 allow "undefined" in the js api again 2020-09-12 11:13:11 -07:00
Evan Wallace
25321ae2a9 add main fields and prefer "main" for node (#363) 2020-09-11 17:02:11 -07:00
Evan Wallace
7de7ba4086 fix a typescript type error 2020-09-11 15:09:32 -07:00
Evan Wallace
c29d7d2613 fix #381: better errors for invalid arguments 2020-09-11 14:41:59 -07:00
Evan Wallace
b4a06625b0 import error pretty-printing from plugins branch 2020-09-11 10:58:24 -07:00
Evan Wallace
974a9d2ae1 changes to stdio protocol from plugins branch 2020-09-11 10:58:21 -07:00
Evan Wallace
b23bee397b fix #109: allow "--format" without "--bundle" 2020-09-06 15:40:39 -07:00
Evan Wallace
091f411370 add a strict mode for optional chaining 2020-09-02 23:20:35 -07:00
Evan Wallace
11ea03b234 fix #347: try "npm install" before downloading 2020-08-25 19:53:34 -07:00
Evan Wallace
894d835158 fix #319: use "npm install" if download fails 2020-08-07 14:49:47 -07:00
Evan Wallace
fd6858cc7d speed up repeated installs with a downloaded cache 2020-08-03 17:23:57 -07:00
Evan Wallace
4df1242c90 symlinks don't work on windows 2020-07-28 18:30:28 -07:00
Evan Wallace
931ded8b58 fix #285: add support for 32-bit windows 2020-07-28 18:25:46 -07:00
Evan Wallace
02f54dce09 perf: file system for transform api, not stdio 2020-07-27 17:45:08 -07:00
Evan Wallace
cf1139ac40 fix #291: make get request to custom npm registry 2020-07-26 21:06:54 -07:00
Evan Wallace
7c5dddfe3e move install script to typescript directory 2020-07-26 20:34:46 -07:00
Evan Wallace
07604a422b make transform() options optional 2020-07-25 14:34:39 -07:00