Skip to content

Commit

Permalink
Upgrade CLI dependencies (#3743)
Browse files Browse the repository at this point in the history
**Minor deps upgrades:**
- `@octokit/rest`: `16.33.1` ~> `16.43.1`
- `colors`: `1.3.2` ~> `1.4.0`
- `flowgen`: `1.9.0` ~> `1.10.0`
- `glob`: `7.1.3` ~> `7.1.3`
- `prettier`: `1.18.2` ~> `1.19.1`
- `table`: `5.0.2` ~> `5.4.6`

**Major deps upgrades:**
- `fs-extra`: `7.0.0` ~> `8.1.0`
- `got`: `8.3.2` ~> `10.5.7`
- `mkdirp`: `0.5.1` ~> `1.0.3`
- `rimraf`: `2.6.2` ~> `3.0.2`
- `semver`: `5.5.1` ~> `7.1.3`
- `unzipper`: `0.9.3` ~> `0.10.8`
- `which`: `1.3.1` ~> `2.0.2`
- `yargs`: `12.0.2` ~> `15.1.0`

**Removed deps:**
- `@babel/polyfill`: not needed any more thanks to dropping end-of-life Node versions

**Dev-deps upgrades:**
- `@babel/cli`: `7.1.0` ~> `7.8.4`
- `@babel/core`: `7.1.0` ~> `7.8.4`
- `@babel/preset-env`: `7.1.0` ~> `7.8.4`
- `@babel/preset-flow`: `7.1.0` ~> `7.8.4`
- `babel-core`: **removed**
- `babel-eslint`: `10.0.1` ~> `10.0.3`
- `babel-jest`: `23.6.0` ~> `25.1.0`
- `eslint `: `5.6.0` ~> `6.8.0`
- `eslint-plugin-flowtype`: `2.50.3` ~> `4.6.0`
- `eslint-plugin-prettier`: `2.7.0` ~> `3.1.2`
- `flow-bin`: `0.81.0` ~> `0.118.0` 🚀 
- `jest`: `23.6.0` ~> `25.1.0`

**CI:**
- remove `exit 0` to return error code on failed test

**Misc:**
- Fix `@octokit/rest` deprecation message

**Flow Defs:**
- `mkdirp_v1.0.x` will need to be added later in definitions (will do a separated PR)
- `yargs_v15.0.x` has been created by copy/paste `yargs_v12.0.x` this should be alright as API didn't change much but would require a proper PR.

**Breaking Change:**
- minimum NodeJS required version 10 (following https://nodejs.org/en/about/releases/)
  • Loading branch information
moroine committed Feb 19, 2020
1 parent 3a4276e commit 090deac
Show file tree
Hide file tree
Showing 51 changed files with 9,300 additions and 3,529 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
sudo: false
language: node_js
node_js:
- '8'
- '10'
- '12'
env:
- CXX=g++-4.8
addons:
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed
- Travis specs now run on node 10 & 12, as opposed to 8 & 10 (#3743)
- **[BREAKING-CHANGE]** Drop support for node < 10 (#3743)

### Fixed
- Updated octokit/rest to deprecation message (#3602)

## [2.6.2] - 2019-10-23

### Added
Expand Down
7 changes: 6 additions & 1 deletion cli/.babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"presets": [
"@babel/preset-env",
[
"@babel/preset-env",
{
"targets": { "node": "10" }
}
],
"@babel/preset-flow"
],
"ignore": [
Expand Down
90 changes: 90 additions & 0 deletions cli/flow-typed/npm/@babel/cli_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
// flow-typed signature: 69eca3231839f86cb466d38d1a8e0c11
// flow-typed version: <<STUB>>/@babel/cli_v^7.8.4/flow_v0.118.0

/**
* This is an autogenerated libdef stub for:
*
* '@babel/cli'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module '@babel/cli' {
declare module.exports: any;
}

/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module '@babel/cli/bin/babel-external-helpers' {
declare module.exports: any;
}

declare module '@babel/cli/bin/babel' {
declare module.exports: any;
}

declare module '@babel/cli/lib/babel-external-helpers' {
declare module.exports: any;
}

declare module '@babel/cli/lib/babel/dir' {
declare module.exports: any;
}

declare module '@babel/cli/lib/babel/file' {
declare module.exports: any;
}

declare module '@babel/cli/lib/babel' {
declare module.exports: any;
}

declare module '@babel/cli/lib/babel/options' {
declare module.exports: any;
}

declare module '@babel/cli/lib/babel/util' {
declare module.exports: any;
}

// Filename aliases
declare module '@babel/cli/bin/babel-external-helpers.js' {
declare module.exports: $Exports<'@babel/cli/bin/babel-external-helpers'>;
}
declare module '@babel/cli/bin/babel.js' {
declare module.exports: $Exports<'@babel/cli/bin/babel'>;
}
declare module '@babel/cli/index' {
declare module.exports: $Exports<'@babel/cli'>;
}
declare module '@babel/cli/index.js' {
declare module.exports: $Exports<'@babel/cli'>;
}
declare module '@babel/cli/lib/babel-external-helpers.js' {
declare module.exports: $Exports<'@babel/cli/lib/babel-external-helpers'>;
}
declare module '@babel/cli/lib/babel/dir.js' {
declare module.exports: $Exports<'@babel/cli/lib/babel/dir'>;
}
declare module '@babel/cli/lib/babel/file.js' {
declare module.exports: $Exports<'@babel/cli/lib/babel/file'>;
}
declare module '@babel/cli/lib/babel/index' {
declare module.exports: $Exports<'@babel/cli/lib/babel'>;
}
declare module '@babel/cli/lib/babel/index.js' {
declare module.exports: $Exports<'@babel/cli/lib/babel'>;
}
declare module '@babel/cli/lib/babel/options.js' {
declare module.exports: $Exports<'@babel/cli/lib/babel/options'>;
}
declare module '@babel/cli/lib/babel/util.js' {
declare module.exports: $Exports<'@babel/cli/lib/babel/util'>;
}

0 comments on commit 090deac

Please sign in to comment.