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
2 changes: 1 addition & 1 deletion .github/actions/ci-build-typecheck/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ runs:

- name: Typecheck plugin
shell: bash
run: cd nemoclaw && npx tsc --noEmit --incremental
run: npm --prefix nemoclaw run typecheck

- name: Typecheck JavaScript config
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ repos:
hooks:
- id: tsc-plugin
name: TypeScript (plugin)
entry: bash -c 'cd nemoclaw && npx tsc --noEmit --incremental'
entry: npm --prefix nemoclaw run typecheck
language: system
pass_filenames: false
files: ^nemoclaw/
Expand Down
4 changes: 3 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Package-specific guides:
| Run repo-wide pre-commit and coverage checks | `npm run check` |
| Reproduce `pre-commit`, `commit-msg`, and `pre-push` checks for the current diff | `npm run check:diff` |
| Type-check CLI | `npm run typecheck:cli` |
| Type-check plugin and plugin tests | `npm --prefix nemoclaw run typecheck` |
| Auto-format | `npm run format` |
| Build docs | `npm run docs` |
| Serve docs locally | `npm run docs:live` |
Expand Down Expand Up @@ -143,7 +144,8 @@ For shell scripts use `#` comments. For Markdown use HTML comments.

- Plugin code in `nemoclaw/src/` is linted and formatted by the root Biome config
- CLI type-checking via `tsconfig.cli.json`
- Plugin type-checking via `nemoclaw/tsconfig.json`
- Plugin production and test type-checking via `npm --prefix nemoclaw run typecheck`, using
`nemoclaw/tsconfig.json` and `nemoclaw/tsconfig.test.json`

### Shell Scripts

Expand Down
4 changes: 3 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ npm --prefix nemoclaw install --include=dev --ignore-scripts
npm run build:cli
npm --prefix nemoclaw run build
npm run typecheck:cli
./nemoclaw/node_modules/.bin/tsc --noEmit -p nemoclaw/tsconfig.json
npm --prefix nemoclaw run typecheck
./node_modules/.bin/prek install
```

Expand All @@ -161,6 +161,7 @@ The TypeScript plugin lives in `nemoclaw/` and compiles with `tsc`:
cd nemoclaw
npm run build # one-time compile
npm run dev # watch mode
npm run typecheck # type-check production and test sources without emitting
```

The CLI (`bin/`, `scripts/`) is type-checked separately:
Expand Down Expand Up @@ -196,6 +197,7 @@ These are the primary npm scripts for day-to-day development:
| `npm run check:diff` | Reproduce `pre-commit`, `commit-msg`, and `pre-push` checks for the diff from `origin/main` |
| `npm run format` | Auto-format Biome-supported source files |
| `npm run typecheck:cli` | Type-check the root TypeScript project using `tsconfig.cli.json` |
| `npm --prefix nemoclaw run typecheck` | Type-check plugin production and test sources without emitting files |
| `npm test` | Build package artifacts and run every non-live Vitest project for broad changes |
| `npm run test:spec` | Run every non-live test with hierarchical behavior-oriented output |
| `npm run test:fast` | Clean `dist/` and run source CLI, plugin, and E2E-support tests |
Expand Down
2 changes: 1 addition & 1 deletion ci/test-file-size-budget.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$comment": "SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\nSPDX-License-Identifier: Apache-2.0",
"defaultMaxLines": 1500,
"legacyMaxLines": {
"nemoclaw/src/commands/migration-state.test.ts": 1566,
"nemoclaw/src/commands/migration-state.test.ts": 1565,
"src/lib/inference/nim.test.ts": 2068,
"src/lib/onboard/preflight.test.ts": 1904,
"test/generate-openclaw-config.test.ts": 1941,
Expand Down
Loading
Loading