From c5ee314faeba05d3b04f3beec97b855b5fe1f0a2 Mon Sep 17 00:00:00 2001 From: Vstahelin Date: Mon, 17 Feb 2025 16:24:22 -0300 Subject: [PATCH 1/2] fix: change export syntax from ES module to CommonJS in docusaurus.config.js --- docusaurus.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 85fb6da..1456171 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -1,7 +1,7 @@ // @ts-check // Note: type annotations allow type checking and IDEs autocompletion -import { themes } from 'prism-react-renderer'; +const {themes} = require('prism-react-renderer'); const lightTheme = themes.github; const darkTheme = themes.dracula; @@ -125,4 +125,4 @@ const config = { }), }; -export default config; +module.exports = config; From 816e0d2a761d13eb11a6987c037937187e0017ae Mon Sep 17 00:00:00 2001 From: Vstahelin Date: Mon, 17 Feb 2025 16:24:46 -0300 Subject: [PATCH 2/2] feat: add dependency installation step in GitHub Actions workflow and update authors.yml with Whitestone Dev information --- .github/workflows/deploy-gh-pages.yml | 5 ++++- blog/authors.yml | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-gh-pages.yml b/.github/workflows/deploy-gh-pages.yml index 6a42805..f0d642c 100644 --- a/.github/workflows/deploy-gh-pages.yml +++ b/.github/workflows/deploy-gh-pages.yml @@ -16,7 +16,10 @@ jobs: uses: actions/setup-node@v4 with: node-version: 22 - + + - name: Install dependencies + run: npm install + - name: Build Project run: npm run build diff --git a/blog/authors.yml b/blog/authors.yml index 13d085c..445bb4b 100644 --- a/blog/authors.yml +++ b/blog/authors.yml @@ -3,3 +3,8 @@ rafaelbmateus: title: Software Engineer url: https://github.com/rafaelbmateus image_url: https://github.com/rafaelbmateus.png +whitestonedev: + name: Whitestone Dev + title: Organization + url: whitestonedev.com.br + image_url: https://github.com/whitestonedev.png