jashkenas--coffeescript/test
Geoffrey Booth f51c1a150b Option to transpile with Babel (#4697)
* Upgrade Babeli (now babel-minify) which fixes the bug that was forcing us to run Babel twice for transpilation

* Add --transpile option (WIP)

* Node API always compiles a string, so it doesn’t need the option to pass a path to an options file, it can always just pass an object to `transpile`; get `transpile` working with `eval`

* Not allowing argument to `--transpile` so don’t need to cover so many cases

* Don’t need to worry about `sourceMaps` option to pass to Babel, `inputSourceMap` overrides it

* Rewrite Webpack test to use Node API

* Make the compiler safe again for browsers and Webpack/Browserify

* Node version of CoffeeScript.compile passes reference to Babel if transpile is requested

* Test Node API for transpile option

* Test for merged source maps

* Test for Node API error message

* Only stop searching for Babel options if a package.json has a truthy "babel" key

* Update docs
2017-09-15 06:58:18 -07:00
..
importing [CS2] Add #! support for executable scripts on Linux. (#3946) 2017-07-19 16:25:06 -07:00
support [CS2] Fix v3 source map (#4671) 2017-09-01 01:06:45 -07:00
argument_parsing.coffee Option to transpile with Babel (#4697) 2017-09-15 06:58:18 -07:00
arrays.coffee [CS2] Fix #4260 and #1349: Splat error with soak properties or expressions (#4644) 2017-08-27 15:11:14 -07:00
assignment.coffee [CS2] Fix destructuring bugs #4673 and #4657 (#4683) 2017-09-07 10:06:35 -07:00
async.coffee [CS2] Fix async tests (#4680) 2017-09-01 12:26:47 -07:00
booleans.coffee renaming wordy test titles. 2011-04-23 13:35:15 -04:00
classes.coffee [CS2]: Fix #4591: multiple accesses after super (#4592) 2017-07-13 13:15:18 -07:00
cluster.coffee Fixes #2737, fix fork() for both .js and .coffee, revised. 2013-03-18 11:46:54 +08:00
comments.coffee [CS2] Fix #4629: interpolations (whether in strings or CSX tags) with only comments (#4659) 2017-08-23 23:34:59 -07:00
compilation.coffee Option to transpile with Babel (#4697) 2017-09-15 06:58:18 -07:00
comprehensions.coffee Allow `@` values as indices in `for` expressions 2016-12-29 19:00:00 +00:00
control_flow.coffee Fix parenthesized conditions in if-else assignment (#4519) 2017-04-19 00:10:20 -07:00
csx.coffee [CS2] CSX spread attributes: <div {props…} /> (#4607) 2017-08-02 21:00:39 -07:00
error_messages.coffee [CS2] Fix async tests (#4680) 2017-09-01 12:26:47 -07:00
eval.coffee Fix issue #3498 2015-01-05 15:40:04 -05:00
exception_handling.coffee [CS2] Fix #3709, #3789: ‘throw’ an ‘if’, ‘for’, ‘switch’, ‘while’ (#4664) 2017-08-25 11:11:10 -07:00
formatting.coffee Fix #1768: Ignore space after `::` (#4670) 2017-08-30 22:43:17 -07:00
function_invocation.coffee [CS2] Fix #4631: Expansion that becomes rest parameter causes runtime error (#4634) 2017-08-17 13:13:52 -07:00
functions.coffee [CS2] Fix destructuring bugs #4673 and #4657 (#4683) 2017-09-07 10:06:35 -07:00
generators.coffee [CS2] Compile all super calls to ES2015 super (#4424) 2017-02-04 12:03:17 -08:00
helpers.coffee Replace `last array` helper with `[..., last] = array` 2015-02-07 21:50:41 +01:00
importing.coffee renaming import test files to avoid risking the disfavor of .gitignore 2013-06-02 10:57:18 +04:00
interpolation.coffee Fix #3795: Never generate invalid strings and regexes 2015-02-05 17:23:03 +01:00
invocation_argument_parsing.coffee [CS2] Add #! support for executable scripts on Linux. (#3946) 2017-07-19 16:25:06 -07:00
javascript_literals.coffee [CS2] Comments (#4572) 2017-08-02 19:34:34 -07:00
literate.litcoffee [CS2] Literate CoffeeScript without dependencies (#4509) 2017-04-17 23:30:40 -07:00
literate_tabbed.litcoffee [CS2] Literate CoffeeScript without dependencies (#4509) 2017-04-17 23:30:40 -07:00
location.coffee [CS2] Fix #4467: tagged template literal call (#4601) 2017-07-05 13:58:36 -07:00
modules.coffee [CS2] Comments (#4572) 2017-08-02 19:34:34 -07:00
numbers.coffee Treat Infinity and NaN as reserved words 2016-03-06 11:41:48 +01:00
objects.coffee Fix #4579: postfix for in object literals (#4581) 2017-06-20 21:50:50 -07:00
operators.coffee [CS2] Compile class constructors to ES2015 classes (#4354) 2017-01-12 21:55:30 -08:00
option_parser.coffee [CS2] Add #! support for executable scripts on Linux. (#3946) 2017-07-19 16:25:06 -07:00
parser.coffee Properly update location data when setting a call to use `new` 2017-02-16 20:43:19 -08:00
ranges.coffee [CS2] Fix #4631: Expansion that becomes rest parameter causes runtime error (#4634) 2017-08-17 13:13:52 -07:00
regexps.coffee [CS2] Support for CSX - equivalent of JSX (#4551) 2017-06-06 23:33:46 -07:00
repl.coffee [CS2] Don’t require async/await support to run `coffee` (#4679) 2017-09-01 12:19:15 -07:00
scope.coffee [CS2] Restore bound class methods via runtime check to avoid premature calling of bound method before binding (#4561) 2017-06-14 15:11:53 -07:00
slicing_and_splicing.coffee [CS2] Fix #4631: Expansion that becomes rest parameter causes runtime error (#4634) 2017-08-17 13:13:52 -07:00
soaks.coffee added descriptions to tests which only had Issue numbers 2015-02-23 16:39:05 -07:00
sourcemap.coffee [CS2] Fix v3 source map (#4671) 2017-09-01 01:06:45 -07:00
strict.coffee merge master 2017-04-20 14:41:28 -05:00
strings.coffee [CS2] Support for CSX - equivalent of JSX (#4551) 2017-06-06 23:33:46 -07:00
tagged_template_literals.coffee [CS2] Fix #4467: tagged template literal call (#4601) 2017-07-05 13:58:36 -07:00