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
npm run build
# Runs ESLint then Rollup (rollup.config.mjs); outputs CJS + ESM bundles to dist/
Test (unit — safe, no credentials)
npm test# jest --coverage; enforces 100% branches/functions/lines/statements
Test (single file)
npx jest __tests__/auth-provider.test.tsx
Test (watch mode)
npx jest --watch
Test (dist 'use client' sanity check)
npm run test:dist:only
# Asserts the 'use client' directive is present in built bundles.# Requires a prior build; CI runs this automatically after build.
Lint
npm run lint
# eslint --ext=tsx ./src ./__tests__
Format (staged — run by Husky pre-commit)
npx pretty-quick --staged
# To format all files: npx prettier --write .