From 162889b9b28a68d3f52184ffb1b5eef6e7fe6430 Mon Sep 17 00:00:00 2001 From: Pedro Lamas Date: Fri, 12 Mar 2021 12:17:56 +0000 Subject: [PATCH 1/2] Updates webpack-assets-manifest dependency in gatsby-plugin-netlify --- packages/gatsby-plugin-netlify/package.json | 2 +- yarn.lock | 19 +++---------------- 2 files changed, 4 insertions(+), 17 deletions(-) diff --git a/packages/gatsby-plugin-netlify/package.json b/packages/gatsby-plugin-netlify/package.json index baee5bdcde625..1b4f84a07468d 100644 --- a/packages/gatsby-plugin-netlify/package.json +++ b/packages/gatsby-plugin-netlify/package.json @@ -17,7 +17,7 @@ "fs-extra": "^8.1.0", "kebab-hash": "^0.1.2", "lodash": "^4.17.21", - "webpack-assets-manifest": "^3.1.1" + "webpack-assets-manifest": "^5.0.1" }, "devDependencies": { "@babel/cli": "^7.12.1", diff --git a/yarn.lock b/yarn.lock index 4523caaa8c65f..1dfaa906a7936 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7356,7 +7356,7 @@ cfb@^1.1.4: crc-32 "~1.2.0" printj "~1.1.2" -chalk@2.4.2, chalk@^2.0, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4.2: +chalk@2.4.2, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -17658,7 +17658,7 @@ mkdirp@*, mkdirp@^1.0.3, mkdirp@^1.0.4, mkdirp@~1.0.4: resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== -mkdirp@0.5.5, mkdirp@^0.5, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@~0.5.1: +mkdirp@0.5.5, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@~0.5.1: version "0.5.5" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def" integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ== @@ -26585,19 +26585,6 @@ webidl-conversions@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" -webpack-assets-manifest@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/webpack-assets-manifest/-/webpack-assets-manifest-3.1.1.tgz#39bbc3bf2ee57fcd8ba07cda51c9ba4a3c6ae1de" - integrity sha512-JV9V2QKc5wEWQptdIjvXDUL1ucbPLH2f27toAY3SNdGZp+xSaStAgpoMcvMZmqtFrBc9a5pTS1058vxyMPOzRQ== - dependencies: - chalk "^2.0" - lodash.get "^4.0" - lodash.has "^4.0" - mkdirp "^0.5" - schema-utils "^1.0.0" - tapable "^1.0.0" - webpack-sources "^1.0.0" - webpack-assets-manifest@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/webpack-assets-manifest/-/webpack-assets-manifest-5.0.1.tgz#5f2b45579e87f122dc9af714f9508c462383a722" @@ -26714,7 +26701,7 @@ webpack-sources@^0.2.0: source-list-map "^1.1.1" source-map "~0.5.3" -webpack-sources@^1.0.0, webpack-sources@^1.1.0, webpack-sources@^1.4.0, webpack-sources@^1.4.1, webpack-sources@^1.4.3: +webpack-sources@^1.1.0, webpack-sources@^1.4.0, webpack-sources@^1.4.1, webpack-sources@^1.4.3: version "1.4.3" resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.4.3.tgz#eedd8ec0b928fbf1cbfe994e22d2d890f330a933" integrity sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ== From ba68ba02caef38dd2d3b247ebdaf2d3118cc5881 Mon Sep 17 00:00:00 2001 From: Michal Piechowiak Date: Mon, 15 Mar 2021 18:38:19 +0100 Subject: [PATCH 2/2] adjust tsconfig to not fail typecheck --- packages/create-gatsby/tsconfig.json | 3 ++- packages/gatsby-source-wordpress/tsconfig.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/create-gatsby/tsconfig.json b/packages/create-gatsby/tsconfig.json index 711af0cabea91..3301f1fe1e1eb 100644 --- a/packages/create-gatsby/tsconfig.json +++ b/packages/create-gatsby/tsconfig.json @@ -47,7 +47,8 @@ // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ "esModuleInterop": true, - "resolveJsonModule": true + "resolveJsonModule": true, + "skipLibCheck": true }, "include": ["src/**/*.ts", "src/**/*.json", "src/**/*.js"], "exclude": ["**/__tests__/**/*"] diff --git a/packages/gatsby-source-wordpress/tsconfig.json b/packages/gatsby-source-wordpress/tsconfig.json index da2e858380af0..dd9e4c094955c 100644 --- a/packages/gatsby-source-wordpress/tsconfig.json +++ b/packages/gatsby-source-wordpress/tsconfig.json @@ -7,7 +7,8 @@ "lib": ["ESNext", "DOM"], "target": "ES6", "moduleResolution": "node", - "allowSyntheticDefaultImports": true + "allowSyntheticDefaultImports": true, + "skipLibCheck": true }, "include": ["src"] }