Skip to content

Commit ac4775b

Browse files
authored
Patch 3.1.1 (#220)
1 parent ee0b0bd commit ac4775b

File tree

12 files changed

+32
-26
lines changed

12 files changed

+32
-26
lines changed

.eslintrc.js

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

.github/workflows/check.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,23 @@ jobs:
55
name: Check
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v3
8+
- uses: actions/checkout@v4
99
- uses: oven-sh/setup-bun@v2
1010
with:
1111
bun-version: "1.2.4"
1212
- run: bun install --frozen-lockfile
1313
- run: bun check
14+
typos:
15+
name: Check Typos
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: crate-ci/typos@v1
1420
build:
1521
name: Build
1622
runs-on: ubuntu-latest
1723
steps:
18-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
1925
- uses: oven-sh/setup-bun@v2
2026
with:
2127
bun-version: "1.2.4"

.helix/languages.toml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
[language-servers]
2-
astro-ls = { command = "astro-ls", args = ["--stdio"] }
1+
[language-servers.astro-ls]
2+
command = "astro-ls"
3+
args = ["--stdio"]
4+
config = { contentIntellisense = true } # not working?
35

46
[[language]]
57
name = "astro"
@@ -14,3 +16,8 @@ formatter = { command = "bun", args = ["prettier", "--parser", "typescript"] }
1416
name = "svelte"
1517
formatter = { command = "bun", args = ["prettier", "--parser", "svelte"] }
1618
auto-format = true
19+
20+
[[language]]
21+
name = "markdown"
22+
file-types = ["md", "mdx"]
23+
language-servers = ["astro-ls"]

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.vscode/extensions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"recommendations": ["astro-build.astro-vscode"]
2+
"recommendations": ["astro-build.astro-vscode", "tekumara.typos-vscode"]
33
}

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
### ローカル
1313

1414
- (必須) Bun >= v1.1.39
15-
- 任意のエディタ https://docs.astro.build/en/editor-setup/
15+
- (推奨) Typos <https://github.com/crate-ci/typos>
16+
- 任意のエディタ <https://docs.astro.build/en/editor-setup/>
1617

1718
```sh
1819
bun install --frozen-lockfile

_typos.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[default.extend-words]
2+
progate = "progate"

lefthook.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ pre-commit:
1010
stage_fixed: true
1111
sync:
1212
run: bun sync
13+
typos:
14+
run: if command -v typos 2&> /dev/null; then typos; fi

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "website",
3-
"version": "3.1.0",
4-
"private": true,
3+
"homepage": "https://utcode.net",
54
"description": "website of ut.code();, version 3",
6-
"author": "aster-void and others",
7-
"type": "module",
5+
"private": true,
6+
"version": "3.1.1",
87
"keywords": [
98
"astro",
109
"ut.code();"
1110
],
11+
"type": "module",
1212
"scripts": {
1313
"prepare": "lefthook install && bun sync",
1414
"sync": "astro sync",

shell.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ pkgs.mkShell {
33
packages = [
44
pkgs.bun
55
pkgs.biome
6+
pkgs.astro-language-server
67
pkgs.nodejs-slim # required by astro to find sharp
8+
pkgs.typos
9+
pkgs.typos-lsp
710
];
811
}

0 commit comments

Comments
 (0)