# lakshmi-browser-extension

lakshmi-browser-extension — part of the Oshun monorepo.

TypeScript package. Built with tsc/tsup; consumed by other workspaces.

## Scripts

| Command          | Definition                                                  |
| ---------------- | ----------------------------------------------------------- |
| `pnpm build`     | node scripts/build.js                                       |
| `pnpm test`      | vitest run                                                  |
| `pnpm typecheck` | node scripts/validate-extension.js                          |
| `pnpm lint`      | eslint src tests scripts --max-warnings 0 --no-warn-ignored |
| `pnpm e2e`       | playwright test                                             |

## Layout

- `scripts/`
- `src/`
- `tests/`

## Working on this package

The fastest local loop is via Nx:

```bash
pnpm nx test lakshmi-browser-extension
pnpm nx lint lakshmi-browser-extension
pnpm nx build lakshmi-browser-extension
```

When Nx is unhappy (usually because another worktree has duplicate project
names), bypass it with the underlying tools from this directory:

```bash
npx tsc --noEmit
npx vitest run
```

See the [root README](../../../README.md) for monorepo-wide conventions (catalog
deps, commit format, git workflow). See the
[Contributor Guide](../../../docs/CONTRIBUTING.md) for the full PR workflow.
