mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Netlify prebuild tests import the YouTube listing JSON at module load time, so a fresh checkout needs a baseline copy of that data before any generated API step runs. The fetched JSON is committed and explicitly unignored while the broader static/api output remains generated. Constraint: Netlify runs test-prebuild before Astro generation creates generated API files Rejected: Move all API generation before tests | broader build-order change with more external dependencies Confidence: high Scope-risk: narrow Directive: Keep static/api/youtube-videos.json tracked unless helpers/site-listings.js stops importing it at module load time Tested: pnpm run with-env vite-node /tmp/fetch-youtube-videos.mjs Tested: pnpm run with-env vitest test/prebuild/site-listings.test.js Tested: pnpm run netlify-prebuild:test-prebuild-functions |
||
|---|---|---|
| .. | ||
| api | ||
| images | ||
| 3215494.html | ||
| favicon.ico | ||
| fo-verify.html | ||
| README.md | ||
| robots.txt | ||
STATIC
This directory is not required, you can delete it if you don't want to use it.
This directory contains your static files.
Each file inside this directory is mapped to /.
Example: /static/robots.txt is mapped as /robots.txt.
More information about the usage of this directory in the documentation.