Sveltekit upgrade
- Upgrade SvelteKit: new router conventions, new data loading
- Rename environment variables to take benefit of SvelteKit new
PUBLIC_
prefix - Separate public config from private config
- Port to TypeScript (not 100% but a huge part was done)
- Enhance data loading: use fetch specific functions, use schemas to validate responses
- Remove the "language" store that was hard-coded to "en", use a constant
- Stop using the application config to store the NA value, use a constant
- Stop mirroring the Tailwind config just to read it from an ES module, hard-code the specific theme values in a module. This also saves kilobytes of downloaded JavaScript for the client at the expense of having to synchronize the values manually (but they change very rarely).
- Separate the components of the home page to
<HomePage>
,<SearchForm>
and<SearchResults>
- Fix the update dates on the last-updates page