Skip to content

Commit 6427deb

Browse files
Merge branch 'master' into dependabot/npm_and_yarn/gatsby-5.16.1
2 parents d31fe98 + 26f2d25 commit 6427deb

File tree

58 files changed

+1016
-581
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+1016
-581
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ yarn.lock
8383

8484
#IDE Files
8585
.vscode
86+
.claude
8687

8788
default.profraw
8889

@@ -94,4 +95,4 @@ default.profraw
9495
.gitpod.yml
9596

9697
# Temporary files
97-
spreadsheet.csv
98+
spreadsheet.csv

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
AGENTS.md

gatsby-config.js

Lines changed: 196 additions & 171 deletions
Large diffs are not rendered by default.

gatsby-node.js

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,27 @@ const shouldIncludeCollection = (collection) =>
2121
isFullSiteBuild || !HEAVY_COLLECTIONS.has(collection);
2222

2323
const { loadRedirects } = require("./src/utils/redirects.js");
24+
const dev404PageSource =
25+
require.resolve("gatsby/dist/internal-plugins/dev-404-page/raw_dev-404-page.js");
26+
27+
const ensureDev404PageCache = (siteRoot) => {
28+
if (process.env.NODE_ENV !== "development") {
29+
return;
30+
}
31+
32+
const dev404PageDestination = path.join(
33+
siteRoot,
34+
".cache",
35+
"dev-404-page.js",
36+
);
37+
38+
if (fs.existsSync(dev404PageDestination)) {
39+
return;
40+
}
41+
42+
fs.mkdirSync(path.dirname(dev404PageDestination), { recursive: true });
43+
fs.copyFileSync(dev404PageSource, dev404PageDestination);
44+
};
2445

2546
exports.createPages = async ({ actions, graphql, reporter }) => {
2647
const { createRedirect } = actions;
@@ -791,6 +812,11 @@ const createSectionPage = ({ envCreatePage, node }) => {
791812
});
792813
};
793814

815+
exports.onPreExtractQueries = ({ store }) => {
816+
// Restore Gatsby's generated dev 404 entry if an incremental rebuild drops it.
817+
ensureDev404PageCache(store.getState().program.directory);
818+
};
819+
794820
exports.onCreateWebpackConfig = ({ actions, stage, getConfig }) => {
795821
actions.setWebpackConfig({
796822
resolve: {
@@ -837,11 +863,17 @@ exports.createSchemaCustomization = ({ actions }) => {
837863
whiteIcon: File @fileByRelativePath
838864
}
839865
866+
type FrontmatterMeshesYouLearn {
867+
name: String
868+
imagepath: File @fileByRelativePath
869+
}
870+
840871
type Frontmatter {
841872
title: String
842873
subtitle: String
843874
abstract: String
844875
description: String
876+
cardImage: File @fileByRelativePath
845877
eurl: String
846878
twitter: String
847879
github: String
@@ -884,6 +916,9 @@ exports.createSchemaCustomization = ({ actions }) => {
884916
company: String
885917
executive_image: File @fileByRelativePath
886918
image_path: File @fileByRelativePath
919+
thumbnail_svg: File @fileByRelativePath
920+
darkthumbnail_svg: File @fileByRelativePath
921+
meshesYouLearn: [FrontmatterMeshesYouLearn]
887922
}
888923
`;
889924
createTypes(typeDefs);

package-lock.json

Lines changed: 158 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"deploy": "gatsby build && gh-pages -d public -b master",
2525
"noIndex": "gatsby build && echo 'User-agent: *\nDisallow: /' > public/robots.txt",
2626
"version": "gatsby --version",
27+
"postinstall": "patch-package",
2728
"prepare": "husky || true"
2829
},
2930
"dependencies": {
@@ -122,6 +123,7 @@
122123
"globals": "^17.0.0",
123124
"husky": "^9.1.7",
124125
"lint-staged": "^16.2.7",
126+
"patch-package": "^8.0.1",
125127
"rimraf": "^6.1.2"
126128
}
127129
}

src/collections/blog/2020/2020-08-11-20-learn-how-to-write-wasm-filters-for-envoy-in-rust-and-deploy-with-consul/index.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ tags:
1313
- Envoy
1414
- Consul
1515
published: false
16-
redirect_from:
17-
- /blog/webassembly/learn-how-to-write-wasm-filters-for-envoy-in-rust-and-deploy-with-consul/
1816
---
1917

2018
import { BlogWrapper } from "../../Blog.style.js";

src/collections/blog/2023/06-15-internship-experience-blog-sudhanshu-dasgupta/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: "Internship Experience with Layer5 - Sudhanshu Dasgupta"
33
subtitle: "Unleashing the Journey: From Open-Source Enthusiast to Internship Success"
44
date: 2023-06-15 10:30:05 -0530
55
author: Sudhanshu Dasgupta
6-
thumbnail: ./sudhanshu.png
7-
darkthumbnail: ./sudhanshu.png
6+
thumbnail: ./sudhanshu.webp
7+
darkthumbnail: ./sudhanshu.webp
88
description: "Sharing my internship and open-source experience with this awesome community Layer5"
99
category: Community
1010
type: Blog
Binary file not shown.
47.4 KB
Loading

0 commit comments

Comments
 (0)