Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 1.18 KB

File metadata and controls

15 lines (13 loc) · 1.18 KB

Developer Notes

❗ Feel free to add any important information about AquaNet2 here.

  • All interactions from client to the server are done with forms and SvelteKit actions.
    Please use use:enhance to properly handle the forms and not refresh the page.
  • If there's a problem with a game, fall back to mai2. This is kept consistent within the site.
  • Want to add a translation?
    Ensure you have typesafe-i18n script running as you make changes or it will not work.
    Additionally, languages should fall back to English if a string is missing. (This has not been tested yet as I only speak English and cannot provide another translation.)
    To access translated strings, import LL and use it like: $LL.<string key>(). Arguments are passed in via an object to the function.
  • We're currently using Bun in development and production.
    To be honest, there's no reason not to use Bun. We're not using any features that aren't not compatible with Bun and it's faster.
    Generally, it should work just fine with Node.js (as of writing).
  • We would prefer if you use Conventional Commits when committing to keep commit history clean and readable for all.