Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI Refactoring #68

Merged
merged 21 commits into from
Aug 27, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"env": {
"jest": true
"jest/globals": true
},
"parser": "babel-eslint",
"parserOptions": {
Expand All @@ -13,14 +13,16 @@
"plugin:flowtype/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:react/recommended"
"plugin:react/recommended",
"plugin:jest/recommended"
],
"plugins": [
"standard",
"promise",
"flowtype",
"import",
"react"
"react",
"jest"
],
"rules": {
"no-duplicate-imports": "off",
Expand Down
207 changes: 207 additions & 0 deletions flow-typed/npm/all-contributors-cli_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,207 @@
// flow-typed signature: 370d5dce90ca1ec503f4774c11e1f6c5
// flow-typed version: <<STUB>>/all-contributors-cli_v^4.3.0/flow_v0.53.1

/**
* This is an autogenerated libdef stub for:
*
* 'all-contributors-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:/flowtype/flow-typed
*/

declare module 'all-contributors-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 'all-contributors-cli/cli' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/contributors/add' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/contributors/add.test' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/contributors/github' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/contributors/github.test' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/contributors/index' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/contributors/prompt' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/generate/format-badge' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/generate/format-badge.test' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/generate/format-contribution-type' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/generate/format-contribution-type.test' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/generate/format-contributor' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/generate/format-contributor.test' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/generate/index' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/generate/index.test' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/init/add-badge.test' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/init/add-contributors-list.test' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/init/index' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/init/init-content' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/init/prompt' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/util/config-file' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/util/config-file.test' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/util/contribution-types' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/util/git' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/util/index' {
declare module.exports: any;
}

declare module 'all-contributors-cli/lib/util/markdown' {
declare module.exports: any;
}

// Filename aliases
declare module 'all-contributors-cli/cli.js' {
declare module.exports: $Exports<'all-contributors-cli/cli'>;
}
declare module 'all-contributors-cli/lib/contributors/add.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/contributors/add'>;
}
declare module 'all-contributors-cli/lib/contributors/add.test.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/contributors/add.test'>;
}
declare module 'all-contributors-cli/lib/contributors/github.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/contributors/github'>;
}
declare module 'all-contributors-cli/lib/contributors/github.test.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/contributors/github.test'>;
}
declare module 'all-contributors-cli/lib/contributors/index.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/contributors/index'>;
}
declare module 'all-contributors-cli/lib/contributors/prompt.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/contributors/prompt'>;
}
declare module 'all-contributors-cli/lib/generate/format-badge.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/generate/format-badge'>;
}
declare module 'all-contributors-cli/lib/generate/format-badge.test.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/generate/format-badge.test'>;
}
declare module 'all-contributors-cli/lib/generate/format-contribution-type.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/generate/format-contribution-type'>;
}
declare module 'all-contributors-cli/lib/generate/format-contribution-type.test.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/generate/format-contribution-type.test'>;
}
declare module 'all-contributors-cli/lib/generate/format-contributor.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/generate/format-contributor'>;
}
declare module 'all-contributors-cli/lib/generate/format-contributor.test.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/generate/format-contributor.test'>;
}
declare module 'all-contributors-cli/lib/generate/index.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/generate/index'>;
}
declare module 'all-contributors-cli/lib/generate/index.test.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/generate/index.test'>;
}
declare module 'all-contributors-cli/lib/init/add-badge.test.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/init/add-badge.test'>;
}
declare module 'all-contributors-cli/lib/init/add-contributors-list.test.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/init/add-contributors-list.test'>;
}
declare module 'all-contributors-cli/lib/init/index.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/init/index'>;
}
declare module 'all-contributors-cli/lib/init/init-content.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/init/init-content'>;
}
declare module 'all-contributors-cli/lib/init/prompt.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/init/prompt'>;
}
declare module 'all-contributors-cli/lib/util/config-file.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/util/config-file'>;
}
declare module 'all-contributors-cli/lib/util/config-file.test.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/util/config-file.test'>;
}
declare module 'all-contributors-cli/lib/util/contribution-types.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/util/contribution-types'>;
}
declare module 'all-contributors-cli/lib/util/git.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/util/git'>;
}
declare module 'all-contributors-cli/lib/util/index.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/util/index'>;
}
declare module 'all-contributors-cli/lib/util/markdown.js' {
declare module.exports: $Exports<'all-contributors-cli/lib/util/markdown'>;
}
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-cli_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 2be8d574e9f7030854fc60dac99e21af
// flow-typed version: <<STUB>>/babel-cli_v^6.24.1/flow_v0.48.0
// flow-typed signature: 8b8a2c739d679c366c7882ad5c42fcad
// flow-typed version: <<STUB>>/babel-cli_v^6.24.1/flow_v0.53.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-eslint_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: fb9050b753124adf69b920326736cddb
// flow-typed version: <<STUB>>/babel-eslint_v^7.2.3/flow_v0.48.0
// flow-typed signature: 897d7e27ab5c9ea597e798bc63bc3129
// flow-typed version: <<STUB>>/babel-eslint_v^7.2.3/flow_v0.53.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-generator_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 66c62e39652763a02af7066f6d54a45e
// flow-typed version: <<STUB>>/babel-generator_v^6.25.0/flow_v0.48.0
// flow-typed signature: e00d174c2224b5baa46ea200a7a69e2e
// flow-typed version: <<STUB>>/babel-generator_v^6.25.0/flow_v0.53.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-jest_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 9513ece6a38cfbf075893a25afcdcf62
// flow-typed version: <<STUB>>/babel-jest_v^20.0.3/flow_v0.48.0
// flow-typed signature: 7fbd18e47e19516448cc5cb80acdd94f
// flow-typed version: <<STUB>>/babel-jest_v^20.0.3/flow_v0.53.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-plugin-external-helpers_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 496797fba4c60e6d4a9608eb2cce32bd
// flow-typed version: <<STUB>>/babel-plugin-external-helpers_v^6.22.0/flow_v0.48.0
// flow-typed signature: db5c2f50905a0d07524797ba00d2e27e
// flow-typed version: <<STUB>>/babel-plugin-external-helpers_v^6.22.0/flow_v0.53.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-plugin-syntax-jsx_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 424ac8a5e668e71c8f5c132d85caa2d9
// flow-typed version: <<STUB>>/babel-plugin-syntax-jsx_v^6.18.0/flow_v0.48.0
// flow-typed signature: 82413ce8caadf0562e58a7e4c6fecd50
// flow-typed version: <<STUB>>/babel-plugin-syntax-jsx_v^6.18.0/flow_v0.53.1

