diff --git a/docs/package.json b/docs/package.json index 2d0eff413f..79f9de28e8 100644 --- a/docs/package.json +++ b/docs/package.json @@ -17,7 +17,7 @@ "@babel/preset-flow": "^7.0.0", "@babel/preset-react": "^7.0.0", "@babel/runtime": "^7.4.4", - "@emotion/core": "^10.0.5", + "@emotion/core": "^10.0.9", "babel-loader": "^8.0.0", "babel-plugin-emotion": "^10.0.9", "chroma-js": "^1.3.6", @@ -52,4 +52,4 @@ "start": "cross-env FORCE_EXTRACT_REACT_TYPES=true webpack-dev-server --progress", "build:docs": "rimraf docs/dist && cross-env FORCE_EXTRACT_REACT_TYPES=true webpack --progress -p" } -} +} \ No newline at end of file diff --git a/package.json b/package.json index 6ea6c89b05..a988ec1048 100644 --- a/package.json +++ b/package.json @@ -10,21 +10,6 @@ "url": "https://github.com/JedWatson/react-select.git" }, "dependencies": { - "@babel/runtime": "^7.4.4", - "@changesets/cli": "^1.1.5", - "@changesets/get-github-info": "^0.1.2", - "@emotion/core": "^10.0.5", - "classnames": "^2.2.5", - "dataloader": "^1.4.0", - "emotion": "^9.1.2", - "memoize-one": "^5.0.0", - "node-fetch": "^2.5.0", - "prop-types": "^15.6.0", - "raf": "^3.4.0", - "react-input-autosize": "^2.2.1", - "react-transition-group": "^2.2.1" - }, - "devDependencies": { "@atlaskit/button": "^7.0.2", "@atlaskit/icon": "^11.0.1", "@atlaskit/modal-dialog": "^4.0.3", @@ -37,14 +22,22 @@ "@babel/preset-env": "^7.0.0", "@babel/preset-flow": "^7.0.0", "@babel/preset-react": "^7.0.0", + "@babel/runtime": "^7.4.4", + "@changesets/cli": "^1.1.5", + "@changesets/get-github-info": "^0.1.2", + "@emotion/cache": "^10.0.9", + "@emotion/core": "^10.0.9", + "@emotion/css": "^10.0.9", "babel-core": "^7.0.0-bridge.0", "babel-eslint": "^9.0.0", "babel-jest": "^23.6.0", "babel-loader": "^8.0.0", "babel-plugin-emotion": "^10.0.9", + "bolt-check": "^0.3.0", "bundlesize": "^0.17.0", "chroma-js": "^1.3.6", "chrono-node": "^1.3.5", + "classnames": "^2.2.5", "codesandboxer": "^0.1.1", "concurrently": "^3.5.1", "copy-webpack-plugin": "^5.0.3", @@ -52,7 +45,9 @@ "cross-env": "^5.1.3", "css-loader": "^0.28.7", "cypress": "^1.4.1", + "dataloader": "^1.4.0", "dotenv": "^7.0.0", + "emotion": "^9.1.2", "enzyme": "^3.8.0", "enzyme-adapter-react-16": "^1.1.1", "enzyme-to-json": "^3.3.0", @@ -67,28 +62,30 @@ "jest-emotion": "^10.0.11", "jest-in-case": "^1.0.2", "lint-staged": "^7.0.5", + "memoize-one": "^5.0.0", "moment": "^2.20.1", + "node-fetch": "^2.5.0", "preconstruct": "^0.0.76", "pretty-proptypes": "^0.5.0", + "prop-types": "^15.6.0", + "raf": "^3.4.0", "raf-schd": "^2.1.0", "raw-loader": "^2.0.0", "react": "^16.2.0", "react-codesandboxer": "^2.0.1", "react-dom": "^16.2.0", "react-helmet": "^5.2.0", + "react-input-autosize": "^2.2.1", "react-markings": "^1.3.0", "react-router-dom": "^4.2.2", "react-syntax-highlighter": "^7.0.1", + "react-transition-group": "^2.2.1", "style-loader": "^0.23.1", "unfetch": "^3.0.0", "webpack": "^4.30.0", "webpack-cli": "^3.3.1", "webpack-dev-server": "^3.3.1" }, - "peerDependencies": { - "react": "^15.3.0 || ^16.0.0", - "react-dom": "^15.3.0 || ^16.0.0" - }, "scripts": { "build": "preconstruct build", "watch": "preconstruct watch", @@ -103,7 +100,7 @@ "test:cypress": "cypress run --spec ./cypress/integration/select_spec.js", "test:cypress-watch": "node ./node_modules/.bin/cypress open", "precommit": "flow check && lint-staged", - "postinstall": "preconstruct dev", + "postinstall": "preconstruct dev && bolt-check", "changeset": "changeset", "version-packages": "changeset bump", "release": "yarn build && changeset release" diff --git a/yarn.lock b/yarn.lock index ca1401d890..82273a9ae6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1197,16 +1197,6 @@ find-root "^1.1.0" source-map "^0.7.2" -"@emotion/cache@10.0.0": - version "10.0.0" - resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-10.0.0.tgz#e22eadcb770de4131ec707c84207e9e1ce210413" - integrity sha512-1/sT6GNyvWmxCtJek8ZDV+b+a+NMDx8/61UTnnF3rqrTY7bLTjw+fmXO7WgUIH0owuWKxza/J/FfAWC/RU4G7A== - dependencies: - "@emotion/sheet" "0.9.2" - "@emotion/stylis" "0.8.3" - "@emotion/utils" "0.11.1" - "@emotion/weak-memoize" "0.2.2" - "@emotion/cache@^10.0.9": version "10.0.9" resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-10.0.9.tgz#e0c7b7a289f7530edcfad4dcf3858bd2e5700a6f" @@ -1217,17 +1207,6 @@ "@emotion/utils" "0.11.1" "@emotion/weak-memoize" "0.2.2" -"@emotion/core@^10.0.5": - version "10.0.5" - resolved "https://registry.yarnpkg.com/@emotion/core/-/core-10.0.5.tgz#fda655bb040deb69090faf2fa9d66d39b2bbe4bf" - integrity sha512-kCw+JNXy5DmtS4qbCklz8hEobdJ0m9q0tAVzpAjHDAsbRwfSL/Kj3ObMG0DiLhbUPXOGAHSWCVXa4DmXvgup+Q== - dependencies: - "@emotion/cache" "10.0.0" - "@emotion/css" "^10.0.5" - "@emotion/serialize" "^0.11.3" - "@emotion/sheet" "0.9.2" - "@emotion/utils" "0.11.1" - "@emotion/core@^10.0.9": version "10.0.10" resolved "https://registry.yarnpkg.com/@emotion/core/-/core-10.0.10.tgz#8d3114e5a2f8b178a7067c603a2937516f180b08" @@ -1239,15 +1218,6 @@ "@emotion/sheet" "0.9.2" "@emotion/utils" "0.11.1" -"@emotion/css@^10.0.5": - version "10.0.5" - resolved "https://registry.yarnpkg.com/@emotion/css/-/css-10.0.5.tgz#3bc6593fb98ba096a1ccd843d9f32744929b6cfd" - integrity sha512-FKFdXjvQw+xpDxE7SW6lA0LzP5lmUqXlzejOGEDlJtQO3FsaqE+sU3q2efV/IPxSku8TyPJ0l7C3TUaOv/WO4g== - dependencies: - "@emotion/serialize" "^0.11.3" - "@emotion/utils" "0.11.1" - babel-plugin-emotion "^10.0.5" - "@emotion/css@^10.0.9": version "10.0.9" resolved "https://registry.yarnpkg.com/@emotion/css/-/css-10.0.9.tgz#ea0df431965a308f6cb1d61386df8ad61e5befb5" @@ -1286,17 +1256,6 @@ version "0.6.6" resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.6.6.tgz#004b98298d04c7ca3b4f50ca2035d4f60d2eed1b" -"@emotion/serialize@^0.11.3": - version "0.11.3" - resolved "https://registry.yarnpkg.com/@emotion/serialize/-/serialize-0.11.3.tgz#c4af2d96e3ddb9a749b7b567daa7556bcae45af2" - integrity sha512-6Q+XH/7kMdHwtylwZvdkOVMydaGZ989axQ56NF7urTR7eiDMLGun//pFUy31ha6QR4C6JB+KJVhZ3AEAJm9Z1g== - dependencies: - "@emotion/hash" "0.7.1" - "@emotion/memoize" "0.7.1" - "@emotion/unitless" "0.7.3" - "@emotion/utils" "0.11.1" - csstype "^2.5.7" - "@emotion/serialize@^0.11.6": version "0.11.6" resolved "https://registry.yarnpkg.com/@emotion/serialize/-/serialize-0.11.6.tgz#78be8b9ee9ff49e0196233ba6ec1c1768ba1e1fc" @@ -2558,22 +2517,6 @@ babel-normalize-comments@^1.0.1: dependencies: babel-flow-types "^1.2.3" -babel-plugin-emotion@^10.0.5: - version "10.0.5" - resolved "https://registry.yarnpkg.com/babel-plugin-emotion/-/babel-plugin-emotion-10.0.5.tgz#05ec47cde94f984b0b2aebdd41f81876cf9cbb24" - integrity sha512-ezct2vKACg4juSV0/A/4QIDJu2+5Sjna/8rX/LXY8D0qG8YEP3fu8pe5FqZ9yFGa8WOJ1sivf3/QKM/5C8naIg== - dependencies: - "@babel/helper-module-imports" "^7.0.0" - "@emotion/hash" "0.7.1" - "@emotion/memoize" "0.7.1" - "@emotion/serialize" "^0.11.3" - babel-plugin-macros "^2.0.0" - babel-plugin-syntax-jsx "^6.18.0" - convert-source-map "^1.5.0" - escape-string-regexp "^1.0.5" - find-root "^1.1.0" - source-map "^0.5.7" - babel-plugin-emotion@^10.0.9: version "10.0.9" resolved "https://registry.yarnpkg.com/babel-plugin-emotion/-/babel-plugin-emotion-10.0.9.tgz#04a0404d5a4084d5296357a393d344c0f8303ae4" @@ -2906,6 +2849,19 @@ body-parser@1.18.3: raw-body "2.3.3" type-is "~1.6.16" +bolt-check@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/bolt-check/-/bolt-check-0.3.0.tgz#f4f29efe4c5316e3b2c9a750552d2d4fa13b51a1" + integrity sha512-fXLKD3YzXeBsJcZOJxzbw074RpAcwBWcdYCIO1N8hmFbR5zY6dR3v0iYJiG/YHOgsmCYUHGmmanVzCdT3aa9pA== + dependencies: + "@babel/runtime" "^7.4.4" + chalk "^2.1.0" + detect-indent "^6.0.0" + fs-extra "^7.0.1" + get-workspaces "^0.3.1" + meow "^5.0.0" + semver "^5.4.1" + bolt@^0.22.1: version "0.22.6" resolved "https://registry.yarnpkg.com/bolt/-/bolt-0.22.6.tgz#3bdafdb98679828b6153ac175c946c2cf740b736" @@ -6235,6 +6191,14 @@ get-workspaces@^0.3.0: fs-extra "^7.0.1" globby "^9.2.0" +get-workspaces@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/get-workspaces/-/get-workspaces-0.3.1.tgz#8e0dc3ea8077725a84d2194be37410c011538536" + integrity sha512-TBP1EQTBfEfxn0irOdTYf9nvYefi4hrEJb9Cp7p81xFrKUEq16Mypa8C5459B5IjADujRYnCwWu59zhSobw1fg== + dependencies: + fs-extra "^7.0.1" + globby "^9.2.0" + getos@2.8.4: version "2.8.4" resolved "https://registry.yarnpkg.com/getos/-/getos-2.8.4.tgz#7b8603d3619c28e38cb0fe7a4f63c3acb80d5163"