Skip to content

Commit

Permalink
Upgrade dependencies, add version check for react-dnd < 9.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisBrunner committed Jul 25, 2019
1 parent af6e040 commit 3952440
Show file tree
Hide file tree
Showing 9 changed files with 5,429 additions and 3,896 deletions.
10 changes: 5 additions & 5 deletions examples/examples_react-dnd-multi-backend.min.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions examples/examples_react-dnd-preview.min.js

Large diffs are not rendered by default.

9,241 changes: 5,387 additions & 3,854 deletions package-lock.json

Large diffs are not rendered by default.

44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"clean": "rm -rf packages/*/lib",
"build:lib": "find packages -mindepth 1 -maxdepth 1 -type d -exec babel '{}'/src --out-dir '{}'/lib --ignore _spec.js ';'",
"build:lib": "lerna exec --prefix -- babel --config-file ../../babel.config.js --ignore 'src/__tests__/' --out-dir lib --delete-dir-on-start src",
"build:dist": "webpack --mode production",
"build:examples": "webpack --mode production --config webpack/examples.js",
"build": "npm run build:lib && npm run build:dist && npm run build:examples",
Expand All @@ -19,33 +19,33 @@
"postinstall": "lerna bootstrap"
},
"devDependencies": {
"@babel/cli": "^7.4.3",
"@babel/core": "^7.4.3",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/plugin-proposal-decorators": "^7.4.0",
"@babel/preset-env": "^7.4.3",
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-decorators": "^7.4.4",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.4.0",
"acorn": "^6.1.1",
"ajv": "^6.10.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.7.1",
"babel-loader": "^8.0.5",
"copy-webpack-plugin": "^5.0.2",
"coveralls": "^3.0.3",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.11.2",
"@babel/register": "^7.5.5",
"acorn": "^6.2.1",
"ajv": "^6.10.2",
"babel-eslint": "^10.0.2",
"babel-jest": "^24.8.0",
"babel-loader": "^8.0.6",
"copy-webpack-plugin": "^5.0.3",
"coveralls": "^3.0.5",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"eslint": "^5.16.0",
"eslint-loader": "^2.1.2",
"eslint-plugin-react": "^7.12.4",
"jest": "^24.7.1",
"eslint-loader": "^2.2.1",
"eslint-plugin-react": "^7.14.3",
"jest": "^24.8.0",
"jest-enzyme": "^7.0.2",
"lerna": "^3.13.1",
"lerna": "^3.16.4",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"webpack": "^4.29.6",
"webpack": "^4.37.0",
"webpack-command": "^0.4.2",
"webpack-dev-server": "^3.2.1",
"webpack-dev-server": "^3.7.2",
"webpack-merge": "^4.2.1"
}
}
2 changes: 1 addition & 1 deletion packages/react-dnd-multi-backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions packages/react-dnd-multi-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
},
"peerDependencies": {
"react": "*",
"react-dnd": "*",
"react-dnd-html5-backend": "*",
"react-dnd-touch-backend": "*",
"react-dnd": "< 9.0.0",
"react-dnd-html5-backend": "< 9.0.0",
"react-dnd-touch-backend": "< 9.0.0",
"react-dom": "*"
},
"devDependencies": {
"object-assign": "^4.1.1",
"react-dnd-html5-backend": "^5.0.1",
"react-dnd-touch-backend": "^0.5.2"
"react-dnd-html5-backend": "< 9.0.0",
"react-dnd-touch-backend": "< 9.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/react-dnd-preview/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/react-dnd-preview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
},
"devDependencies": {
"react": "*",
"react-dnd": "*",
"react-dnd-test-backend": "^5.0.1"
"react-dnd": "< 9.0.0",
"react-dnd-test-backend": "< 9.0.0"
},
"peerDependencies": {
"react": "*",
"react-dnd": "*"
"react-dnd": "< 9.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/react-dnd-preview/src/__tests__/index_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('Preview subcomponent', () => {

test('is null when DnD is not in progress', () => {
const component = createComponent().find(Preview);
expect(component.html()).toBeNull();
expect(component.html()).toEqual('');
});

test('is valid when DnD is in progress', () => {
Expand Down

0 comments on commit 3952440

Please sign in to comment.