Skip to content

Commit 04b9ea6

Browse files
43081jgatsbybot
and
gatsbybot
authoredJul 3, 2020
Remove micro modules (#23916)
Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
1 parent 6e68f17 commit 04b9ea6

File tree

6 files changed

+1
-15
lines changed

6 files changed

+1
-15
lines changed
 

‎packages/gatsby-cli/package.json

-3
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@
1515
"@hapi/joi": "^15.1.1",
1616
"@types/common-tags": "^1.8.0",
1717
"better-opn": "^1.0.0",
18-
"bluebird": "^3.7.2",
1918
"chalk": "^2.4.2",
2019
"clipboardy": "^2.3.0",
2120
"common-tags": "^1.8.0",
2221
"configstore": "^5.0.1",
2322
"convert-hrtime": "^3.0.0",
24-
"core-js": "^2.6.11",
2523
"envinfo": "^7.5.1",
2624
"execa": "^3.4.0",
2725
"fs-exists-cached": "^1.0.0",
@@ -36,7 +34,6 @@
3634
"lodash": "^4.17.15",
3735
"meant": "^1.0.1",
3836
"node-fetch": "^2.6.0",
39-
"object.entries": "^1.1.2",
4037
"opentracing": "^0.14.4",
4138
"pretty-error": "^2.1.1",
4239
"progress": "^2.0.3",

‎packages/gatsby-cli/src/index.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env node
22

3-
import "@babel/polyfill"
43
import os from "os"
54
import semver from "semver"
65
import util from "util"

‎packages/gatsby-recipes/package.json

-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@
4646
"ink-select-input": "^3.1.2",
4747
"ink-spinner": "^3.1.0",
4848
"is-binary-path": "^2.1.0",
49-
"is-blank": "^2.1.0",
50-
"is-string": "^1.0.5",
5149
"is-url": "^1.2.4",
5250
"jest-diff": "^25.5.0",
5351
"lodash": "^4.17.15",

‎packages/gatsby-recipes/src/providers/git/ignore.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
const fs = require(`fs-extra`)
22
const path = require(`path`)
33
const Joi = require(`@hapi/joi`)
4-
const isBlank = require(`is-blank`)
54
const singleTrailingNewline = require(`single-trailing-newline`)
65

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

23-
if (isBlank(last)) {
22+
if (last.trim() === ``) {
2423
return ignores
2524
} else {
2625
return [...ignores, last]

‎packages/gatsby-telemetry/package.json

-5
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"dependencies": {
1010
"@babel/code-frame": "^7.10.3",
1111
"@babel/runtime": "^7.10.3",
12-
"bluebird": "^3.7.2",
1312
"boxen": "^4.2.0",
1413
"configstore": "^5.0.1",
1514
"envinfo": "^7.5.1",
@@ -19,10 +18,6 @@
1918
"is-docker": "2.0.0",
2019
"lodash": "^4.17.15",
2120
"node-fetch": "2.6.0",
22-
"resolve-cwd": "^2.0.0",
23-
"source-map": "^0.7.3",
24-
"stack-trace": "^0.0.10",
25-
"stack-utils": "1.0.2",
2621
"uuid": "3.4.0"
2722
},
2823
"devDependencies": {

‎packages/gatsby/package.json

-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@
6969
"express-graphql": "^0.9.0",
7070
"fast-levenshtein": "^2.0.6",
7171
"file-loader": "^1.1.11",
72-
"flat": "^4.1.0",
7372
"fs-exists-cached": "1.0.0",
7473
"fs-extra": "^8.1.0",
7574
"gatsby-cli": "^2.12.57",
@@ -96,7 +95,6 @@
9695
"json-stringify-safe": "^5.0.1",
9796
"latest-version": "5.1.0",
9897
"lodash": "^4.17.15",
99-
"md5": "^2.2.1",
10098
"md5-file": "^3.2.3",
10199
"meant": "^1.0.1",
102100
"micromatch": "^3.1.10",

0 commit comments

Comments
 (0)
Please sign in to comment.