Skip to content

Commit

Permalink
move analytics to cli
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Sep 2, 2017
1 parent f2f8a5b commit 41cb009
Show file tree
Hide file tree
Showing 48 changed files with 8,874 additions and 64 deletions.
1 change: 1 addition & 0 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
],
"plugins": [
"transform-es2015-modules-commonjs",
"transform-class-properties",
"syntax-object-rest-spread"
]
}
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
flow-typed
lib
dist
tmp
12 changes: 12 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
{
"extends": [
"plugin:flowtype/recommended",
"plugin:jest/recommended",
"standard"
],
"env": {
"jest": true
},
"rules": {
"jest/valid-expect": "warn"
},
"plugins": [
"flowtype",
"jest"
]
}
18 changes: 18 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[ignore]
<PROJECT_ROOT>/tmp/.*
<PROJECT_ROOT>/lib/.*
<PROJECT_ROOT>/dist/.*
<PROJECT_ROOT>/node_modules/heroku-spaces/.*
<PROJECT_ROOT>/node_modules/heroku-orgs/.*

[include]

[libs]

[options]
emoji=true
unsafe.enable_getters_and_setters=true
suppress_comment= \\(.\\|\n\\)*flow\\$ignore
module.use_strict=true
module.ignore_non_literal_requires=true
suppress_type=$FlowFixMe
2 changes: 0 additions & 2 deletions .yarnrc

This file was deleted.

39 changes: 39 additions & 0 deletions flow-typed/npm/@heroku/heroku-cli-dev-center-generator_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// flow-typed signature: 6a7627e2a7dc97e999ee33f44e5c4bcc
// flow-typed version: <<STUB>>/@heroku/heroku-cli-dev-center-generator_v1.1.5/flow_v0.54.0

/**
* This is an autogenerated libdef stub for:
*
* '@heroku/heroku-cli-dev-center-generator'
*
* 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 '@heroku/heroku-cli-dev-center-generator' {
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 '@heroku/heroku-cli-dev-center-generator/run' {
declare module.exports: any;
}

declare module '@heroku/heroku-cli-dev-center-generator/src/setsumeisho' {
declare module.exports: any;
}

// Filename aliases
declare module '@heroku/heroku-cli-dev-center-generator/run.js' {
declare module.exports: $Exports<'@heroku/heroku-cli-dev-center-generator/run'>;
}
declare module '@heroku/heroku-cli-dev-center-generator/src/setsumeisho.js' {
declare module.exports: $Exports<'@heroku/heroku-cli-dev-center-generator/src/setsumeisho'>;
}
108 changes: 108 additions & 0 deletions flow-typed/npm/babel-cli_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
// flow-typed signature: 71076730267f767099312a4097253ebf
// flow-typed version: <<STUB>>/babel-cli_v6.26.0/flow_v0.54.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-doctor' {
declare module.exports: any;
}

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

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

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

declare module 'babel-cli/lib/_babel-node' {
declare module.exports: any;
}

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

declare module 'babel-cli/lib/babel-node' {
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/index' {
declare module.exports: any;
}

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

// Filename aliases
declare module 'babel-cli/bin/babel-doctor.js' {
declare module.exports: $Exports<'babel-cli/bin/babel-doctor'>;
}
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-node.js' {
declare module.exports: $Exports<'babel-cli/bin/babel-node'>;
}
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-node.js' {
declare module.exports: $Exports<'babel-cli/lib/_babel-node'>;
}
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-node.js' {
declare module.exports: $Exports<'babel-cli/lib/babel-node'>;
}
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.js' {
declare module.exports: $Exports<'babel-cli/lib/babel/index'>;
}
declare module 'babel-cli/lib/babel/util.js' {
declare module.exports: $Exports<'babel-cli/lib/babel/util'>;
}
80 changes: 80 additions & 0 deletions flow-typed/npm/babel-eslint_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
// flow-typed signature: d9226f87e078df0957599c537a41d841
// flow-typed version: <<STUB>>/babel-eslint_v7.2.3/flow_v0.54.0

/**
* This is an autogenerated libdef stub for:
*
* 'babel-eslint'
*
* 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-eslint' {
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-eslint/babylon-to-espree/attachComments' {
declare module.exports: any;
}

declare module 'babel-eslint/babylon-to-espree/convertComments' {
declare module.exports: any;
}

declare module 'babel-eslint/babylon-to-espree/convertTemplateType' {
declare module.exports: any;
}

declare module 'babel-eslint/babylon-to-espree/index' {
declare module.exports: any;
}

declare module 'babel-eslint/babylon-to-espree/toAST' {
declare module.exports: any;
}

declare module 'babel-eslint/babylon-to-espree/toToken' {
declare module.exports: any;
}

declare module 'babel-eslint/babylon-to-espree/toTokens' {
declare module.exports: any;
}

// Filename aliases
declare module 'babel-eslint/babylon-to-espree/attachComments.js' {
declare module.exports: $Exports<'babel-eslint/babylon-to-espree/attachComments'>;
}
declare module 'babel-eslint/babylon-to-espree/convertComments.js' {
declare module.exports: $Exports<'babel-eslint/babylon-to-espree/convertComments'>;
}
declare module 'babel-eslint/babylon-to-espree/convertTemplateType.js' {
declare module.exports: $Exports<'babel-eslint/babylon-to-espree/convertTemplateType'>;
}
declare module 'babel-eslint/babylon-to-espree/index.js' {
declare module.exports: $Exports<'babel-eslint/babylon-to-espree/index'>;
}
declare module 'babel-eslint/babylon-to-espree/toAST.js' {
declare module.exports: $Exports<'babel-eslint/babylon-to-espree/toAST'>;
}
declare module 'babel-eslint/babylon-to-espree/toToken.js' {
declare module.exports: $Exports<'babel-eslint/babylon-to-espree/toToken'>;
}
declare module 'babel-eslint/babylon-to-espree/toTokens.js' {
declare module.exports: $Exports<'babel-eslint/babylon-to-espree/toTokens'>;
}
declare module 'babel-eslint/index' {
declare module.exports: $Exports<'babel-eslint'>;
}
declare module 'babel-eslint/index.js' {
declare module.exports: $Exports<'babel-eslint'>;
}
32 changes: 32 additions & 0 deletions flow-typed/npm/babel-plugin-syntax-object-rest-spread_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// flow-typed signature: 875eb2e364f16e69003d86383121c330
// flow-typed version: <<STUB>>/babel-plugin-syntax-object-rest-spread_v6.13.0/flow_v0.54.0

/**
* This is an autogenerated libdef stub for:
*
* 'babel-plugin-syntax-object-rest-spread'
*
* 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-plugin-syntax-object-rest-spread' {
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-syntax-object-rest-spread/lib/index' {
declare module.exports: any;
}

// Filename aliases
declare module 'babel-plugin-syntax-object-rest-spread/lib/index.js' {
declare module.exports: $Exports<'babel-plugin-syntax-object-rest-spread/lib/index'>;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// flow-typed signature: 186841f4752f554ef212d62c6857bc1b
// flow-typed version: <<STUB>>/babel-plugin-transform-es2015-modules-commonjs_v6.26.0/flow_v0.54.0

/**
* This is an autogenerated libdef stub for:
*
* 'babel-plugin-transform-es2015-modules-commonjs'
*
* 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-plugin-transform-es2015-modules-commonjs' {
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-es2015-modules-commonjs/lib/index' {
declare module.exports: any;
}

// Filename aliases
declare module 'babel-plugin-transform-es2015-modules-commonjs/lib/index.js' {
declare module.exports: $Exports<'babel-plugin-transform-es2015-modules-commonjs/lib/index'>;
}
32 changes: 32 additions & 0 deletions flow-typed/npm/babel-preset-flow_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// flow-typed signature: f82c568f0ab72465cd19b0d640d13871
// flow-typed version: <<STUB>>/babel-preset-flow_v6.23.0/flow_v0.54.0

/**
* This is an autogenerated libdef stub for:
*
* 'babel-preset-flow'
*
* 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-preset-flow' {
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-preset-flow/lib/index' {
declare module.exports: any;
}

// Filename aliases
declare module 'babel-preset-flow/lib/index.js' {
declare module.exports: $Exports<'babel-preset-flow/lib/index'>;
}
Loading

0 comments on commit 41cb009

Please sign in to comment.