Skip to content

Add predictable order and state awareness to NPM Scripts Tab #109501

Closed

Description

When dealing with projects that have many package.json files, every time you make a save to one, this regenerates the NPM Scripts tab. The issue with this is that the order of the scripts is apparently random. Just when I get the scripts tab in the state I like for current development, it is all lost the second I save any changes to a package.json file.

Dealing with a mono repo with numerous packages, this actually can take a bit of time to resolve, not to mention the increased risk of messing something up since it rearranges your scripts order. I cannot count how many times I forgot what I needed to run because it took me a few mins to fix the scripts tab...

I would prefer an alphabetical order as this would also keep packages and other workspaces organized in a clear, predictable manner. Also, state awareness of what is minimized and what is not would be very beneficial. When adding a new script to a project I lose the current order and they all are open again. Having over 50 package.json files... this is becoming an issue.

Activity

  1. alexr00 commented on Oct 27, 2020

    @alexr00
    Member

    Duplicate of #92773

  2. added
    *duplicate
    on Oct 27, 2020
  3. locked and limited conversation to collaborators on Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    *duplicate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions