Skip to content

Commit

Permalink
webpack 3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
michalkvasnicak committed Jul 7, 2017
1 parent f48ee48 commit dfc62e7
Show file tree
Hide file tree
Showing 101 changed files with 765 additions and 441 deletions.
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: 50cccc4d25daa131ce5273d84f010572
// flow-typed version: <<STUB>>/babel-cli_v^6.24.1/flow_v0.49.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: 1bf74b25fb82cd002e8b966a31086e1a
// flow-typed version: <<STUB>>/babel-eslint_v^7.2.3/flow_v0.49.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-plugin-add-module-exports_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 5dfd8a238ecbe40da326e334609878b9
// flow-typed version: <<STUB>>/babel-plugin-add-module-exports_v^0.2.1/flow_v0.48.0
// flow-typed signature: 76c07c8681adaf3012df48203c5a5fb3
// flow-typed version: <<STUB>>/babel-plugin-add-module-exports_v^0.2.1/flow_v0.49.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: 1ac90a5b65b8621f1c6637100a3a49a0
// flow-typed version: <<STUB>>/babel-plugin-transform-class-properties_v^6.24.1/flow_v0.49.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: 41e1b25f6dd18f5a9f174b6658b86c62
// flow-typed version: <<STUB>>/babel-plugin-transform-flow-strip-types_v^6.22.0/flow_v0.48.0
// flow-typed signature: 2724476ef03b45381447a6282b1aa3bf
// flow-typed version: <<STUB>>/babel-plugin-transform-flow-strip-types_v^6.22.0/flow_v0.49.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: 9d5aec989f663e1a1ee84160a9b94c9a
// flow-typed version: <<STUB>>/babel-plugin-transform-object-rest-spread_v^6.23.0/flow_v0.49.1

/**
* This is an autogenerated libdef stub for:
Expand Down
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: cddbcd93c32b8471a6df13ff17d8d5bd
// flow-typed version: <<STUB>>/babel-preset-env_v^1.6.0/flow_v0.49.1

/**
* This is an autogenerated libdef stub for:
Expand Down
32 changes: 32 additions & 0 deletions flow-typed/npm/babel-preset-react_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// flow-typed signature: 56127a0e27b24bbabb45b01aa4c6768a
// flow-typed version: <<STUB>>/babel-preset-react_v^6.24.1/flow_v0.49.1

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

// Filename aliases
declare module 'babel-preset-react/lib/index.js' {
declare module.exports: $Exports<'babel-preset-react/lib/index'>;
}
7 changes: 4 additions & 3 deletions flow-typed/npm/enzyme_v2.3.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 2347f05faac22d91369b6abccedcac7e
// flow-typed version: 64d5f46151/enzyme_v2.3.x/flow_>=v0.28.x
// flow-typed signature: 7403d74c206787e80611f29782f19c4e
// flow-typed version: e6adbe598a/enzyme_v2.3.x/flow_>=v0.28.x

declare module 'enzyme' {
declare type PredicateFunction<T: Wrapper> = (wrapper: T) => boolean;
Expand All @@ -25,7 +25,7 @@ declare module 'enzyme' {
hasClass(className: string): boolean;
is(selector: EnzymeSelector): boolean;
isEmpty(): boolean;
not(selector: EnzymeSelector): boolean;
not(selector: EnzymeSelector): this;
children(selector?: EnzymeSelector): this;
childAt(index: number): this;
parents(selector?: EnzymeSelector): this;
Expand All @@ -38,6 +38,7 @@ declare module 'enzyme' {
get(index: number): React$Element<any>;
getNode(): React$Element<any>;
getNodes(): Array<React$Element<any>>;
getDOMNode(): HTMLElement | HTMLInputElement;
at(index: number): this;
first(): this;
last(): this;
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/eslint-config-prettier_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 86256c49102d70d8b48923b7ad05859b
// flow-typed version: <<STUB>>/eslint-config-prettier_v^2.2.0/flow_v0.48.0
// flow-typed signature: a0330e7f2e114ffbe1711a73d562fab5
// flow-typed version: <<STUB>>/eslint-config-prettier_v^2.3.0/flow_v0.49.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/eslint-config-react-app_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: b278d9d2377590ed440405fe1b2db600
// flow-typed version: <<STUB>>/eslint-config-react-app_v^1.0.4/flow_v0.48.0
// flow-typed signature: f5e0a4191059da6ee19b8e55f9e686a7
// flow-typed version: <<STUB>>/eslint-config-react-app_v^1.0.5/flow_v0.49.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 7aeb375c63190086c3e5d9bf041a0ad2
// flow-typed version: <<STUB>>/eslint-plugin-flowtype_v^2.34.0/flow_v0.48.0
// flow-typed signature: bf18a8fe23ad91d4a83b4c2e0a514c26
// flow-typed version: <<STUB>>/eslint-plugin-flowtype_v^2.34.1/flow_v0.49.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/eslint-plugin-import_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 0c75ac5c987776d9018841ba6bc100fe
// flow-typed version: <<STUB>>/eslint-plugin-import_v^2.6.0/flow_v0.48.0
// flow-typed signature: 5ba282f09c2e0410f17d96eb1ad9b4e4
// flow-typed version: <<STUB>>/eslint-plugin-import_v^2.7.0/flow_v0.49.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/eslint-plugin-jsx-a11y_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 2ef56c870858c5a4f556c5d3533d8452
// flow-typed version: <<STUB>>/eslint-plugin-jsx-a11y_v^5.0.3/flow_v0.48.0
// flow-typed signature: be1e593a96905930bf8bb748da562616
// flow-typed version: <<STUB>>/eslint-plugin-jsx-a11y_v^5.0.3/flow_v0.49.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/eslint-plugin-prettier_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: bfce8c534da035b67c6d1b1ea5084ad9
// flow-typed version: <<STUB>>/eslint-plugin-prettier_v^2.1.2/flow_v0.48.0
// flow-typed signature: 0fdf91572a94e1267d5faee42dab79ba
// flow-typed version: <<STUB>>/eslint-plugin-prettier_v^2.1.2/flow_v0.49.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/eslint-plugin-react_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 95b46e4acd30c791503f59c1beb916e2
// flow-typed version: <<STUB>>/eslint-plugin-react_v^7.1.0/flow_v0.48.0
// flow-typed signature: 498154512ce819aae9a1bd37f1f74cec
// flow-typed version: <<STUB>>/eslint-plugin-react_v^7.1.0/flow_v0.49.1

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

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/husky_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 1477b9c42f1493d9fc80955d01bf599a
// flow-typed version: <<STUB>>/husky_v^0.14.1/flow_v0.48.0
// flow-typed signature: b1946e9650a971d481e6d2a6ba563e5b
// flow-typed version: <<STUB>>/husky_v^0.14.3/flow_v0.49.1

/**
* This is an autogenerated libdef stub for:
Expand Down
27 changes: 22 additions & 5 deletions flow-typed/npm/jest_v20.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 599948fccaf9881f9a36213f63311213
// flow-typed version: 50ddf2f004/jest_v20.x.x/flow_>=v0.33.x
// flow-typed signature: a0369c11661f437ec4ccdd805579ddcf
// flow-typed version: c4b9fea7c9/jest_v20.x.x/flow_>=v0.33.x

type JestMockFn = {
(...args: Array<any>): any,
Expand Down Expand Up @@ -248,9 +248,9 @@ type JestExpectType = {
*/
toHaveProperty(propPath: string, value?: any): void,
/**
* Use .toMatch to check that a string matches a regular expression.
* Use .toMatch to check that a string matches a regular expression or string.
*/
toMatch(regexp: RegExp): void,
toMatch(regexpOrString: RegExp | string): void,
/**
* Use .toMatchObject to check that a javascript object matches a subset of the properties of an object.
*/
Expand Down Expand Up @@ -419,8 +419,25 @@ declare function beforeEach(fn: Function): void;
declare function afterAll(fn: Function): void;
/** Runs this function before any tests have started inside this context */
declare function beforeAll(fn: Function): void;

