Skip to content
This repository was archived by the owner on Sep 21, 2021. It is now read-only.

Commit 53cfa2a

Browse files
authored
Upgrade to React 16.4.1 (#1074)
1 parent f8b9a7c commit 53cfa2a

File tree

9 files changed

+1459
-2719
lines changed

9 files changed

+1459
-2719
lines changed

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@
3434
"eslint-plugin-mozilla": "0.2.3",
3535
"eslint-plugin-react": "^6.7.1",
3636
"husky": "^0.12.0",
37-
"react": "^15.6.2",
38-
"react-dom": "^15.6.2",
39-
"react-hot-loader": "^1.3.1",
40-
"react-test-renderer": "15.6.2",
4137
"stylelint": "^7.4.2"
4238
},
4339
"devDependencies": {

packages/devtools-launchpad/.storybook/config.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

packages/devtools-launchpad/.storybook/webpack.config.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/devtools-launchpad/package.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "devtools-launchpad",
3-
"version": "0.0.126",
3+
"version": "0.0.127",
44
"license": "MPL-2.0",
55
"description": "The Launchpad makes it easy to build a developer tool for Firefox, Chrome, and Node.",
66
"repository": {
@@ -12,8 +12,6 @@
1212
},
1313
"homepage": "https://github.com/devtools-html/devtools-core/tree/master/packages/devtools-launchpad#readme",
1414
"scripts": {
15-
"storybook": "start-storybook -p 6006",
16-
"build-storybook": "build-storybook",
1715
"license-check": "devtools-license-check",
1816
"start": "node bin/dev-server",
1917
"test": "jest"
@@ -42,6 +40,7 @@
4240
"babel-plugin-webpack-alias": "^2.1.1",
4341
"babel-polyfill": "^6.7.4",
4442
"babel-preset-es2015": "^6.24.1",
43+
"babel-preset-react": "^6.24.1",
4544
"babel-register": "^6.18.0",
4645
"body-parser": "^1.15.2",
4746
"check-node-version": "^1.1.2",
@@ -54,6 +53,7 @@
5453
"devtools-connection": "^0.0.9",
5554
"devtools-contextmenu": "^0.0.8",
5655
"devtools-environment": "^0.0.5",
56+
"devtools-license-check": "^0.7.0",
5757
"devtools-mc-assets": "^0.0.6",
5858
"devtools-modules": "^0.0.37",
5959
"devtools-sprintf-js": "^1.0.3",
@@ -78,10 +78,9 @@
7878
"properties-parser": "^0.3.1",
7979
"ps-node": "^0.1.4",
8080
"raw-loader": "^0.5.1",
81-
"react": "^16.2.0",
82-
"react-dom": "^16.2.0",
8381
"react-dom-factories": "^1.0.2",
84-
"react-immutable-proptypes": "^2.1.0",
82+
"react": "^16.4.1",
83+
"react-dom": "^16.4.1",
8584
"react-redux": "^5.0.6",
8685
"redux": "^3.7.2",
8786
"selenium-webdriver": "=3.3.0",
@@ -96,16 +95,14 @@
9695
"ws": "^1.0.1"
9796
},
9897
"devDependencies": {
99-
"@storybook/react": "^3.2.13",
10098
"eslint": "^3.12.0",
10199
"eslint-plugin-babel": "^3.3.0",
102100
"eslint-plugin-flowtype": "^2.20.0",
103101
"eslint-plugin-mozilla": "0.4.3",
104102
"eslint-plugin-react": "^6.7.1",
105103
"ipaddr": "^0.0.9",
106104
"jest": "^20.0.4",
107-
"react-hot-loader": "^1.3.1",
108-
"react-immutable-proptypes": "^2.1.0"
105+
"react-hot-loader": "^1.3.1"
109106
},
110107
"files": [
111108
"assets",

packages/devtools-launchpad/src/components/LandingPage.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ require("./LandingPage.css");
88
const { Component } = React;
99
const PropTypes = require("prop-types");
1010
const dom = require("react-dom-factories");
11-
const ImPropTypes = require("react-immutable-proptypes");
1211
const configMap = require("../constants").sidePanelItems;
1312
const Tabs = React.createFactory(require("./Tabs"));
1413
const Sidebar = React.createFactory(require("./Sidebar"));
@@ -38,7 +37,7 @@ function firstTimeMessage(title, urlPart) {
3837
class LandingPage extends Component {
3938
static get propTypes() {
4039
return {
41-
tabs: ImPropTypes.map.isRequired,
40+
tabs: PropTypes.object.isRequired,
4241
supportsFirefox: PropTypes.bool.isRequired,
4342
supportsChrome: PropTypes.bool.isRequired,
4443
title: PropTypes.string.isRequired,

packages/devtools-launchpad/src/components/LaunchpadApp.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
const React = require("react");
66
const { Component } = React;
77
const PropTypes = require("prop-types");
8-
const ImPropTypes = require("react-immutable-proptypes");
98
const { connect } = require("react-redux");
109
const { bindActionCreators } = require("redux");
1110
const { getTabs, getFilterString, getConfig } = require("../selectors");
@@ -15,7 +14,7 @@ const LandingPage = React.createFactory(require("./LandingPage"));
1514
class LaunchpadApp extends Component {
1615
static get propTypes() {
1716
return {
18-
tabs: ImPropTypes.map.isRequired,
17+
tabs: PropTypes.object.isRequired,
1918
filterString: PropTypes.string,
2019
actions: PropTypes.object,
2120
config: PropTypes.object

0 commit comments

Comments
 (0)