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
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
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
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
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
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
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
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
Christopher Monsanto
0a207903ce
Add --indent option to change indent width
2015-01-07 18:27:58 -05:00
Sebastian McKenzie
20a0280a52
add support for optional transformers
2015-01-01 22:35:02 +11:00
Sebastian McKenzie
52ffc65a06
make system module formatter modules anonymous by default - fixes #347
2014-12-29 01:55:30 +11:00
Sebastian McKenzie
615425c808
fix linting errors
2014-12-12 12:14:02 +11:00
Elan Shanker
5e67dfbd9e
Ensure only file events are acted upon
2014-12-08 17:55:54 -05:00
Elan Shanker
6f6d9bd5a8
Simplify chokidar event handler
2014-12-08 17:17:31 -05:00
Sebastian McKenzie
d184bc93b9
add playground
2014-11-25 23:50:50 +11:00
Sebastian McKenzie
bd91bbee71
put experimental ES7 features behind a flag --experimental and experimental option
2014-11-21 19:36:35 +11:00
Lars Kappert
b924e3deb5
Rename to "--amd-module-ids"
2014-11-19 08:55:16 +01:00
Lars Kappert
8db466c698
Make AMD module id's optional
2014-11-18 22:04:41 +01:00
Sebastian McKenzie
c0b03e8126
append sourceMappingURL when using bin/6to5 and output sourcemaps - fixes #183
2014-11-17 14:22:25 +11:00
Sebastian McKenzie
8a9a205122
fix up comments option
2014-11-17 11:59:52 +11:00
Lars Kappert
e1cc1dcb4b
Introduce --remove-comments (-c) option
2014-11-16 20:33:50 +01:00
Sebastian McKenzie
e3bd2dff8d
remove unused path variable
2014-11-16 19:27:49 +11:00
Sebastian McKenzie
5c1ee86b97
remove filenameRelative from bin/6to5* since it's unneccesary
2014-11-16 19:24:47 +11:00
Sebastian McKenzie
24964ac454
add filenameRelative to bin/6to5*
2014-11-16 19:20:08 +11:00
Sebastian McKenzie
db7b6a4972
fix canCompile in readdirFilter in bin/6to5 util
2014-11-10 16:45:30 +11:00
Sebastian McKenzie
ab9cd4e630
add support for an optional runtime - closes #129
2014-11-09 12:02:06 +11:00