1.14.0 • Published 7 days ago

sort-package-deps v1.14.0

Weekly downloads
1
License
MIT
Repository
-
Last release
7 days ago

sort-dependencies

npx sort-dependencies <path-to-package-dir-or-package.json> --apply

Why

Some toolchains like @microsoft/rush or pnpm make changes to package.json dependencies without keeping the alphabetical order. This can also happen when doing manual changes of course.

The problem arises when tools like pnpm publish in combination with rush then sort the dependencies alphabetically but don't commit it back leaving a dirty repo which causes pnpm to abort publishing.

sort-dependencies is thus useful in

I also could somehow not find another package that did this the way I liked. prettier-package-json was close but did way more and also reordered the the root properties themselves which I did not like.

1.14.0

7 days ago

1.13.0

2 months ago

1.12.0

2 months ago

1.11.0

2 months ago

1.10.0

2 months ago

1.9.0

2 months ago

1.8.0

2 months ago

1.7.0

2 months ago

1.6.0

3 months ago

1.5.0

3 months ago

1.4.0

3 months ago

1.3.0

3 months ago

1.2.0

3 months ago

1.1.0

3 months ago

1.0.35

3 months ago

1.0.33

3 months ago

1.0.34

3 months ago

1.0.32

4 months ago

1.0.31

4 months ago

1.0.30

4 months ago

1.0.29

4 months ago

1.0.28

4 months ago

1.0.27

5 months ago

1.0.26

7 months ago

1.0.25

7 months ago

1.0.19

7 months ago

1.0.22

7 months ago

1.0.21

7 months ago

1.0.20

7 months ago

1.0.24

7 months ago

1.0.23

7 months ago

1.0.18

7 months ago

1.0.17

8 months ago

1.0.16

8 months ago

1.0.11

9 months ago

1.0.15

8 months ago

1.0.14

8 months ago

1.0.13

9 months ago

1.0.12

9 months ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago