diff --git a/www/gatsby-config.js b/www/gatsby-config.js index 22f4d035cb887..7230eb816ce4f 100644 --- a/www/gatsby-config.js +++ b/www/gatsby-config.js @@ -21,6 +21,7 @@ module.exports = { plugins: [ 'gatsby-transformer-authors-yaml', 'gatsby-plugin-glamor', + 'gatsby-plugin-react-next', { resolve: `gatsby-source-filesystem`, options: { @@ -41,9 +42,9 @@ module.exports = { options: { plugins: [ { - resolve: `gatsby-remark-responsive-image`, + resolve: `gatsby-remark-images`, options: { - maxWidth: 590, + maxWidth: 800, }, }, { diff --git a/www/package.json b/www/package.json index b6de658213e06..61278b1914e3e 100644 --- a/www/package.json +++ b/www/package.json @@ -12,14 +12,14 @@ "gatsby-plugin-google-analytics": "^1.0.4", "gatsby-plugin-manifest": "^1.0.4", "gatsby-plugin-offline": "^1.0.4", - "gatsby-plugin-preact": "^1.0.3", "gatsby-plugin-react-helmet": "^1.0.3", + "gatsby-plugin-react-next": "^1.0.3", "gatsby-plugin-sharp": "^1.6.2", "gatsby-remark-autolink-headers": "^1.4.4", "gatsby-remark-copy-linked-files": "^1.5.2", + "gatsby-remark-images": "^1.5.11", "gatsby-remark-prismjs": "^1.2.1", "gatsby-remark-responsive-iframe": "^1.4.3", - "gatsby-remark-responsive-image": "next", "gatsby-remark-smartypants": "^1.4.3", "gatsby-source-filesystem": "^1.4.4", "gatsby-transformer-remark": "^1.7.2", diff --git a/www/yarn.lock b/www/yarn.lock index cea2b9eb2bb44..7f713140912d3 100644 --- a/www/yarn.lock +++ b/www/yarn.lock @@ -2071,6 +2071,10 @@ core-js@^2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.0.tgz#569c050918be6486b3837552028ae0466b717086" +core-js@^2.5.1: + version "2.5.1" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.1.tgz#ae6874dc66937789b80754ff5428df66819ca50b" + core-util-is@~1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" @@ -3356,8 +3360,8 @@ gatsby-plugin-google-analytics@^1.0.4: babel-runtime "^6.26.0" gatsby-plugin-manifest@^1.0.4: - version "1.0.7" - resolved "https://registry.yarnpkg.com/gatsby-plugin-manifest/-/gatsby-plugin-manifest-1.0.7.tgz#488def7ac822c960912ba361214baef8f5b074d9" + version "1.0.8" + resolved "https://registry.yarnpkg.com/gatsby-plugin-manifest/-/gatsby-plugin-manifest-1.0.8.tgz#8c155cd2aed54759554c25bf9efb4a2c48de6429" dependencies: babel-runtime "^6.26.0" bluebird "^3.5.0" @@ -3369,14 +3373,6 @@ gatsby-plugin-offline@^1.0.4: babel-runtime "^6.26.0" sw-precache "^5.0.0" -gatsby-plugin-preact@^1.0.3: - version "1.0.11" - resolved "https://registry.yarnpkg.com/gatsby-plugin-preact/-/gatsby-plugin-preact-1.0.11.tgz#63afec7c4b73b2be8c86ab2aab4ca92a177da7f4" - dependencies: - babel-runtime "^6.26.0" - preact "^8.2.5" - preact-compat "^3.17.0" - gatsby-plugin-react-helmet@^1.0.3: version "1.0.6" resolved "https://registry.yarnpkg.com/gatsby-plugin-react-helmet/-/gatsby-plugin-react-helmet-1.0.6.tgz#32431fbfd072b05453080ed304142f4747868848" @@ -3384,7 +3380,16 @@ gatsby-plugin-react-helmet@^1.0.3: babel-runtime "^6.26.0" react-helmet "^5.1.3" -gatsby-plugin-sharp@^1.6.2: +gatsby-plugin-react-next@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/gatsby-plugin-react-next/-/gatsby-plugin-react-next-1.0.3.tgz#86dbfa60a44e4a93abcc0d103ae725eae5d69a26" + dependencies: + babel-runtime "^6.26.0" + core-js "^2.5.1" + react "16.0.0-rc.3" + react-dom "16.0.0-rc.3" + +gatsby-plugin-sharp@^1.6.2, gatsby-plugin-sharp@^1.6.7: version "1.6.7" resolved "https://registry.yarnpkg.com/gatsby-plugin-sharp/-/gatsby-plugin-sharp-1.6.7.tgz#688e22dfc6f3341fcb8efebed1bae5e05ff02fd4" dependencies: @@ -3398,6 +3403,14 @@ gatsby-plugin-sharp@^1.6.2: progress "^1.1.8" sharp "^0.17.3" +gatsby-react-router-scroll@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/gatsby-react-router-scroll/-/gatsby-react-router-scroll-1.0.1.tgz#2e0132807273e544f05bed016645b6e2dfe08c48" + dependencies: + babel-runtime "^6.26.0" + scroll-behavior "^0.9.1" + warning "^3.0.0" + gatsby-remark-autolink-headers@^1.4.4: version "1.4.7" resolved "https://registry.yarnpkg.com/gatsby-remark-autolink-headers/-/gatsby-remark-autolink-headers-1.4.7.tgz#81fbeb02e07855d1e63237031d5655ae71f5e5d5" @@ -3418,6 +3431,19 @@ gatsby-remark-copy-linked-files@^1.5.2: lodash "^4.17.4" unist-util-visit "^1.1.1" +gatsby-remark-images@^1.5.11: + version "1.5.11" + resolved "https://registry.yarnpkg.com/gatsby-remark-images/-/gatsby-remark-images-1.5.11.tgz#6088d4903e16969bfacc097fe951569937c6cf64" + dependencies: + babel-runtime "^6.26.0" + cheerio "^1.0.0-rc.2" + gatsby-plugin-sharp "^1.6.7" + image-size "^0.5.1" + is-relative-url "^2.0.0" + lodash "^4.17.4" + slash "^1.0.0" + unist-util-select "^1.5.0" + gatsby-remark-prismjs@^1.2.1: version "1.2.8" resolved "https://registry.yarnpkg.com/gatsby-remark-prismjs/-/gatsby-remark-prismjs-1.2.8.tgz#0ca9732c8c5034d1331f420ff75aa380fbc22c91" @@ -3437,15 +3463,6 @@ gatsby-remark-responsive-iframe@^1.4.3: lodash "^4.17.4" unist-util-visit "^1.1.1" -gatsby-remark-responsive-image@next: - version "1.0.0-beta.4" - resolved "https://registry.yarnpkg.com/gatsby-remark-responsive-image/-/gatsby-remark-responsive-image-1.0.0-beta.4.tgz#c091312be7a23790d9470916292ad4d97fd3b173" - dependencies: - image-size "^0.5.1" - is-relative-url "^2.0.0" - lodash "^4.17.4" - unist-util-select "^1.5.0" - gatsby-remark-smartypants@^1.4.3: version "1.4.7" resolved "https://registry.yarnpkg.com/gatsby-remark-smartypants/-/gatsby-remark-smartypants-1.4.7.tgz#2fc191b3945bc82c039069b0681ec5399db936b9" @@ -3456,8 +3473,8 @@ gatsby-remark-smartypants@^1.4.3: unist-util-visit "^1.1.1" gatsby-source-filesystem@^1.4.4: - version "1.4.12" - resolved "https://registry.yarnpkg.com/gatsby-source-filesystem/-/gatsby-source-filesystem-1.4.12.tgz#0406da9a2528784cd60b9057af51bd706630e369" + version "1.5.1" + resolved "https://registry.yarnpkg.com/gatsby-source-filesystem/-/gatsby-source-filesystem-1.5.1.tgz#7aae50bdd75cad01641468bc82a99976f8c9de3b" dependencies: babel-cli "^6.26.0" babel-runtime "^6.26.0" @@ -3471,8 +3488,8 @@ gatsby-source-filesystem@^1.4.4: slash "^1.0.0" gatsby-transformer-remark@^1.7.2: - version "1.7.7" - resolved "https://registry.yarnpkg.com/gatsby-transformer-remark/-/gatsby-transformer-remark-1.7.7.tgz#b911ed25c4fbb7ba7bc1f39cd03f94e7dc800c91" + version "1.7.9" + resolved "https://registry.yarnpkg.com/gatsby-transformer-remark/-/gatsby-transformer-remark-1.7.9.tgz#fe1d2867aca54c62e9bef33c73cc19e2a90674e0" dependencies: babel-runtime "^6.26.0" bluebird "^3.5.0" @@ -3488,8 +3505,8 @@ gatsby-transformer-remark@^1.7.2: unist-util-visit "^1.1.1" gatsby-transformer-sharp@^1.6.1: - version "1.6.5" - resolved "https://registry.yarnpkg.com/gatsby-transformer-sharp/-/gatsby-transformer-sharp-1.6.5.tgz#dbf1d1c30b12058ddd7f65efc0d01723fe1f82a4" + version "1.6.6" + resolved "https://registry.yarnpkg.com/gatsby-transformer-sharp/-/gatsby-transformer-sharp-1.6.6.tgz#2ad1e4e6702d6f317fb0277941fdfb8d82f06494" dependencies: babel-runtime "^6.26.0" bluebird "^3.5.0" @@ -3497,8 +3514,8 @@ gatsby-transformer-sharp@^1.6.1: image-size "^0.6.0" gatsby@^1.9.9: - version "1.9.29" - resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.29.tgz#eedca90870fd40ddf815d04d9d61fcebfe06fea9" + version "1.9.40" + resolved "https://registry.yarnpkg.com/gatsby/-/gatsby-1.9.40.tgz#e4c713ec9ad849d4f5e455e595f941abd5a05ede" dependencies: async "^2.1.2" babel-code-frame "^6.22.0" @@ -3542,6 +3559,7 @@ gatsby@^1.9.9: fs-extra "^4.0.1" gatsby-1-config-css-modules "^1.0.4" gatsby-module-loader "^1.0.5" + gatsby-react-router-scroll "^1.0.1" glob "^7.1.1" graphql "^0.10.3" graphql-relay "^0.5.1" @@ -3585,7 +3603,6 @@ gatsby@^1.9.9: react-hot-loader "^3.0.0-beta.6" react-router "^4.1.1" react-router-dom "^4.1.1" - react-router-scroll ytase/react-router-scroll#build redux "^3.6.0" relay-compiler "^1.1.0" remote-redux-devtools "^0.5.7" @@ -4285,12 +4302,6 @@ imagemin@^5.2.2: pify "^2.3.0" replace-ext "^1.0.0" -immutability-helper@^2.1.2: - version "2.2.3" - resolved "https://registry.yarnpkg.com/immutability-helper/-/immutability-helper-2.2.3.tgz#681a0ec9ba2a243b9898564e39623c83d9ce1985" - dependencies: - invariant "^2.2.0" - immutable@^3.8.1: version "3.8.1" resolved "https://registry.yarnpkg.com/immutable/-/immutable-3.8.1.tgz#200807f11ab0f72710ea485542de088075f68cd2" @@ -6773,30 +6784,6 @@ postcss@^6.0.1: source-map "^0.5.6" supports-color "^4.1.0" -preact-compat@^3.17.0: - version "3.17.0" - resolved "https://registry.yarnpkg.com/preact-compat/-/preact-compat-3.17.0.tgz#528cfdfc301190c1a0f47567336be1f4be0266b3" - dependencies: - 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.6.3" - resolved "https://registry.yarnpkg.com/preact-render-to-string/-/preact-render-to-string-3.6.3.tgz#481d0d5bdac9192d3347557437d5cd00aa312043" - 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.5: - version "8.2.5" - resolved "https://registry.yarnpkg.com/preact/-/preact-8.2.5.tgz#cbfa3962a8012768159f6d01d46f9c1eb3213c0a" - prepend-http@^1.0.0, prepend-http@^1.0.1: version "1.0.4" resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" @@ -6820,10 +6807,6 @@ pretty-error@^2.1.1: renderkid "^2.0.1" utila "~0.4" -pretty-format@^3.5.1: - version "3.8.0" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-3.8.0.tgz#bfbed56d5e9a776645f4b1ff7aa1a3ac4fa3c385" - prismjs@^1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.6.0.tgz#118d95fb7a66dba2272e343b345f5236659db365" @@ -6868,7 +6851,7 @@ promise@^7.1.1: dependencies: asap "~2.0.3" -prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.5.8: +prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.5.6, prop-types@^15.5.8: version "15.5.10" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.5.10.tgz#2797dfc3126182e3a95e3dfbb2e893ddd7456154" dependencies: @@ -7011,6 +6994,15 @@ react-deep-force-update@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/react-deep-force-update/-/react-deep-force-update-2.0.1.tgz#4f7f6c12c3e7de42f345992a3c518236fa1ecad3" +react-dom@16.0.0-rc.3: + version "16.0.0-rc.3" + resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.0.0-rc.3.tgz#bd4e4d2abd464df5149a062b45fe796bbb804c2c" + dependencies: + fbjs "^0.8.9" + loose-envify "^1.1.0" + object-assign "^4.1.0" + prop-types "^15.5.6" + react-dom@^15.6.0: version "15.6.1" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-15.6.1.tgz#2cb0ed4191038e53c209eb3a79a23e2a4cf99470" @@ -7066,13 +7058,6 @@ react-router-dom@^4.1.1: prop-types "^15.5.4" react-router "^4.1.1" -react-router-scroll@ytase/react-router-scroll#build: - version "0.4.1" - resolved "https://codeload.github.com/ytase/react-router-scroll/tar.gz/991ecddb08885e1fb80ec1e9dbf3a35844b7d4cd" - dependencies: - scroll-behavior "^0.9.1" - warning "^3.0.0" - react-router@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/react-router/-/react-router-4.1.1.tgz#d448f3b7c1b429a6fbb03395099949c606b1fe95" @@ -7099,6 +7084,15 @@ react-sticky@^6.0.1: prop-types "^15.5.8" raf "^3.3.0" +react@16.0.0-rc.3: + version "16.0.0-rc.3" + resolved "https://registry.yarnpkg.com/react/-/react-16.0.0-rc.3.tgz#4a9df996326ba7185903d9fbed3149765e237e26" + dependencies: + fbjs "^0.8.9" + loose-envify "^1.1.0" + object-assign "^4.1.0" + prop-types "^15.5.6" + react@^15.6.0: version "15.6.1" resolved "https://registry.yarnpkg.com/react/-/react-15.6.1.tgz#baa8434ec6780bde997cdc380b79cd33b96393df" @@ -8084,10 +8078,6 @@ stackframe@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/stackframe/-/stackframe-1.0.3.tgz#fe64ab20b170e4ce49044b126c119dfa0e5dc7cc" -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" - stat-mode@^0.2.0: version "0.2.2" resolved "https://registry.yarnpkg.com/stat-mode/-/stat-mode-0.2.2.tgz#e6c80b623123d7d80cf132ce538f346289072502"