Skip to content

Commit

Permalink
bumping flow and friends (#771)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreardon authored Aug 30, 2018
1 parent 55ce7a5 commit 93cc9bd
Show file tree
Hide file tree
Showing 8 changed files with 300 additions and 370 deletions.
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,9 @@
"dependencies": {
"@babel/runtime-corejs2": "^7.0.0",
"css-box-model": "^1.0.0",
"emotion": "^9.2.6",
"memoize-one": "^4.0.0",
"prop-types": "^15.6.1",
"raf-schd": "^4.0.0",
"react-emotion": "^9.2.6",
"react-motion": "^0.5.2",
"react-redux": "^5.0.7",
"redux": "^4.0.0",
Expand All @@ -72,43 +70,45 @@
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@storybook/react": "^3.4.8",
"@storybook/react": "^3.4.10",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^9.0.0",
"babel-jest": "^23.4.2",
"babel-plugin-dev-expression": "^0.2.1",
"cross-env": "^5.2.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^5.2.0",
"eslint-config-airbnb": "^17.0.0",
"eslint-config-prettier": "^3.0.0",
"emotion": "^9.2.8",
"enzyme": "^3.5.0",
"enzyme-adapter-react-16": "^1.3.0",
"eslint": "^5.4.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^3.0.1",
"eslint-plugin-flowtype": "^2.50.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jest": "^21.18.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^21.22.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-react": "^7.10.0",
"flow-bin": "0.78.0",
"jest": "^23.4.2",
"eslint-plugin-react": "^7.11.1",
"flow-bin": "0.79.1",
"jest": "^23.5.0",
"jest-junit": "^5.1.0",
"jest-watch-typeahead": "^0.2.0",
"prettier": "^1.14.0",
"prettier": "^1.14.2",
"raf-stub": "^2.0.2",
"react": "^16.4.2",
"react-dom": "^16.4.2",
"react-emotion": "^9.2.8",
"react-test-renderer": "^16.4.2",
"rimraf": "^2.6.2",
"rollup": "^0.65.0",
"rollup-plugin-babel": "^4.0.1",
"rollup-plugin-babel": "^4.0.2",
"rollup-plugin-commonjs": "^9.1.6",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-size-snapshot": "^0.6.1",
"rollup-plugin-strip": "^1.1.1",
"rollup-plugin-uglify": "^4.0.0",
"stylelint": "9.5.0",
"stylelint-config-prettier": "^3.3.0",
"stylelint-config-prettier": "^4.0.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.3.2",
Expand Down
1 change: 0 additions & 1 deletion test/unit/view/drag-handle/focus-management.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,6 @@ describe('Focus retention moving between lists (focus retention between mounts)'
expect(third.getDOMNode()).not.toBe(document.activeElement);

// cleanup
second.unmount();
third.unmount();
});

Expand Down
5 changes: 3 additions & 2 deletions test/unit/view/drag-handle/keyboard-sensor.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ beforeEach(() => {
});

afterEach(() => {
wrapper.unmount();

if (wrapper.length) {
wrapper.unmount();
}
console.warn.mockRestore();
console.error.mockRestore();
});
Expand Down
4 changes: 3 additions & 1 deletion test/unit/view/drag-handle/mouse-sensor.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ beforeEach(() => {
});

afterEach(() => {
wrapper.unmount();
if (wrapper.length) {
wrapper.unmount();
}

console.warn.mockRestore();
console.error.mockRestore();
Expand Down
4 changes: 3 additions & 1 deletion test/unit/view/drag-handle/touch-sensor.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ beforeEach(() => {
});

afterEach(() => {
wrapper.unmount();
if (wrapper.length) {
wrapper.unmount();
}

console.warn.mockRestore();
console.error.mockRestore();
Expand Down
3 changes: 2 additions & 1 deletion test/unit/view/unconnected-draggable.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ describe('Draggable - unconnected', () => {
describe('drag handle', () => {
// we need to unmount after each test to avoid
// cross EventMarshal contamination
let managedWrapper: ReactWrapper;
let managedWrapper: ?ReactWrapper = null;

const startDragWithHandle = (wrapper: ReactWrapper) => ({
selection = origin,
Expand All @@ -319,6 +319,7 @@ describe('Draggable - unconnected', () => {
afterEach(() => {
if (managedWrapper) {
managedWrapper.unmount();
managedWrapper = null;
}
});

Expand Down
1 change: 1 addition & 0 deletions website/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ exports.onCreateNode = ({ node, actions, getNode } /* : NodeParams */) => {
exports.createPages = ({ graphql, actions } /* : NodeParams */) => {
const { createPage } = actions;

// $FlowFixMe - not sure what this is after
return new Promise((resolve, reject) => {
const markdownPage = path.resolve('src/templates/markdown.jsx');
resolve(
Expand Down
Loading

0 comments on commit 93cc9bd

Please sign in to comment.