more cleanup

This commit is contained in:
2026-04-03 21:23:56 -07:00
parent 854d473fca
commit fd28c2d13e
3 changed files with 485 additions and 2413 deletions

View File

@@ -12,7 +12,7 @@ A portfolio site for my ski photography. Built with TypeScript, React, Vite, and
- `vp lint` runs Oxlint with type-aware checks.
- `vp build` creates a production build in `dist/`.
- `npm run images` regenerates hashed originals and resized image variants from `img/original/`, then prepends newly discovered images to `img/data.json` under a placeholder set you can fill in.
- `npm run publish` builds the app, uploads `dist/` and `img/` to S3, ensures CloudFront serves `index.html`, and invalidates `/` plus `/index.html`.
- `npm run deploy` builds the app, uploads `dist/` and `img/` to S3, ensures CloudFront serves `index.html`, and invalidates `/` plus `/index.html`.
React Compiler is enabled through the Vite React plugin, so local dev and production builds both run with the compiler transform.
@@ -20,5 +20,5 @@ React Compiler is enabled through the Vite React plugin, so local dev and produc
- The publish script expects AWS credentials under the `push` profile.
- Publishing uses the TypeScript script at `scripts/publish.ts`.
- `npm run publish` executes that script with Node's TypeScript support.
- `npm run deploy` executes that script with Node's TypeScript support.
- `npm run images` expects `magick` to be installed and available on your shell path.

File diff suppressed because it is too large Load Diff

View File

@@ -13,11 +13,11 @@
"check": "vp check",
"dev": "vp dev",
"build": "vp build",
"deploy": "node --experimental-strip-types scripts/publish.ts",
"fmt": "vp fmt",
"images": "node --experimental-strip-types scripts/convert.ts",
"lint": "vp lint",
"preview": "vp preview",
"publish": "node --experimental-strip-types scripts/publish.ts",
"prepare": "vp config"
},
"dependencies": {