apache / apache/cordova-cli

In package.json, cordova plugin list is never sorted

Open
#420 4 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
967
Forks
344
Avg merge
8h 41m
Merged PRs (30d)
9

Description

# Bug Report

## Problem
In package.json, cordova plugin list is not sorted. Makes things hard to understand when adding new plugins.

![Screen Shot 2019-04-04 at 12 35 36 pm](https://user-images.githubusercontent.com/9585787/55531930-28434c80-56d6-11e9-8c6b-6d71cc96e1b4.png)

### What is expected to happen?
Object keys should be sorted alphabetically.

### What does actually happen?
They're never sorted.

## Information

### Command or Code

### Environment, Platform, Device

### Version information

macOS High Sierra
Cordova 9.0.0

## Checklist

- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above

Contributor guide

Open the contributing guide

Research direction

Inspect package.json and locate the Cordova plugin list. Sort its object keys alphabetically and verify that the resulting package.json presents the plugins in the expected order.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
cli
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.