Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 6558624

Browse files
Update dependencies to their latest (#373)
* Update peerDepencies react & react-dom to 16.6.1 * Update all packages to their React 16 dependent versions * Add react & react-dom to devDependencies to fix warnings * Remove unused packages & update deps vs devDeps * Replace package-lock.json with yarn.lock file Replace package-lock.json with yarn.lock in .circle/config * Update DatePickerRange with new initialize CSS * Update SyntaxHighligher language import * Rebuild bundle with new packages Reformat src and rebuild * Fix ESLint by installing eslint-plugin-import * Repair Jest tests with new Enzyme config * Refactored DatePicker to new react-date style Tiny react-dates styling fix Fix test regression CSS * Upgrade to babel 7, fix Jest Babel 7 bug * Put package-lock back and remove yarn.lock * Revert changes to circleci config and peerDeps * Reorder dependencies and devDependencies * Update version and changelog * Change version 1.0.0 => 0.39.0 * Updated package-lock.json * Revert changes to client-facing React packages * Remove react-select dependencie because it's not used
1 parent ce61269 commit 6558624

16 files changed

+11223
-17573
lines changed

.babelrc

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"presets": ["env", "react"],
2+
"presets": ["@babel/preset-env", "@babel/preset-react"],
33
"env": {
44
"production": {
5-
"plugins": ["transform-object-rest-spread", "styled-jsx/babel"]
5+
"plugins": ["@babel/plugin-proposal-object-rest-spread", "styled-jsx/babel"]
66
},
77
"development": {
8-
"plugins": ["transform-object-rest-spread", "styled-jsx/babel"]
8+
"plugins": ["@babel/plugin-proposal-object-rest-spread", "styled-jsx/babel"]
99
},
1010
"test": {
11-
"plugins": ["transform-object-rest-spread", "styled-jsx/babel-test"]
11+
"plugins": ["@babel/plugin-proposal-object-rest-spread", "styled-jsx/babel-test"]
1212
}
1313
}
1414
}

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [0.39.0] - 2018-11-12
6+
### Changed
7+
- Updated `react` and `react-dom` to version `^16.6.1`
8+
- Updated `react-docgen` to `^2.21.0`
9+
- Updated `react-select-fast-filter-options` to `^0.2.3`
10+
- Updated `react-virtualized-select` to `^3.1.3`
11+
- Upgraded `babel` and dependencies to `7.1.5`
12+
- Upgraded `enzyme` and dependencies to `3.7.0`
13+
- Removed `react-select` because it's unused - we're using `react-virtualized-select` instead.
14+
515
## [0.38.1] - 2018-11-14
616
### Fixed
717
- The issue [#115](https://github.com/plotly/dash-core-components/issues/115)

dash_core_components/dash_core_components.dev.js

+1,620-1,155
Large diffs are not rendered by default.

dash_core_components/dash_core_components.min.js

+12-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_core_components/package.json

+33-34
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dash-core-components",
3-
"version": "0.38.1",
3+
"version": "0.39.0",
44
"description": "Core component suite for Dash",
55
"repository": {
66
"type": "git",
@@ -27,54 +27,53 @@
2727
"author": "Chris Parmer <[email protected]>",
2828
"license": "MIT",
2929
"dependencies": {
30-
"babel-core": "^6.26.3",
31-
"babel-eslint": "^8.2.6",
32-
"babel-loader": "^7.1.4",
33-
"babel-preset-env": "^1.7.0",
34-
"babel-preset-react": "^6.24.1",
35-
"builder": "3.2.2",
36-
"copyfiles": "^2.0.0",
3730
"cross-env": "^5.2.0",
38-
"css-loader": "^0.28.11",
39-
"enzyme": "^2.4.1",
40-
"eslint": "^5.4.0",
41-
"eslint-config-prettier": "^3.0.1",
42-
"eslint-plugin-react": "^7.11.1",
4331
"moment": "^2.20.1",
44-
"prettier": "^1.14.2",
4532
"prop-types": "^15.6.0",
46-
"radium": "^0.19.4",
4733
"ramda": "^0.24.1",
4834
"rc-slider": "^8.3.1",
49-
"react-addons-shallow-compare": "^15.6.0",
5035
"react-dates": "^12.3.0",
51-
"react-docgen": "^2.20.1",
36+
"react-addons-shallow-compare": "^15.6.0",
37+
"react-docgen": "^2.21.0",
5238
"react-dropzone": "^4.1.2",
5339
"react-markdown": "^2.4.5",
54-
"react-select": "^2.1.0",
55-
"react-select-fast-filter-options": "^0.2.2",
40+
"react-select-fast-filter-options": "^0.2.3",
5641
"react-syntax-highlighter": "^5.0.0",
57-
"react-virtualized-select": "^3.1.0",
58-
"style-loader": "^0.23.1",
59-
"styled-jsx": "^3.1.0",
60-
"webpack": "^4.8.3",
61-
"webpack-cli": "^2.1.3",
62-
"webpack-serve": "^1.0.2"
42+
"react-virtualized-select": "^3.1.3"
6343
},
6444
"devDependencies": {
65-
"babel-core": "^6.26.3",
45+
"@babel/core": "^7.1.5",
46+
"babel-core": "^7.0.0-bridge.0",
47+
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
48+
"@babel/preset-env": "^7.1.5",
49+
"@babel/preset-react": "^7.0.0",
50+
"babel-eslint": "^10.0.1",
51+
"babel-loader": "^8.0.4",
6652
"babel-jest": "^23.6.0",
67-
"component-playground": "^2.0.0",
68-
"dash-components-archetype-dev": "^0.3.0-rc1",
69-
"enzyme": "^2.9.1",
70-
"enzyme-adapter-react-16": "^1.5.0",
53+
"component-playground": "^3.0.0",
54+
"copyfiles": "^2.0.0",
55+
"css-loader": "^1.0.1",
56+
"enzyme": "^3.7.0",
57+
"enzyme-adapter-react-16": "^1.7.0",
58+
"eslint": "^5.8.0",
59+
"eslint-config-prettier": "^3.0.1",
60+
"eslint-plugin-react": "^7.11.1",
61+
"eslint-plugin-import": "^2.14.0",
62+
"exec-sh": "^0.3.0",
7163
"jest": "^23.6.0",
64+
"prettier": "^1.14.2",
65+
"react": "^16.6.1",
66+
"react-dom": "^16.6.1",
7267
"regenerator-runtime": "^0.12.1",
73-
"exec-sh": "^0.3.0",
74-
"watch": "^1.0.2"
68+
"style-loader": "^0.23.1",
69+
"styled-jsx": "^3.1.1",
70+
"watch": "^1.0.2",
71+
"webpack": "^4.25.1",
72+
"webpack-cli": "^3.1.2",
73+
"webpack-serve": "^2.0.2"
7574
},
7675
"peerDependencies": {
77-
"react": "^15.4.0 || ^16.0.0",
78-
"react-dom": "^15.4.0 || ^16.0.0"
76+
"react": "^15.6.0 || ^16.0.0",
77+
"react-dom": "^15.6.0 || ^16.0.0"
7978
}
8079
}

dash_core_components/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.38.1'
1+
__version__ = '0.39.0'

jest.config.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,15 @@ module.exports = {
107107
// rootDir: null,
108108

109109
// A list of paths to directories that Jest should use to search for files in
110-
// roots: [
111-
// "<rootDir>"
112-
// ],
110+
roots: [
111+
"<rootDir>/test/unit"
112+
],
113113

114114
// Allows you to use a custom runner instead of Jest's default test runner
115115
// runner: "jest-runner",
116116

117117
// The paths to modules that run some code to configure or set up the testing environment before each test
118-
// setupFiles: [],
118+
setupFiles: ['<rootDir>/test/setupTests.js'],
119119

120120
// The path to a module that runs some code to configure or set up the testing framework before each test
121121
// setupTestFrameworkScriptFile: null,

0 commit comments

Comments
 (0)