Skip to content

Commit 9c57f0b

Browse files
sametbasbugclaude
andcommitted
Merge deps-update: archive polish and dependency upgrades
Archive: the heading no longer repeats itself, ten stories per page instead of twenty, and /sayfa/1 is indexable in its own right rather than canonicalising away to the homepage. Dependencies: Astro 7, plus the minors and the GitHub Actions bumps. TypeScript is held at 6 because 7 breaks `astro check`. compressHTML is pinned to the old behaviour so the upgrade changes no rendered whitespace. Verified rather than assumed: identical tag sequence and text on a rendered article, byte-identical rss.xml and news-sitemap.xml, browser comparison against the live Astro 6 build at desktop and mobile, 209 tests, a real feed collection, and 0 npm advisories. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2 parents 0d9572c + 90e0c48 commit 9c57f0b

7 files changed

Lines changed: 1834 additions & 2097 deletions

File tree

‎.github/workflows/deploy.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v6
18+
uses: actions/checkout@v7
1919
- name: Install, build, and upload site
2020
uses: withastro/action@v6
2121
env:

‎.github/workflows/quality.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v6
21+
uses: actions/checkout@v7
2222

2323
- name: Set up Python
24-
uses: actions/setup-python@v6
24+
uses: actions/setup-python@v7
2525
with:
2626
python-version: '3.12'
2727

@@ -36,7 +36,7 @@ jobs:
3636
run: python -m pytest newsroom/tests
3737

3838
- name: Set up Node
39-
uses: actions/setup-node@v6
39+
uses: actions/setup-node@v7
4040
with:
4141
node-version: 24
4242
cache: npm

‎.gitignore‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ newsroom/data/
3535

3636
# auto-generated news drafts
3737
src/content/equinoxHaber/_drafts/
38+
39+
# Claude Code yerel yardımcı dosyaları
40+
.claude/

‎astro.config.mjs‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,14 @@ import sitemap from '@astrojs/sitemap';
66
export default defineConfig({
77
site: process.env.PUBLIC_SITE_URL || 'https://haber.sametbasbug.dev',
88
integrations: [sitemap()],
9+
10+
// Astro 7 varsayılanı 'jsx' oldu: satır içi öğeler arasındaki boşluk JSX
11+
// kurallarına göre siliniyor. Sitede bu boşluğa bel bağlayan bir yer olup
12+
// olmadığını 585 sayfada tek tek doğrulayamayız; doğrulayamadığımız şeyi
13+
// sürüm yükseltmesinin yan etkisi olarak kabul etmiyoruz.
14+
//
15+
// Eski davranış açıkça sabitlendi. 'jsx'e geçmek ayrı ve ölçülerek verilecek
16+
// bir karar; o zaman kazanılan birkaç kilobayt karşılığında ne kaybedildiği
17+
// görsel olarak karşılaştırılmalı.
18+
compressHTML: true,
919
});

‎newsroom/pyproject.toml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ description = "Equinox Haber üretim sistemi"
99
license = "AGPL-3.0-only"
1010
requires-python = ">=3.12"
1111
dependencies = [
12-
"rapidfuzz>=3.0",
13-
"pyyaml>=6.0",
14-
"feedparser>=6.0",
12+
"rapidfuzz>=3.14.5",
13+
"pyyaml>=6.0.3",
14+
"feedparser>=6.0.13",
1515
"httpx>=0.27",
1616
"beautifulsoup4>=4.12",
17-
"readability-lxml>=0.8",
17+
"readability-lxml>=0.8.4.1",
1818
]
1919

2020
[project.scripts]
2121
newsroom = "newsroom.cli:main"
2222

2323
[project.optional-dependencies]
24-
test = ["pytest>=8.0"]
24+
test = ["pytest>=9.1.1"]
2525

2626
[tool.setuptools.packages.find]
2727
include = ["newsroom*"]

0 commit comments

Comments
 (0)