Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- [ ] Build: `pnpm build`
- [ ] Typecheck: `pnpm typecheck`
- [ ] Lint: `pnpm lint` (after build and typecheck)
- [ ] `pnpm knip` passes (unused files, exports, dependencies, configuration hints, or tag hints fail CI)
- [ ] Changeset: `pnpm changeset status` (package-facing changes add a changeset)
- [ ] Package dry-run: `npm pack --dry-run --registry=https://registry.npmjs.org` in each changed published package

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,5 @@ jobs:
# Type-aware lint resolves workspace packages through their built `dist` types
# and room-web through the route types `pnpm typecheck` generates.
- run: pnpm lint

- run: pnpm knip
1 change: 1 addition & 0 deletions .gitlab/merge_request_templates/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- [ ] Build: `pnpm build`
- [ ] Typecheck: `pnpm typecheck`
- [ ] Lint: `pnpm lint` (after build and typecheck)
- [ ] `pnpm knip` passes (unused files, exports, dependencies, configuration hints, or tag hints fail CI)
- [ ] Changeset: `pnpm changeset status` (package-facing changes add a changeset)
- [ ] Package dry-run: `npm pack --dry-run --registry=https://registry.npmjs.org` in each changed published package

Expand Down
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ pnpm test
pnpm build
pnpm typecheck
pnpm lint # after build and typecheck
pnpm knip # fails CI on unused files, exports, dependencies, configuration hints, or tag hints

# Release checks:
pnpm changeset status
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ pnpm test
pnpm build
pnpm typecheck
pnpm lint
pnpm knip # fails CI on unused files, exports, dependencies, configuration hints, or tag hints
```

`pnpm duplicates` runs jscpd with lint-config's gate profile, where any reported clone fails (the threshold is 0); the scan roots and ignores live in the script, and `pnpm duplicates:audit` writes a broader, report-only list to the git-ignored `tmp/duplicates-audit/`. `pnpm format` applies the formatting. `pnpm lint` is type-aware: it resolves workspace packages through their built `dist` types and room-web through the route types that `pnpm typecheck` generates, so run it after `pnpm build` and `pnpm typecheck`.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ The core package provides a local CLI that drives tasks from assignment through
- `pnpm install`
- `pnpm test`
- `pnpm build`
- `pnpm knip` fails CI on unused files, exports, dependencies, configuration hints, or tag hints.
- `pnpm changeset`

## License
Expand Down
Loading