From 6c79bbd1db9175d822b1d3d9fb3686c5b6c05cd6 Mon Sep 17 00:00:00 2001 From: Sidhartha Chatterjee Date: Mon, 8 Apr 2019 17:55:28 +0530 Subject: [PATCH 1/9] Switch to clipboardy in an attempt to fix #11496 --- packages/gatsby-cli/package.json | 1 + packages/gatsby-cli/src/create-cli.js | 32 +++++++----- yarn.lock | 71 +++++++++++++++++++++++++-- 3 files changed, 86 insertions(+), 18 deletions(-) diff --git a/packages/gatsby-cli/package.json b/packages/gatsby-cli/package.json index c9e7935dca4e5..57e62701229db 100644 --- a/packages/gatsby-cli/package.json +++ b/packages/gatsby-cli/package.json @@ -13,6 +13,7 @@ "@babel/code-frame": "^7.0.0", "@babel/runtime": "^7.0.0", "bluebird": "^3.5.0", + "clipboardy": "^1.2.3", "common-tags": "^1.4.0", "convert-hrtime": "^2.0.0", "core-js": "^2.5.0", diff --git a/packages/gatsby-cli/src/create-cli.js b/packages/gatsby-cli/src/create-cli.js index 38c2dac3aac15..622bef617e28f 100644 --- a/packages/gatsby-cli/src/create-cli.js +++ b/packages/gatsby-cli/src/create-cli.js @@ -5,6 +5,7 @@ const report = require(`./reporter`) const didYouMean = require(`./did-you-mean`) const envinfo = require(`envinfo`) const existsSync = require(`fs-exists-cached`).sync +const clipboardy = require(`clipboardy`) const { trackCli, setDefaultTags, @@ -240,26 +241,31 @@ function buildLocalCommands(cli, isLocalSite) { }), handler: args => { try { - envinfo.run( - { + const copyToClipboard = + // Clipboard is not accessible when on a linux tty + process.platform === `linux` && !process.env.DISPLAY + ? false + : args.clipboard + + envinfo + .run({ System: [`OS`, `CPU`, `Shell`], Binaries: [`Node`, `npm`, `Yarn`], Browsers: [`Chrome`, `Edge`, `Firefox`, `Safari`], Languages: [`Python`], npmPackages: `gatsby*`, npmGlobalPackages: `gatsby*`, - }, - { - console: true, - // Clipboard is not accessible when on a linux tty - clipboard: - process.platform === `linux` && !process.env.DISPLAY - ? false - : args.clipboard, - } - ) + }) + .then(envinfoOutput => { + console.log(`\nEnvironment Info:`) + console.log(envinfoOutput) + + if (copyToClipboard) { + clipboardy.writeSync(envinfoOutput) + } + }) } catch (err) { - console.log(`Error: unable to print environment info`) + console.log(`Error: Unable to print environment info`) console.log(err) } }, diff --git a/yarn.lock b/yarn.lock index 7a91ad3569a94..57b7773bab68a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4900,6 +4900,13 @@ bindings@^1.3.1: dependencies: file-uri-to-path "1.0.0" +bindings@^1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" + integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== + dependencies: + file-uri-to-path "1.0.0" + bl@^1.0.0: version "1.2.2" resolved "https://registry.yarnpkg.com/bl/-/bl-1.2.2.tgz#a160911717103c07410cef63ef51b397c025af9c" @@ -5905,6 +5912,14 @@ clipboard@^2.0.0: select "^1.1.2" tiny-emitter "^2.0.0" +clipboardy@^1.2.3: + version "1.2.3" + resolved "https://registry.yarnpkg.com/clipboardy/-/clipboardy-1.2.3.tgz#0526361bf78724c1f20be248d428e365433c07ef" + integrity sha512-2WNImOvCRe6r63Gk9pShfkwXsVtKCroMAevIbiae021mS850UkWPbevxsBz3tnvjZIEGvlwaqCPsw+4ulzNgJA== + dependencies: + arch "^2.1.0" + execa "^0.8.0" + cliui@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1" @@ -14700,6 +14715,11 @@ nan@^2.10.0, nan@^2.12.1: resolved "https://registry.yarnpkg.com/nan/-/nan-2.12.1.tgz#7b1aa193e9aa86057e3c7bbd0ac448e770925552" integrity sha512-JY7V6lRkStKcKTvHO5NVSQRv+RV+FIL5pvDoLiAtSL9pKlC5x9PKQcZDsq7m4FO4d57mkhC6Z+QhAh3Jdk5JFw== +nan@^2.13.1: + version "2.13.2" + resolved "https://registry.yarnpkg.com/nan/-/nan-2.13.2.tgz#f51dc7ae66ba7d5d55e1e6d4d8092e802c9aefe7" + integrity sha512-TghvYc72wlMGMVMluVo9WRJc0mB8KxxF/gZ4YYFy7V2ZQX9l7rgbPg7vjS9mt6U5HXODVFVI2bOduCzwOMv/lw== + nan@^2.9.2: version "2.11.0" resolved "https://registry.yarnpkg.com/nan/-/nan-2.11.0.tgz#574e360e4d954ab16966ec102c0c049fd961a099" @@ -14797,6 +14817,13 @@ node-abi@^2.2.0: dependencies: semver "^5.4.1" +node-abi@^2.7.0: + version "2.7.1" + resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.7.1.tgz#a8997ae91176a5fbaa455b194976e32683cda643" + integrity sha512-OV8Bq1OrPh6z+Y4dqwo05HqrRL9YNF7QVMRfq1/pguwKLG+q9UB/Lk0x5qXjO23JjJg+/jqCHSTaG1P3tfKfuw== + dependencies: + semver "^5.4.1" + node-dir@0.1.8: version "0.1.8" resolved "https://registry.yarnpkg.com/node-dir/-/node-dir-0.1.8.tgz#55fb8deb699070707fb67f91a460f0448294c77d" @@ -16714,6 +16741,28 @@ prebuild-install@^5.2.2: tunnel-agent "^0.6.0" which-pm-runs "^1.0.0" +prebuild-install@^5.2.5: + version "5.2.5" + resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-5.2.5.tgz#c7485911fe98950b7f7cd15bb9daee11b875cc44" + integrity sha512-6uZgMVg7yDfqlP5CPurVhtq3hUKBFNufiar4J5hZrlHTo59DDBEtyxw01xCdFss9j0Zb9+qzFVf/s4niayba3w== + dependencies: + detect-libc "^1.0.3" + expand-template "^2.0.3" + github-from-package "0.0.0" + minimist "^1.2.0" + mkdirp "^0.5.1" + napi-build-utils "^1.0.1" + node-abi "^2.7.0" + noop-logger "^0.1.1" + npmlog "^4.0.1" + os-homedir "^1.0.1" + pump "^2.0.1" + rc "^1.2.7" + simple-get "^2.7.0" + tar-fs "^1.13.0" + tunnel-agent "^0.6.0" + which-pm-runs "^1.0.0" + prelude-ls@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" @@ -18718,6 +18767,23 @@ sharp@^0.21.3: tar "^4.4.8" tunnel-agent "^0.6.0" +sharp@^0.22.0: + version "0.22.0" + resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.22.0.tgz#cf4cfcb019941fd06ac24555d9f5bc84536d29be" + integrity sha512-yInpiWYvVbE0hJylso2Q2A7QaYFBxGdSlVVHGeUf1F9JsQNAUpmaqdnX54TImgKbSCy9mQpEAoGm1pcKCZhCsQ== + dependencies: + bindings "^1.5.0" + color "^3.1.0" + detect-libc "^1.0.3" + fs-copy-file-sync "^1.1.1" + nan "^2.13.1" + npmlog "^4.1.2" + prebuild-install "^5.2.5" + semver "^5.6.0" + simple-get "^3.0.3" + tar "^4.4.8" + tunnel-agent "^0.6.0" + shebang-command@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" @@ -18735,11 +18801,6 @@ shell-escape@^0.2.0: resolved "https://registry.yarnpkg.com/shell-escape/-/shell-escape-0.2.0.tgz#68fd025eb0490b4f567a027f0bf22480b5f84133" integrity sha1-aP0CXrBJC09WegJ/C/IkgLX4QTM= -shell-escape@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/shell-escape/-/shell-escape-0.2.0.tgz#68fd025eb0490b4f567a027f0bf22480b5f84133" - integrity sha1-aP0CXrBJC09WegJ/C/IkgLX4QTM= - shell-quote@1.6.1, shell-quote@^1.6.1: version "1.6.1" resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.6.1.tgz#f4781949cce402697127430ea3b3c5476f481767" From d3707a49ed25d5886426277da2970e565f9d3ed9 Mon Sep 17 00:00:00 2001 From: Sidhartha Chatterjee Date: Mon, 8 Apr 2019 18:06:15 +0530 Subject: [PATCH 2/9] Add duplicates and not found to envinfo output --- packages/gatsby-cli/src/create-cli.js | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/packages/gatsby-cli/src/create-cli.js b/packages/gatsby-cli/src/create-cli.js index 622bef617e28f..0be5e3391e3a5 100644 --- a/packages/gatsby-cli/src/create-cli.js +++ b/packages/gatsby-cli/src/create-cli.js @@ -248,16 +248,21 @@ function buildLocalCommands(cli, isLocalSite) { : args.clipboard envinfo - .run({ - System: [`OS`, `CPU`, `Shell`], - Binaries: [`Node`, `npm`, `Yarn`], - Browsers: [`Chrome`, `Edge`, `Firefox`, `Safari`], - Languages: [`Python`], - npmPackages: `gatsby*`, - npmGlobalPackages: `gatsby*`, - }) + .run( + { + System: [`OS`, `CPU`, `Shell`], + Binaries: [`Node`, `npm`, `Yarn`], + Browsers: [`Chrome`, `Edge`, `Firefox`, `Safari`], + Languages: [`Python`], + npmPackages: `gatsby*`, + npmGlobalPackages: `gatsby*`, + }, + { + duplicates: true, + showNotFound: true, + } + ) .then(envinfoOutput => { - console.log(`\nEnvironment Info:`) console.log(envinfoOutput) if (copyToClipboard) { From c86725afdcf1c0abc7ca68b56e93c20412247e88 Mon Sep 17 00:00:00 2001 From: Sidhartha Chatterjee Date: Mon, 8 Apr 2019 18:35:50 +0530 Subject: [PATCH 3/9] Update package.json for canary release --- packages/gatsby-cli/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby-cli/package.json b/packages/gatsby-cli/package.json index 57e62701229db..b4c6ef72549b1 100644 --- a/packages/gatsby-cli/package.json +++ b/packages/gatsby-cli/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-cli", "description": "Gatsby command-line interface for creating new sites and running Gatsby commands", - "version": "2.5.5", + "version": "2.5.5-clipboardy.1", "author": "Kyle Mathews ", "bin": { "gatsby": "lib/index.js" From 2c3622c71617f097acd2bd4cf795c29f733462f9 Mon Sep 17 00:00:00 2001 From: Sidhartha Chatterjee Date: Mon, 8 Apr 2019 19:12:18 +0530 Subject: [PATCH 4/9] Remove temporarily added new version in package.json --- packages/gatsby-cli/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby-cli/package.json b/packages/gatsby-cli/package.json index b4c6ef72549b1..57e62701229db 100644 --- a/packages/gatsby-cli/package.json +++ b/packages/gatsby-cli/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-cli", "description": "Gatsby command-line interface for creating new sites and running Gatsby commands", - "version": "2.5.5-clipboardy.1", + "version": "2.5.5", "author": "Kyle Mathews ", "bin": { "gatsby": "lib/index.js" From a1b44e9d38db41f8f59257a5e8c8eb3d713531ec Mon Sep 17 00:00:00 2001 From: Michal Piechowiak Date: Tue, 9 Apr 2019 01:23:11 +0200 Subject: [PATCH 5/9] test --- scripts/e2e-test.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/e2e-test.sh b/scripts/e2e-test.sh index e9451c9c73284..7ac2789331aa8 100755 --- a/scripts/e2e-test.sh +++ b/scripts/e2e-test.sh @@ -8,7 +8,6 @@ command -v sudo && sudo npm install -g gatsby-dev-cli || npm install -g gatsby-d # setting up child integration test link to gatsby packages cd $SRC_PATH && -yarn && gatsby-dev --set-path-to-repo $GATSBY_PATH && gatsby-dev --scan-once --copy-all --quiet && # copies _all_ files in gatsby/packages chmod +x ./node_modules/.bin/gatsby && # this is sometimes necessary to ensure executable From b278085fa820693c5fba2453cd12dc9fe18dd836 Mon Sep 17 00:00:00 2001 From: Michal Piechowiak Date: Tue, 9 Apr 2019 01:25:45 +0200 Subject: [PATCH 6/9] Update index.js --- packages/gatsby/src/bootstrap/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/gatsby/src/bootstrap/index.js b/packages/gatsby/src/bootstrap/index.js index b84f7b9198627..641de276b9f5f 100644 --- a/packages/gatsby/src/bootstrap/index.js +++ b/packages/gatsby/src/bootstrap/index.js @@ -1,5 +1,7 @@ /* @flow */ +// hi + const _ = require(`lodash`) const slash = require(`slash`) const fs = require(`fs-extra`) From c546285cf4e5210e265a19aaa17e568553444c7b Mon Sep 17 00:00:00 2001 From: Michal Piechowiak Date: Tue, 9 Apr 2019 02:41:26 +0200 Subject: [PATCH 7/9] gatsby-dev is smart boi now --- scripts/e2e-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/e2e-test.sh b/scripts/e2e-test.sh index 7ac2789331aa8..123602e1cf385 100755 --- a/scripts/e2e-test.sh +++ b/scripts/e2e-test.sh @@ -9,7 +9,7 @@ command -v sudo && sudo npm install -g gatsby-dev-cli || npm install -g gatsby-d # setting up child integration test link to gatsby packages cd $SRC_PATH && gatsby-dev --set-path-to-repo $GATSBY_PATH && -gatsby-dev --scan-once --copy-all --quiet && # copies _all_ files in gatsby/packages +gatsby-dev --scan-once --quiet && # copies _all_ files in gatsby/packages chmod +x ./node_modules/.bin/gatsby && # this is sometimes necessary to ensure executable sh -c "$CUSTOM_COMMAND" && echo "e2e test run succeeded" From cac34e78ab69231ad7c03893b0bc773eb62502be Mon Sep 17 00:00:00 2001 From: Dustin Schau Date: Mon, 8 Apr 2019 22:53:27 -0700 Subject: [PATCH 8/9] Revert "Merge branch 'fix/clipboard-on-windows' into pieh-patch-2" This reverts commit 153dfdffd18865df12a39a0786c39c817bcf153a, reversing changes made to c546285cf4e5210e265a19aaa17e568553444c7b. --- packages/gatsby-cli/package.json | 1 - packages/gatsby-cli/src/create-cli.js | 49 +++++++----------- yarn.lock | 71 ++------------------------- 3 files changed, 24 insertions(+), 97 deletions(-) diff --git a/packages/gatsby-cli/package.json b/packages/gatsby-cli/package.json index 57e62701229db..c9e7935dca4e5 100644 --- a/packages/gatsby-cli/package.json +++ b/packages/gatsby-cli/package.json @@ -13,7 +13,6 @@ "@babel/code-frame": "^7.0.0", "@babel/runtime": "^7.0.0", "bluebird": "^3.5.0", - "clipboardy": "^1.2.3", "common-tags": "^1.4.0", "convert-hrtime": "^2.0.0", "core-js": "^2.5.0", diff --git a/packages/gatsby-cli/src/create-cli.js b/packages/gatsby-cli/src/create-cli.js index 0be5e3391e3a5..38c2dac3aac15 100644 --- a/packages/gatsby-cli/src/create-cli.js +++ b/packages/gatsby-cli/src/create-cli.js @@ -5,7 +5,6 @@ const report = require(`./reporter`) const didYouMean = require(`./did-you-mean`) const envinfo = require(`envinfo`) const existsSync = require(`fs-exists-cached`).sync -const clipboardy = require(`clipboardy`) const { trackCli, setDefaultTags, @@ -241,36 +240,26 @@ function buildLocalCommands(cli, isLocalSite) { }), handler: args => { try { - const copyToClipboard = - // Clipboard is not accessible when on a linux tty - process.platform === `linux` && !process.env.DISPLAY - ? false - : args.clipboard - - envinfo - .run( - { - System: [`OS`, `CPU`, `Shell`], - Binaries: [`Node`, `npm`, `Yarn`], - Browsers: [`Chrome`, `Edge`, `Firefox`, `Safari`], - Languages: [`Python`], - npmPackages: `gatsby*`, - npmGlobalPackages: `gatsby*`, - }, - { - duplicates: true, - showNotFound: true, - } - ) - .then(envinfoOutput => { - console.log(envinfoOutput) - - if (copyToClipboard) { - clipboardy.writeSync(envinfoOutput) - } - }) + envinfo.run( + { + System: [`OS`, `CPU`, `Shell`], + Binaries: [`Node`, `npm`, `Yarn`], + Browsers: [`Chrome`, `Edge`, `Firefox`, `Safari`], + Languages: [`Python`], + npmPackages: `gatsby*`, + npmGlobalPackages: `gatsby*`, + }, + { + console: true, + // Clipboard is not accessible when on a linux tty + clipboard: + process.platform === `linux` && !process.env.DISPLAY + ? false + : args.clipboard, + } + ) } catch (err) { - console.log(`Error: Unable to print environment info`) + console.log(`Error: unable to print environment info`) console.log(err) } }, diff --git a/yarn.lock b/yarn.lock index 57b7773bab68a..7a91ad3569a94 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4900,13 +4900,6 @@ bindings@^1.3.1: dependencies: file-uri-to-path "1.0.0" -bindings@^1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" - integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== - dependencies: - file-uri-to-path "1.0.0" - bl@^1.0.0: version "1.2.2" resolved "https://registry.yarnpkg.com/bl/-/bl-1.2.2.tgz#a160911717103c07410cef63ef51b397c025af9c" @@ -5912,14 +5905,6 @@ clipboard@^2.0.0: select "^1.1.2" tiny-emitter "^2.0.0" -clipboardy@^1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/clipboardy/-/clipboardy-1.2.3.tgz#0526361bf78724c1f20be248d428e365433c07ef" - integrity sha512-2WNImOvCRe6r63Gk9pShfkwXsVtKCroMAevIbiae021mS850UkWPbevxsBz3tnvjZIEGvlwaqCPsw+4ulzNgJA== - dependencies: - arch "^2.1.0" - execa "^0.8.0" - cliui@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1" @@ -14715,11 +14700,6 @@ nan@^2.10.0, nan@^2.12.1: resolved "https://registry.yarnpkg.com/nan/-/nan-2.12.1.tgz#7b1aa193e9aa86057e3c7bbd0ac448e770925552" integrity sha512-JY7V6lRkStKcKTvHO5NVSQRv+RV+FIL5pvDoLiAtSL9pKlC5x9PKQcZDsq7m4FO4d57mkhC6Z+QhAh3Jdk5JFw== -nan@^2.13.1: - version "2.13.2" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.13.2.tgz#f51dc7ae66ba7d5d55e1e6d4d8092e802c9aefe7" - integrity sha512-TghvYc72wlMGMVMluVo9WRJc0mB8KxxF/gZ4YYFy7V2ZQX9l7rgbPg7vjS9mt6U5HXODVFVI2bOduCzwOMv/lw== - nan@^2.9.2: version "2.11.0" resolved "https://registry.yarnpkg.com/nan/-/nan-2.11.0.tgz#574e360e4d954ab16966ec102c0c049fd961a099" @@ -14817,13 +14797,6 @@ node-abi@^2.2.0: dependencies: semver "^5.4.1" -node-abi@^2.7.0: - version "2.7.1" - resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.7.1.tgz#a8997ae91176a5fbaa455b194976e32683cda643" - integrity sha512-OV8Bq1OrPh6z+Y4dqwo05HqrRL9YNF7QVMRfq1/pguwKLG+q9UB/Lk0x5qXjO23JjJg+/jqCHSTaG1P3tfKfuw== - dependencies: - semver "^5.4.1" - node-dir@0.1.8: version "0.1.8" resolved "https://registry.yarnpkg.com/node-dir/-/node-dir-0.1.8.tgz#55fb8deb699070707fb67f91a460f0448294c77d" @@ -16741,28 +16714,6 @@ prebuild-install@^5.2.2: tunnel-agent "^0.6.0" which-pm-runs "^1.0.0" -prebuild-install@^5.2.5: - version "5.2.5" - resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-5.2.5.tgz#c7485911fe98950b7f7cd15bb9daee11b875cc44" - integrity sha512-6uZgMVg7yDfqlP5CPurVhtq3hUKBFNufiar4J5hZrlHTo59DDBEtyxw01xCdFss9j0Zb9+qzFVf/s4niayba3w== - dependencies: - detect-libc "^1.0.3" - expand-template "^2.0.3" - github-from-package "0.0.0" - minimist "^1.2.0" - mkdirp "^0.5.1" - napi-build-utils "^1.0.1" - node-abi "^2.7.0" - noop-logger "^0.1.1" - npmlog "^4.0.1" - os-homedir "^1.0.1" - pump "^2.0.1" - rc "^1.2.7" - simple-get "^2.7.0" - tar-fs "^1.13.0" - tunnel-agent "^0.6.0" - which-pm-runs "^1.0.0" - prelude-ls@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" @@ -18767,23 +18718,6 @@ sharp@^0.21.3: tar "^4.4.8" tunnel-agent "^0.6.0" -sharp@^0.22.0: - version "0.22.0" - resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.22.0.tgz#cf4cfcb019941fd06ac24555d9f5bc84536d29be" - integrity sha512-yInpiWYvVbE0hJylso2Q2A7QaYFBxGdSlVVHGeUf1F9JsQNAUpmaqdnX54TImgKbSCy9mQpEAoGm1pcKCZhCsQ== - dependencies: - bindings "^1.5.0" - color "^3.1.0" - detect-libc "^1.0.3" - fs-copy-file-sync "^1.1.1" - nan "^2.13.1" - npmlog "^4.1.2" - prebuild-install "^5.2.5" - semver "^5.6.0" - simple-get "^3.0.3" - tar "^4.4.8" - tunnel-agent "^0.6.0" - shebang-command@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" @@ -18801,6 +18735,11 @@ shell-escape@^0.2.0: resolved "https://registry.yarnpkg.com/shell-escape/-/shell-escape-0.2.0.tgz#68fd025eb0490b4f567a027f0bf22480b5f84133" integrity sha1-aP0CXrBJC09WegJ/C/IkgLX4QTM= +shell-escape@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/shell-escape/-/shell-escape-0.2.0.tgz#68fd025eb0490b4f567a027f0bf22480b5f84133" + integrity sha1-aP0CXrBJC09WegJ/C/IkgLX4QTM= + shell-quote@1.6.1, shell-quote@^1.6.1: version "1.6.1" resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.6.1.tgz#f4781949cce402697127430ea3b3c5476f481767" From 7a230e6abc749e42358cc1dacc1afd5d268711c8 Mon Sep 17 00:00:00 2001 From: Sidhartha Chatterjee Date: Tue, 9 Apr 2019 21:21:55 +0530 Subject: [PATCH 9/9] bye --- packages/gatsby/src/bootstrap/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/gatsby/src/bootstrap/index.js b/packages/gatsby/src/bootstrap/index.js index 641de276b9f5f..b84f7b9198627 100644 --- a/packages/gatsby/src/bootstrap/index.js +++ b/packages/gatsby/src/bootstrap/index.js @@ -1,7 +1,5 @@ /* @flow */ -// hi - const _ = require(`lodash`) const slash = require(`slash`) const fs = require(`fs-extra`)