diff --git a/.npmignore b/.npmignore index 506355c03b..7c723fca4e 100644 --- a/.npmignore +++ b/.npmignore @@ -1,21 +1 @@ -example -src -test -appveyor.yml -tsconfig.json -tslint.json -typings.json -ambient.d.ts -coverage -scripts -.prettierrc -.github -.travis.yml -.vscode -.idea -CONTRIBUTING.md -dangerfile.ts -renovate.json -ROADMAP.md -rollup.* -yarn.lock +bundlesize \ No newline at end of file diff --git a/Changelog.md b/Changelog.md index 003500a653..9a2e16eb9a 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,6 +1,7 @@ # Change log ### vNext +- Change package to produce ES2015 as `module` and commonjs for `main` [#1576](https://github.com/apollographql/react-apollo/pull/1576) ### 2.1.0-alpha.0 diff --git a/package.json b/package.json index d5ab3f50ef..3697eb1f18 100644 --- a/package.json +++ b/package.json @@ -5,37 +5,47 @@ "module": "src/index.ts", "scripts": { "danger": "danger run --verbose", - "deploy": - "./scripts/prepare-package.sh && cd npm && npm publish --tag=alpha", + "predeploy": "npm run compile", + "deploy": "cd lib && npm publish --tag=alpha", + "filesize": "rollup -c rollup.config.js && bundlesize", "test": "npm run lint && npm run type-check && npm run jest", "jest": "jest --maxWorkers=4 --coverage", "test-watch": "jest --watch", "test-preact": "jest --config ./jest.preact.config.json --no-cache", - "filesize": "bundlesize", "type-check": "tsc --project tsconfig.json --noEmit && flow check", - "precompile": "rimraf lib && rimraf npm", - "compile": - "tsc --project tsconfig.json && rimraf lib/test && mv lib/src/* lib/. && rimraf lib/src", - "postcompile": - "rollup -c rollup.config.js && rollup -c rollup.test-utils.config.js", + "precompile": "rimraf lib", + "compile": "npm run compile:esm && npm run compile:cjs", + "compile:esm": "tsc --project tsconfig.json -d && rimraf lib/test && mv lib/src/* lib/. && rimraf lib/src && cd lib && rename js mjs", + "compile:cjs": "tsc --project tsconfig.cjs.json && rimraf lib/test && mv lib/src/* lib/. && rimraf lib/src", + "postcompile": "./scripts/prepare-package.sh", "watch": "tsc -w", "lint": "tslint --project tsconfig.json --config tslint.json", - "lint:fix": - "npm run prettier && tslint 'src/*.ts*' --project tsconfig.json --fix", + "lint:fix": "npm run prettier && tslint 'src/*.ts*' --project tsconfig.json --fix", "lint-staged": "lint-staged", - "prettier": - "prettier --config .prettierrc --write \"{src,test}/**/*.{js,ts}*\"" + "prettier": "prettier --write \"{,!(node_modules|lib)/**/}*.{ts*,js*,json,md}\"" }, "bundlesize": [ { - "path": "./lib/umd/react-apollo.js", + "path": "./lib/bundlesize/react-apollo.js", "maxSize": "4.81 KB" } ], + "husky": { + "hooks": { + "pre-commit": "lint-staged" + } + }, "lint-staged": { - "*.{js,ts}*": ["prettier --single-quote --write", "git add"] + "*.{ts*}": [ + "prettier --write", + "yarn lint", + "git add" + ], + "*.{js*,json,md}": [ + "prettier --write", + "git add" + ] }, - "pre-commit": "lint-staged", "repository": { "type": "git", "url": "apollostack/react-apollo" @@ -51,7 +61,9 @@ ], "author": "James Baxley ", "babel": { - "presets": ["env"] + "presets": [ + "env" + ] }, "jest": { "testEnvironment": "jsdom", @@ -60,15 +72,24 @@ "^.+\\.jsx?$": "babel-jest" }, "mapCoverage": true, - "moduleFileExtensions": ["ts", "tsx", "js", "json"], + "moduleFileExtensions": [ + "ts", + "tsx", + "js", + "json" + ], "modulePathIgnorePatterns": [ "/examples", "/test/flow-usage.js", "/test/typescript-usage.tsx" ], - "projects": [""], + "projects": [ + "" + ], "testRegex": "(/test/(?!test-utils\b)\b.*|\\.(test|spec))\\.(ts|tsx|js)$", - "setupFiles": ["/test/test-utils/setup.ts"] + "setupFiles": [ + "/test/test-utils/setup.ts" + ] }, "license": "MIT", "peerDependencies": { @@ -90,7 +111,7 @@ "babel-core": "6.26.0", "babel-jest": "22.1.0", "babel-preset-env": "1.6.1", - "bundlesize": "0.15.3", + "bundlesize": "^0.15.3", "coveralls": "3.0.0", "danger": "3.0.5", "enzyme": "3.3.0", @@ -98,10 +119,10 @@ "flow-bin": "0.63.1", "graphql": "0.11.7", "graphql-tag": "2.6.1", + "husky": "^0.14.3", "jest": "22.1.1", "jsdom": "11.5.1", "lint-staged": "6.0.0", - "pre-commit": "1.2.2", "preact": "^8.2.7", "preact-compat": "^3.17.0", "prettier": "1.10.2", @@ -109,9 +130,10 @@ "react-dom": "16.2.0", "react-test-renderer": "16.2.0", "recompose": "0.26.0", + "recursive-rename": "^2.0.0", "rimraf": "2.6.2", - "rollup": "0.54.1", - "rollup-plugin-babel-minify": "3.1.2", + "rollup": "^0.55.0", + "rollup-plugin-babel-minify": "^3.1.2", "ts-jest": "22.0.1", "tslint": "5.9.1", "typescript": "2.6.2", diff --git a/rollup.config.js b/rollup.config.js index 5957ee4551..c47829bed3 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -3,10 +3,10 @@ const minify = require('rollup-plugin-babel-minify'); export default { input: 'lib/index.js', output: { - file: 'lib/umd/react-apollo.js', - format: 'umd', + file: 'lib/bundlesize/react-apollo.js', + format: 'cjs', name: 'react-apollo', - sourcemap: true, + sourcemap: false, }, plugins: [minify()], onwarn, @@ -18,4 +18,4 @@ function onwarn(message) { if (!suppressed.find(code => message.code === code)) { return console.warn(message.message); } -} +} \ No newline at end of file diff --git a/rollup.test-utils.config.js b/rollup.test-utils.config.js deleted file mode 100644 index 7f70f5b307..0000000000 --- a/rollup.test-utils.config.js +++ /dev/null @@ -1,21 +0,0 @@ -const minify = require('rollup-plugin-babel-minify'); - -export default { - input: 'lib/test-utils.js', - output: { - file: 'lib/umd/test-utils.js', - format: 'umd', - name: 'react-apollo', - sourcemap: true, - }, - plugins: [minify()], - onwarn, -}; - -function onwarn(message) { - const suppressed = ['UNRESOLVED_IMPORT', 'THIS_IS_UNDEFINED']; - - if (!suppressed.find(code => message.code === code)) { - return console.warn(message.message); - } -} diff --git a/scripts/prepare-package.sh b/scripts/prepare-package.sh index 7fd28fb2e7..c71b13277b 100755 --- a/scripts/prepare-package.sh +++ b/scripts/prepare-package.sh @@ -6,22 +6,6 @@ # var language = require('react-apollo/server'); # -# Clear the built output -rm -rf ./lib ./npm - -# Compile new files -npm run compile - -# Make sure the ./npm directory is empty -rm -rf ./npm -mkdir ./npm - -# Copy all files from ./lib to /npm -cd ./lib && cp -r ./ ../npm/ - -# Back to the root directory -cd ../ - # Ensure a vanilla package.json before deploying so other tools do not interpret # The built output as requiring any further transformation. node -e "var package = require('./package.json'); \ @@ -29,23 +13,20 @@ node -e "var package = require('./package.json'); \ delete package[\"lint-staged\"]; \ delete package.jest; \ delete package.bundlesize; \ - delete package[\"pre-commit\"]; \ + delete package[\"husky\"]; \ delete package.scripts; \ delete package.options; \ - package.main = 'umd/react-apollo.js'; \ - package.module = 'index.js'; \ - package['jsnext:main'] = 'index.js'; \ + package.main = 'index.js'; \ + package.module = 'index.mjs'; \ package.typings = 'index.d.ts'; \ var origVersion = 'local'; var fs = require('fs'); \ - fs.writeFileSync('./npm/package.json', JSON.stringify(package, null, 2)); \ + fs.writeFileSync('./lib/package.json', JSON.stringify(package, null, 2)); \ " -# Copy few more files to ./npm -cp README.md npm/ -cp LICENSE npm/ -cp src/index.js.flow npm/ -# please keep this in sync with the filename used in package.main -cp src/index.js.flow npm/umd/react-apollo.js.flow - +# Copy few more files to ./lib +cp README.md lib/ +cp LICENSE lib/ +cp src/index.js.flow lib/ +cp .npmignore lib/ diff --git a/tsconfig.cjs.json b/tsconfig.cjs.json new file mode 100644 index 0000000000..c560ed6ed5 --- /dev/null +++ b/tsconfig.cjs.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "es5", + "lib": ["es2015", "dom"], + "moduleResolution": "node", + "sourceMap": true, + "noImplicitAny": false, + "outDir": "lib", + "allowSyntheticDefaultImports": false, + "experimentalDecorators": true, + "pretty": true, + "removeComments": true, + "jsx": "react", + "skipLibCheck": true, + "noUnusedLocals": true + }, + "include": ["./typings/**/*", "./src/**/*", "./test/**/*"], + "exclude": ["./node_modules", "./dist", "./lib"] +} diff --git a/tsconfig.json b/tsconfig.json index 9772b4be87..7cfde95e2b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,8 +4,6 @@ "target": "es2015", "lib": ["es2015", "dom"], "moduleResolution": "node", - "sourceMap": true, - "declaration": true, "noImplicitAny": false, "outDir": "lib", "allowSyntheticDefaultImports": false, diff --git a/yarn.lock b/yarn.lock index 022118ad3d..377dbe2bab 100644 --- a/yarn.lock +++ b/yarn.lock @@ -975,7 +975,7 @@ babel-register@^6.26.0: mkdirp "^0.5.1" source-map-support "^0.4.15" -babel-runtime@^6.18.0, babel-runtime@^6.22.0, babel-runtime@^6.26.0, babel-runtime@^6.9.2: +babel-runtime@^6.18.0, babel-runtime@^6.22.0, babel-runtime@^6.23.0, babel-runtime@^6.26.0, babel-runtime@^6.9.2: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" dependencies: @@ -1039,6 +1039,10 @@ block-stream@*: dependencies: inherits "~2.0.0" +bluebird@^3.5.0: + version "3.5.1" + resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9" + boolbase@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" @@ -1103,7 +1107,7 @@ builtin-modules@^1.0.0, builtin-modules@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" -bundlesize@0.15.3: +bundlesize@^0.15.3: version "0.15.3" resolved "https://registry.yarnpkg.com/bundlesize/-/bundlesize-0.15.3.tgz#5cf7a48c11fd2835cfc9112e24429bb47c086ca8" dependencies: @@ -1286,6 +1290,10 @@ colors@0.5.x: version "0.5.1" resolved "https://registry.yarnpkg.com/colors/-/colors-0.5.1.tgz#7d0023eaeb154e8ee9fce75dcb923d0ed1667774" +colors@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63" + combined-stream@^1.0.5, combined-stream@~1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.5.tgz#938370a57b4a51dea2c77c15d5c5fdf895164009" @@ -1304,14 +1312,6 @@ concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" -concat-stream@^1.4.7: - version "1.6.0" - resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.0.tgz#0aac662fd52be78964d5532f694784e70110acf7" - dependencies: - inherits "^2.0.3" - readable-stream "^2.2.2" - typedarray "^0.0.6" - console-control-strings@^1.0.0, console-control-strings@~1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" @@ -1534,6 +1534,10 @@ dom-serializer@0, dom-serializer@~0.1.0: domelementtype "~1.1.1" entities "~1.1.1" +dom-walk@^0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/dom-walk/-/dom-walk-0.1.1.tgz#672226dc74c8f799ad35307df936aba11acd6018" + domelementtype@1, domelementtype@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.0.tgz#b17aed82e8ab59e52dd9c19b1756e0fc187204c2" @@ -1910,8 +1914,8 @@ follow-redirects@1.0.0: debug "^2.2.0" follow-redirects@^1.2.3: - version "1.2.6" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.2.6.tgz#4dcdc7e4ab3dd6765a97ff89c3b4c258117c79bf" + version "1.4.1" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.4.1.tgz#d8120f4518190f55aac65bb6fc7b85fcd666d6aa" dependencies: debug "^3.1.0" @@ -2091,6 +2095,13 @@ glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2: once "^1.3.0" path-is-absolute "^1.0.0" +global@^4.3.2: + version "4.3.2" + resolved "https://registry.yarnpkg.com/global/-/global-4.3.2.tgz#e76989268a6c74c38908b1305b10fc0e394e9d0f" + dependencies: + min-document "^2.19.0" + process "~0.5.1" + globals@^9.18.0: version "9.18.0" resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" @@ -2273,6 +2284,14 @@ https-proxy-agent@^2.1.0: agent-base "^4.1.0" debug "^3.1.0" +husky@^0.14.3: + version "0.14.3" + resolved "https://registry.yarnpkg.com/husky/-/husky-0.14.3.tgz#c69ed74e2d2779769a17ba8399b54ce0b63c12c3" + dependencies: + is-ci "^1.0.10" + normalize-path "^1.0.0" + strip-indent "^2.0.0" + hyperlinker@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/hyperlinker/-/hyperlinker-1.0.0.tgz#23dc9e38a206b208ee49bc2d6c8ef47027df0c0e" @@ -2281,6 +2300,12 @@ iconv-lite@0.4.19, iconv-lite@^0.4.17, iconv-lite@~0.4.13: version "0.4.19" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b" +immutability-helper@^2.1.2: + version "2.6.4" + resolved "https://registry.yarnpkg.com/immutability-helper/-/immutability-helper-2.6.4.tgz#a931aef97257fcb6d2b5456de652ab6e3bba8408" + dependencies: + invariant "^2.2.0" + import-local@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/import-local/-/import-local-1.0.0.tgz#5e4ffdc03f4fe6c009c6729beb29631c2f8227bc" @@ -2309,7 +2334,7 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.0, inherits@~2.0.3: +inherits@2, inherits@^2.0.1, inherits@~2.0.0, inherits@~2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" @@ -2335,7 +2360,7 @@ inquirer@3.0.6: strip-ansi "^3.0.0" through "^2.3.6" -invariant@^2.2.2: +invariant@^2.2.0, invariant@^2.2.2: version "2.2.2" resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.2.tgz#9e1f56ac0acdb6bf303306f338be3b204ae60360" dependencies: @@ -3370,6 +3395,12 @@ mimic-fn@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18" +min-document@^2.19.0: + version "2.19.0" + resolved "https://registry.yarnpkg.com/min-document/-/min-document-2.19.0.tgz#7bd282e3f5842ed295bb748cdd9f1ffa2c824685" + dependencies: + dom-walk "^0.1.0" + minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" @@ -3488,6 +3519,10 @@ normalize-package-data@^2.3.2: semver "2 || 3 || 4 || 5" validate-npm-package-license "^3.0.1" +normalize-path@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-1.0.0.tgz#32d0e472f91ff345701c15a8311018d3b0a90379" + normalize-path@^2.0.0, normalize-path@^2.0.1: version "2.1.1" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" @@ -3677,10 +3712,6 @@ os-locale@^2.0.0: lcid "^1.0.0" mem "^1.1.0" -os-shim@^0.1.2: - version "0.1.3" - resolved "https://registry.yarnpkg.com/os-shim/-/os-shim-0.1.3.tgz#6b62c3791cf7909ea35ed46e17658bb417cb3917" - os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" @@ -3844,13 +3875,29 @@ pn@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/pn/-/pn-1.0.0.tgz#1cf5a30b0d806cd18f88fc41a6b5d4ad615b3ba9" -pre-commit@1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/pre-commit/-/pre-commit-1.2.2.tgz#dbcee0ee9de7235e57f79c56d7ce94641a69eec6" +preact-compat@^3.17.0: + version "3.18.0" + resolved "https://registry.yarnpkg.com/preact-compat/-/preact-compat-3.18.0.tgz#ca430cc1f67193fb9feaf7c510832957b2ebe701" dependencies: - cross-spawn "^5.0.1" - spawn-sync "^1.0.15" - which "1.2.x" + immutability-helper "^2.1.2" + preact-render-to-string "^3.6.0" + preact-transition-group "^1.1.0" + prop-types "^15.5.8" + standalone-react-addons-pure-render-mixin "^0.1.1" + +preact-render-to-string@^3.6.0: + version "3.7.0" + resolved "https://registry.yarnpkg.com/preact-render-to-string/-/preact-render-to-string-3.7.0.tgz#7db4177454bc01395e0d01d6ac07bc5e838e31ee" + dependencies: + pretty-format "^3.5.1" + +preact-transition-group@^1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/preact-transition-group/-/preact-transition-group-1.1.1.tgz#f0a49327ea515ece34ea2be864c4a7d29e5d6e10" + +preact@^8.2.7: + version "8.2.7" + resolved "https://registry.yarnpkg.com/preact/-/preact-8.2.7.tgz#316249fb678cd5e93e7cee63cea7bfb62dbd6814" prelude-ls@~1.1.2: version "1.1.2" @@ -3885,6 +3932,10 @@ pretty-format@^22.1.0: ansi-regex "^3.0.0" ansi-styles "^3.2.0" +pretty-format@^3.5.1: + version "3.8.0" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-3.8.0.tgz#bfbed56d5e9a776645f4b1ff7aa1a3ac4fa3c385" + prettycli@^1.4.3: version "1.4.3" resolved "https://registry.yarnpkg.com/prettycli/-/prettycli-1.4.3.tgz#b28ec2aad9de07ae1fd75ef294fb54cbdee07ed5" @@ -3899,13 +3950,17 @@ process-nextick-args@~1.0.6: version "1.0.7" resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" +process@~0.5.1: + version "0.5.2" + resolved "https://registry.yarnpkg.com/process/-/process-0.5.2.tgz#1638d8a8e34c2f440a91db95ab9aeb677fc185cf" + promise@^7.1.1: version "7.3.1" resolved "https://registry.yarnpkg.com/promise/-/promise-7.3.1.tgz#064b72602b18f90f29192b8b1bc418ffd1ebd3bf" dependencies: asap "~2.0.3" -prop-types@^15.6.0: +prop-types@^15.5.8, prop-types@^15.6.0: version "15.6.0" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.0.tgz#ceaf083022fc46b4a35f69e13ef75aed0d639856" dependencies: @@ -4035,7 +4090,7 @@ read-pkg@^2.0.0: normalize-package-data "^2.3.2" path-type "^2.0.0" -readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.1.4, readable-stream@^2.2.2: +readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.1.4: version "2.3.3" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.3.tgz#368f2512d79f9d46fdfc71349ae7878bbc1eb95c" dependencies: @@ -4075,6 +4130,16 @@ recompose@0.26.0: hoist-non-react-statics "^2.3.1" symbol-observable "^1.0.4" +recursive-rename@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/recursive-rename/-/recursive-rename-2.0.0.tgz#75aeba434f24264d508d1d83af953d89892731e7" + dependencies: + babel-runtime "^6.23.0" + bluebird "^3.5.0" + colors "^1.1.2" + global "^4.3.2" + minimist "^1.2.0" + regenerate@^1.2.1: version "1.3.3" resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.3.3.tgz#0c336d3980553d755c39b586ae3b20aa49c82b7f" @@ -4271,7 +4336,7 @@ rimraf@2, rimraf@2.6.2, rimraf@^2.5.1, rimraf@^2.5.4, rimraf@^2.6.1: dependencies: glob "^7.0.5" -rollup-plugin-babel-minify@3.1.2: +rollup-plugin-babel-minify@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/rollup-plugin-babel-minify/-/rollup-plugin-babel-minify-3.1.2.tgz#86a99d00b3d60984281baaeff4eb1f0eb509b053" dependencies: @@ -4279,9 +4344,9 @@ rollup-plugin-babel-minify@3.1.2: babel-core "^6.21.0" babel-preset-minify "^0.2.0" -rollup@0.54.1: - version "0.54.1" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-0.54.1.tgz#415a5d999421502646cf54b873fc4ce1a7393970" +rollup@^0.55.0: + version "0.55.0" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-0.55.0.tgz#e547149333bdd91457a9e8101cf86783e21c576e" rst-selector-parser@^2.2.3: version "2.2.3" @@ -4417,13 +4482,6 @@ source-map@^0.6.0: version "0.6.1" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" -spawn-sync@^1.0.15: - version "1.0.15" - resolved "https://registry.yarnpkg.com/spawn-sync/-/spawn-sync-1.0.15.tgz#b00799557eb7fb0c8376c29d44e8a1ea67e57476" - dependencies: - concat-stream "^1.4.7" - os-shim "^0.1.2" - spdx-correct@~1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-1.0.2.tgz#4b3073d933ff51f3912f03ac5519498a4150db40" @@ -4464,6 +4522,10 @@ staged-git-files@0.0.4: version "0.0.4" resolved "https://registry.yarnpkg.com/staged-git-files/-/staged-git-files-0.0.4.tgz#d797e1b551ca7a639dec0237dc6eb4bb9be17d35" +standalone-react-addons-pure-render-mixin@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/standalone-react-addons-pure-render-mixin/-/standalone-react-addons-pure-render-mixin-0.1.1.tgz#3c7409f4c79c40de9ac72c616cf679a994f37551" + stealthy-require@^1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b" @@ -4540,6 +4602,10 @@ strip-eof@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" +strip-indent@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68" + strip-json-comments@~2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" @@ -4722,10 +4788,6 @@ type-check@~0.3.2: dependencies: prelude-ls "~1.1.2" -typedarray@^0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" - typescript-require@0.2.9: version "0.2.9" resolved "https://registry.yarnpkg.com/typescript-require/-/typescript-require-0.2.9.tgz#796e0654d6dcd161a4929bb194659882d5675216" @@ -4850,12 +4912,6 @@ which-module@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" -which@1.2.x: - version "1.2.14" - resolved "https://registry.yarnpkg.com/which/-/which-1.2.14.tgz#9a87c4378f03e827cecaf1acdf56c736c01c14e5" - dependencies: - isexe "^2.0.0" - which@^1.2.10, which@^1.2.12, which@^1.2.9: version "1.3.0" resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a"