From 5e76d716e9778272a971a0043cbaf03ad4aa0fd3 Mon Sep 17 00:00:00 2001 From: Evan Rusackas Date: Tue, 1 Sep 2020 15:32:39 -0700 Subject: [PATCH] moving all @types to dev dependencies (#10750) --- superset-frontend/package-lock.json | 78 ++++++++++++++++++++++------- superset-frontend/package.json | 28 +++++------ 2 files changed, 73 insertions(+), 33 deletions(-) diff --git a/superset-frontend/package-lock.json b/superset-frontend/package-lock.json index 20ca6251c98a2..686373bbc0057 100644 --- a/superset-frontend/package-lock.json +++ b/superset-frontend/package-lock.json @@ -14924,6 +14924,16 @@ "lodash": "^4.17.15", "prop-types": "^15.7.2", "react-bootstrap": "^0.33.1" + }, + "dependencies": { + "@types/react-bootstrap": { + "version": "0.32.21", + "resolved": "https://registry.npmjs.org/@types/react-bootstrap/-/react-bootstrap-0.32.21.tgz", + "integrity": "sha512-AV/6cMUBbKArEQcjXEzpoHexHi6hJL0cH3Vcw9qI4Ob2g/XFRvyTAFdMlGlp8HZmOHXL35PdF0K75Z31Po87qg==", + "requires": { + "@types/react": "*" + } + } } }, "@superset-ui/color": { @@ -15589,6 +15599,16 @@ "lodash": "^4.17.15", "prop-types": "^15.7.2", "react-bootstrap": "^0.33.1" + }, + "dependencies": { + "@types/react-bootstrap": { + "version": "0.32.21", + "resolved": "https://registry.npmjs.org/@types/react-bootstrap/-/react-bootstrap-0.32.21.tgz", + "integrity": "sha512-AV/6cMUBbKArEQcjXEzpoHexHi6hJL0cH3Vcw9qI4Ob2g/XFRvyTAFdMlGlp8HZmOHXL35PdF0K75Z31Po87qg==", + "requires": { + "@types/react": "*" + } + } } }, "@superset-ui/connection": { @@ -16802,9 +16822,10 @@ "dev": true }, "@types/cheerio": { - "version": "0.22.18", - "resolved": "https://registry.npmjs.org/@types/cheerio/-/cheerio-0.22.18.tgz", - "integrity": "sha512-Fq7R3fINAPSdUEhOyjG4iVxgHrOnqDJbY0/BUuiN0pvD/rfmZWekVZnv+vcs8TtpA2XF50uv50LaE4EnpEL/Hw==", + "version": "0.22.21", + "resolved": "https://registry.npmjs.org/@types/cheerio/-/cheerio-0.22.21.tgz", + "integrity": "sha512-aGI3DfswwqgKPiEOTaiHV2ZPC9KEhprpgEbJnv0fZl3SGX0cGgEva1126dGrMC6AJM6v/aihlUgJn9M5DbDZ/Q==", + "dev": true, "requires": { "@types/node": "*" } @@ -16904,6 +16925,7 @@ "version": "3.10.5", "resolved": "https://registry.npmjs.org/@types/enzyme/-/enzyme-3.10.5.tgz", "integrity": "sha512-R+phe509UuUYy9Tk0YlSbipRpfVtIzb/9BHn5pTEtjJTF5LXvUjrIQcZvNyANNEyFrd2YGs196PniNT1fgvOQA==", + "dev": true, "requires": { "@types/cheerio": "*", "@types/react": "*" @@ -16938,7 +16960,8 @@ "@types/fetch-mock": { "version": "7.3.2", "resolved": "https://registry.npmjs.org/@types/fetch-mock/-/fetch-mock-7.3.2.tgz", - "integrity": "sha512-NCEfv49jmDsBAixjMjEHKVgmVQlJ+uK56FOc+2roYPExnXCZDpi6mJOHQ3v23BiO84hBDStND9R2itJr7PNoow==" + "integrity": "sha512-NCEfv49jmDsBAixjMjEHKVgmVQlJ+uK56FOc+2roYPExnXCZDpi6mJOHQ3v23BiO84hBDStND9R2itJr7PNoow==", + "dev": true }, "@types/glob": { "version": "7.1.1", @@ -16978,7 +17001,8 @@ "@types/history": { "version": "4.7.6", "resolved": "https://registry.npmjs.org/@types/history/-/history-4.7.6.tgz", - "integrity": "sha512-GRTZLeLJ8ia00ZH8mxMO8t0aC9M1N9bN461Z2eaRurJo6Fpa+utgCwLzI4jQHcrdzuzp5WPN9jRwpsCQ1VhJ5w==" + "integrity": "sha512-GRTZLeLJ8ia00ZH8mxMO8t0aC9M1N9bN461Z2eaRurJo6Fpa+utgCwLzI4jQHcrdzuzp5WPN9jRwpsCQ1VhJ5w==", + "dev": true }, "@types/html-minifier-terser": { "version": "5.1.0", @@ -17194,9 +17218,10 @@ } }, "@types/react-bootstrap": { - "version": "0.32.21", - "resolved": "https://registry.npmjs.org/@types/react-bootstrap/-/react-bootstrap-0.32.21.tgz", - "integrity": "sha512-AV/6cMUBbKArEQcjXEzpoHexHi6hJL0cH3Vcw9qI4Ob2g/XFRvyTAFdMlGlp8HZmOHXL35PdF0K75Z31Po87qg==", + "version": "0.32.22", + "resolved": "https://registry.npmjs.org/@types/react-bootstrap/-/react-bootstrap-0.32.22.tgz", + "integrity": "sha512-pjUVcJzogMxns3lbvMqnnU+I8EOYxl3aI13tS2vvRm0RdAe1rs7Ds/VZA29GI6p8p3Un6NqKUpW3+dgwAjyzxg==", + "dev": true, "requires": { "@types/react": "*" } @@ -17215,6 +17240,7 @@ "version": "16.9.8", "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-16.9.8.tgz", "integrity": "sha512-ykkPQ+5nFknnlU6lDd947WbQ6TE3NNzbQAkInC2EKY1qeYdTKp7onFusmYZb+ityzx2YviqT6BXSu+LyWWJwcA==", + "dev": true, "requires": { "@types/react": "*" } @@ -17223,6 +17249,7 @@ "version": "2.6.8", "resolved": "https://registry.npmjs.org/@types/react-gravatar/-/react-gravatar-2.6.8.tgz", "integrity": "sha512-VMk0bF0w72l+opBm+EqLs0JqUG+hPowMBWCVGrbTwUWm/oDncvwNrf7P/ImwYwkTCKiLnU8Rc+/lyhehaIE/Rw==", + "dev": true, "requires": { "@types/react": "*" } @@ -17231,6 +17258,7 @@ "version": "0.6.11", "resolved": "https://registry.npmjs.org/@types/react-json-tree/-/react-json-tree-0.6.11.tgz", "integrity": "sha512-HP0Sf0ZHjCi1FHLJxh/pLaxaevEW6ILlV2C5Dn3EZFTkLjWkv+EVf/l/zvtmoU9ZwuO/3TKVeWK/700UDxunTw==", + "dev": true, "requires": { "@types/react": "*" } @@ -17258,6 +17286,7 @@ "version": "5.1.8", "resolved": "https://registry.npmjs.org/@types/react-router/-/react-router-5.1.8.tgz", "integrity": "sha512-HzOyJb+wFmyEhyfp4D4NYrumi+LQgQL/68HvJO+q6XtuHSDvw6Aqov7sCAhjbNq3bUPgPqbdvjXC5HeB2oEAPg==", + "dev": true, "requires": { "@types/history": "*", "@types/react": "*" @@ -17267,6 +17296,7 @@ "version": "5.1.5", "resolved": "https://registry.npmjs.org/@types/react-router-dom/-/react-router-dom-5.1.5.tgz", "integrity": "sha512-ArBM4B1g3BWLGbaGvwBGO75GNFbLDUthrDojV2vHLih/Tq8M+tgvY1DSwkuNrPSwdp/GUL93WSEpTZs8nVyJLw==", + "dev": true, "requires": { "@types/history": "*", "@types/react": "*", @@ -17274,9 +17304,10 @@ } }, "@types/react-select": { - "version": "3.0.12", - "resolved": "https://registry.npmjs.org/@types/react-select/-/react-select-3.0.12.tgz", - "integrity": "sha512-3NVEc1sbaNtI1b06smzr9dlNKTkYWttL27CdEsorMvd2EgTOM/PJmrzkClaVQmBDg52MzQO05xVwNZruEUKpHw==", + "version": "3.0.19", + "resolved": "https://registry.npmjs.org/@types/react-select/-/react-select-3.0.19.tgz", + "integrity": "sha512-d+6qtfFXZeIOAABlVL1e50RZn8ctOABE4tFDxM6KW4lKuXgTTgLVrSik5AX9XjBjV7N80FtS6GTN/WeoXL9Jww==", + "dev": true, "requires": { "@types/react": "*", "@types/react-dom": "*", @@ -17310,9 +17341,10 @@ } }, "@types/react-transition-group": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.2.4.tgz", - "integrity": "sha512-8DMUaDqh0S70TjkqU0DxOu80tFUiiaS9rxkWip/nb7gtvAsbqOXm02UCmR8zdcjWujgeYPiPNTVpVpKzUDotwA==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.0.tgz", + "integrity": "sha512-/QfLHGpu+2fQOqQaXh8MG9q03bFENooTb/it4jr5kKaZlDQfWvjqWZg48AwzPVMBHlRuTRAY7hRHCEOXz5kV6w==", + "dev": true, "requires": { "@types/react": "*" } @@ -17330,6 +17362,7 @@ "version": "9.21.10", "resolved": "https://registry.npmjs.org/@types/react-virtualized/-/react-virtualized-9.21.10.tgz", "integrity": "sha512-f5Ti3A7gGdLkPPFNHTrvKblpsPNBiQoSorOEOD+JPx72g/Ng2lOt4MYfhvQFQNgyIrAro+Z643jbcKafsMW2ag==", + "dev": true, "requires": { "@types/prop-types": "*", "@types/react": "*" @@ -17339,6 +17372,7 @@ "version": "1.8.2", "resolved": "https://registry.npmjs.org/@types/react-window/-/react-window-1.8.2.tgz", "integrity": "sha512-gP1xam68Wc4ZTAee++zx6pTdDAH08rAkQrWm4B4F/y6hhmlT9Mgx2q8lTCXnrPHXsr15XjRN9+K2DLKcz44qEQ==", + "dev": true, "requires": { "@types/react": "*" } @@ -17356,6 +17390,7 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/@types/redux-localstorage/-/redux-localstorage-1.0.8.tgz", "integrity": "sha512-pt+w3Y2K4Xwx79exTFZO356buBCgCM6NnyMv/EmASWb03a81g/EMEhNgH6w9dOnhTs1Clnmf2ykaia0FWXjsbQ==", + "dev": true, "requires": { "redux": "^3.6.0" } @@ -17364,6 +17399,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/@types/redux-mock-store/-/redux-mock-store-1.0.2.tgz", "integrity": "sha512-6LBtAQBN34i7SI5X+Qs4zpTEZO1tTDZ6sZ9fzFjYwTl3nLQXaBtwYdoV44CzNnyKu438xJ1lSIYyw0YMvunESw==", + "dev": true, "requires": { "redux": "^4.0.5" }, @@ -17372,6 +17408,7 @@ "version": "4.0.5", "resolved": "https://registry.npmjs.org/redux/-/redux-4.0.5.tgz", "integrity": "sha512-VSz1uMAH24DM6MF72vcojpYPtrTUu3ByVWfPL1nPfVRb5mZVTve5GnNCUV53QM/BZ66xfWrm0CTWoM+Xlz8V1w==", + "dev": true, "requires": { "loose-envify": "^1.4.0", "symbol-observable": "^1.2.0" @@ -17382,7 +17419,8 @@ "@types/rison": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/@types/rison/-/rison-0.0.6.tgz", - "integrity": "sha512-mE3eRK0fpTN/GnNBOIg2tGq2cFhchQXF6fCbrLxus75TgnoOECbdHikr948FGO/UAml7/ZhLMa5FbGkF5PKvmw==" + "integrity": "sha512-mE3eRK0fpTN/GnNBOIg2tGq2cFhchQXF6fCbrLxus75TgnoOECbdHikr948FGO/UAml7/ZhLMa5FbGkF5PKvmw==", + "dev": true }, "@types/shortid": { "version": "0.0.29", @@ -17390,9 +17428,10 @@ "integrity": "sha1-gJPuBBam4r8qpjOBCRFLP7/6Dps=" }, "@types/sinon": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-9.0.4.tgz", - "integrity": "sha512-sJmb32asJZY6Z2u09bl0G2wglSxDlROlAejCjsnor+LzBMz17gu8IU7vKC/vWDnv9zEq2wqADHVXFjf4eE8Gdw==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-9.0.5.tgz", + "integrity": "sha512-4CnkGdM/5/FXDGqL32JQ1ttVrGvhOoesLLF7VnTh4KdjK5N5VQOtxaylFqqTjnHx55MnD9O02Nbk5c1ELC8wlQ==", + "dev": true, "requires": { "@types/sinonjs__fake-timers": "*" } @@ -17400,7 +17439,8 @@ "@types/sinonjs__fake-timers": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-6.0.1.tgz", - "integrity": "sha512-yYezQwGWty8ziyYLdZjwxyMb0CZR49h8JALHGrxjQHWlqGgc8kLdHEgWrgL0uZ29DMvEVBDnHU2Wg36zKSIUtA==" + "integrity": "sha512-yYezQwGWty8ziyYLdZjwxyMb0CZR49h8JALHGrxjQHWlqGgc8kLdHEgWrgL0uZ29DMvEVBDnHU2Wg36zKSIUtA==", + "dev": true }, "@types/sizzle": { "version": "2.3.2", diff --git a/superset-frontend/package.json b/superset-frontend/package.json index 8bca23a42b742..11860440d4c5c 100644 --- a/superset-frontend/package.json +++ b/superset-frontend/package.json @@ -102,20 +102,6 @@ "@superset-ui/time-format": "^0.14.9", "@superset-ui/translation": "^0.14.20", "@superset-ui/validator": "^0.14.9", - "@types/classnames": "^2.2.10", - "@types/enzyme": "^3.10.5", - "@types/fetch-mock": "^7.3.2", - "@types/react-bootstrap": "^0.32.21", - "@types/react-gravatar": "^2.6.8", - "@types/react-json-tree": "^0.6.11", - "@types/react-router-dom": "^5.1.5", - "@types/react-select": "^3.0.12", - "@types/react-virtualized": "^9.21.10", - "@types/react-window": "^1.8.2", - "@types/redux-localstorage": "^1.0.8", - "@types/redux-mock-store": "^1.0.2", - "@types/rison": "0.0.6", - "@types/sinon": "^9.0.4", "@vx/responsive": "^0.0.195", "abortcontroller-polyfill": "^1.1.9", "antd": "^4.5.2", @@ -216,15 +202,29 @@ "@storybook/preset-typescript": "^3.0.0", "@storybook/react": "^6.0.13", "@svgr/webpack": "^5.4.0", + "@types/classnames": "^2.2.10", "@types/dom-to-image": "^2.6.0", + "@types/enzyme": "^3.10.5", "@types/enzyme-adapter-react-16": "^1.0.6", + "@types/fetch-mock": "^7.3.2", "@types/jest": "^26.0.3", "@types/jquery": "^3.3.32", "@types/react": "^16.9.43", + "@types/react-bootstrap": "^0.32.22", "@types/react-dom": "^16.9.8", + "@types/react-gravatar": "^2.6.8", + "@types/react-json-tree": "^0.6.11", "@types/react-redux": "^5.0.2", + "@types/react-router-dom": "^5.1.5", + "@types/react-select": "^3.0.19", "@types/react-table": "^7.0.19", "@types/react-ultimate-pagination": "^1.2.0", + "@types/react-virtualized": "^9.21.10", + "@types/react-window": "^1.8.2", + "@types/redux-localstorage": "^1.0.8", + "@types/redux-mock-store": "^1.0.2", + "@types/rison": "0.0.6", + "@types/sinon": "^9.0.5", "@types/yargs": "12 - 15", "@typescript-eslint/eslint-plugin": "^2.20.0", "@typescript-eslint/parser": "^2.20.0",