/** A context for grouping tests together */
declare function describe(name: string, fn: Function): void;
declare var describe: {
/**
* Creates a block that groups together several related tests in one "test suite"
*/
(name: string, fn: Function): void,

/**
* Only run this describe block
*/
only(name: string, fn: Function): void,

/**
* Skip running this describe block
*/
skip(name: string, fn: Function): void,
};


/** An individual test unit */
declare var it: {
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/lerna-changelog_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 40c223a4a239c92c0c2ddcb2a665a842
// flow-typed version: <<STUB>>/lerna-changelog_v^0.5.0/flow_v0.48.0
// flow-typed signature: 35dc9cc3d00a7a94ecd84dd041d68f79
// flow-typed version: <<STUB>>/lerna-changelog_v^0.5.0/flow_v0.49.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/lerna_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 77db0a7f13a9ee25d460ed6216518e70
// flow-typed version: <<STUB>>/lerna_v^2.0.0-rc.5/flow_v0.48.0
// flow-typed signature: 0016c58af5f25934fd676fec5c7c4742
// flow-typed version: <<STUB>>/lerna_v^2.0.0/flow_v0.49.1

/**
* This is an autogenerated libdef stub for:
Expand Down
74 changes: 2 additions & 72 deletions flow-typed/npm/lint-staged_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 8f644ab0ae0913cf40bced02014e29e2
// flow-typed version: <<STUB>>/lint-staged_v^4.0.0/flow_v0.48.0
// flow-typed signature: adac5730c82698f4fc750c2a23240750
// flow-typed version: <<STUB>>/lint-staged_v^4.0.1/flow_v0.49.1

/**
* This is an autogenerated libdef stub for:
Expand Down Expand Up @@ -46,46 +46,6 @@ declare module 'lint-staged/src/runScript' {
declare module.exports: any;
}

declare module 'lint-staged/test/__mocks__/execa' {
declare module.exports: any;
}

declare module 'lint-staged/test/__mocks__/npm-which' {
declare module.exports: any;
}

declare module 'lint-staged/test/calcChunkSize.spec' {
declare module.exports: any;
}

declare module 'lint-staged/test/findBin.spec' {
declare module.exports: any;
}

declare module 'lint-staged/test/generateTasks.spec' {
declare module.exports: any;
}

declare module 'lint-staged/test/readConfigOption.spec' {
declare module.exports: any;
}

declare module 'lint-staged/test/runScript-mock-findBin.spec' {
declare module.exports: any;
}

declare module 'lint-staged/test/runScript-mock-pMap.spec' {
declare module.exports: any;
}

declare module 'lint-staged/test/runScript.spec' {
declare module.exports: any;
}

declare module 'lint-staged/wallaby' {
declare module.exports: any;
}

// Filename aliases
declare module 'lint-staged/index' {
declare module.exports: $Exports<'lint-staged'>;
Expand All @@ -111,33 +71,3 @@ declare module 'lint-staged/src/readConfigOption.js' {
declare module 'lint-staged/src/runScript.js' {
declare module.exports: $Exports<'lint-staged/src/runScript'>;
}
declare module 'lint-staged/test/__mocks__/execa.js' {
declare module.exports: $Exports<'lint-staged/test/__mocks__/execa'>;
}
declare module 'lint-staged/test/__mocks__/npm-which.js' {
declare module.exports: $Exports<'lint-staged/test/__mocks__/npm-which'>;
}
declare module 'lint-staged/test/calcChunkSize.spec.js' {
declare module.exports: $Exports<'lint-staged/test/calcChunkSize.spec'>;
}
declare module 'lint-staged/test/findBin.spec.js' {
declare module.exports: $Exports<'lint-staged/test/findBin.spec'>;
}
declare module 'lint-staged/test/generateTasks.spec.js' {
declare module.exports: $Exports<'lint-staged/test/generateTasks.spec'>;
}
declare module 'lint-staged/test/readConfigOption.spec.js' {
declare module.exports: $Exports<'lint-staged/test/readConfigOption.spec'>;
}
declare module 'lint-staged/test/runScript-mock-findBin.spec.js' {
declare module.exports: $Exports<'lint-staged/test/runScript-mock-findBin.spec'>;
}
declare module 'lint-staged/test/runScript-mock-pMap.spec.js' {
declare module.exports: $Exports<'lint-staged/test/runScript-mock-pMap.spec'>;
}
declare module 'lint-staged/test/runScript.spec.js' {
declare module.exports: $Exports<'lint-staged/test/runScript.spec'>;
}
declare module 'lint-staged/wallaby.js' {
declare module.exports: $Exports<'lint-staged/wallaby'>;
}
18 changes: 16 additions & 2 deletions flow-typed/npm/prettier_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 5805d6823e1a1ddddfcaa0cbe78e201d
// flow-typed version: <<STUB>>/prettier_v^1.4.4/flow_v0.48.0
// flow-typed signature: 87048a92675f84240905882ec8e440a6
// flow-typed version: <<STUB>>/prettier_v^1.5.2/flow_v0.49.1

/**
* This is an autogenerated libdef stub for:
Expand Down Expand Up @@ -38,6 +38,14 @@ declare module 'prettier/parser-graphql' {
declare module.exports: any;
}

declare module 'prettier/parser-json' {
declare module.exports: any;
}

declare module 'prettier/parser-parse5' {
declare module.exports: any;
}

declare module 'prettier/parser-postcss' {
declare module.exports: any;
}
Expand Down Expand Up @@ -65,6 +73,12 @@ declare module 'prettier/parser-flow.js' {
declare module 'prettier/parser-graphql.js' {
declare module.exports: $Exports<'prettier/parser-graphql'>;
}
declare module 'prettier/parser-json.js' {
declare module.exports: $Exports<'prettier/parser-json'>;
}
declare module 'prettier/parser-parse5.js' {
declare module.exports: $Exports<'prettier/parser-parse5'>;
}
declare module 'prettier/parser-postcss.js' {
declare module.exports: $Exports<'prettier/parser-postcss'>;
}
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/react-test-renderer_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 933a5cb9cea3011f0285f006a63d791a
// flow-typed version: <<STUB>>/react-test-renderer_v^15.6.1/flow_v0.48.0
// flow-typed signature: 2d6abf358adf41a7b8961cc12a7cfd9c
// flow-typed version: <<STUB>>/react-test-renderer_v^15.6.1/flow_v0.49.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/react-test-utils_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: aa505cd51f6730ce0eae16ad8065a2ae
// flow-typed version: <<STUB>>/react-test-utils_v^0.0.1/flow_v0.48.0
// flow-typed signature: 9ff18f5caae8bb2f793412f147c81e83
// flow-typed version: <<STUB>>/react-test-utils_v^0.0.1/flow_v0.49.1

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

0 comments on commit dfc62e7

Please sign in to comment.