Skip to content

Commit 2ea80c0

Browse files
LekoArtshoobdeebla
andauthored
chore: Upgrade some non-breaking major versions (#37406)
* cpy-cli * boxen * fs-extra Co-authored-by: Adam Schay <[email protected]> * jscodeshift * recast * webpack-virtual-modules * mime * babel-plugin-macros * debug * partytown * cookie * misc * glob * camelcase * js-yaml * trigger ci * fix cpy commands * revert codemods change * Revert "glob" This reverts commit d5341cb. * update more fs-extra Co-authored-by: Adam Schay <[email protected]>
1 parent 315edc6 commit 2ea80c0

File tree

31 files changed

+213
-208
lines changed

31 files changed

+213
-208
lines changed

integration-tests/artifacts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"react-dom": "^18.2.0"
1919
},
2020
"devDependencies": {
21-
"fs-extra": "^10.1.0",
21+
"fs-extra": "^11.1.0",
2222
"jest": "^29.3.1"
2323
}
2424
}

integration-tests/esm-in-gatsby-files/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@types/react-dom": "^18.0.8",
2020
"babel-preset-gatsby-package": "^2.4.0",
2121
"execa": "^4.0.1",
22-
"fs-extra": "^10.1.0",
22+
"fs-extra": "^11.1.0",
2323
"jest": "^29.3.1",
2424
"node-fetch": "^2.6.0",
2525
"typescript": "^4.8.4"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"eslint-plugin-jsx-a11y": "^6.6.1",
4545
"eslint-plugin-prettier": "^4.2.1",
4646
"eslint-plugin-react": "^7.31.11",
47-
"fs-extra": "^10.1.0",
47+
"fs-extra": "^11.1.0",
4848
"glob": "^7.2.3",
4949
"husky": "3.1.0",
5050
"ignore": "^5.2.4",

packages/create-gatsby/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"common-tags": "^1.8.2",
2626
"enquirer": "^2.3.6",
2727
"execa": "^5.1.1",
28-
"fs-extra": "^10.1.0",
28+
"fs-extra": "^11.1.0",
2929
"gatsby-plugin-utils": "^4.5.0-next.0",
3030
"joi": "^17.7.0",
3131
"microbundle": "^0.15.1",

packages/gatsby-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"envinfo": "^7.8.1",
3131
"execa": "^5.1.1",
3232
"fs-exists-cached": "^1.0.0",
33-
"fs-extra": "^10.1.0",
33+
"fs-extra": "^11.1.0",
3434
"gatsby-core-utils": "^4.5.0-next.0",
3535
"gatsby-telemetry": "^4.5.0-next.0",
3636
"hosted-git-info": "^3.0.8",

