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

Commit 8ac9fe1

Browse files
committed
Update devtools-launchpad to React 16
1 parent 5f02d4d commit 8ac9fe1

File tree

5 files changed

+1694
-666
lines changed

5 files changed

+1694
-666
lines changed

packages/devtools-launchpad/.babelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"plugins": [
44
"transform-flow-strip-types",
55
"transform-async-to-generator",
6+
"transform-runtime",
67
[
78
"module-resolver",
89
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import { configure } from '@kadira/storybook';
5+
import { configure } from '@storybook/react';
66

77
function loadStories() {
88
require('../stories');

packages/devtools-launchpad/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@
8080
"properties-parser": "^0.3.1",
8181
"ps-node": "^0.1.4",
8282
"raw-loader": "^0.5.1",
83+
"react": "^16.2.0",
84+
"react-dom":"^16.2.0",
8385
"react-dom-factories": "^1.0.2",
8486
"react-immutable-proptypes": "^2.1.0",
8587
"react-redux": "^5.0.6",
@@ -96,7 +98,7 @@
9698
"ws": "^1.0.1"
9799
},
98100
"devDependencies": {
99-
"@kadira/storybook": "^2.35.3",
101+
"@storybook/react": "^3.2.13",
100102
"eslint": "^3.12.0",
101103
"eslint-plugin-babel": "^3.3.0",
102104
"eslint-plugin-flowtype": "^2.20.0",

packages/devtools-launchpad/stories/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

55
const React = require("react");
6-
const { storiesOf, action } = require("@kadira/storybook");
6+
const { storiesOf, action } = require("@storybook/react");
77
const LandingPage = require("../src/components/LandingPage");
88

99
const { combineReducers } = require("redux");
@@ -17,7 +17,7 @@ const selectors = require("../src/selectors");
1717
import { Map } from "immutable";
1818

1919
// Add devtools theme styles
20-
require("../src/lib/themes/light-theme.css");
20+
// require("../src/lib/themes/light-theme.css");
2121
document.body.classList.add("theme-light");
2222

2323
const getTab = (id, title, clientType, url) => {

0 commit comments

Comments
 (0)