Skip to content

Commit 2e079fd

Browse files
committed
random updates from a long time ago
1 parent 4bb1460 commit 2e079fd

58 files changed

Lines changed: 4778 additions & 2633 deletions

File tree

Some content is hidden

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

.prettierrc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
{
22
"plugins": ["prettier-plugin-svelte"],
3-
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }],
3+
"overrides": [
4+
{ "files": "*.svelte", "options": { "parser": "svelte" } },
5+
{
6+
"files": "*.svx",
7+
"options": {
8+
"parser": "markdown",
9+
"printWidth": 80
10+
}
11+
}
12+
],
413
"bracketSameLine": true,
514
"printWidth": 120,
615
"trailingComma": "es5",

CONTRIBUTING.md

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,28 +76,46 @@ you may run into.
7676
This command runs any `.mcfunction` file when called. You can also pass in a NBT
7777
compound or NBT source path.
7878

79-
:::info I am a very important piece of information. Please dont ignore me. I'm
80-
only smol. :::
81-
82-
:::warning The stuff in this box is probably very important. :::
83-
84-
:::tip You can do this really cool thing. It'll make your life a lot better! :::
79+
:::info
80+
81+
I am a very important piece of information. Please dont ignore me. I'm
82+
only smol.
83+
84+
:::
85+
86+
:::warning
87+
88+
The stuff in this box is probably very important.
89+
90+
:::
91+
92+
:::tip
93+
94+
You can do this really cool thing. It'll make your life a lot better!
95+
96+
:::
8597
```
8698
8799
> [!TIP]
88100
> You can create info, warning, or tip boxes using the following syntax:
89101
>
90102
> ```md
91103
> :::info
104+
>
92105
> This is an info box!
106+
>
93107
> :::
94108
>
95109
> :::warning
110+
>
96111
> This is a warning box!
112+
>
97113
> :::
98114
>
99115
> :::tip
116+
>
100117
> This is a tip box!
118+
>
101119
> :::
102120
> ```
103121

bun.lock

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

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,40 +12,40 @@
1212
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
1313
},
1414
"devDependencies": {
15-
"@sveltejs/kit": "^2.26.1",
16-
"@sveltejs/vite-plugin-svelte": "^6.1.0",
15+
"@sveltejs/kit": "^2.43.8",
16+
"@sveltejs/vite-plugin-svelte": "^6.2.1",
1717
"consola": "^3.4.2",
1818
"fast-glob": "^3.3.3",
19-
"lightningcss": "^1.30.1",
19+
"lightningcss": "^1.30.2",
2020
"mdsvex": "^0.12.6",
2121
"prettier": "^3.6.2",
2222
"prettier-plugin-svelte": "^3.4.0",
2323
"remove-markdown": "^0.6.2",
2424
"string-strip-html": "^13.4.13",
2525
"super-sitemap": "^1.0.5",
26-
"svelte": "^5.37.1",
27-
"svelte-check": "^4.3.0",
26+
"svelte": "^5.39.8",
27+
"svelte-check": "^4.3.2",
2828
"tslib": "^2.8.1",
29-
"typescript": "^5.8.3",
30-
"vite": "^7.0.6"
29+
"typescript": "^5.9.3",
30+
"vite": "^7.1.9"
3131
},
3232
"type": "module",
3333
"dependencies": {
34-
"@formkit/auto-animate": "^0.8.2",
35-
"@iconify-json/tabler": "^1.2.20",
36-
"@sveltejs/adapter-auto": "^6.0.1",
37-
"@tailwindcss/typography": "^0.5.16",
38-
"@tailwindcss/vite": "^4.1.11",
39-
"flexsearch": "^0.8.205",
34+
"@formkit/auto-animate": "^0.8.4",
35+
"@iconify-json/tabler": "^1.2.23",
36+
"@sveltejs/adapter-auto": "^6.1.1",
37+
"@tailwindcss/typography": "^0.5.19",
38+
"@tailwindcss/vite": "^4.1.14",
39+
"flexsearch": "^0.8.212",
4040
"gray-matter": "^4.0.3",
4141
"nbtify": "^2.2.0",
4242
"rehype-autolink-headings": "^7.1.0",
4343
"rehype-slug": "^6.0.0",
4444
"remark-admonitions": "^1.2.1",
4545
"remark-code-titles": "^0.1.2",
46-
"shiki": "^3.8.1",
46+
"shiki": "^3.13.0",
4747
"sk-seo": "^0.5.4",
48-
"tailwindcss": "^4.1.11",
49-
"unplugin-icons": "^22.2.0"
48+
"tailwindcss": "^4.1.14",
49+
"unplugin-icons": "^22.4.2"
5050
}
5151
}

src/lib/Topbar.svelte

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,16 @@
2828
let logoFlipped = $state(false);
2929
let logoBonked = $state(false);
3030
31-
export async function handleKeyInput(e: KeyboardEvent & {
32-
currentTarget: EventTarget & Window;
33-
}) {
31+
export async function handleKeyInput(
32+
e: KeyboardEvent & {
33+
currentTarget: EventTarget & Window;
34+
}
35+
) {
3436
const doc = e.currentTarget.document;
35-
const notAnInput = !(doc.activeElement instanceof HTMLInputElement) && !(doc.activeElement instanceof HTMLTextAreaElement);
37+
const notAnInput =
38+
!(doc.activeElement instanceof HTMLInputElement) && !(doc.activeElement instanceof HTMLTextAreaElement);
3639
37-
if(!notAnInput) return;
40+
if (!notAnInput) return;
3841
3942
lastFewInputs.push(e.key);
4043
if (lastFewInputs.length > 8) {

src/routes/+error.svx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
</script>
1010

1111
# Error {page.status}: {page.error?.message}
12-
{messages.get(page.status)}
13-
<Discord />
12+
13+
{messages.get(page.status)} <Discord />

src/routes/+page.svx

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Home
3-
description: "Welcome to the Datapack Wiki, a resource for everything related to Minecraft Datapacks. We've got guides, tutorials, and documentation to help you build your knowledge about data packs."
3+
description:
4+
"Welcome to the Datapack Wiki, a resource for everything related to Minecraft
5+
Datapacks. We've got guides, tutorials, and documentation to help you build
6+
your knowledge about data packs."
47
---
58

69
<script lang="ts">
@@ -9,26 +12,46 @@ import SearchBox from '$lib/sidebar/SearchBox.svelte';
912
</script>
1013

1114
# Welcome to the Datapack Wiki!
12-
Welcome to the Datapack Wiki, a resource for everything related to Minecraft Datapacks. This community-built wiki has got guides, tutorials, and documentation to help you create and modify Minecraft Datapacks.
15+
16+
Welcome to the Datapack Wiki, a resource for everything related to Minecraft
17+
Datapacks. This community-built wiki has got guides, tutorials, and
18+
documentation to help you create and modify Minecraft Datapacks.
1319

1420
<SearchBox />
1521

1622
## New to Minecraft Datapacks?
17-
Don't worry! You're in the right place. We've got a guide on [how to make a datapack](/guide/getting-started) for those of you with no or little experience. If you get stuck, don't hesitate to ask in our Discord Server. Pages on this wiki have been written with beginners in mind - you should have no trouble working through these resources.
23+
24+
Don't worry! You're in the right place. We've got a guide on
25+
[how to make a datapack](/guide/getting-started) for those of you with no or
26+
little experience. If you get stuck, don't hesitate to ask in our Discord
27+
Server. Pages on this wiki have been written with beginners in mind - you should
28+
have no trouble working through these resources.
1829

1930
## What are Minecraft Datapacks?
20-
Minecraft Datapacks are like addons - they are a Minecraft feature that lets you customize Minecraft worlds without mods. They allow you to modify and enhance the game by adding new features and mechanics by using Minecraft commands, advancements, worldgen, and more!
31+
32+
Minecraft Datapacks are like addons - they are a Minecraft feature that lets you
33+
customize Minecraft worlds without mods. They allow you to modify and enhance
34+
the game by adding new features and mechanics by using Minecraft commands,
35+
advancements, worldgen, and more!
2136

2237
With datapacks, you can:
38+
2339
- Add and modify custom recipes
2440
- Modify existing or create new loot tables
2541
- Add new advancements and enchantments
2642
- Create unique structures
2743
- And much more!
2844

2945
## Contribute
30-
This project wouldn't be possible without the support of community members. We encourage you to contribute to this wiki if you want to write any pages, correct any mistakes, or share any of your knowledge!
3146

32-
You can hit the `Edit` button on any page to open the GitHub page for the current wiki page. All our contributions are done via GitHub and are written in Markdown. For more information, find the Contribution section of this page, or read our contribution guide on our [GitHub repo](https://github.com/Datapack-Hub/wiki/).
47+
This project wouldn't be possible without the support of community members. We
48+
encourage you to contribute to this wiki if you want to write any pages, correct
49+
any mistakes, or share any of your knowledge!
50+
51+
You can hit the `Edit` button on any page to open the GitHub page for the
52+
current wiki page. All our contributions are done via GitHub and are written in
53+
Markdown. For more information, find the Contribution section of this page, or
54+
read our contribution guide on our
55+
[GitHub repo](https://github.com/Datapack-Hub/wiki/).
3356

34-
<Discord />
57+
<Discord />

0 commit comments

Comments
 (0)