From 3660004453b325ed6affcefb9df1b3a13f8aa2bf Mon Sep 17 00:00:00 2001 From: Daniel Ari Friedman Date: Mon, 2 Nov 2026 15:12:01 -0800 Subject: [PATCH] docs: replace two npm scripts this package.json does not define The TypeScript folder's testing and linting blocks told a reader to run `npm run test:coverage` and `npm run lint:fix`. Neither script exists in 0_CONTEXT/Computer_Languages/TypeScript/package.json, which defines build, demo, dev, lint, start, test, type-check. Both lines now use the flag form that works with the manifest (`npm test -- --coverage`, `npm run lint -- --fix`) and name the missing script so the reader is not left looking for it. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> --- 0_CONTEXT/Computer_Languages/TypeScript/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/0_CONTEXT/Computer_Languages/TypeScript/README.md b/0_CONTEXT/Computer_Languages/TypeScript/README.md index 80655833..2a5beaaf 100644 --- a/0_CONTEXT/Computer_Languages/TypeScript/README.md +++ b/0_CONTEXT/Computer_Languages/TypeScript/README.md @@ -251,8 +251,8 @@ npm run dev # Run all tests npm test -# Run with coverage -npm run test:coverage +# Coverage needs a jest flag: this package.json has no test:coverage script +npm test -- --coverage # Type checking only npm run type-check @@ -264,8 +264,8 @@ npm run type-check # Check code style npm run lint -# Auto-fix style issues -npm run lint:fix +# Auto-fix needs an eslint flag: this package.json has no lint:fix script +npm run lint -- --fix ``` ## Advanced Features