Skip to content

Commit

Permalink
Make babel-runtime use regenerator-runtime from npm. (#3494)
Browse files Browse the repository at this point in the history
The source repository for regenerator-runtime can now be found at
https://github.com/facebook/regenerator/tree/master/packages/regenerator-runtime

This also removes the babel-regenerator-runtime package, now that the only
difference between it and regenerator-runtime has been resolved:
facebook/regenerator@bc8d2d6
  • Loading branch information
benjamn authored and hzoo committed May 28, 2016
1 parent 3d6ae48 commit b3acf91
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 754 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ packages/babel-core/src/transformation/templates
scripts
lib
packages/babel-runtime
packages/babel-regenerator-runtime
packages/*/node_modules
packages/*/test
packages/*/dist
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ dist
/.package.json
/packages/babel-runtime/core-js
/packages/babel-runtime/helpers/*.js
/packages/babel-runtime/regenerator/*.js
/packages/*/lib
_babel.github.io
/tests/.browser-build.js
4 changes: 2 additions & 2 deletions packages/babel-polyfill/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"main": "lib/index.js",
"dependencies": {
"core-js": "^2.4.0",
"babel-regenerator-runtime": "^6.3.13",
"babel-runtime": "^6.9.0"
"babel-runtime": "^6.9.0",
"regenerator-runtime": "^0.9.5"
}
}
2 changes: 1 addition & 1 deletion packages/babel-polyfill/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if (global._babelPolyfill) {
global._babelPolyfill = true;

import "core-js/shim";
import "babel-regenerator-runtime";
import "regenerator-runtime/runtime";

// Should be removed in the next major release:

Expand Down
14 changes: 0 additions & 14 deletions packages/babel-regenerator-runtime/LICENSE

This file was deleted.

33 changes: 0 additions & 33 deletions packages/babel-regenerator-runtime/PATENTS

This file was deleted.

10 changes: 0 additions & 10 deletions packages/babel-regenerator-runtime/package.json

This file was deleted.

31 changes: 0 additions & 31 deletions packages/babel-regenerator-runtime/runtime-module.js

This file was deleted.

Loading

0 comments on commit b3acf91

Please sign in to comment.