Skip to content

Commit ca44a9e

Browse files
pedrolamasgatsbybotpieh
authored
fix(gatsby-plugin-netlify): upgrade webpack-assets-manifest for compatibility with webpack@5 (#30217)
* Updates webpack-assets-manifest dependency in gatsby-plugin-netlify * adjust tsconfig to not fail typecheck Co-authored-by: gatsbybot <[email protected]> Co-authored-by: Michal Piechowiak <[email protected]>
1 parent 0c3e4ba commit ca44a9e

File tree

4 files changed

+8
-19
lines changed

4 files changed

+8
-19
lines changed

packages/create-gatsby/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
4848
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
4949
"esModuleInterop": true,
50-
"resolveJsonModule": true
50+
"resolveJsonModule": true,
51+
"skipLibCheck": true
5152
},
5253
"include": ["src/**/*.ts", "src/**/*.json", "src/**/*.js"],
5354
"exclude": ["**/__tests__/**/*"]

packages/gatsby-plugin-netlify/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"fs-extra": "^8.1.0",
1818
"kebab-hash": "^0.1.2",
1919
"lodash": "^4.17.21",
20-
"webpack-assets-manifest": "^3.1.1"
20+
"webpack-assets-manifest": "^5.0.1"
2121
},
2222
"devDependencies": {
2323
"@babel/cli": "^7.12.1",

packages/gatsby-source-wordpress/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"lib": ["ESNext", "DOM"],
88
"target": "ES6",
99
"moduleResolution": "node",
10-
"allowSyntheticDefaultImports": true
10+
"allowSyntheticDefaultImports": true,
11+
"skipLibCheck": true
1112
},
1213
"include": ["src"]
1314
}

yarn.lock

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7356,7 +7356,7 @@ cfb@^1.1.4:
73567356
crc-32 "~1.2.0"
73577357
printj "~1.1.2"
73587358

7359-
[email protected], 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:
7359+
[email protected], 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:
73607360
version "2.4.2"
73617361
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
73627362
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:
1765817658
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e"
1765917659
integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==
1766017660

17661-
[email protected], mkdirp@^0.5, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@~0.5.1:
17661+
[email protected], mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@~0.5.1:
1766217662
version "0.5.5"
1766317663
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def"
1766417664
integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==
@@ -26585,19 +26585,6 @@ webidl-conversions@^4.0.2:
2658526585
version "4.0.2"
2658626586
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad"
2658726587

26588-
webpack-assets-manifest@^3.1.1:
26589-
version "3.1.1"
26590-
resolved "https://registry.yarnpkg.com/webpack-assets-manifest/-/webpack-assets-manifest-3.1.1.tgz#39bbc3bf2ee57fcd8ba07cda51c9ba4a3c6ae1de"
26591-
integrity sha512-JV9V2QKc5wEWQptdIjvXDUL1ucbPLH2f27toAY3SNdGZp+xSaStAgpoMcvMZmqtFrBc9a5pTS1058vxyMPOzRQ==
26592-
dependencies:
26593-
chalk "^2.0"
26594-
lodash.get "^4.0"
26595-
lodash.has "^4.0"
26596-
mkdirp "^0.5"
26597-
schema-utils "^1.0.0"
26598-
tapable "^1.0.0"
26599-
webpack-sources "^1.0.0"
26600-
2660126588
webpack-assets-manifest@^5.0.1:
2660226589
version "5.0.1"
2660326590
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:
2671426701
source-list-map "^1.1.1"
2671526702
source-map "~0.5.3"
2671626703

26717-
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:
26704+
webpack-sources@^1.1.0, webpack-sources@^1.4.0, webpack-sources@^1.4.1, webpack-sources@^1.4.3:
2671826705
version "1.4.3"
2671926706
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.4.3.tgz#eedd8ec0b928fbf1cbfe994e22d2d890f330a933"
2672026707
integrity sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==

0 commit comments

Comments
 (0)