babel-upgrade
Advanced tools
Comparing version 0.0.16 to 0.0.17
@@ -36,3 +36,3 @@ "use strict"; | ||
function getLatestVersion() { | ||
return "7.0.0-beta.40"; | ||
return "7.0.0-beta.44"; | ||
} | ||
@@ -39,0 +39,0 @@ |
{ | ||
"name": "babel-upgrade", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "Upgrade tool for Babel", | ||
@@ -5,0 +5,0 @@ "bin": "./bin/babel-upgrade", |
# babel-upgrade | ||
> A tool that tries to automatically update most dependencies, config files, and JavaScript files that require Babel packages directly to [Babel v7](http://new.babeljs.io/docs/en/next/v7-migration.html) (and more in the future). | ||
## Usage | ||
If using npm < v5.2.0, install [npx](https://www.npmjs.com/package/npx) globally. | ||
Run at the root of your git repo: | ||
> If using npm < v5.2.0, install [npx](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b) globally. | ||
```bash | ||
# npx lets you run babel-upgrade without installing it locally | ||
npx babel-upgrade | ||
# or install globally and run | ||
npm install babel-upgrade -g | ||
babel-upgrade | ||
``` | ||
@@ -23,4 +30,2 @@ | ||
> Update dependencies, config files, and maybe JavaScript files that require babel packages directly | ||
- [x] Works on Node >= 4 (anything lower isn't supported in v7) ([#16](https://github.com/babel/babel-upgrade/pull/16)) | ||
@@ -27,0 +32,0 @@ - [x] Run npm/yarn after updating dependencies (use `--install`) ([#18](https://github.com/babel/babel-upgrade/pull/18)) |
@@ -21,3 +21,3 @@ const path = require('path'); | ||
function getLatestVersion() { | ||
return "7.0.0-beta.40"; | ||
return "7.0.0-beta.44"; | ||
} | ||
@@ -24,0 +24,0 @@ |
69255
203