more cleanup
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user