Skip to content

Commit a9cb1a3

Browse files
committed
feat: blog
1 parent 13a40ff commit a9cb1a3

File tree

8 files changed

+57
-63
lines changed

8 files changed

+57
-63
lines changed

astro.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import react from "@astrojs/react";
22
import starlight from "@astrojs/starlight";
33
import tailwind from "@astrojs/tailwind";
44
import { defineConfig } from "astro/config";
5+
import starlightBlog from 'starlight-blog'
56

67
// https://astro.build/config
78
export default defineConfig({
@@ -19,6 +20,16 @@ export default defineConfig({
1920
}),
2021
starlight({
2122
title: "Minecraft-Essentials",
23+
plugins: [starlightBlog({
24+
authors: {
25+
eveeifyeve: {
26+
name: "Eveeifyeve",
27+
title: "Creator of Minecraft-Essentials",
28+
picture: "https://github.com/eveeifyeve.png",
29+
url: "https://eveeifyeve.pages.dev",
30+
}
31+
}
32+
})],
2233
customCss: ["./src/styles/tailwind.css"],
2334
social: {
2435
github: "https://github.com/minecraft-essentials/minecraft-essentials",

bun.lockb

-42.8 KB
Binary file not shown.

package.json

Lines changed: 21 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,32 @@
33
"type": "module",
44
"version": "0.0.7",
55
"scripts": {
6-
"dev": "astro dev --bun ",
7-
"start": "astro dev --bun ",
8-
"build": "astro check --bun && astro build --bun ",
9-
"preview": "astro preview --bun ",
10-
"astro": "astro --bun ",
6+
"dev": "astro dev",
7+
"start": "astro dev",
8+
"build": "astro check && astro build",
9+
"preview": "astro preview",
10+
"astro": "astro",
1111
"fmt": "biome format . --write",
1212
"lint": "biome lint . --apply",
13-
"check": "biome check .",
14-
"postinstall": "bunx husky"
13+
"check": "biome check ."
1514
},
1615
"dependencies": {
17-
"@astrojs/check": "^0.5.6",
18-
"@astrojs/react": "^3.0.9",
19-
"@astrojs/rss": "^4.0.2",
20-
"@astrojs/starlight": "^0.21.0",
21-
"@astrojs/starlight-tailwind": "^2.0.1",
22-
"@astrojs/tailwind": "^5.1.0",
23-
"@types/react": "^18.2.48",
24-
"@types/react-dom": "^18.2.18",
25-
"astro": "^4.2.1",
26-
"react": "^18.2.0",
27-
"react-dom": "^18.2.0",
28-
"sharp": "^0.33.2",
29-
"tailwindcss": "^3.4.1",
30-
"typescript": "^5.3.3"
16+
"@astrojs/check": "0.8.2",
17+
"@astrojs/react": "3.6.0",
18+
"@astrojs/starlight": "0.25.1",
19+
"@astrojs/starlight-tailwind": "2.0.3",
20+
"@astrojs/tailwind": "5.1.0",
21+
"@types/react": "18.3.3",
22+
"@types/react-dom": "18.3.0",
23+
"astro": "4.12.1",
24+
"react": "18.3.1",
25+
"react-dom": "18.3.1",
26+
"sharp": "0.33.4",
27+
"starlight-blog": "^0.11.0",
28+
"tailwindcss": "3.4.6",
29+
"typescript": "5.5.3"
3130
},
3231
"devDependencies": {
33-
"@biomejs/biome": "^1.5.3",
34-
"@commitlint/cli": "^19.0.3",
35-
"@commitlint/config-conventional": "^19.0.3",
36-
"textlint": "^14.0.3",
37-
"textlint-rule-no-todo": "^2.0.1"
32+
"@biomejs/biome": "1.8.3"
3833
}
3934
}

src/content/config.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
import { docsSchema } from "@astrojs/starlight/schema";
21
import { defineCollection } from "astro:content";
2+
import { docsSchema } from "@astrojs/starlight/schema";
3+
import { blogSchema } from "starlight-blog/schema";
34

45
export const collections = {
5-
docs: defineCollection({ schema: docsSchema() }),
6+
docs: defineCollection({
7+
schema: docsSchema({
8+
extend: (context) => blogSchema(context)
9+
})
10+
}),
611
};

src/content/blog/annoucing-minecraft-essentials.mdx renamed to src/content/docs/blog/_annocing-auth-builder.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ title: Announcing Minecraft-Essentails
33
description: A Package that gives all Minecraft client launchers essentials
44
authors:
55
- Eveeifyeve
6-
pubdate: 2024-01-19
6+
sdate: 2024-05-18
77
---
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Announcing Minecraft-Essentails
3+
description: A Package that gives all Minecraft client launchers essentials
4+
authors:
5+
- eveeifyeve
6+
date: 2024-01-19
7+
---
8+
9+
10+
11+
12+
Introducing Minecraft-Essentials, a package that gives all Minecraft client launchers essentials.
13+
14+
Minecraft-Essentials is a package that gives all Minecraft client launchers essentials. It is a Rust library that provides a simple and easy to use API for Minecraft client launchers. Minecraft-Essentials is designed to be easy to use and to provide a simple API for developers to create Minecraft clients.
15+
16+
## Features
17+

src/pages/blog/index.astro

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/pages/feed.xml.ts

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)