diff --git a/.flowconfig b/.flowconfig index 7a9f3f5c2f..fa03d719ed 100644 --- a/.flowconfig +++ b/.flowconfig @@ -3,6 +3,7 @@ .*/node_modules/redux-form/.* .*/node_modules/react-motion/.* .*/node_modules/draft-js/.* +.*/node_modules/nwb/.* [include] @@ -12,4 +13,4 @@ [options] [version] -0.64.0 +0.71.0 diff --git a/package.json b/package.json index a42777822c..c9974228c9 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "private": true, + "license": "Apache-2.0", "devDependencies": { "babel-eslint": "^7.2.3", "eslint": "^4.5.0", @@ -10,6 +11,7 @@ "eslint-plugin-import": "^2.7.0", "eslint-plugin-jsx-a11y": "^6.0.2", "eslint-plugin-react": "^7.2.1", + "flow-bin": "^0.71.0", "glow": "^1.2.2", "husky": "^0.14.3", "lerna": "^2.10.2", @@ -26,7 +28,7 @@ "lint": "npm run eslint && npm run prettier && npm run flow && npm run check-license", "precommit": "lint-staged", "prettier": - "prettier --write '{.,scripts}/*.{js,json,md}' 'packages/*/src/**/*.{css,js,json,md}' 'packages/*/*.{css,js,json,md}'", + "prettier --write '{.,scripts}/*.{js,json,md}' 'packages/*/{src,demo/src}/**/*.{css,js,json,md}' 'packages/*/*.{css,js,json,md}'", "test": "lerna run test" }, "prettier": { diff --git a/packages/jaeger-ui/package.json b/packages/jaeger-ui/package.json index 4ed3dcc012..cfedcf24b2 100644 --- a/packages/jaeger-ui/package.json +++ b/packages/jaeger-ui/package.json @@ -1,8 +1,9 @@ { + "private": true, "name": "jaeger-ui", "version": "0.0.1", "main": "src/index.js", - "license": "MIT", + "license": "Apache-2.0", "proxy": { "/api": { "target": "http://localhost:16686", @@ -37,7 +38,6 @@ "d3-scale": "^1.0.6", "dagre": "^0.7.4", "deep-freeze": "^0.0.1", - "flow-bin": "^0.64.0", "fuzzy": "^0.1.3", "global": "^4.3.2", "history": "^4.6.3", @@ -51,9 +51,9 @@ "prop-types": "^15.5.10", "query-string": "^5.0.0", "raven-js": "^3.22.1", - "react": "^16.3.0", + "react": "^16.3.2", "react-dimensions": "^1.3.0", - "react-dom": "^16.3.0", + "react-dom": "^16.3.2", "react-ga": "^2.4.1", "react-helmet": "^5.1.3", "react-icons": "^2.2.7", diff --git a/packages/jaeger-ui/src/components/App/TopNav.js b/packages/jaeger-ui/src/components/App/TopNav.js index 146d105735..5cd102697c 100644 --- a/packages/jaeger-ui/src/components/App/TopNav.js +++ b/packages/jaeger-ui/src/components/App/TopNav.js @@ -72,14 +72,16 @@ export default function TopNav(props: TopNavProps) { return (