Skip to content

Commit

Permalink
Remove micro modules (#23916)
Browse files Browse the repository at this point in the history
Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
  • Loading branch information
43081j and gatsbybot committed Jul 3, 2020
1 parent 6e68f17 commit 04b9ea6
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 15 deletions.
3 changes: 0 additions & 3 deletions packages/gatsby-cli/package.json
Expand Up @@ -15,13 +15,11 @@
"@hapi/joi": "^15.1.1",
"@types/common-tags": "^1.8.0",
"better-opn": "^1.0.0",
"bluebird": "^3.7.2",
"chalk": "^2.4.2",
"clipboardy": "^2.3.0",
"common-tags": "^1.8.0",
"configstore": "^5.0.1",
"convert-hrtime": "^3.0.0",
"core-js": "^2.6.11",
"envinfo": "^7.5.1",
"execa": "^3.4.0",
"fs-exists-cached": "^1.0.0",
Expand All @@ -36,7 +34,6 @@
"lodash": "^4.17.15",
"meant": "^1.0.1",
"node-fetch": "^2.6.0",
"object.entries": "^1.1.2",
"opentracing": "^0.14.4",
"pretty-error": "^2.1.1",
"progress": "^2.0.3",
Expand Down
1 change: 0 additions & 1 deletion packages/gatsby-cli/src/index.ts
@@ -1,6 +1,5 @@
#!/usr/bin/env node

import "@babel/polyfill"
import os from "os"
import semver from "semver"
import util from "util"
Expand Down
2 changes: 0 additions & 2 deletions packages/gatsby-recipes/package.json
Expand Up @@ -46,8 +46,6 @@
"ink-select-input": "^3.1.2",
"ink-spinner": "^3.1.0",
"is-binary-path": "^2.1.0",
"is-blank": "^2.1.0",
"is-string": "^1.0.5",
"is-url": "^1.2.4",
"jest-diff": "^25.5.0",
"lodash": "^4.17.15",
Expand Down
3 changes: 1 addition & 2 deletions packages/gatsby-recipes/src/providers/git/ignore.js
@@ -1,7 +1,6 @@
const fs = require(`fs-extra`)
const path = require(`path`)
const Joi = require(`@hapi/joi`)
const isBlank = require(`is-blank`)
const singleTrailingNewline = require(`single-trailing-newline`)

const getDiff = require(`../utils/get-diff`)
Expand All @@ -20,7 +19,7 @@ const gitignoresAsArray = async root => {
const ignores = ignoresStr.split(`\n`)
const last = ignores.pop()

if (isBlank(last)) {
if (last.trim() === ``) {
return ignores
} else {
return [...ignores, last]
Expand Down
5 changes: 0 additions & 5 deletions packages/gatsby-telemetry/package.json
Expand Up @@ -9,7 +9,6 @@
"dependencies": {
"@babel/code-frame": "^7.10.3",
"@babel/runtime": "^7.10.3",
"bluebird": "^3.7.2",
"boxen": "^4.2.0",
"configstore": "^5.0.1",
"envinfo": "^7.5.1",
Expand All @@ -19,10 +18,6 @@
"is-docker": "2.0.0",
"lodash": "^4.17.15",
"node-fetch": "2.6.0",
"resolve-cwd": "^2.0.0",
"source-map": "^0.7.3",
"stack-trace": "^0.0.10",
"stack-utils": "1.0.2",
"uuid": "3.4.0"
},
"devDependencies": {
Expand Down
2 changes: 0 additions & 2 deletions packages/gatsby/package.json
Expand Up @@ -69,7 +69,6 @@
"express-graphql": "^0.9.0",
"fast-levenshtein": "^2.0.6",
"file-loader": "^1.1.11",
"flat": "^4.1.0",
"fs-exists-cached": "1.0.0",
"fs-extra": "^8.1.0",
"gatsby-cli": "^2.12.57",
Expand All @@ -96,7 +95,6 @@
"json-stringify-safe": "^5.0.1",
"latest-version": "5.1.0",
"lodash": "^4.17.15",
"md5": "^2.2.1",
"md5-file": "^3.2.3",
"meant": "^1.0.1",
"micromatch": "^3.1.10",
Expand Down

0 comments on commit 04b9ea6

Please sign in to comment.