Follow these guidelines when editing this repository.
- Build SDK:
turbo build --filter '@giselle-sdk/*' --filter giselle-sdk --cache=local:rw- Add
--filter <package>to build specific packages.
- Add
- Check Types:
turbo check-types --cache=local:rw- Use
--filter <package>for package-level checks.
- Use
- Format:
turbo format --cache=local:rw- Prefer
pnpm biome check --write [filename]for individual files.
- Prefer
- Test:
turbo test --cache=local:rw- Run
pnpm -F <package> testfor package-level tests.
- Run
- Run
pnpm biome check --write [filename]after every code change. - All code must be formatted with Biome before commit.
- Use TypeScript and avoid
any. - Components should use React hooks and Next.js patterns.
- Follow package-based architecture.
- Use async/await and proper error handling.
- Tests use Vitest with
*.test.tsnaming.
- Files: kebab-case.
- Components: PascalCase.
- Variables/functions: camelCase.
- Booleans and functions use
is,has,can,shouldprefixes. - Function names should clearly indicate purpose.
- Correct grammar in commit messages, code comments, and PR comments.
- Git branch names must always be written in English.