Sebastian McKenzie
dc1ba58705
fix experimental arg in babel-node
2015-03-30 07:34:51 +11:00
Sebastian McKenzie
862bd6d92a
use kebab case instead of camelcase for no cli options
2015-03-30 06:43:23 +11:00
Sebastian McKenzie
972c621f59
remove template literals from bin
2015-03-23 17:26:31 +11:00
Sebastian McKenzie
bc6d01d6fc
enable strict mode on babel-node eval flag - fixes #1060
2015-03-23 16:53:03 +11:00
Sebastian McKenzie
c8b88182f6
fix bin tests
2015-03-20 20:03:49 +11:00
Sebastian McKenzie
6a1b33b443
more updates to estree and new acorn
2015-03-18 19:02:15 +11:00
Sebastian McKenzie
29d33dd31a
Merge branch 'master' of github.com:babel/babel
2015-03-16 01:52:14 +11:00
Sebastian McKenzie
5a319fd553
automate option generation
2015-03-16 01:23:57 +11:00
James Kyle
8681a78618
Correct --gdbjit v8 flag
2015-03-15 00:39:48 -07:00
James Kyle
280964eafe
Add all v8 flags (node & iojs). Fixes #1020
2015-03-15 00:33:39 -07:00
Sebastian McKenzie
40a111abbf
always resolve rc for absolute filenames
2015-03-13 01:07:33 +11:00
Sebastian McKenzie
5586ce280f
move build-external-helpers to tools
2015-03-10 17:20:14 +11:00
Ondrej Kraus
a0fb398ca2
add possibility to select format of external helpers
2015-03-07 01:50:49 +01:00
Sebastian McKenzie
a4035fc257
use convert-source-map package - closes #960
2015-03-07 02:46:15 +11:00
Sebastian McKenzie
8afdeaf557
replicate module environment in babel-node -e - closes #695 , fixes #592
2015-03-06 23:39:49 +11:00
Sebastian McKenzie
4df50954a2
use instance indexOf instead of lodash - #951
2015-03-06 23:31:11 +11:00
Ondrej Kraus
160de340b0
add possiblity of passing user arguments by separating them with --
...
Now, when user arguments have names colliding with node arguments,
they can be separated by -- and will be parsed correctly.
2015-03-05 14:35:53 +01:00
Sebastian McKenzie
fb04b2561f
copy over files in watch mode
2015-02-28 21:39:40 +11:00
Sebastian McKenzie
330f6910c6
remove unnecessary exception catch and process.exit - fixes #901
2015-02-26 22:33:36 +11:00
Sebastian McKenzie
1eb53dd13a
add try-catch to bin watching compilation - fixes #901
2015-02-26 21:28:54 +11:00
Sebastian McKenzie
339bd2b6d9
self-host #443
2015-02-25 22:36:23 +11:00
Sebastian McKenzie
46a37f4672
fix linting errors
2015-02-25 21:59:59 +11:00
Sebastian McKenzie
4d72bffa30
add --copy-files bin/babel flag
2015-02-25 21:56:19 +11:00
Sebastian McKenzie
7bb98352df
add .babelrc - fixes #351
2015-02-25 21:49:48 +11:00
Sebastian McKenzie
00651e671e
don't copy over non-compilable files - fixes #888
2015-02-25 10:59:26 +11:00
Sebastian McKenzie
c3c94f0a4a
fix options argument to vm.runInThisContext
2015-02-22 22:35:04 +11:00
Sebastian McKenzie
1effa72a33
remove format options but move compact option to main options
2015-02-21 12:41:03 +11:00
Sebastian McKenzie
8e06db8f7d
remove minify binary
2015-02-19 10:47:08 +11:00
Sebastian McKenzie
7e8cd2ca8a
i'm a terrible spellerer #777
2015-02-18 11:24:51 +11:00
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