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
Sebastian McKenzie
df9fa32b82
add optional to keep module id extensions - fixes #420
2015-01-13 01:12:14 +11:00
Sebastian McKenzie
49cdacbcb4
add includeRegenerator option
2015-01-12 20:03:02 +11:00
Sebastian McKenzie
c7ac9b7815
rename --reactCompat arg to --react-compat
2015-01-12 11:47:04 +11:00
Amjad Masad
9cf8d05a19
Add --reactCompat option to cli
2015-01-11 12:47:17 -05:00
Sebastian McKenzie
2a4f03330b
better bin name for 6to5-node
2015-01-11 22:59:36 +11:00
Christopher Monsanto
29503d2d37
fix _6to5-node name in help screen
2015-01-10 23:04:13 -05:00
Felix Kling
7167aeb65a
Fix short --whitelist option
...
`6to5 -w generators` doesn't work because `-w` is also short for
`--watch`. This changes the short option for `--whitelist` to `-l`.
2015-01-10 11:03:26 -08:00
Sebastian McKenzie
24f70ee4d0
add alternate core package - fixes #387
2015-01-08 23:31:03 +11:00
Christopher Monsanto
0a207903ce
Add --indent option to change indent width
2015-01-07 18:27:58 -05:00