Files
unique/package.json
rzen 1072e5faf3 site: upgrade Astro 5 → 7
- astro 7.0.7, @astrojs/mdx 7, sitemap 3.7, rss 4.0.19, check 0.9.9
- trailingSlash 'always' → 'ignore': Astro 7 generates prerender paths for
  dynamic extension endpoints (/categories/<c>/rss.xml) with a trailing
  slash under 'always' but builds their route patterns without one, so the
  build fails with "Missing parameter"; directory-format output is
  identical either way. Also removes the now-unneeded dev feed-slash shim.
- compressHTML: true pinned to keep pre-v7 whitespace behavior
- zod 4: import z from 'astro/zod' (astro:content re-export deprecated),
  z.string().url() → z.url()
- npm audit fix (fast-uri, fast-xml-builder, yaml)

Claude-Session: https://claude.ai/code/session_01WZaczDJjL3xZ3u5spsN5AL
2026-07-12 20:40:26 -04:00

27 lines
659 B
JSON

{
"name": "unique",
"type": "module",
"version": "0.1.0",
"private": true,
"scripts": {
"build:mosaics": "node scripts/build-bundle-mosaics.mjs",
"predev": "npm run build:mosaics",
"prestart": "npm run build:mosaics",
"prebuild": "npm run build:mosaics",
"dev": "astro dev",
"start": "astro dev",
"build": "astro check && astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"@astrojs/check": "^0.9.9",
"@astrojs/mdx": "^7.0.2",
"@astrojs/rss": "^4.0.19",
"@astrojs/sitemap": "^3.7.3",
"astro": "^7.0.7",
"sharp": "^0.34.0",
"typescript": "^5.7.2"
}
}