Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-5276

plan and upgrade the JavaScript third party packages

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: SUIT
    • Labels:
      None
    • Story Points:
      4
    • Sprint:
      SUIT Sprint 2016-9
    • Team:
      Science User Interface

      Description

      The following packages need to be reviewed and maybe upgraded.
      "babel" : "5.8.34", 6.5.2 (M)
      "history" : "1.17.0", 2.0.0 (M)
      "icepick" : "0.2.0", 1.1.0 (M)
      "react-highcharts": "5.0.6", 7.0.0 (M)
      "react-redux": "3.1.2", 4.4.0 (M)
      "react-split-pane": "0.1.22", 2.0.1 (M)
      "redux-thunk": "0.1.0", 1.0.3 (M)
      "redux-logger": "1.0.9", 2.6.1 (M)
      "validator" : "4.5.0", 5.1.0 (M)
      "chai": "^2.3.0", 3.5.0 (M)
      "esprima-fb": "^14001.1.0-dev-harmony-fb", 15001.1001.0-dev-harmony-fb (M)
      "babel-eslint" : "^4.1.3", 5.0.0 (M)
      "babel-loader" : "^5.3.2", 6.2.4 (M)
      "babel-plugin-react-transform": "^1.1.0", 2.0.0 (M)
      "babel-runtime" : "^5.8.20", 6.6.0 (M)
      "eslint" : "^1.10.3", 2.2.0 (M)
      "eslint-config-airbnb": "0.1.0", 6.0.2 (M) works with eslint 2.2.0
      "eslint-plugin-react": "^3.5.1", 4.1.0 (M) works with eslint 2.2.0
      "extract-text-webpack-plugin": "^0.8.0", 1.0.1 (M)
      "html-webpack-plugin": "^1.6.1", 2.9.0 (M)
      "karma-sinon-chai": "^0.3.0", 1.2.0 (M)
      "redux-devtools" : "^2.1.2", 3.3.1 (M)
      "webpack": "^1.8.2" 1.12.14, 2.1.0 beta4 (M)

      As of 9/6/2016, the content of dependencies in package.json is listed below:

      "babel-core": "6.14.0",
      "babel-loader" : "6.2.5",
      "babel-polyfill" : "6.13.0 ",
      "babel-preset-es2015": "6.14.0",
      "babel-preset-react": "6.11.1",
      "babel-preset-stage-2": "6.13.0",
      "babel-runtime" : "6.9.2",
      "babel-plugin-react-transform": "2.0.2",
      "enum": "2.3.0",
      "fixed-data-table": "0.6.3",
      "isomorphic-fetch": "2.2.1",
      "local-storage": "1.4.2",
      "lodash": "4.6.1",
      "numeral": "1.5.3",
      "react": "15.3.1",
      "react-dom": "15.3.1",
      "react-addons-pure-render-mixin": "15.3.1",
      "react-addons-shallow-compare": "15.3.1",
      "react-addons-update": "15.3.1",
      "react-addons-perf" : "15.3.1",
      "react-component-resizable": "1.0.1",
      "react-grid-layout": "0.13.3",
      "react-highcharts": "10.0.0",
      "react-split-pane": "0.1.44",
      "redux": "3.5.2",
      "redux-thunk": "2.1.0",
      "redux-logger": "2.6.1",
      "redux-saga": "0.11.1",
      "underscore.string": "3.2.3",
      "uniq": "1.0.1",
      "validator": "4.5.0",
      "whatwg-fetch": "0.10.1",
      "react-color": "2.2.6",
      "shallowequal": "0.2.2"

        Attachments

          Issue Links

            Activity

            Hide
            roby Trey Roby added a comment -

            Loi is going to upgrade all the dependencies and a least some of the devDependencies. babel and webpack are the key devDependencies. karma might not be necessary for this ticket.

            Key package upgrades:

            • webpack 2
            • babel 6
            • React 15

            Any think you are not clear about we should make a separate ticket.

            Show
            roby Trey Roby added a comment - Loi is going to upgrade all the dependencies and a least some of the devDependencies. babel and webpack are the key devDependencies. karma might not be necessary for this ticket. Key package upgrades: webpack 2 babel 6 React 15 Any think you are not clear about we should make a separate ticket.
            Hide
            loi Loi Ly added a comment - - edited

            webpack 2 is not released, yet. Upgrade to latest version of 1 instead.
            Things you should be aware of in React 15: https://facebook.github.io/react/blog/2016/04/07/react-v15.html
            As far as I can tell, they are all fixed in this pull request.

            Also:

            • upgrade most packages to latest versions as well
              • see package.json diff for more details.
            • fixed warnings related to React upgrade
            • remove some of the unused packages
              • history
              • icepick
              • babel-eslint
              • react-tools
              • query
              • less
              • less-loader
              • jscs
              • eslint-config-airbnb
            Show
            loi Loi Ly added a comment - - edited webpack 2 is not released, yet. Upgrade to latest version of 1 instead. Things you should be aware of in React 15: https://facebook.github.io/react/blog/2016/04/07/react-v15.html As far as I can tell, they are all fixed in this pull request. Also: upgrade most packages to latest versions as well see package.json diff for more details. fixed warnings related to React upgrade remove some of the unused packages history icepick babel-eslint react-tools query less less-loader jscs eslint-config-airbnb

              People

              • Assignee:
                loi Loi Ly
                Reporter:
                xiuqin Xiuqin Wu [X] (Inactive)
                Reviewers:
                Tatiana Goldina, Trey Roby
                Watchers:
                Emmanuel Joliet, Loi Ly, Tatiana Goldina, Trey Roby, Xiuqin Wu [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel