Repository navigation
docs: replace two npm scripts this package.json does not define - #7
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The TypeScript folder's testing and linting examples named two scripts the
folder's manifest does not define.
0_CONTEXT/Computer_Languages/TypeScript/package.jsonscriptsbuild,demo,dev,lint,start,test,type-checknpm run test:coverage(not defined)npm test -- --coveragenpm run lint:fix(not defined)npm run lint -- --fixgrep -rn "npm run test:coverage|npm run lint:fix"over the repositorynpm test,npm run lint,npm run type-checkThe two replacements pass the flag through npm's
--argument separator, whichthe manifest's scripts (
jest,eslint src/**/*.ts) accept. Both comments nowname the missing script so a reader is not left looking for it.