json-sort-cli 2.1.8 → 2.1.10

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 (2) hide show
  1. package/README.md +13 -16
  2. package/package.json +6 -4
package/README.md CHANGED
@@ -1,28 +1,25 @@
1
- # json-sort-cli
1
+ <h1 align="center">json-sort-cli</h1>
2
2
 
3
- > Command line app to deep sort JSON files, retains package.json special key order
3
+ <p align="center">Command line app to deep sort JSON files, retains package.json special key order</p>
4
4
 
5
- <div class="package-badges">
6
- <a href="https://www.npmjs.com/package/json-sort-cli" rel="nofollow noreferrer noopener">
7
- <img src="https://img.shields.io/badge/-npm-blue?style=flat-square" alt="page on npm">
8
- </a>
5
+ <p align="center">
9
6
  <a href="https://codsen.com/os/json-sort-cli" rel="nofollow noreferrer noopener">
10
7
  <img src="https://img.shields.io/badge/-codsen-blue?style=flat-square" alt="page on codsen.com">
11
8
  </a>
9
+ <a href="https://www.npmjs.com/package/json-sort-cli" rel="nofollow noreferrer noopener">
10
+ <img src="https://img.shields.io/badge/-npm-blue?style=flat-square" alt="page on npm">
11
+ </a>
12
12
  <a href="https://github.com/codsen/codsen/tree/main/packages/json-sort-cli" rel="nofollow noreferrer noopener">
13
13
  <img src="https://img.shields.io/badge/-github-blue?style=flat-square" alt="page on github">
14
14
  </a>
15
15
  <a href="https://npmcharts.com/compare/json-sort-cli?interval=30" rel="nofollow noreferrer noopener" target="_blank">
16
16
  <img src="https://img.shields.io/npm/dm/json-sort-cli.svg?style=flat-square" alt="Downloads per month">
17
17
  </a>
18
- <a href="https://prettier.io" rel="nofollow noreferrer noopener" target="_blank">
19
- <img src="https://img.shields.io/badge/code_style-prettier-brightgreen.svg?style=flat-square" alt="Code style: prettier">
20
- </a>
21
- <img src="https://img.shields.io/badge/licence-MIT-brightgreen.svg?style=flat-square" alt="MIT License">
22
- <a href="https://liberamanifesto.com" rel="nofollow noreferrer noopener" target="_blank">
23
- <img src="https://img.shields.io/badge/libera-manifesto-lightgrey.svg?style=flat-square" alt="libera manifesto">
18
+ <a href="https://codsen.com/os/json-sort-cli/changelog" rel="nofollow noreferrer noopener">
19
+ <img src="https://img.shields.io/badge/changelog-here-brightgreen?style=flat-square" alt="changelog">
24
20
  </a>
25
- </div>
21
+ <img src="https://img.shields.io/badge/licence-MIT-brightgreen.svg?style=flat-square" alt="MIT Licence">
22
+ </p>
26
23
 
27
24
  ## Install
28
25
 
@@ -47,8 +44,8 @@ To report bugs or request features or assistance, [raise an issue](https://githu
47
44
 
48
45
  ## Licence
49
46
 
50
- MIT License
47
+ MIT License.
51
48
 
52
- Copyright (c) 2010-2022 Roy Revelt and other contributors
49
+ Copyright © 2010-2022 Roy Revelt and other contributors.
53
50
 
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">
51
+ <p align="center"><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"></p>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "json-sort-cli",
3
- "version": "2.1.8",
3
+ "version": "2.1.10",
4
4
  "description": "Command line app to deep sort JSON files, retains package.json special key order",
5
5
  "keywords": [
6
6
  "app",
@@ -32,8 +32,10 @@
32
32
  "sortjson": "cli.js"
33
33
  },
34
34
  "scripts": {
35
- "build": "echo 'no build needed'",
36
- "dev": "echo 'no build needed'",
35
+ "build": "exit 0",
36
+ "cjs-off": "exit 0",
37
+ "cjs-on": "exit 0",
38
+ "dev": "exit 0",
37
39
  "lect": "node '../../ops/lect/lect.js'",
38
40
  "letspublish": "yarn publish || :",
39
41
  "lint": "eslint . --ext .js --ext .ts --fix",
@@ -59,7 +61,7 @@
59
61
  }
60
62
  },
61
63
  "dependencies": {
62
- "ast-monkey-traverse": "^3.1.4",
64
+ "ast-monkey-traverse": "^3.1.6",
63
65
  "chalk": "^5.1.2",
64
66
  "fs-extra": "^10.1.0",
65
67
  "globby": "^13.1.2",