Logan Smyth
cc802c1e00
Reimplement 'babel-template' with better caching and tagged literal utilities.
2017-10-18 13:58:47 -07:00
Logan Smyth
fc3433c5cf
Default templates to sourceType:module.
2017-10-18 13:55:14 -07:00
Henry Zhu
691f90a774
Scoped: change test imports to @babel/ [skip ci]
2017-10-16 22:49:56 -04:00
Diogo Franco
02d0b74d37
Extend babel-template to work as a template tag ( #5001 )
...
Supports:
```js
// these all should produce "code;" when generated
template`code;`();
template`${0}`(t.identifier('code'));
template`${'code'}`({ code: t.identifier('code') });
template`${t.identifier('code')}`()
template({})`code`();
```
2017-10-04 13:07:02 +09:00
Brian Ng
e4b35f680d
Run prettier
2017-06-27 12:15:00 -05:00
Brian Ng
8c35b320d3
Bump eslint-config-babel and fix lint ( #5129 )
2017-01-17 10:51:16 +01:00
Sergey Rubanov
292c3ca206
Refactor test packages to use ES modules instead of CJS ( #5138 )
2017-01-16 11:25:04 -05:00
Henry Zhu
672adba9a1
enable prefer const ( #5113 )
2017-01-14 09:48:52 -05:00
Andrew Levine
9f8ab29213
Change usage of "suite"/"test" in unit-tests to "describe"/"it" ( #4734 )
...
Fixes #4733
2016-10-15 18:45:35 -04:00
Andrew Levine
c0038221d7
Run ESLint on test files, and fix lint errors in test files ( #4732 )
2016-10-15 18:27:48 -04:00
Ben Briggs
c94abcc170
Add support for preserving comments in babel-template. ( #3689 )
...
* Add support for preserving comments in babel-template.
* Add an API section to babel-template.
2016-09-01 10:50:25 -04:00
James Talmage
79f783cdf5
[babel-template][T7046]: Add optional babylon options argument.
2016-01-28 21:35:20 -05:00