Logan Smyth
90566103a6
v7.0.0-beta.49
2018-05-25 09:00:02 -07:00
Logan Smyth
53e4d74ebe
Treat all filenames as absolute paths. ( #8044 )
2018-05-24 20:56:19 -07:00
Henry Zhu
e6d198eef5
v7.0.0-beta.48
2018-05-24 15:20:31 -04:00
Logan Smyth
69cca412eb
Make the filename option, as exposed to the plugins, consistently relative to the working directory ( #7956 )
...
| Q | A <!--(Can use an emoji 👍 ) -->
| ------------------------ | ---
| Fixed Issues? |
| Patch: Bug Fix? | Y
| Major: Breaking Change? | N
| Minor: New Feature? |
| Tests Added + Pass? | Yes
| Documentation PR | <!-- If so, add `[skip ci]` to your commit message to skip CI -->
| Any Dependency Changes? |
| License | MIT
Currently the `opts.filename` value exposed to plugins is just whatever the user passed. While it _could_ be relative to the working directory, if Babel was passed an absolute URL, it'll be absolute.
This PR explicitly ensures the filename is a relative path based on the working directory. This also exposes an officially endorsed API for reading the working directory path.
2018-05-21 17:10:57 -07:00
Henry Zhu
f03adbadf4
v7.0.0-beta.47
2018-05-14 17:15:44 -07:00
Logan Smyth
3a2aa9b862
v7.0.0-beta.46
2018-04-22 21:29:42 -07:00
Henry Zhu
b414387bb1
v7.0.0-beta.45
2018-04-22 21:55:16 -04:00
Henry Zhu
a6df92f245
v7.0.0-beta.44
2018-04-02 18:19:30 -04:00
Henry Zhu
bdfeeb38c6
v7.0.0-beta.43
2018-04-02 12:47:55 -04:00
Deven Bansod
c8d82d6483
Migrate all remaining fixtures to jest expect
2018-03-24 16:22:20 +05:30
Henry Zhu
d260bfaec4
v7.0.0-beta.42
2018-03-15 16:50:03 -04:00
Henry Zhu
270ea17fed
v7.0.0-beta.41
2018-03-14 12:25:26 -04:00
Logan Smyth
a4795408b4
Allow plugins to assert that a specific babel version has loaded the plugin. ( #7450 )
2018-03-04 14:36:54 -08:00
Henry Zhu
ea3f2d9299
v7.0.0-beta.40
2018-02-12 11:41:13 -05:00
Henry Zhu
73e64c6cb0
v7.0.0-beta.39
2018-01-30 15:27:19 -05:00
Henry Zhu
b5d20ab171
v7.0.0-beta.38
2018-01-17 11:31:32 -05:00
Nicolò Ribaudo
8659e1a88c
Remove old expected.{js,json} files ( #7187 )
2018-01-09 13:10:30 -06:00
Raja Sekar
0f42accb87
Renamed files
2018-01-09 15:36:42 +01:00
Henry Zhu
7c99f4653f
v7.0.0-beta.37
2018-01-08 11:02:14 -05:00
Henry Zhu
7d798952d2
v7.0.0-beta.36
2017-12-25 14:04:08 -05:00
Henry Zhu
8a4124b2ff
v7.0.0-beta.35
2017-12-14 16:47:27 -05:00
Nicolò Ribaudo
a2aabbd33d
Generate better builder names for JSX* and TS* ( #6967 )
...
e.g. JSXIdentifier -> jsxIdentifier.
The jSXIdentifier alias isn't removed, so this commit doesn't introduce breaking changes.
2017-12-07 12:17:40 +01:00
Henry Zhu
a7c9264c79
v7.0.0-beta.34
2017-12-02 09:38:52 -05:00
Henry Zhu
413aa79711
v7.0.0-beta.33
2017-12-01 09:27:57 -05:00
Steven Hargrove
cee9ae48e0
[skip ci] removed shorthand usage of official babel scoped presets & plugins from README.md's ( #6820 )
2017-11-16 22:51:23 -05:00
Henry Zhu
4e6cd298c7
v7.0.0-beta.32
2017-11-12 08:32:53 -05:00
Logan Smyth
6fe7f77eb4
Merge pull request #6778 from loganfsmyth/use-peerdep
...
Use the peerDep to load types/template/traverse in plugins
2017-11-08 23:05:08 -08:00
Logan Smyth
6684986372
Expose an official API to access the current filename.
2017-11-08 16:48:25 -08:00
Logan Smyth
b19b66d94b
Use peerDep rather than plugin param for common APIs.
2017-11-06 11:32:47 -08:00
Henry Zhu
f76ac0b197
v7.0.0-beta.31
2017-11-03 16:03:01 -04:00
Logan Smyth
2d7685bdeb
Explicitly declare devDependency to satisfy peerDep on babel-core.
2017-10-31 17:00:55 -07:00
Henry Zhu
690d6465d8
v7.0.0-beta.5
2017-10-30 16:55:46 -04:00
Henry Zhu
624f00f23c
Fix peerDep to ^ for beta only ( #6644 )
2017-10-30 16:24:42 -04:00
Henry Zhu
38f984f956
v7.0.0-beta.4
2017-10-30 14:33:56 -04:00
Henry Zhu
476ec5ed8f
Fix readmes to use @babel/ [skip ci] ( #6569 )
2017-10-27 11:50:59 -04:00
Henry Zhu
e3cebbf6bc
Add peerDep on specific babel-core version in transform plugins, presets, and cli ( #6549 )
2017-10-25 08:36:00 -07:00
Henry Zhu
c0a958098f
Scoped: update readme headers to @babel/ [skip ci]
2017-10-16 22:49:57 -04:00
Mateusz Burzyński
df721f067e
reverted change to keywords in package.jsons [skip ci]
2017-10-16 22:49:57 -04:00
Brian Ng
65495105e9
Scoped: rename installation instructions for transforms [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
79ddf12d9d
Scoped: rename to @babel/ in readme [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
dfbbe82598
Scoped: rename npm pkg keyword [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
691f90a774
Scoped: change test imports to @babel/ [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
8e5e27577a
Scoped: update package.json dependencies to @babel/ [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
1cd564bd16
Scoped: rename package names to @babel/ [skip ci]
2017-10-16 22:49:01 -04:00
Henry Zhu
94da889ab7
v7.0.0-beta.3
2017-10-15 09:12:00 -04:00
Henry Zhu
70547efcc1
v7.0.0-beta.2
2017-09-26 11:14:41 -04:00
Henry Zhu
23121d2bd3
v7.0.0-beta.1
2017-09-19 16:24:07 -04:00
Daniel Tschinder
9a0dd4e001
Fix jsx-source to not fail without filename ( #6239 )
2017-09-16 02:44:48 -04:00
Henry Zhu
1c13250807
v7.0.0-beta.0
2017-09-11 23:01:41 -04:00
Henry Zhu
b82b65a31e
v7.0.0-alpha.20
2017-08-30 15:02:49 -04:00