packages/gatsby-codemods/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"@babel/runtime": "^7.20.7",
3232
"execa": "^5.1.1",
3333
"graphql": "^16.6.0",
34-
"jscodeshift": "^0.12.0",
35-
"recast": "^0.20.5"
34+
"jscodeshift": "0.13.1",
35+
"recast": "0.20.5"
3636
},
3737
"devDependencies": {
3838
"@babel/cli": "^7.20.7",

packages/gatsby-core-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"configstore": "^5.0.1",
6767
"fastq": "^1.13.0",
6868
"file-type": "^16.5.3",
69-
"fs-extra": "^10.1.0",
69+
"fs-extra": "^11.1.0",
7070
"got": "^11.8.5",
7171
"import-from": "^4.0.0",
7272
"lmdb": "2.5.3",

packages/gatsby-dev-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"del": "^6.1.1",
1717
"execa": "^5.1.1",
1818
"find-yarn-workspace-root": "^2.0.0",
19-
"fs-extra": "^10.1.0",
19+
"fs-extra": "^11.1.0",
2020
"got": "^11.8.6",
2121
"is-absolute": "^1.0.0",
2222
"lodash": "^4.17.21",

packages/gatsby-legacy-polyfills/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"license": "MIT",
1717
"scripts": {
1818
"build": "npm-run-all --npm-path npm -p build:*",
19-
"build:exclude": "cpy \"src/exclude.js\" \"./dist\"",
19+
"build:exclude": "cpy 'exclude.js' '../dist' --cwd=./src",
2020
"build:polyfills": "microbundle -f iife -i src/polyfills.js --no-sourcemap --external=none",
2121
"prepare": "cross-env NODE_ENV=production npm run build",
2222
"watch": "npm-run-all --npm-path npm -p watch:*",
@@ -35,11 +35,11 @@
3535
"chokidar-cli": "^3.0.0",
3636
"codegen.macro": "^4.1.0",
3737
"core-js": "3.9.0",
38-
"cpy-cli": "^3.1.1",
38+
"cpy-cli": "^4.2.0",
3939
"cross-env": "^7.0.3",
4040
"event-target-polyfill": "^0.0.3",
4141
"execa": "^5.1.1",
42-
"fs-extra": "^10.1.0",
42+
"fs-extra": "^11.1.0",
4343
"microbundle": "^0.15.1",
4444
"npm-run-all": "^4.1.5",
4545
"object-assign": "^4.1.1",

packages/gatsby-plugin-emotion/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"dependencies": {
1010
"@babel/runtime": "^7.20.7",
11-
"@emotion/babel-preset-css-prop": "^11.2.0"
11+
"@emotion/babel-preset-css-prop": "^11.10.0"
1212
},
1313
"devDependencies": {
1414
"@babel/cli": "^7.20.7",

packages/gatsby-plugin-feed/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"@babel/runtime": "^7.20.7",
1111
"@hapi/joi": "^15.1.1",
1212
"common-tags": "^1.8.2",
13-
"fs-extra": "^10.1.0",
13+
"fs-extra": "^11.1.0",
1414
"gatsby-plugin-utils": "^4.5.0-next.0",
1515
"lodash.merge": "^4.6.2",
1616
"rss": "^1.2.2"

packages/gatsby-plugin-gatsby-cloud/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"dependencies": {
1010
"@babel/runtime": "^7.20.7",
11-
"fs-extra": "^10.1.0",
11+
"fs-extra": "^11.1.0",
1212
"gatsby-core-utils": "^4.5.0-next.0",
1313
"gatsby-telemetry": "^4.5.0-next.0",
1414
"kebab-hash": "^0.1.2",
@@ -19,7 +19,6 @@
1919
"@babel/cli": "^7.20.7",
2020
"@babel/core": "^7.20.7",
2121
"babel-preset-gatsby-package": "^3.5.0-next.0",
22-
"cpy-cli": "^3.1.1",
2322
"cross-env": "^7.0.3",
2423
"del-cli": "^3.0.1",
2524
"msw": "^0.49.2",

packages/gatsby-plugin-image/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"@types/react": "^18.0.26",
5353
"@types/react-dom": "^18.0.10",
5454
"ast-pretty-print": "^2.0.1",
55-
"babel-plugin-macros": "^2.8.0",
55+
"babel-plugin-macros": "^3.1.0",
5656
"cross-env": "^7.0.3",
5757
"cssnano": "^4.1.11",
5858
"del-cli": "^3.0.1",
@@ -88,10 +88,10 @@
8888
"@babel/traverse": "^7.20.10",
8989
"babel-jsx-utils": "^1.1.0",
9090
"babel-plugin-remove-graphql-queries": "^5.5.0-next.0",
91-
"camelcase": "^5.3.1",
91+
"camelcase": "^6.3.0",
9292
"chokidar": "^3.5.3",
9393
"common-tags": "^1.8.2",
94-
"fs-extra": "^10.1.0",
94+
"fs-extra": "^11.1.0",
9595
"gatsby-core-utils": "^4.5.0-next.0",
9696
"gatsby-plugin-utils": "^4.5.0-next.0",
9797
"objectFitPolyfill": "^2.3.5",

packages/gatsby-plugin-mdx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"astring": "^1.8.3",
3434
"deepmerge": "^4.2.2",
3535
"estree-util-build-jsx": "^2.2.0",
36-
"fs-extra": "^10.1.0",
36+
"fs-extra": "^11.1.0",
3737
"gatsby-core-utils": "^4.5.0-next.0",
3838
"gatsby-plugin-utils": "^4.5.0-next.0",
3939
"gray-matter": "^4.0.3",

packages/gatsby-plugin-offline/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@babel/cli": "^7.20.7",
2020
"@babel/core": "^7.20.7",
2121
"babel-preset-gatsby-package": "^3.5.0-next.0",
22-
"cpy-cli": "^3.1.1",
22+
"cpy-cli": "^4.2.0",
2323
"cross-env": "^7.0.3",
2424
"gatsby-plugin-utils": "^4.5.0-next.0",
2525
"rewire": "^6.0.0"
@@ -47,7 +47,7 @@
4747
"scripts": {
4848
"build": "npm run build:src && npm run build:sw-append",
4949
"build:src": "babel src --out-dir . --ignore \"**/__tests__,src/sw-append.js\"",
50-
"build:sw-append": "cpy src/sw-append.js .",
50+
"build:sw-append": "cpy 'sw-append.js' '../' --cwd=./src",
5151
"prepare": "cross-env NODE_ENV=production npm run build",
5252
"watch": "npm run build:sw-append -- --watch & npm run build:src -- --watch"
5353
},

packages/gatsby-plugin-page-creator/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@sindresorhus/slugify": "^1.1.2",
3030
"chokidar": "^3.5.3",
3131
"fs-exists-cached": "^1.0.0",
32-
"fs-extra": "^10.1.0",
32+
"fs-extra": "^11.1.0",
3333
"gatsby-core-utils": "^4.5.0-next.0",
3434
"gatsby-page-utils": "^3.5.0-next.0",
3535
"gatsby-plugin-utils": "^4.5.0-next.0",

packages/gatsby-plugin-preload-fonts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@babel/runtime": "^7.20.7",
1515
"chalk": "^4.1.2",
1616
"date-fns": "^2.28.0",
17-
"fs-extra": "^10.1.0",
17+
"fs-extra": "^11.1.0",
1818
"gatsby-core-utils": "^4.5.0-next.0",
1919
"graphql-request": "^1.8.2",
2020
"progress": "^2.0.3",

packages/gatsby-plugin-sharp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"bluebird": "^3.7.2",
1313
"debug": "^4.3.4",
1414
"filenamify": "^4.3.0",
15-
"fs-extra": "^10.1.0",
15+
"fs-extra": "^11.1.0",
1616
"gatsby-core-utils": "^4.5.0-next.0",
1717
"gatsby-plugin-utils": "^4.5.0-next.0",
1818
"lodash": "^4.17.21",

packages/gatsby-plugin-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"dependencies": {
4949
"@babel/runtime": "^7.20.7",
5050
"fastq": "^1.13.0",
51-
"fs-extra": "^10.1.0",
51+
"fs-extra": "^11.1.0",
5252
"gatsby-core-utils": "^4.5.0-next.0",
5353
"gatsby-sharp": "^1.5.0-next.0",
5454
"graphql-compose": "^9.0.10",

packages/gatsby-remark-copy-linked-files/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"dependencies": {
1010
"@babel/runtime": "^7.20.7",
1111
"cheerio": "^1.0.0-rc.10",
12-
"fs-extra": "^10.1.0",
12+
"fs-extra": "^11.1.0",
1313
"is-relative-url": "^3.0.0",
1414
"lodash": "^4.17.21",
1515
"path-is-inside": "^1.0.2",

packages/gatsby-source-contentful/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"chalk": "^4.1.2",
1616
"common-tags": "^1.8.2",
1717
"contentful": "^9.2.14",
18-
"fs-extra": "^10.1.0",
18+
"fs-extra": "^11.1.0",
1919
"gatsby-core-utils": "^4.5.0-next.0",
2020
"gatsby-plugin-utils": "^4.5.0-next.0",
2121
"gatsby-source-filesystem": "^5.5.0-next.0",

packages/gatsby-source-filesystem/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
"@babel/runtime": "^7.20.7",
1111
"chokidar": "^3.5.3",
1212
"file-type": "^16.5.4",
13-
"fs-extra": "^10.1.0",
13+
"fs-extra": "^11.1.0",
1414
"gatsby-core-utils": "^4.5.0-next.0",
1515
"md5-file": "^5.0.0",
16-
"mime": "^2.6.0",
16+
"mime": "^3.0.0",
1717
"pretty-bytes": "^5.6.0",
1818
"valid-url": "^1.0.9",
1919
"xstate": "^4.34.0"

packages/gatsby-source-wordpress/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"fast-json-stable-stringify": "^2.1.0",
2727
"file-type": "^15.0.1",
2828
"filesize": "^6.4.0",
29-
"fs-extra": "^10.1.0",
29+
"fs-extra": "^11.1.0",
3030
"gatsby-core-utils": "^4.5.0-next.0",
3131
"gatsby-plugin-catch-links": "^5.5.0-next.0",
3232
"gatsby-plugin-utils": "^4.5.0-next.0",

packages/gatsby-telemetry/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"@babel/runtime": "^7.20.7",
1212
"@turist/fetch": "^7.2.0",
1313
"@turist/time": "^0.0.2",
14-
"boxen": "^4.2.0",
14+
"boxen": "^5.1.2",
1515
"configstore": "^5.0.1",
16-
"fs-extra": "^10.1.0",
16+
"fs-extra": "^11.1.0",
1717
"gatsby-core-utils": "^4.5.0-next.0",
1818
"git-up": "^7.0.0",
1919
"is-docker": "^2.2.1",

packages/gatsby-transformer-screenshot/lambda/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"dependencies": {
33
"chrome-aws-lambda": "^2.1.1",
4-
"gatsby-core-utils": "^2.14.0-next.0",
4+
"gatsby-core-utils": "^4.4.0-next.2",
55
"puppeteer-core": "^3.3.0"
66
},
77
"devDependencies": {

packages/gatsby-transformer-sharp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"@babel/runtime": "^7.20.7",
1111
"bluebird": "^3.7.2",
1212
"common-tags": "^1.8.2",
13-
"fs-extra": "^10.1.0",
13+
"fs-extra": "^11.1.0",
1414
"gatsby-plugin-utils": "^4.5.0-next.0",
1515
"probe-image-size": "^7.2.3",
1616
"semver": "^7.3.8",

packages/gatsby-transformer-sqip/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"dependencies": {
1010
"@babel/runtime": "^7.20.7",
11-
"fs-extra": "^10.1.0",
11+
"fs-extra": "^11.1.0",
1212
"gatsby-core-utils": "^4.5.0-next.0",
1313
"gatsby-plugin-sharp": "^5.5.0-next.0",
1414
"md5-file": "^5.0.0",

packages/gatsby-transformer-yaml/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@
88
},
99
"dependencies": {
1010
"@babel/runtime": "^7.20.7",
11-
"js-yaml": "^3.14.1",
12-
"lodash": "^4.17.21",
13-
"unist-util-select": "^1.5.0"
11+
"js-yaml": "^4.1.0",
12+
"lodash": "^4.17.21"
1413
},
1514
"devDependencies": {
1615
"@babel/cli": "^7.20.7",

packages/gatsby-worker/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"dependencies": {
1010
"@babel/core": "^7.20.7",
1111
"@babel/runtime": "^7.20.7",
12-
"fs-extra": "^10.0.0",
12+
"fs-extra": "^11.1.0",
1313
"signal-exit": "^3.0.7"
1414
},
1515
"devDependencies": {

packages/gatsby/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@
5858
"chokidar": "^3.5.3",
5959
"common-tags": "^1.8.2",
6060
"compression": "^1.7.4",
61-
"cookie": "^0.4.1",
61+
"cookie": "^0.5.0",
6262
"core-js": "^3.22.3",
6363
"cors": "^2.8.5",
6464
"css-loader": "^5.2.7",
6565
"css-minimizer-webpack-plugin": "^2.0.0",
6666
"css.escape": "^1.5.1",
6767
"date-fns": "^2.29.3",
68-
"debug": "^3.2.7",
68+
"debug": "^4.3.4",
6969
"deepmerge": "^4.2.2",
7070
"detect-port": "^1.5.1",
7171
"devcert": "^1.2.2",
@@ -89,7 +89,7 @@
8989
"file-loader": "^6.2.0",
9090
"find-cache-dir": "^3.3.2",
9191
"fs-exists-cached": "1.0.0",
92-
"fs-extra": "^10.1.0",
92+
"fs-extra": "^11.1.0",
9393
"gatsby-cli": "^5.5.0-next.0",
9494
"gatsby-core-utils": "^4.5.0-next.0",
9595
"gatsby-graphiql-explorer": "^3.5.0-next.0",
@@ -124,7 +124,7 @@
124124
"meant": "^1.0.3",
125125
"memoizee": "^0.4.15",
126126
"micromatch": "^4.0.5",
127-
"mime": "^2.6.0",
127+
"mime": "^3.0.0",
128128
"mini-css-extract-plugin": "1.6.2",
129129
"mitt": "^1.2.0",
130130
"moment": "^2.29.4",
@@ -172,7 +172,7 @@
172172
"webpack-dev-middleware": "^4.3.0",
173173
"webpack-merge": "^5.8.0",
174174
"webpack-stats-plugin": "^1.1.1",
175-
"webpack-virtual-modules": "^0.3.2",
175+
"webpack-virtual-modules": "^0.5.0",
176176
"xstate": "^4.35.1",
177177
"yaml-loader": "^0.8.0"
178178
},

0 commit comments

Comments
 (0)