Skip to content

Commit 7c72ab8

Browse files
authored
chore(gatsby): remove unused packages (#32903)
1 parent afb06d7 commit 7c72ab8

File tree

4 files changed

+25
-415
lines changed

4 files changed

+25
-415
lines changed

integration-tests/ssr/__tests__/ssr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe(`SSR`, () => {
2727
test(`dev & build outputs match`, async () => {
2828
const childProcess = await execa(`yarn`, [`test-output`])
2929

30-
expect(childProcess.code).toEqual(0)
30+
expect(childProcess.exitCode).toEqual(0)
3131

3232
// Additional sanity-check
3333
expect(String(childProcess.stdout)).toContain(

integration-tests/ssr/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"devDependencies": {
1717
"cheerio": "^1.0.0-rc.9",
1818
"cross-env": "^5.0.2",
19+
"execa": "^5.1.1",
1920
"fs-extra": "^9.0.0",
2021
"gatsby-core-utils": "^2.12.0",
2122
"jest": "^24.0.0",

packages/gatsby/package.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
"common-tags": "^1.8.0",
4545
"compression": "^1.7.4",
4646
"cookie": "^0.4.1",
47-
"copyfiles": "^2.3.0",
4847
"core-js": "^3.9.0",
4948
"cors": "^2.8.5",
5049
"css-loader": "^5.0.1",
@@ -98,7 +97,6 @@
9897
"is-relative-url": "^3.0.0",
9998
"joi": "^17.2.1",
10099
"json-loader": "^0.5.7",
101-
"json-stringify-safe": "^5.0.1",
102100
"latest-version": "5.1.0",
103101
"lodash": "^4.17.21",
104102
"md5-file": "^5.0.0",
@@ -108,10 +106,8 @@
108106
"mime": "^2.4.6",
109107
"mini-css-extract-plugin": "1.6.2",
110108
"mitt": "^1.2.0",
111-
"mkdirp": "^0.5.1",
112109
"moment": "^2.27.0",
113110
"multer": "^1.4.2",
114-
"name-all-modules-plugin": "^1.0.1",
115111
"normalize-path": "^3.0.0",
116112
"null-loader": "^4.0.1",
117113
"opentracing": "^0.14.4",
@@ -120,7 +116,6 @@
120116
"path-to-regexp": "0.1.7",
121117
"physical-cpu-count": "^2.0.0",
122118
"platform": "^1.3.6",
123-
"pnp-webpack-plugin": "^1.6.4",
124119
"postcss": "^8.3.5",
125120
"postcss-flexbugs-fixes": "^5.0.2",
126121
"postcss-loader": "^5.0.0",
@@ -151,12 +146,10 @@
151146
"true-case-path": "^2.2.1",
152147
"type-of": "^2.0.1",
153148
"url-loader": "^4.1.1",
154-
"util.promisify": "^1.0.1",
155149
"uuid": "3.4.0",
156150
"v8-compile-cache": "^2.2.0",
157151
"webpack": "^5.35.0",
158152
"webpack-dev-middleware": "^4.1.0",
159-
"webpack-dev-server": "^3.11.2",
160153
"webpack-merge": "^5.7.3",
161154
"webpack-stats-plugin": "^1.0.3",
162155
"webpack-virtual-modules": "^0.3.2",
@@ -166,7 +159,6 @@
166159
"devDependencies": {
167160
"@babel/cli": "^7.14.8",
168161
"@babel/register": "^7.14.0",
169-
"@babel/runtime": "^7.14.8",
170162
"@types/eslint": "^7.2.6",
171163
"@types/micromatch": "^4.0.1",
172164
"@types/normalize-path": "^3.0.0",
@@ -178,6 +170,7 @@
178170
"@types/tmp": "^0.2.0",
179171
"@types/webpack-virtual-modules": "^0.1.1",
180172
"babel-preset-gatsby-package": "^1.13.0-next.0",
173+
"copyfiles": "^2.3.0",
181174
"cross-env": "^7.0.3",
182175
"documentation": "^13.1.0",
183176
"enhanced-resolve": "^4.2.0",

0 commit comments

Comments
 (0)