riksdagsmonitor 0.9.40 → 1.0.0

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 (1) hide show
  1. package/package.json +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "riksdagsmonitor",
3
- "version": "0.9.40",
3
+ "version": "1.0.0",
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",
@@ -56,7 +56,7 @@
56
56
  "prebuild": "npx tsx scripts/optimize-images.ts && npx tsx scripts/generate-article-types-doc.ts && npx tsx scripts/copy-vendor-mermaid.ts --quiet && npx tsx scripts/build-csv-contracts-fixture.ts && npx tsx scripts/aggregate-analysis.ts --all --quiet && npx tsx scripts/render-articles.ts --all --lang all --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 && npx tsx scripts/fix-hreflang.ts --write",
57
57
  "build": "vite build",
58
58
  "build:lib": "tsc -p tsconfig.lib.json && tsc -p tsconfig.npm-scripts.json",
59
- "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",
59
+ "postbuild": "cp rss.xml dist/rss.xml && (cp rss_*.xml dist/ 2>/dev/null; exit 0) && cp sitemap.xml dist/sitemap.xml && cp -r cia-data dist/cia-data && cp manifest.json dist/manifest.json",
60
60
  "preview": "vite preview",
61
61
  "test": "NODE_OPTIONS='--max-old-space-size=2048' vitest run",
62
62
  "test:watch": "vitest",
@@ -186,7 +186,7 @@
186
186
  "chart.js": "4.5.1",
187
187
  "chartjs-plugin-annotation": "3.1.0",
188
188
  "d3": "7.9.0",
189
- "eslint": "10.4.0",
189
+ "eslint": "10.4.1",
190
190
  "github-slugger": "^2.0.0",
191
191
  "globals": "17.6.0",
192
192
  "gray-matter": "^4.0.3",