microsoft / microsoft/lage

Syntax differences between scripts in package.json

Open
#259 1 comment 0 reactions 0 assignees View on GitHub

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:

  1. Go to package.json.
  2. Scroll down to scripts.
  3. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.