riksdagsmonitor 0.9.40 → 1.0.1
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.
- package/package.json +5 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "riksdagsmonitor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.1",
|
|
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.
|
|
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",
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"js-yaml": "4.1.1",
|
|
197
197
|
"json-schema-to-typescript": "15.0.4",
|
|
198
198
|
"jszip": "3.10.1",
|
|
199
|
-
"knip": "6.
|
|
199
|
+
"knip": "6.15.0",
|
|
200
200
|
"mermaid": "11.15.0",
|
|
201
201
|
"minify": "15.3.1",
|
|
202
202
|
"papaparse": "5.5.3",
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
"remark-rehype": "^11.1.2",
|
|
210
210
|
"sharp": "^0.34.5",
|
|
211
211
|
"start-server-and-test": "3.0.5",
|
|
212
|
-
"tsx": "4.22.
|
|
212
|
+
"tsx": "4.22.4",
|
|
213
213
|
"typedoc": "0.28.19",
|
|
214
214
|
"typedoc-plugin-mdn-links": "5.1.1",
|
|
215
215
|
"typescript": "6.0.3",
|