Skip to content

Commit 8997b0d

Browse files
committed
Merge branch 'master' of https://github.com/layer5io/layer5
2 parents 22c47cf + 31fad1c commit 8997b0d

File tree

20 files changed

+207
-45
lines changed

20 files changed

+207
-45
lines changed

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ build:
4141

4242
## Empty build cache and run layer5.io on your local machine.
4343
clean:
44-
gatsby clean && make site
44+
npm run clean && make build
4545

4646
## Run Eslint on your local machine.
4747
lint:
@@ -58,3 +58,8 @@ features:
5858
rm .github/build/spreadsheet.csv
5959

6060
.PHONY: setup build site site-full clean site-fast lint features
61+
62+
## Analyze webpack bundle with FCP optimization
63+
site-analyze:
64+
@echo "🏗️ Building site with webpack bundle analyzer..."
65+
ANALYZE_BUNDLE=true npm run build

gatsby-config.js

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,17 @@ module.exports = {
6060
mergeCachingHeaders: true,
6161
},
6262
},
63-
{
64-
resolve: "gatsby-plugin-webpack-bundle-analyser-v2",
65-
options: {
66-
disable: true,
67-
},
68-
},
63+
...(process.env.ANALYZE_BUNDLE
64+
? [
65+
{
66+
resolve: "gatsby-plugin-webpack-bundle-analyser-v2",
67+
options: {
68+
analyzerMode: "server",
69+
openAnalyzer: true,
70+
},
71+
},
72+
]
73+
: []),
6974
{
7075
resolve: "gatsby-plugin-sitemap",
7176
options: {

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
},
1212
"scripts": {
1313
"build": "cross-env BUILD_FULL_SITE=true NODE_OPTIONS=--max-old-space-size=8192 gatsby build",
14-
"clean": "gatsby clean && rimraf node_modules",
14+
"clean": "gatsby clean",
15+
"clean:all": "gatsby clean && rimraf node_modules",
1516
"develop": "cross-env BUILD_FULL_SITE=true GATSBY_CPU_COUNT=4 SHARP_CONCURRENCY=4 UV_THREADPOOL_SIZE=4 NODE_OPTIONS=--max-old-space-size=8192 env-cmd -f .env.development gatsby develop",
1617
"develop:lite": "cross-env BUILD_FULL_SITE=false LITE_BUILD_PROFILE=core GATSBY_CPU_COUNT=4 SHARP_CONCURRENCY=4 UV_THREADPOOL_SIZE=4 NODE_OPTIONS=--max-old-space-size=8192 env-cmd -f .env.development gatsby develop",
1718
"dev": "npm run develop:lite",
-36.7 KB
Binary file not shown.
-17.7 KB
Binary file not shown.

src/collections/blog/2022/2022-02-25-layer5-collab-with-openforce/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Layer5 collaboration with OpenForce 2022"
3-
date: 2022-02-25
3+
date: 2022-02-25
44
author: Shebeul Inyang
55
thumbnail: ./thumbnail.webp
66
darkthumbnail: ./thumbnail.webp

src/collections/blog/2022/2022-06-08-experience-lfx-pranav-singh/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: LFX Experience at Layer5 - Pranav Singh
33
subtitle: An exquisite experience
4-
date: 2022-06-08 08:00:00 -0630
4+
date: 2022-06-08 08:00:00 -0530
55
author: Pranav Singh
66
thumbnail: ./lfx-pranav.webp
77
darkthumbnail: ./lfx-pranav.webp

src/collections/blog/2022/2022-07-06-aaditya-gsoc-blogpost/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "My Journey as a Contributor to GSoC Intern at Layer5"
33
subtitle: "Nothing but a magical experience"
4-
date: 2022-07-06 08:00:00 -0630
4+
date: 2022-07-06 08:00:00 -0530
55
author: Aaditya Narayan Subedy
66
thumbnail: ./aaditya-subedy-layer5-intern.webp
77
darkthumbnail: ./aaditya-subedy-layer5-intern.webp

src/collections/blog/2022/2022-07-07-deploy-meshery-on-aks/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "How to deploy Meshery on AKS"
3-
date: 2022-07-21 08:00:00 -0630
3+
date: 2022-07-21 08:00:00 -0530
44
author: Srinivas Karnati
55
category: "Meshery"
66
description: "How to deploy Meshery on Azure Kubernetes service(AKS)."

src/collections/blog/2022/2022-07-28-managing-multiple-clusters-with-meshery/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Multi-Cluster Kubernetes Management with Meshery
33
subtitle: Wrangling your services one cluster at-a-time
4-
date: 2022-07-28 08:00:00 -0630
4+
date: 2022-07-28 08:00:00 -0530
55
author: Ashish Tiwari
66
description: "Manage all of your Kubernetes clusters with the cloud native management plane, Meshery. Learn how Meshery makes connecting, discovering, and configuring multiple clusters a breeze."
77
thumbnail: ./multi-cluster-kubernetes-management-with-meshery.webp

0 commit comments

Comments
 (0)