riksdagsmonitor 0.8.69 โ†’ 0.8.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -0
  2. package/package.json +5 -4
package/README.md CHANGED
@@ -183,6 +183,7 @@ Traditional AI-generated news is shallow โ€” it rewrites press releases. Riksdag
183
183
  - ๐Ÿ“Š **Quantitative rigor** โ€” voting cohesion metrics, attendance scoring, legislative productivity indices, ICD-203 Key Judgments, 45-rule transparency scoring
184
184
  - ๐ŸŒ **14-language reach** โ€” culturally adapted political analysis with RTL support (Arabic / Hebrew), not machine translation
185
185
  - ๐Ÿ›ก๏ธ **GDPR-compliant OSINT** โ€” only public parliamentary data; political opinions are processed under GDPR Art. 9(2)(e) (manifestly made public) / 9(2)(g) (substantial public interest)
186
+ - ๐Ÿ”ญ **Forward-look coverage** โ€” week / month / quarter / year / election-cycle horizons with registry-driven horizon stratification (see [`analysis/article-types.json`](analysis/article-types.json))
186
187
  - ๐Ÿšฆ **Hard analysis gate** โ€” every news workflow MUST produce 9 (single-type) or 14 (Tier-C) analysis artifacts on disk before article generation; the gate at [`.github/prompts/05-analysis-gate.md`](.github/prompts/05-analysis-gate.md) is non-negotiable
187
188
  - ๐Ÿงช **Quality gates** โ€” HTMLHint validation, link checking, accessibility (WCAG 2.1 AA) and translation parity in CI before publication
188
189
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "riksdagsmonitor",
3
- "version": "0.8.69",
3
+ "version": "0.8.70",
4
4
  "type": "module",
5
5
  "description": "Swedish Parliament (Riksdag) intelligence platform โ€” TypeScript utilities for political data visualization, dashboards, and open data analysis with Chart.js and D3.js",
6
6
  "main": "dist/lib/shared/index.js",
@@ -51,7 +51,7 @@
51
51
  "dev": "vite",
52
52
  "predev": "npx tsx scripts/copy-vendor-mermaid.ts --quiet",
53
53
  "copy-vendor": "npx tsx scripts/copy-vendor-mermaid.ts",
54
- "prebuild": "npx tsx scripts/copy-vendor-mermaid.ts --quiet && npx tsx scripts/aggregate-analysis.ts --all --quiet && npx tsx scripts/render-articles.ts --all --lang en,sv --quiet && npx tsx scripts/generate-news-indexes/index.ts && npx tsx scripts/extract-news-metadata.ts && npx tsx scripts/generate-sitemap-html.ts && npx tsx scripts/generate-political-intelligence.ts && npx tsx scripts/generate-rss.ts && npx tsx scripts/generate-sitemap.ts && npx tsx scripts/normalize-static-html-chrome.ts && npx tsx scripts/backfill-translated-chrome.ts && npx tsx scripts/strip-legacy-chrome-script-tags.ts",
54
+ "prebuild": "npx tsx scripts/generate-article-types-doc.ts && npx tsx scripts/copy-vendor-mermaid.ts --quiet && npx tsx scripts/aggregate-analysis.ts --all --quiet && npx tsx scripts/render-articles.ts --all --lang en,sv --quiet && npx tsx scripts/generate-news-indexes/index.ts && npx tsx scripts/extract-news-metadata.ts && npx tsx scripts/generate-sitemap-html.ts && npx tsx scripts/generate-political-intelligence.ts && npx tsx scripts/generate-rss.ts && npx tsx scripts/generate-sitemap.ts && npx tsx scripts/normalize-static-html-chrome.ts && npx tsx scripts/backfill-translated-chrome.ts && npx tsx scripts/strip-legacy-chrome-script-tags.ts",
55
55
  "build": "vite build",
56
56
  "build:lib": "tsc -p tsconfig.lib.json && tsc -p tsconfig.npm-scripts.json",
57
57
  "postbuild": "cp rss.xml dist/rss.xml && cp sitemap.xml dist/sitemap.xml && cp -r cia-data dist/cia-data && cp manifest.json dist/manifest.json",
@@ -85,6 +85,7 @@
85
85
  "htmlhint": "sh -c 'htmlhint *.html; set -- news/*.html; if [ -e \"$1\" ]; then htmlhint \"$@\"; else echo \"No news/*.html files to lint\"; fi'",
86
86
  "lint": "eslint .",
87
87
  "lint:fix": "eslint . --fix",
88
+ "check:docs": "npx tsx scripts/generate-article-types-doc.ts && git diff --exit-code Article-Generation.md",
88
89
  "typedoc": "typedoc",
89
90
  "typedoc:validate": "npm run typedoc && vitest run tests/jsdoc-validation.test.js",
90
91
  "coverage": "vitest run --coverage",
@@ -178,7 +179,7 @@
178
179
  "d3": "7.9.0",
179
180
  "eslint": "10.3.0",
180
181
  "github-slugger": "^2.0.0",
181
- "globals": "17.5.0",
182
+ "globals": "17.6.0",
182
183
  "gray-matter": "^4.0.3",
183
184
  "happy-dom": "20.9.0",
184
185
  "hast-util-to-string": "3.0.1",
@@ -186,7 +187,7 @@
186
187
  "js-yaml": "4.1.1",
187
188
  "json-schema-to-typescript": "15.0.4",
188
189
  "jszip": "3.10.1",
189
- "knip": "6.10.0",
190
+ "knip": "6.11.0",
190
191
  "mermaid": "11.14.0",
191
192
  "papaparse": "5.5.3",
192
193
  "rehype-autolink-headings": "^7.1.0",