Skip to content

Commit

Permalink
chore: Upgrade some non-breaking major versions (#37406)
Browse files Browse the repository at this point in the history
* cpy-cli

* boxen

* fs-extra

Co-authored-by: Adam Schay <adamschay@gmail.com>

* 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 <adamschay@gmail.com>
  • Loading branch information
LekoArts and hoobdeebla authored Jan 9, 2023
1 parent 315edc6 commit 2ea80c0
Show file tree
Hide file tree
Showing 31 changed files with 213 additions and 208 deletions.
2 changes: 1 addition & 1 deletion integration-tests/artifacts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"jest": "^29.3.1"
}
}
2 changes: 1 addition & 1 deletion integration-tests/esm-in-gatsby-files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@types/react-dom": "^18.0.8",
"babel-preset-gatsby-package": "^2.4.0",
"execa": "^4.0.1",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"jest": "^29.3.1",
"node-fetch": "^2.6.0",
"typescript": "^4.8.4"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.11",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"glob": "^7.2.3",
"husky": "3.1.0",
"ignore": "^5.2.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"common-tags": "^1.8.2",
"enquirer": "^2.3.6",
"execa": "^5.1.1",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"gatsby-plugin-utils": "^4.5.0-next.0",
"joi": "^17.7.0",
"microbundle": "^0.15.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"envinfo": "^7.8.1",
"execa": "^5.1.1",
"fs-exists-cached": "^1.0.0",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"gatsby-core-utils": "^4.5.0-next.0",
"gatsby-telemetry": "^4.5.0-next.0",
"hosted-git-info": "^3.0.8",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-codemods/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"@babel/runtime": "^7.20.7",
"execa": "^5.1.1",
"graphql": "^16.6.0",
"jscodeshift": "^0.12.0",
"recast": "^0.20.5"
"jscodeshift": "0.13.1",
"recast": "0.20.5"
},
"devDependencies": {
"@babel/cli": "^7.20.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-core-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"configstore": "^5.0.1",
"fastq": "^1.13.0",
"file-type": "^16.5.3",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"got": "^11.8.5",
"import-from": "^4.0.0",
"lmdb": "2.5.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-dev-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"del": "^6.1.1",
"execa": "^5.1.1",
"find-yarn-workspace-root": "^2.0.0",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"got": "^11.8.6",
"is-absolute": "^1.0.0",
"lodash": "^4.17.21",
Expand Down
6 changes: 3 additions & 3 deletions packages/gatsby-legacy-polyfills/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"license": "MIT",
"scripts": {
"build": "npm-run-all --npm-path npm -p build:*",
"build:exclude": "cpy \"src/exclude.js\" \"./dist\"",
"build:exclude": "cpy 'exclude.js' '../dist' --cwd=./src",
"build:polyfills": "microbundle -f iife -i src/polyfills.js --no-sourcemap --external=none",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "npm-run-all --npm-path npm -p watch:*",
Expand All @@ -35,11 +35,11 @@
"chokidar-cli": "^3.0.0",
"codegen.macro": "^4.1.0",
"core-js": "3.9.0",
"cpy-cli": "^3.1.1",
"cpy-cli": "^4.2.0",
"cross-env": "^7.0.3",
"event-target-polyfill": "^0.0.3",
"execa": "^5.1.1",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"microbundle": "^0.15.1",
"npm-run-all": "^4.1.5",
"object-assign": "^4.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-emotion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"dependencies": {
"@babel/runtime": "^7.20.7",
"@emotion/babel-preset-css-prop": "^11.2.0"
"@emotion/babel-preset-css-prop": "^11.10.0"
},
"devDependencies": {
"@babel/cli": "^7.20.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-feed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@babel/runtime": "^7.20.7",
"@hapi/joi": "^15.1.1",
"common-tags": "^1.8.2",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"gatsby-plugin-utils": "^4.5.0-next.0",
"lodash.merge": "^4.6.2",
"rss": "^1.2.2"
Expand Down
3 changes: 1 addition & 2 deletions packages/gatsby-plugin-gatsby-cloud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"dependencies": {
"@babel/runtime": "^7.20.7",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"gatsby-core-utils": "^4.5.0-next.0",
"gatsby-telemetry": "^4.5.0-next.0",
"kebab-hash": "^0.1.2",
Expand All @@ -19,7 +19,6 @@
"@babel/cli": "^7.20.7",
"@babel/core": "^7.20.7",
"babel-preset-gatsby-package": "^3.5.0-next.0",
"cpy-cli": "^3.1.1",
"cross-env": "^7.0.3",
"del-cli": "^3.0.1",
"msw": "^0.49.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/gatsby-plugin-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"ast-pretty-print": "^2.0.1",
"babel-plugin-macros": "^2.8.0",
"babel-plugin-macros": "^3.1.0",
"cross-env": "^7.0.3",
"cssnano": "^4.1.11",
"del-cli": "^3.0.1",
Expand Down Expand Up @@ -88,10 +88,10 @@
"@babel/traverse": "^7.20.10",
"babel-jsx-utils": "^1.1.0",
"babel-plugin-remove-graphql-queries": "^5.5.0-next.0",
"camelcase": "^5.3.1",
"camelcase": "^6.3.0",
"chokidar": "^3.5.3",
"common-tags": "^1.8.2",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"gatsby-core-utils": "^4.5.0-next.0",
"gatsby-plugin-utils": "^4.5.0-next.0",
"objectFitPolyfill": "^2.3.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"astring": "^1.8.3",
"deepmerge": "^4.2.2",
"estree-util-build-jsx": "^2.2.0",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"gatsby-core-utils": "^4.5.0-next.0",
"gatsby-plugin-utils": "^4.5.0-next.0",
"gray-matter": "^4.0.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-offline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@babel/cli": "^7.20.7",
"@babel/core": "^7.20.7",
"babel-preset-gatsby-package": "^3.5.0-next.0",
"cpy-cli": "^3.1.1",
"cpy-cli": "^4.2.0",
"cross-env": "^7.0.3",
"gatsby-plugin-utils": "^4.5.0-next.0",
"rewire": "^6.0.0"
Expand Down Expand Up @@ -47,7 +47,7 @@
"scripts": {
"build": "npm run build:src && npm run build:sw-append",
"build:src": "babel src --out-dir . --ignore \"**/__tests__,src/sw-append.js\"",
"build:sw-append": "cpy src/sw-append.js .",
"build:sw-append": "cpy 'sw-append.js' '../' --cwd=./src",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "npm run build:sw-append -- --watch & npm run build:src -- --watch"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-page-creator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@sindresorhus/slugify": "^1.1.2",
"chokidar": "^3.5.3",
"fs-exists-cached": "^1.0.0",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"gatsby-core-utils": "^4.5.0-next.0",
"gatsby-page-utils": "^3.5.0-next.0",
"gatsby-plugin-utils": "^4.5.0-next.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-preload-fonts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@babel/runtime": "^7.20.7",
"chalk": "^4.1.2",
"date-fns": "^2.28.0",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"gatsby-core-utils": "^4.5.0-next.0",
"graphql-request": "^1.8.2",
"progress": "^2.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-sharp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"bluebird": "^3.7.2",
"debug": "^4.3.4",
"filenamify": "^4.3.0",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"gatsby-core-utils": "^4.5.0-next.0",
"gatsby-plugin-utils": "^4.5.0-next.0",
"lodash": "^4.17.21",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"dependencies": {
"@babel/runtime": "^7.20.7",
"fastq": "^1.13.0",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"gatsby-core-utils": "^4.5.0-next.0",
"gatsby-sharp": "^1.5.0-next.0",
"graphql-compose": "^9.0.10",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-remark-copy-linked-files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dependencies": {
"@babel/runtime": "^7.20.7",
"cheerio": "^1.0.0-rc.10",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"is-relative-url": "^3.0.0",
"lodash": "^4.17.21",
"path-is-inside": "^1.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-source-contentful/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"chalk": "^4.1.2",
"common-tags": "^1.8.2",
"contentful": "^9.2.14",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"gatsby-core-utils": "^4.5.0-next.0",
"gatsby-plugin-utils": "^4.5.0-next.0",
"gatsby-source-filesystem": "^5.5.0-next.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-source-filesystem/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"@babel/runtime": "^7.20.7",
"chokidar": "^3.5.3",
"file-type": "^16.5.4",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"gatsby-core-utils": "^4.5.0-next.0",
"md5-file": "^5.0.0",
"mime": "^2.6.0",
"mime": "^3.0.0",
"pretty-bytes": "^5.6.0",
"valid-url": "^1.0.9",
"xstate": "^4.34.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-source-wordpress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"fast-json-stable-stringify": "^2.1.0",
"file-type": "^15.0.1",
"filesize": "^6.4.0",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"gatsby-core-utils": "^4.5.0-next.0",
"gatsby-plugin-catch-links": "^5.5.0-next.0",
"gatsby-plugin-utils": "^4.5.0-next.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-telemetry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"@babel/runtime": "^7.20.7",
"@turist/fetch": "^7.2.0",
"@turist/time": "^0.0.2",
"boxen": "^4.2.0",
"boxen": "^5.1.2",
"configstore": "^5.0.1",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"gatsby-core-utils": "^4.5.0-next.0",
"git-up": "^7.0.0",
"is-docker": "^2.2.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-transformer-screenshot/lambda/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dependencies": {
"chrome-aws-lambda": "^2.1.1",
"gatsby-core-utils": "^2.14.0-next.0",
"gatsby-core-utils": "^4.4.0-next.2",
"puppeteer-core": "^3.3.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-transformer-sharp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@babel/runtime": "^7.20.7",
"bluebird": "^3.7.2",
"common-tags": "^1.8.2",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"gatsby-plugin-utils": "^4.5.0-next.0",
"probe-image-size": "^7.2.3",
"semver": "^7.3.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-transformer-sqip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"dependencies": {
"@babel/runtime": "^7.20.7",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"gatsby-core-utils": "^4.5.0-next.0",
"gatsby-plugin-sharp": "^5.5.0-next.0",
"md5-file": "^5.0.0",
Expand Down
5 changes: 2 additions & 3 deletions packages/gatsby-transformer-yaml/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
},
"dependencies": {
"@babel/runtime": "^7.20.7",
"js-yaml": "^3.14.1",
"lodash": "^4.17.21",
"unist-util-select": "^1.5.0"
"js-yaml": "^4.1.0",
"lodash": "^4.17.21"
},
"devDependencies": {
"@babel/cli": "^7.20.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dependencies": {
"@babel/core": "^7.20.7",
"@babel/runtime": "^7.20.7",
"fs-extra": "^10.0.0",
"fs-extra": "^11.1.0",
"signal-exit": "^3.0.7"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions packages/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@
"chokidar": "^3.5.3",
"common-tags": "^1.8.2",
"compression": "^1.7.4",
"cookie": "^0.4.1",
"cookie": "^0.5.0",
"core-js": "^3.22.3",
"cors": "^2.8.5",
"css-loader": "^5.2.7",
"css-minimizer-webpack-plugin": "^2.0.0",
"css.escape": "^1.5.1",
"date-fns": "^2.29.3",
"debug": "^3.2.7",
"debug": "^4.3.4",
"deepmerge": "^4.2.2",
"detect-port": "^1.5.1",
"devcert": "^1.2.2",
Expand All @@ -89,7 +89,7 @@
"file-loader": "^6.2.0",
"find-cache-dir": "^3.3.2",
"fs-exists-cached": "1.0.0",
"fs-extra": "^10.1.0",
"fs-extra": "^11.1.0",
"gatsby-cli": "^5.5.0-next.0",
"gatsby-core-utils": "^4.5.0-next.0",
"gatsby-graphiql-explorer": "^3.5.0-next.0",
Expand Down Expand Up @@ -124,7 +124,7 @@
"meant": "^1.0.3",
"memoizee": "^0.4.15",
"micromatch": "^4.0.5",
"mime": "^2.6.0",
"mime": "^3.0.0",
"mini-css-extract-plugin": "1.6.2",
"mitt": "^1.2.0",
"moment": "^2.29.4",
Expand Down Expand Up @@ -172,7 +172,7 @@
"webpack-dev-middleware": "^4.3.0",
"webpack-merge": "^5.8.0",
"webpack-stats-plugin": "^1.1.1",
"webpack-virtual-modules": "^0.3.2",
"webpack-virtual-modules": "^0.5.0",
"xstate": "^4.35.1",
"yaml-loader": "^0.8.0"
},
Expand Down
Loading

0 comments on commit 2ea80c0

Please sign in to comment.