Skip to content

Commit

Permalink
Updated dependencies, and migrated where applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrik Klev committed Aug 29, 2024
1 parent d92e46a commit f36c124
Show file tree
Hide file tree
Showing 9 changed files with 3,792 additions and 2,786 deletions.
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 2
updates:
- package-ecosystem: "npm" s
directory: "/"
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: "weekly"
interval: 'weekly'
12 changes: 6 additions & 6 deletions blog/2019-05-28-first-blog-post.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
slug: first-blog-post
title: First Blog Post
authors:
name: Gao Wei
title: Docusaurus Core Team
url: https://github.com/wgao19
image_url: https://github.com/wgao19.png
authors: klev
tags: [hola, docusaurus]
---

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies.

<!--truncate-->

Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
2 changes: 1 addition & 1 deletion blog/2019-05-29-long-blog-post.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
slug: long-blog-post
title: Long Blog Post
authors: endi
authors: klev
tags: [hello, docusaurus]
---

Expand Down
4 changes: 3 additions & 1 deletion blog/2021-08-01-mdx-blog-post.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
---
slug: mdx-blog-post
title: MDX Blog Post
authors: [slorber]
authors: klev
tags: [docusaurus]
---

Blog posts support [Docusaurus Markdown features](https://docusaurus.io/docs/markdown-features), such as [MDX](https://mdxjs.com/).

<!--truncate-->

:::tip

Use the power of React to create interactive blog posts.
Expand Down
4 changes: 3 additions & 1 deletion blog/2021-08-26-welcome/index.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
---
slug: welcome
title: Welcome
authors: [slorber, yangshun]
authors: klev
tags: [facebook, hello, docusaurus]
---

[Docusaurus blogging features](https://docusaurus.io/docs/blog) are powered by the [blog plugin](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog).

<!--truncate-->

Simply add Markdown files (or folders) to the `blog` directory.

Regular blog authors can be added to `authors.yml`.
Expand Down
22 changes: 5 additions & 17 deletions blog/authors.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
endi:
name: Endilie Yacop Sucipto
title: Maintainer of Docusaurus
url: https://github.com/endiliey
image_url: https://github.com/endiliey.png

yangshun:
name: Yangshun Tay
title: Front End Engineer @ Facebook
url: https://github.com/yangshun
image_url: https://github.com/yangshun.png

slorber:
name: Sébastien Lorber
title: Docusaurus maintainer
url: https://sebastienlorber.com
image_url: https://github.com/slorber.png
klev:
name: Henrik Klev
title: Author of SwiftGift
url: https://github.com/torland-klev
image_url: https://github.com/torland-klev.png
4 changes: 2 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require('prism-react-renderer/themes/github')
const darkCodeTheme = require('prism-react-renderer/themes/dracula')
const lightCodeTheme = require('prism-react-renderer').themes.github
const darkCodeTheme = require('prism-react-renderer').themes.dracula

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "2.0.1",
"@docusaurus/preset-classic": "2.0.1",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
"react-dom": "^17.0.2"
"@docusaurus/core": "^3.5.2",
"@docusaurus/preset-classic": "^3.5.2",
"@mdx-js/react": "^3.0.1",
"clsx": "^2.1.1",
"prism-react-renderer": "^2.3.1",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "2.0.1",
"prettier": "3.3.3"
"@docusaurus/module-type-aliases": "^3.5.2",
"prettier": "^3.3.3"
},
"browserslist": {
"production": [
Expand Down
Loading

0 comments on commit f36c124

Please sign in to comment.