/**
* This is an autogenerated libdef stub for:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 289f574cd48e3bdda0d110bb28cddce5
// flow-typed version: <<STUB>>/babel-plugin-transform-class-properties_v^6.24.1/flow_v0.48.0
// flow-typed signature: e63aad8e22191503bc4f41246e2669e7
// flow-typed version: <<STUB>>/babel-plugin-transform-class-properties_v^6.24.1/flow_v0.53.1

/**
* This is an autogenerated libdef stub for:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: df61fdfe2a941bb0a1a58469cfe8219c
// flow-typed version: <<STUB>>/babel-plugin-transform-es2015-modules-commonjs_v^6.24.1/flow_v0.48.0
// flow-typed signature: af46f76461b4337ce21a893449bc992a
// flow-typed version: <<STUB>>/babel-plugin-transform-es2015-modules-commonjs_v^6.24.1/flow_v0.53.1

/**
* This is an autogenerated libdef stub for:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 68032a0f1edfd9671ff589311bf27cda
// flow-typed version: <<STUB>>/babel-plugin-transform-object-rest-spread_v^6.23.0/flow_v0.48.0
// flow-typed signature: cf492b43d0f4b5b900b619fe25aaa2fa
// flow-typed version: <<STUB>>/babel-plugin-transform-object-rest-spread_v^6.23.0/flow_v0.53.1

/**
* This is an autogenerated libdef stub for:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 26d90c22d51781407eb7c1802f2b9659
// flow-typed version: <<STUB>>/babel-plugin-transform-remove-strict-mode_v^0.0.2/flow_v0.48.0
// flow-typed signature: f0f52ddd8dabbebb7a7e05a3430df55e
// flow-typed version: <<STUB>>/babel-plugin-transform-remove-strict-mode_v^0.0.2/flow_v0.53.1

/**
* This is an autogenerated libdef stub for:
Expand Down
39 changes: 39 additions & 0 deletions flow-typed/npm/babel-plugin-transform-runtime_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// flow-typed signature: 502b9eff4f90262d8011eb9542cd0c74
// flow-typed version: <<STUB>>/babel-plugin-transform-runtime_v^6.23.0/flow_v0.53.1

/**
* This is an autogenerated libdef stub for:
*
* 'babel-plugin-transform-runtime'
*
* 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:/flowtype/flow-typed
*/

declare module 'babel-plugin-transform-runtime' {
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-plugin-transform-runtime/lib/definitions' {
declare module.exports: any;
}

declare module 'babel-plugin-transform-runtime/lib/index' {
declare module.exports: any;
}

// Filename aliases
declare module 'babel-plugin-transform-runtime/lib/definitions.js' {
declare module.exports: $Exports<'babel-plugin-transform-runtime/lib/definitions'>;
}
declare module 'babel-plugin-transform-runtime/lib/index.js' {
declare module.exports: $Exports<'babel-plugin-transform-runtime/lib/index'>;
}
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-preset-env_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 2004dc8aa54efd841cbeb64749ac7fc8
// flow-typed version: <<STUB>>/babel-preset-env_v^1.5.2/flow_v0.48.0
// flow-typed signature: 6218952fe9282dfd826a6ae756cdbc19
// flow-typed version: <<STUB>>/babel-preset-env_v^1.6.0/flow_v0.53.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-preset-react_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: ebb227eb2063cd511833338670db0d5e
// flow-typed version: <<STUB>>/babel-preset-react_v^6.24.1/flow_v0.48.0
// flow-typed signature: 2bef25f2440aeb196f7cb9094e88a27f
// flow-typed version: <<STUB>>/babel-preset-react_v^6.24.1/flow_v0.53.1

/**
* This is an autogenerated libdef stub for:
Expand Down
Loading