DevTools¶
Available Tools¶
check¶
Run the project's task runner and return a compact list of failures with counts. Defaults to typecheck, lint and test. Scope with filter whenever possible.
test¶
Run the tests of one package, optionally only some files, tests by name, or tests matching a tags expression. Failures come with file:line:col and the error message.
test-coverage¶
Run the tests of one package with coverage, reporting coverage totals and enforcing thresholds. Takes the same arguments as test. With perFile: true, also lists each file's coverage and uncovered lines (reports only, never gates).
format¶
Run the formatter, which rewrites files. Pass files (repo-relative) to format only those; add check to only verify them. Use check with format:check to verify a whole package.
test-list¶
List the tests of one package as line name rows grouped by file, without running them. Use it to find test names and files for test or check.
test-related¶
Run the tests that depend on the given source files in one package (related tests), reporting like test. When no test depends on them, the run passes.
knip¶
Run knip (unused files, exports and dependencies).
docs-build¶
Build the documentation site (the docs tool configured in the project).
changeset¶
Manage the changesets in .changeset/. Actions: status reports missing or wrong changesets against the base branch; add creates one for a package or app via the changeset CLI and returns its file name; edit changes the bump, type or summary of an existing changeset by name.