json-sort-cli 2.0.10 → 2.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +2 -7
  3. package/package.json +4 -3
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2010-2021 Roy Revelt and other contributors
3
+ Copyright (c) 2010-2022 Roy Revelt and other contributors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
package/README.md CHANGED
@@ -26,20 +26,17 @@
26
26
 
27
27
  ## Install
28
28
 
29
- This package is ESM only: Node 12+ is needed to use it and it must be imported instead of required:
30
-
31
29
  ```bash
32
30
  npm i -g json-sort-cli
33
31
  ```
34
32
 
35
-
36
-
37
33
  Then, call it from the command line using one of the following keywords:
38
34
 
39
35
  ```bash
40
36
  jsonsort
41
37
  sortjson
42
38
  ```
39
+
43
40
  ## Documentation
44
41
 
45
42
  Please [visit codsen.com](https://codsen.com/os/json-sort-cli/) for a full description of the API.
@@ -52,8 +49,6 @@ To report bugs or request features or assistance, [raise an issue](https://githu
52
49
 
53
50
  MIT License
54
51
 
55
- Copyright (c) 2010-2021 Roy Revelt and other contributors
56
-
52
+ Copyright (c) 2010-2022 Roy Revelt and other contributors
57
53
 
58
54
  <img src="https://codsen.com/images/png-codsen-ok.png" width="98" alt="ok" align="center"> <img src="https://codsen.com/images/png-codsen-1.png" width="148" alt="codsen" align="center"> <img src="https://codsen.com/images/png-codsen-star-small.png" width="32" alt="star" align="center">
59
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "json-sort-cli",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "description": "Command line app to deep sort JSON files, retains package.json special key order",
5
5
  "keywords": [
6
6
  "app",
@@ -38,6 +38,7 @@
38
38
  "letspublish": "yarn publish || :",
39
39
  "lint": "eslint . --fix",
40
40
  "prepare": "echo 'ready'",
41
+ "prettier:format": "prettier --write '**/*.{js,md}' --no-error-on-unmatched-pattern",
41
42
  "test": "c8 yarn run unit && yarn run lint",
42
43
  "unit": "uvu test"
43
44
  },
@@ -58,8 +59,8 @@
58
59
  }
59
60
  },
60
61
  "dependencies": {
61
- "ast-monkey-traverse": "^3.0.10",
62
- "chalk": "^4.1.2",
62
+ "ast-monkey-traverse": "^3.0.11",
63
+ "chalk": "^5.0.0",
63
64
  "fs-extra": "^10.0.0",
64
65
  "globby": "^12.0.2",
65
66
  "is-d": "^1.0.0",