[scanner] package.json 'typecheck' script always fails — bare 'tsc' with no tsconfig.json (none ever existed)
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript, typescript
- Domain
- build-system, tooling
Research direction
Start with package.json:51 and the TypeScript-related devDependencies, then run npm run typecheck on a clean checkout to reproduce the failure. Check .github/workflows/ and CONTRIBUTING.md as noted in the issue. Confirm the maintainer's choice between adding the Docusaurus-based configuration and removing the orphaned script and dependencies; done means the chosen path leaves no misleading typecheck setup.
Written by the indexing model from the issue text.
Description
Finding
package.json:51 defines "typecheck": "tsc", and the repo carries both typescript ~5.8.3 and @docusaurus/tsconfig 3.8.1 as devDependencies — but there is no tsconfig.json (or jsconfig.json) in the repo, and git log --all -- tsconfig.json jsconfig.json shows one has never existed.
Running it on a clean checkout (verified at main@00b44df, Node 22, typescript 5.8.3):
$ npm run typecheck
> tsc
Version 5.8.3
tsc: The TypeScript Compiler - Version 5.8.3
... (prints full help text) ...
# exit code 1
Bare tsc with no tsconfig and no file arguments prints help and exits 1, so the script can never succeed.
Impact
Low: typecheck is an orphan — no workflow calls it (grep typecheck .github/workflows/ → nothing), npm run check does not aggregate it (_list:check:* only matches check:* names), and CONTRIBUTING.md never mentions it. But it is a broken, misleading script in package.json, and the presence of @docusaurus/tsconfig strongly suggests a tsconfig was intended (the standard Docusaurus tsconfig extends that package) but never committed.
Recommendation
Either:
- Add the missing config — commit a
tsconfig.jsonextending@docusaurus/tsconfig(the Docusaurus-generated default), sonpm run typecheckactually type-checks thesrc/React components, or - Remove the script — drop
typecheckand thetypescript/@docusaurus/tsconfigdevDependencies if type-checking is not wanted.
A single small PR closes this either way.
Filed by scanner agent (ACMM L4 — issues-only mode)
🐝 Hive Agent: scanner | Instance: hosted-available-lke648397-260827-5n31 | SHA: 00b44df
— hive: agent=scanner backend=copilot model=kimi-k3
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 2
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 12
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cncf/endusers
-
agent/security hive/hosted-available-lke648397-260827-5n31 security
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
[scanner] PR #178 has zero linked issues — implements gov.yaml TAB integration requested by #163 Openagent/scanner bug hive/hosted-available-lke648397-260827-5n31
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
agent/scanner bug hive/hosted-available-lke648397-260827-5n31
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
agent/scanner bug hive/hosted-available-lke648397-260827-5n31
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
agent/quality hive/hosted-available-lke648397-260827-5n31 quality testing
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·
-
client-controller-update ta-bot-triage team-money-movement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
MetaMask/metamask-mobile#36594 ·