Sindre Sorhus
bbf5a8f4aa
modularize util.isAbsolute
...
by using a polyfill of the Node 0.12 `path.isAbsolute()` method
https://github.com/sindresorhus/path-is-absolute
2015-02-17 10:17:04 +07:00
Sindre Sorhus
fc663d54fa
modularize the sourceMapToComment method
...
https://github.com/sindresorhus/source-map-to-comment
2015-02-17 08:46:23 +07:00
Sebastian McKenzie
21909cee76
rename runtime CLI flag to externalHelpers
2015-02-16 01:01:29 +11:00
Sebastian McKenzie
1d34d03ac8
rename to babel
2015-02-15 18:09:05 +11:00
Sebastian McKenzie
0e1743738e
add auxilary comment option to prepend to helpers - #777
2015-02-14 16:53:41 +11:00
Sebastian McKenzie
492555bb4e
fix linting errors
2015-02-14 12:54:44 +11:00
Sebastian McKenzie
1627e2f47e
use sourceFileName instead of sourceMapName - fixes #775
2015-02-14 00:44:32 +11:00
Sebastian McKenzie
e195d6ca55
use relative location when generating the sourceMapName in bin/6to5 for directories - fixes #775
2015-02-13 23:08:47 +11:00
Sebastian McKenzie
1909a16dc7
copy over files that we can't compile when specifying a directory in bin/6to5
2015-02-12 16:35:41 +11:00
Ryunosuke SATO
69bbe89616
Switch short option of --module-ids from -i to -M
...
`-i` conflicts with `--optional` option.
```
$ bin/6to5/index.js --help | grep "\-i,"
-i, --optional [list] List of optional transformers to enable
-i, --module-ids Insert module id in modules
```
2015-02-07 16:37:38 +09:00
Sebastian McKenzie
f04a734838
fix module ids shorthand arg - fixes #696
2015-02-05 22:19:39 +11:00
Sebastian McKenzie
f365cc1248
more internal rearchitecturing
2015-02-05 14:05:15 +11:00
Sebastian McKenzie
c228d76e44
add 6to5-minify
2015-02-04 08:23:49 +11:00
Sebastian McKenzie
4c94941ceb
force .js extension when writing files to directories with 6to5
2015-02-03 22:25:27 +11:00
Sebastian McKenzie
389914c427
add use-strict to valid node flags - fixes #667
2015-02-03 22:21:55 +11:00
Sebastian McKenzie
c7f5715d8e
fix boolean stripping from 6to5-node - fixes #679
2015-02-03 22:21:09 +11:00
Sebastian McKenzie
0da4303358
remove automatic --harmony flag from 6to5-node
2015-02-02 21:14:23 +11:00
Sebastian McKenzie
27da6de723
add back runtime - fixes #651
2015-02-01 16:38:13 +11:00
Sebastian McKenzie
12bee73070
restructure internal indexes a bit
2015-01-31 18:04:57 +11:00
Sebastian McKenzie
010ca83d0d
improved relative resolution handling for bin/6to5 - closes #643
2015-01-30 16:59:04 +11:00
Stefan Penner
9ddf411f2c
cleanup: require explicit lodash modules needed
2015-01-28 23:52:17 -05:00
Sebastian McKenzie
a3d7a29961
add support for using optional in 6to5-node
2015-01-29 11:52:44 +11:00
Sebastian McKenzie
2f79bee367
use either print or eval in 6to5-node - closes #591
2015-01-27 07:07:05 +11:00
Sebastian McKenzie
f256e18182
add -L arg to loose in the CLI
2015-01-27 06:40:57 +11:00
Sebastian McKenzie
0a851ced19
remove runtime option
2015-01-26 15:52:23 +11:00
Sebastian McKenzie
b21b0e753e
add back optional brackets around transformers in 6to5 --help
2015-01-26 13:50:44 +11:00
Sebastian McKenzie
526e743c58
fix 6to5-node blacklist
2015-01-26 12:01:03 +11:00
Sebastian McKenzie
274b58573b
change -l whitelist flag to -w in bin/6to5-node
2015-01-26 00:14:19 +11:00
Sebastian McKenzie
585e21a734
add whitelist and blacklist options to 6to5-node - closes #588
2015-01-25 17:26:51 +11:00
Sebastian McKenzie
914ef4c5f5
remove 6to5-node repl console.log
2015-01-24 00:21:15 +11:00
Sebastian McKenzie
4fee58e7bc
remove includeRegenerator option
2015-01-23 23:05:35 +11:00
Sebastian McKenzie
bff150f69d
fix filenameRelative name and remove amdModuleIds
2015-01-23 09:39:42 +11:00
Sebastian McKenzie
dc209417e7
move internal tools from bin to tools
2015-01-23 09:39:22 +11:00
Sebastian McKenzie
51b6946a98
remove unlink event watching in bin/6to5
2015-01-23 00:19:19 +11:00
Sebastian McKenzie
8f68f62f8a
add jscs
2015-01-22 19:23:56 +11:00
Sebastian McKenzie
f43fc08a8f
remove indent option from cli
2015-01-22 18:38:21 +11:00
Sebastian McKenzie
0b6d49e421
better handling of optional transformers
2015-01-21 23:34:18 +11:00
Sebastian McKenzie
d75139a059
add 6to5-runtime build process #535
2015-01-20 00:56:09 +11:00
Sebastian McKenzie
7257e2445d
Merge branch 'master' into 3.0.0
...
Conflicts:
CHANGELOG.md
lib/6to5/file.js
lib/6to5/register.js
2015-01-20 00:36:06 +11:00
Sebastian McKenzie
ca41612109
use process.stdin.write instead of console.log to avoid console.log sprintf - fixes #527
2015-01-19 08:53:42 +11:00
Ryunosuke SATO
24d6c3f488
Remove unused local variable
...
`hasOptional` is assigned but unused from anywhere.
2015-01-18 20:16:32 +09:00
Sebastian McKenzie
c6be5cccd7
update bin/6to5/file to new source-map api
2015-01-18 19:29:18 +11:00
Sebastian McKenzie
1733bac3bb
move chokidar to top
2015-01-15 23:07:46 +11:00
Shinnosuke Watanabe
db5750643a
use output-file-sync instead of mkdirp
...
https://github.com/shinnn/output-file-sync
2015-01-15 18:29:40 +09:00
Sebastian McKenzie
87b890c172
fix parentheses deletion not support multilines - fixes #490
2015-01-15 01:14:49 +11:00
Sebastian McKenzie
bb19f24923
remove roadrunner from 6to5-node
2015-01-15 01:08:12 +11:00
Sebastian McKenzie
8afec8b12a
rename fast mode to loose #465
2015-01-14 00:24:34 +11:00
Sebastian McKenzie
0f55a66f5b
add "fast" option for transformers
2015-01-13 22:02:04 +11:00
Sebastian McKenzie
7b04c501eb
fix formatting of #472
2015-01-13 08:54:43 +11:00
Christopher Monsanto
2cedc843a8
don't print traceback on syntax error in CLI
2015-01-12 16:49:28 -05:00