Imported from Vivekray898/photopic (
AGENTS.md). Install upstream withnpx skills add Vivekray898/photopic. Copyright stays with the author.
Project verification
- Use Bun for package scripts; the repository tracks
bun.lock. - Type check:
bunx tsc --noEmit. - Lint:
bun run lint. - Unit tests:
bun run test:unit. Vitest discoverssrc/**/__tests__/**/*.test.tsand excludes server integration tests. - Production build:
bun run build. - Do not run
bun run test:integrationagainst an unverified database. The server tests delete rows in their setup; confirm an isolated disposable database and obtain approval first. src/test/setup.tsmocks React for server tests. React component unit tests must unmock React locally. Existing component tests use server rendering and mock upload/network hooks; they do not require live storage.