Syntax differences between scripts in package.json
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 816
- Forks
- 88
- PR merge metrics
- No merged PRs in 30d
Description
Description
In package.json, the scripts for building, starting, and testing are,
"build": "lage build --scope=!@lage/docs --scope lage --verbose"
"start": "lage start --scope=!@lage/docs --scope lage --verbose"
"test": "lage test --scope !@lage/docs --scope lage --verbose"
There seems to be a syntax difference between testing and the other two, since there is not an equals sign after scope.
To Reproduce
Steps to reproduce the behavior:
- Go to package.json.
- Scroll down to scripts.
- View the commands for building, starting, and testing.
Expected behavior
I would expect the script for testing to be,
"test": "lage test --scope=!@lage/docs --scope lage --verbose"
so that it is consistent with the others.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Open package.json and inspect the build, start, and test entries shown in the issue; first verify the accepted --scope syntax for lage. Done means the test command's syntax is intentionally consistent with the other commands, with any needed package.json change checked against the available script behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100