You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f59cf14
Browse filesBrowse the repository at this point in the historyBrowse files
Provide project context and coding guidelines that AI should follow when generating code, answering questions, or reviewing changes.
5
+
6
+
Whenever you want to build the packages to test if they work you should run `pnpm run build` from the root of the repository.
7
+
8
+
If you want to run tests you can run `pnpm run test` from the root of the repository.
9
+
10
+
If you want to check if the examples work you need to go to `test-apps/<example-name>` and run `pnpm run dev`.
11
+
12
+
When writing code, please follow these guidelines:
13
+
- Use TypeScript for all new code.
14
+
- Ensure all new code is covered by tests.
15
+
- Do not use `any` type; prefer specific types or generics.
16
+
- Follow existing code style and conventions.
17
+
18
+
If you get an error "address already in use :::42069 you should kill the process using that port.
19
+
20
+
If we add a new functionality add a section about it in the `docs/content` folder explaining how to use it and update the `README.md` file to mention it.
21
+
22
+
Write tests for any new functionality.
23
+
24
+
When defining new types, first check if the types exist somewhere and re-use them, do not create new types that are similar to existing ones.
25
+
26
+
When modifying existing functionality, ensure backward compatibility unless there's a strong reason to introduce breaking changes. If breaking changes are necessary, document them clearly in the relevant documentation files.
27
+
28
+
If `pnpm run test` fails because of check, you can run `pnpm run check:fix` to fix the issues automatically.
0 commit comments