Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.

Commit aff629d

Browse files
committed
feat: add netlify.toml and gatsby-plugin-netlify
1 parent a2415a0 commit aff629d

File tree

4 files changed

+76
-2
lines changed

4 files changed

+76
-2
lines changed

gatsby-config.js

+1
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ module.exports = {
160160
extensions: [`.mdx`, `.md`],
161161
},
162162
},
163+
'gatsby-plugin-netlify',
163164
{
164165
resolve: 'gatsby-plugin-gatsby-cloud',
165166
options: {

netlify.toml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[[plugins]]
2+
package = "@netlify/plugin-gatsby"
3+
4+
[functions]
5+
included_files = ["!.cache/data/datastore/data.mdb","!.cache/query-engine"]

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"gatsby-plugin-gatsby-cloud": "^4.20.0",
1919
"gatsby-plugin-manifest": "^4.20.0",
2020
"gatsby-plugin-mdx": "^2.8.0",
21+
"gatsby-plugin-netlify": "^5.1.1",
2122
"gatsby-plugin-offline": "^4.8.0",
2223
"gatsby-plugin-sass": "^5.9.0",
2324
"gatsby-plugin-sharp": "^4.20.0",

yarn.lock

+69-2
Original file line numberDiff line numberDiff line change
@@ -1487,6 +1487,13 @@
14871487
dependencies:
14881488
regenerator-runtime "^0.13.11"
14891489

1490+
"@babel/runtime@^7.20.13":
1491+
version "7.23.9"
1492+
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.9.tgz#47791a15e4603bb5f905bc0753801cf21d6345f7"
1493+
integrity sha512-0CX6F+BI2s9dkUqr08KFrAIZgNFj75rdBU/DjCyYLIaV/quFjkk6T+EJ2LkZHyZTbEV4L5p97mNkUsHl2wLFAw==
1494+
dependencies:
1495+
regenerator-runtime "^0.14.0"
1496+
14901497
"@babel/runtime@^7.3.1":
14911498
version "7.23.5"
14921499
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.5.tgz#11edb98f8aeec529b82b211028177679144242db"
@@ -8527,6 +8534,13 @@ fastq@^1.13.0, fastq@^1.6.0:
85278534
dependencies:
85288535
reusify "^1.0.4"
85298536

8537+
fastq@^1.15.0:
8538+
version "1.17.0"
8539+
resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.17.0.tgz#ca5e1a90b5e68f97fc8b61330d5819b82f5fab03"
8540+
integrity sha512-zGygtijUMT7jnk3h26kUms3BkSDp4IfIKjmnqI2tvx6nuBfiF1UqOxbnLfzdv+apBy+53oaImsKtMw/xYbW+1w==
8541+
dependencies:
8542+
reusify "^1.0.4"
8543+
85308544
fb-watchman@^2.0.0:
85318545
version "2.0.1"
85328546
resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.1.tgz#fc84fb39d2709cf3ff6d743706157bb5708a8a85"
@@ -8837,6 +8851,15 @@ fs-extra@^10.0.0, fs-extra@^10.1.0:
88378851
jsonfile "^6.0.1"
88388852
universalify "^2.0.0"
88398853

8854+
fs-extra@^11.0.0, fs-extra@^11.1.1:
8855+
version "11.2.0"
8856+
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.2.0.tgz#e70e17dfad64232287d01929399e0ea7c86b0e5b"
8857+
integrity sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==
8858+
dependencies:
8859+
graceful-fs "^4.2.0"
8860+
jsonfile "^6.0.1"
8861+
universalify "^2.0.0"
8862+
88408863
fs-extra@^4.0.2:
88418864
version "4.0.3"
88428865
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94"
@@ -9013,6 +9036,28 @@ gatsby-core-utils@^3.25.0:
90139036
tmp "^0.2.1"
90149037
xdg-basedir "^4.0.0"
90159038

9039+
gatsby-core-utils@^4.0.0:
9040+
version "4.13.1"
9041+
resolved "https://registry.yarnpkg.com/gatsby-core-utils/-/gatsby-core-utils-4.13.1.tgz#57955316486cc85ab150922f481484bc9287205e"
9042+
integrity sha512-w7G6SsQr8T2q+AJ1MxvRNGocCt+wjc22MiRLj2Zi3Ijpjszbr818JxwI4+aPt8WOSHlKT5SYCHICnEvcYPm9gg==
9043+
dependencies:
9044+
"@babel/runtime" "^7.20.13"
9045+
ci-info "2.0.0"
9046+
configstore "^5.0.1"
9047+
fastq "^1.15.0"
9048+
file-type "^16.5.4"
9049+
fs-extra "^11.1.1"
9050+
got "^11.8.6"
9051+
hash-wasm "^4.9.0"
9052+
import-from "^4.0.0"
9053+
lmdb "2.5.3"
9054+
lock "^1.1.0"
9055+
node-object-hash "^2.3.10"
9056+
proper-lockfile "^4.1.2"
9057+
resolve-from "^5.0.0"
9058+
tmp "^0.2.1"
9059+
xdg-basedir "^4.0.0"
9060+
90169061
gatsby-graphiql-explorer@^2.25.0:
90179062
version "2.25.0"
90189063
resolved "https://registry.yarnpkg.com/gatsby-graphiql-explorer/-/gatsby-graphiql-explorer-2.25.0.tgz#78fe692009739cbd330b6c10a1cfebcff8301ab8"
@@ -9160,6 +9205,18 @@ gatsby-plugin-mdx@^2.8.0:
91609205
unist-util-remove "^1.0.3"
91619206
unist-util-visit "^1.4.1"
91629207

9208+
gatsby-plugin-netlify@^5.1.1:
9209+
version "5.1.1"
9210+
resolved "https://registry.yarnpkg.com/gatsby-plugin-netlify/-/gatsby-plugin-netlify-5.1.1.tgz#c9497133fca784900df7a80c31c47853fabdcae7"
9211+
integrity sha512-CembvYjbP7NJvVIdffqWaBKXMHIxYBKBEoXFGvCKX+8phRNkfmjnvoljoOakv0ypHBpgjgtpa7Nvc3PI+IjB1A==
9212+
dependencies:
9213+
"@babel/runtime" "^7.16.7"
9214+
fs-extra "^11.0.0"
9215+
gatsby-core-utils "^4.0.0"
9216+
kebab-hash "^0.1.2"
9217+
lodash.mergewith "^4.6.2"
9218+
webpack-assets-manifest "^5.0.6"
9219+
91639220
gatsby-plugin-newrelic@^2.4.0:
91649221
version "2.4.0"
91659222
resolved "https://registry.yarnpkg.com/gatsby-plugin-newrelic/-/gatsby-plugin-newrelic-2.4.0.tgz#9361b49db19cbbe4e6f17aa2f81d9c68535f62fe"
@@ -9879,7 +9936,7 @@ got@^11.8.2:
98799936
p-cancelable "^2.0.0"
98809937
responselike "^2.0.0"
98819938

9882-
got@^11.8.5:
9939+
got@^11.8.5, got@^11.8.6:
98839940
version "11.8.6"
98849941
resolved "https://registry.yarnpkg.com/got/-/got-11.8.6.tgz#276e827ead8772eddbcfc97170590b841823233a"
98859942
integrity sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g==
@@ -10070,6 +10127,11 @@ has@^1.0.3:
1007010127
dependencies:
1007110128
function-bind "^1.1.1"
1007210129

10130+
hash-wasm@^4.9.0:
10131+
version "4.11.0"
10132+
resolved "https://registry.yarnpkg.com/hash-wasm/-/hash-wasm-4.11.0.tgz#7d1479b114c82e48498fdb1d2462a687d00386d5"
10133+
integrity sha512-HVusNXlVqHe0fzIzdQOGolnFN6mX/fqcrSAOcTBXdvzrXVHwTz11vXeKRmkR5gTuwVpvHZEIyKoePDvuAR+XwQ==
10134+
1007310135
hasha@^5.2.2:
1007410136
version "5.2.2"
1007510137
resolved "https://registry.yarnpkg.com/hasha/-/hasha-5.2.2.tgz#a48477989b3b327aea3c04f53096d816d97522a1"
@@ -12125,6 +12187,11 @@ lodash.merge@^4.4.0, lodash.merge@^4.6.2:
1212512187
resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a"
1212612188
integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==
1212712189

12190+
lodash.mergewith@^4.6.2:
12191+
version "4.6.2"
12192+
resolved "https://registry.yarnpkg.com/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55"
12193+
integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==
12194+
1212812195
lodash.pick@^4.2.1:
1212912196
version "4.4.0"
1213012197
resolved "https://registry.yarnpkg.com/lodash.pick/-/lodash.pick-4.4.0.tgz#52f05610fff9ded422611441ed1fc123a03001b3"
@@ -17547,7 +17614,7 @@ webidl-conversions@^6.1.0:
1754717614
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-6.1.0.tgz#9111b4d7ea80acd40f5270d666621afa78b69514"
1754817615
integrity sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==
1754917616

17550-
webpack-assets-manifest@^5.1.0:
17617+
webpack-assets-manifest@^5.0.6, webpack-assets-manifest@^5.1.0:
1755117618
version "5.1.0"
1755217619
resolved "https://registry.yarnpkg.com/webpack-assets-manifest/-/webpack-assets-manifest-5.1.0.tgz#5af328f6c8fa760cb9a62af631a83da2b478b791"
1755317620
integrity sha512-kPuTMEjBrqZQVJ5M6yXNBCEdFbQQn7p+loNXt8NOeDFaAbsNFWqqwR0YL1mfG5LbwhK5FLXWXpuK3GuIIZ46rg==

0 commit comments

Comments
 (0)