Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci-static-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
steps:
- uses: actions/checkout@v7

- uses: j178/prek-action@v3.0.0
- uses: j178/prek-action@v3.0.1
with:
install-only: true

- uses: voidzero-dev/setup-vp@v1
with:
cache: true

- uses: j178/prek-action@v3.0.0
- uses: j178/prek-action@v3.0.1
4 changes: 2 additions & 2 deletions .github/workflows/policy-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:

- name: Check PR title
if: github.event.pull_request.user.login != 'renovate[bot]'
uses: zendev-lab/zendev/actions/validate-title@v0.4.0
uses: zendev-lab/zendev/actions/validate-title@v0.5.0
with:
text: ${{ github.event.pull_request.title }}

- name: Check PR body
uses: zendev-lab/zendev/actions/validate-body@v0.4.0
uses: zendev-lab/zendev/actions/validate-body@v0.5.0
with:
body: ${{ github.event.pull_request.body }}
template: .github/pull_request_template.md
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
24.21.0
24.22.0
23 changes: 12 additions & 11 deletions apps/blog/data/blog/_engineering/pytest-introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,20 +251,21 @@ python_classes = ["Test*"]
python_functions = ["test_*"]

addopts = [
"--strict-markers",
"--tb=short",
"-n", "auto", # pytest-xdist: 自动并行
"--timeout=300", # pytest-timeout: 5 分钟超时
"--instafail", # pytest-instafail: 即时失败
"--randomly", # pytest-randomly: 随机顺序
"--cov=boning", # pytest-cov: 覆盖率
"--cov-report=term-missing",
"--strict-markers",
"--tb=short",
"-n",
"auto", # pytest-xdist: 自动并行
"--timeout=300", # pytest-timeout: 5 分钟超时
"--instafail", # pytest-instafail: 即时失败
"--randomly", # pytest-randomly: 随机顺序
"--cov=boning", # pytest-cov: 覆盖率
"--cov-report=term-missing",
]

markers = [
"slow: marks tests as slow",
"integration: marks tests as integration tests",
"benchmark: marks tests as benchmark tests",
"slow: marks tests as slow",
"integration: marks tests as integration tests",
"benchmark: marks tests as benchmark tests",
]

timeout = 300
Expand Down
4 changes: 2 additions & 2 deletions apps/blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
"caniuse-lite": "^1.0.30001806",
"dayjs": "^1.11.21",
"lodash.kebabcase": "^4.1.1",
"mermaid": "12.1.0",
"mermaid": "12.2.0",
"rehype-autolink-headings": "^7.1.0",
"rehype-katex": "^7.0.1",
"rehype-slug": "^6.0.0",
"remark-code-titles": "^0.1.2",
"remark-collapse": "^0.1.2",
"remark-math": "^6.0.0",
"remark-toc": "^9.0.0",
"satori": "^0.35.0",
"satori": "^0.56.0",
"tailwindcss": "catalog:",
"typescript": "catalog:"
},
Expand Down
12 changes: 2 additions & 10 deletions apps/root/src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,8 @@

body {
font-family:
"Noto Sans SC",
ui-sans-serif,
system-ui,
-apple-system,
"Segoe UI",
Roboto,
"Helvetica Neue",
Arial,
"Apple Color Emoji",
"Segoe UI Emoji";
"Noto Sans SC", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
"Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
background: var(--bg);
}

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"prepare": "pnpx @j178/prek install"
},
"devDependencies": {
"oxlint": "1.86.0",
"oxlint": "1.88.0",
"vite-plus": "catalog:",
"wrangler": "4.147.0"
"wrangler": "4.151.0"
},
"packageManager": "pnpm@11.28.4"
"packageManager": "pnpm@11.28.5"
}
2,424 changes: 1,351 additions & 1,073 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ catalog:
astro: "^7.1.1"
# astro check 仍依赖 TS 6 的 sys API;TS 7 原生编译器尚不兼容(withastro/astro#17268)
typescript: "6.0.3"
vite: "npm:@voidzero-dev/vite-plus-core@1.0.0"
vite-plus: "1.0.0"
vitest: "5.0.3"
vite: "npm:@voidzero-dev/vite-plus-core@1.2.0"
vite-plus: "1.2.0"
vitest: "5.0.4"
tailwindcss: "^4.3.3"
"@tailwindcss/vite": "^4.3.3"
"@tailwindcss/typography": "^0.5.20"
Expand Down
Loading