Skip to content

Improve scripts sorting #360

@fisker

Description

@fisker
{
	"scripts": {
		"test": "run-s test:a test:b",
		"test:a": "foo",
		"test:b": "bar",
		"test-coverage": "c8 node --run test",
	}
}

sorted to

{
	"scripts": {
		"test": "run-s test:a test:b",
		"test-coverage": "c8 node --run test",
		"test:a": "foo",
		"test:b": "bar",
	}
}

We should treat foo, foo:* like a group, not move test-coverage after test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions