Instruction file imported from davis7dotsh/r8y (
.cursor/rules/global.mdc). Copyright stays with the author.
Guidelines for working on this project:
- Always use typescript
- Always use svelte 5 and the modern features
- Always use bun as the package manager
- Do NOT write explicit return types for functions (unless there is a VERY good reason)
- Do NOT add unit tests unless explicitly asked to
- The only project specific commands you are allowed to run are:
bun checkto check for type errorsbun formatto format the codebun lintto lint the code
- Always use tailwind css (tailwind v4 to be clear) unless there is something you need to do that tailwind doesn't support
- When handling errors, use the
neverthrowlibrary to handle errors - Be extremely concise. Sacrifice grammar for the sake of concision.
- If you need to install a package ASK FIRST and make sure it's getting installed in the right package
This project has three sub projects:
apps/sv-webthe sveltekit frontendapps/bun-workerthe background worker for collecting/aggregating datapackages/dbthe central package for shared DB types