{"_id":"rush-sort-package-json","_rev":"7-5b26911a3c94e83adec56be520161889","name":"rush-sort-package-json","dist-tags":{"latest":"0.1.1"},"versions":{"0.0.2":{"name":"rush-sort-package-json","version":"0.0.2","description":"Rush plugin for sort package.json file in the project","keywords":["rush","plugin","command","sort","package.json"],"homepage":"https://github.com/bytesfriends/rush-plugins#readme","repository":{"type":"git","url":"git+https://github.com/bytesfriends/rush-plugins.git","directory":"rush-plugins/rush-sort-package-json"},"license":"MIT","author":{"name":"bohanzh"},"main":"lib/index.js","dependencies":{"@rushstack/node-core-library":"3.44.1","@rushstack/rush-sdk":"5.62.4","sort-package-json":"1.54.0"},"devDependencies":{"@rushstack/eslint-config":"2.4.5","@rushstack/heft":"0.42.3","@rushstack/heft-node-rig":"1.2.31","@types/heft-jest":"1.0.1","@types/node":"12.20.24","eslint":"7.32.0","typescript":"4.4.2"},"scripts":{"build":"heft build --clean","build:watch":"heft build --watch","test":"heft test"},"_resolved":"","_integrity":"","_from":"file:rush-sort-package-json-0.0.2.tgz","bugs":{"url":"https://github.com/bytesfriends/rush-plugins/issues"},"_id":"rush-sort-package-json@0.0.2","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-N/ivx7mWrLtCt2IFbL5Q2MiP1TuCLSa6kRHdpS/K8ejk1tnz/L1DkEPrSQAOLuRsTzHy6cRPimn6RikSptlNNg==","shasum":"1d59d0f55cc167624cf57ac7b728faa4dcb515f2","tarball":"https://registry.npmjs.org/rush-sort-package-json/-/rush-sort-package-json-0.0.2.tgz","fileCount":32,"unpackedSize":104825,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOUIEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqPOg/8C6ajoqHoHONku+VzvCd7onGpfVZyUMR0rtTcL/wnDXliDfoO\r\n4qkbX9PgdXyfK0EljWq5j3VeDRKeFQhPilN94rc3fJTabOr140/Eq0YY7Hvs\r\nHi1nVj5OAa3DKMSleQZAApk0Pbnhx8yjWgL4+foNZkMoGVtyaO5FY5hK1Y55\r\n2Hi441nPSxbwF28hXne9f6uOK9Si4qOIvIG63gc4RLEhR49XobHP4dSdZP5l\r\nePLnzKAYeGUi/CDXbrOB9PzckM77d0jbOHLaxV6uzv4GpFbaicFh2mzbYNxK\r\n5DDwgRCFnO37OQLBW299/DrTcuoaRrvZk+2Oz0JMpezbG5j4LKJ5Um+PYHxa\r\nDcaKebwqvSLas3hmjI+6pSbQAYq5nuhMFXeZDCabO/7InUkKyRT974Usj//K\r\nTFg4YJAEPmPeNmBzmqwYRL6RTq4q1h681cxuAXxRcwrxm657rq3hjsVi6Eh9\r\nsaQMgYqq9wzC9EvLzRMxphvt+hqT1hHgEwevH92iX1hmylbmnulblA1fJz8v\r\nZgV1hpJ1pytGZM/ick9OpWYOmP78DTSrTtRHoZbv2mpmoZuupDEr4CR+tj/W\r\naxLvbNBgQPgUvglelwj9Vo29cSR8miMvF+CGs4cmwFphWKUviHOqaca0lwW/\r\nMgq2SNvwm75IOFVDcfxLi1T/9qwTiaF8R9s=\r\n=CXJz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID3YVsXvSxc8UzwjmnJyOmuDC066x7BRZW2I7rD5rWytAiEA3rOJkm7gfDy9GaCOuzgHlsVblLyJKUD8NTs9Woe6WOk="}]},"_npmUser":{"name":"chengcyber","email":"chengcyber@outlook.com"},"directories":{},"maintainers":[{"name":"chengcyber","email":"chengcyber@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rush-sort-package-json_0.0.2_1647919619807_0.09274840653907024"},"_hasShrinkwrap":false},"0.0.3":{"name":"rush-sort-package-json","version":"0.0.3","description":"Rush plugin for sort package.json file in the project","keywords":["rush","plugin","command","sort","package.json"],"homepage":"https://github.com/bytesfriends/rush-plugins#readme","repository":{"type":"git","url":"git+https://github.com/bytesfriends/rush-plugins.git","directory":"rush-plugins/rush-sort-package-json"},"license":"MIT","author":{"name":"bohanzh"},"main":"lib/index.js","dependencies":{"@rushstack/node-core-library":"3.44.1","@rushstack/rush-sdk":"5.62.4","sort-package-json":"1.54.0"},"devDependencies":{"@rushstack/eslint-config":"2.4.5","@rushstack/heft":"0.42.3","@rushstack/heft-node-rig":"1.2.31","@types/heft-jest":"1.0.1","@types/node":"12.20.24","eslint":"7.32.0","typescript":"4.4.2"},"scripts":{"build":"heft build --clean","build:watch":"heft build --watch","test":"heft test"},"_resolved":"","_integrity":"","_from":"file:rush-sort-package-json-0.0.3.tgz","bugs":{"url":"https://github.com/bytesfriends/rush-plugins/issues"},"_id":"rush-sort-package-json@0.0.3","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-spyFsIRGsJXKzkKy/K7c90cTyfxV+jgIAS3JG/LmTzfuK6Or7tghBvhBZIhCiA03+FC978SX+qc/5l+zcSBD8Q==","shasum":"60f3c19a84f393c5d30425f982be88f8939e3ddb","tarball":"https://registry.npmjs.org/rush-sort-package-json/-/rush-sort-package-json-0.0.3.tgz","fileCount":32,"unpackedSize":105246,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBSfmum4jWUs8nyAY3waxDfj/cH6Kk4h3eUC8JZlLnFeAiBHyiSLm2FSza+FncS61l+Fj7FgrWXzcuf1pBxTcVxRrw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJipEvuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrmAg//TDaIbVg2Iw0eGqLZXhk/XaZ1CRcCVWKS2qHNZ1iYm+hl/ezE\r\nJFN24j44Eqcepue8HtXjYeDeyC+2/mn8HETJtZBpFpCvRjdRJvW1EdhkAMw6\r\n3gjt4MwhviC+IiGYEr2zmv8jpdGkHdvIhwT41aQQS6kBczyYwj+tR/WwhIRE\r\nM2I/pTtguRcwh9MMBdvj+8oeeu4d8G7mpn+KzFQ2n2MMES+qvO5U8Byb7yZh\r\nHEoMU5H5sCYFHfwrx9f0c8NJhdMiT9QyTrNoI4RRwIPr31beGrmX3beqVpRC\r\nif05takPUxWqol7V4IaCXz7V3cDvp/ZPVSvV2LbHRAnhenigK5jt7woAYl+Y\r\nBk19NLDZwIav4BjmuIn7WZGkFLbsdKdIiilZtanUx1TkVmCGVpA/cD75LP5n\r\nXmic4ebDcNt33mG/rxA2njAQ8Us/H/mLf9ZfD9ZcpKDmujlTB2TNKDxdfchQ\r\nIMuCn3ynNoD6SbFdYQ0ZxLz8ui9gA84+a4CVNUZmHO9FlGHJQELLCsmjkQhn\r\nfhuZqDs3e2wyXBdmY6B0bqP3DprzbFZ10IGvAPjDoXY6zoznCEUTBK09DuDD\r\n174gy+kTA/ogIl1Zp5xGb1jiv+085uttl4MRghPjDsCxkl8XonwYUyKRUORV\r\nHRCftbNGmfZfRHNrbu9IUQAcRAhn7HEiED8=\r\n=8Zhg\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"chengcyber","email":"chengcyber@outlook.com"},"directories":{},"maintainers":[{"name":"chengcyber","email":"chengcyber@outlook.com"},{"name":"bohanzh","email":"bohan-zhang@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rush-sort-package-json_0.0.3_1654934510371_0.7051713382733225"},"_hasShrinkwrap":false},"0.0.4":{"name":"rush-sort-package-json","version":"0.0.4","description":"Rush plugin for sort package.json file in the project","keywords":["rush","plugin","command","sort","package.json"],"homepage":"https://github.com/bytesfriends/rush-plugins#readme","repository":{"type":"git","url":"git+https://github.com/bytesfriends/rush-plugins.git","directory":"rush-plugins/rush-sort-package-json"},"license":"MIT","author":{"name":"bohanzh"},"main":"lib/index.js","dependencies":{"@rushstack/node-core-library":"3.44.1","@rushstack/rush-sdk":"5.62.4","sort-package-json":"1.54.0"},"devDependencies":{"@rushstack/eslint-config":"2.4.5","@rushstack/heft":"0.43.2","@rushstack/heft-node-rig":"1.2.31","@types/heft-jest":"1.0.1","@types/node":"12.20.24","eslint":"7.32.0","typescript":"4.4.2"},"scripts":{"build":"heft build --clean","build:watch":"heft build --watch","test":"heft test"},"_resolved":"","_integrity":"","_from":"file:rush-sort-package-json-0.0.4.tgz","bugs":{"url":"https://github.com/bytesfriends/rush-plugins/issues"},"_id":"rush-sort-package-json@0.0.4","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-WAtoFzvAcCeB9XDq0JIt+DGPnPckZG3dOdmP1/Gbd5wmorg1oJJQPli6+M55bnOc0cEVuEsbsAeU6Oqsq/cFDw==","shasum":"776eb6ca24259e06dea11cb130225c3ce778d45b","tarball":"https://registry.npmjs.org/rush-sort-package-json/-/rush-sort-package-json-0.0.4.tgz","fileCount":35,"unpackedSize":111501,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+UHuqL6388n3bwcA//neOwupZhSF1KhL3hfHt5ZUuyQIgRAhXfw6hvQlaxsEhcOlEvTeqJZk4ZdnCipd5R9v3inw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDt8gACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqlYA//ctWiMs0rtuU1N/FqbYIGCHjP+lburfMGCwYVtY4b2Or0eBEB\r\n8PWUkqd311KrRuj020vh1jXvphkinzci9dQTdtMOCSZqUlYws4DPD2GmvbNz\r\nKOSh/1AoSaiv8nXNgNFGgEACvQBkyltUXGYCq/3LqGQgNxTn20aK5VeZZIgC\r\nuwzJIHoY/ayvkbuEVoZEnUsRKXIafevS834aWFKEqfn8QwWjpgZWTnB63sFy\r\nKLe+/1Tnb4ZHqFJNP+qDODslU0EREJ25NvXBqNUh8OluXapQU5DP6xTCRiUl\r\nqVTz1FVmzHlQbnm4XMHk1mclMEOQPfE8Q6S1uebEr6z8i7bo0b5wARARNGa1\r\nHAgFiSCLXQv3iSo5g9zfTeHhMOSRlZsPA5FfO+w3sCp1aVMWn72HaNI6P1rm\r\nb+lkkW2MASLS7chIVSzF9VNpDxw4iQ4b27UN9HJR/Z/OjV8K+c1Oquj0xYmd\r\nl5A/E527FIiHtd51bo9oh10HYvjtSPsLM/Kcr98nvR/9khp2/7/3pqJKto74\r\nFBBWsCmE1xFX7U55L+LK9yEA+61EAaH6qZNYoY3fEvYBJlkYs4vePxi5+TfL\r\nMHyqPFUcxj6dpySDPv43GK9httS77CIhETNdMk2djg340SrcA1HGEh4eUa2i\r\nqv4Y83M0Q6aYxlm0DMiMWo+MRuF8n03G+s8=\r\n=9lS2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"chengcyber","email":"chengcyber@outlook.com"},"directories":{},"maintainers":[{"name":"chengcyber","email":"chengcyber@outlook.com"},{"name":"bohanzh","email":"bohan-zhang@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rush-sort-package-json_0.0.4_1661919008058_0.6717161248469838"},"_hasShrinkwrap":false},"0.1.0":{"name":"rush-sort-package-json","version":"0.1.0","description":"Rush plugin for sort package.json file in the project","keywords":["rush","plugin","command","sort","package.json"],"homepage":"https://github.com/tiktok/rush-plugins#readme","repository":{"type":"git","url":"git+https://github.com/tiktok/rush-plugins.git","directory":"rush-plugins/rush-sort-package-json"},"license":"MIT","main":"lib/index.js","dependencies":{"@rushstack/node-core-library":"3.44.1","@rushstack/rush-sdk":"5.62.4","sort-package-json":"1.54.0"},"devDependencies":{"@rushstack/eslint-config":"3.3.4","@rushstack/heft":"0.61.0","@rushstack/heft-node-rig":"2.2.25","@types/heft-jest":"1.0.1","@types/node":"18.17.15","typescript":"~5.0.4"},"scripts":{"build":"heft build --clean","build:watch":"heft build --watch","start":"heft build-watch","test":"heft test"},"types":"./lib/index.d.ts","gitHead":"1fdfd83cbdb8b26ba0eae722ac7b6d5e4b12d9ff","bugs":{"url":"https://github.com/tiktok/rush-plugins/issues"},"_id":"rush-sort-package-json@0.1.0","_integrity":"sha512-gsb4/WKA4RteGkD9QQxzpzPkS+JS7UjNodDm/StNG3jT8cNI/Vg2dbom/FerFboQmWoRmm9PEcIU/02pvGqW+g==","_resolved":"/tmp/bae510083bcc69a0caaf05826d44dedc/rush-sort-package-json-0.1.0.tgz","_from":"file:rush-sort-package-json-0.1.0.tgz","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-gsb4/WKA4RteGkD9QQxzpzPkS+JS7UjNodDm/StNG3jT8cNI/Vg2dbom/FerFboQmWoRmm9PEcIU/02pvGqW+g==","shasum":"a9a66891685527977da703ff0c0284699a2d71f1","tarball":"https://registry.npmjs.org/rush-sort-package-json/-/rush-sort-package-json-0.1.0.tgz","fileCount":39,"unpackedSize":98278,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPbHk840OwNIQslTYOe5SzTFAH72WWbmJGhwFPbPvU+AIhAI0zEwcBo0eheVA6f/2KSfG3erTJmVi+SnylAXUOBDiF"}]},"_npmUser":{"name":"tiktok-service","email":"william.huang@tiktok.com"},"directories":{},"maintainers":[{"name":"chengcyber","email":"chengcyber@outlook.com"},{"name":"bohanzh","email":"bohan-zhang@foxmail.com"},{"name":"tiktok-service","email":"william.huang@tiktok.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rush-sort-package-json_0.1.0_1695713487261_0.8658398194312047"},"_hasShrinkwrap":false},"0.1.1":{"name":"rush-sort-package-json","version":"0.1.1","description":"Rush plugin for sort package.json file in the project","keywords":["rush","plugin","command","sort","package.json"],"homepage":"https://github.com/tiktok/rush-plugins#readme","repository":{"type":"git","url":"git+https://github.com/tiktok/rush-plugins.git","directory":"rush-plugins/rush-sort-package-json"},"license":"MIT","main":"lib/index.js","dependencies":{"@rushstack/node-core-library":"3.62.0","@rushstack/rush-sdk":"5.62.4","sort-package-json":"1.54.0"},"devDependencies":{"@rushstack/eslint-config":"3.3.4","@rushstack/heft":"0.61.0","@rushstack/heft-node-rig":"2.2.25","@types/heft-jest":"1.0.1","@types/node":"18.17.15","typescript":"~5.0.4"},"scripts":{"build":"heft build --clean","build:watch":"heft build --watch","start":"heft build-watch","test":"heft test"},"types":"./lib/index.d.ts","gitHead":"cd8e45bc47a14a4c436fdbe86887bb407f5059c2","bugs":{"url":"https://github.com/tiktok/rush-plugins/issues"},"_id":"rush-sort-package-json@0.1.1","_integrity":"sha512-kg4efSHRzQoiL9enCs2rFPD4mET2FMgdxxgQTt4taZAQnz6fE3VsRSUHvZH3jXktBM8QUZeZJyWyDeNFRtVAJg==","_resolved":"/tmp/620efcd0b738a90bc3b5ecdab9543b99/rush-sort-package-json-0.1.1.tgz","_from":"file:rush-sort-package-json-0.1.1.tgz","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-kg4efSHRzQoiL9enCs2rFPD4mET2FMgdxxgQTt4taZAQnz6fE3VsRSUHvZH3jXktBM8QUZeZJyWyDeNFRtVAJg==","shasum":"4a13482b76b7657367a1788a5bbf5ea60fa837dd","tarball":"https://registry.npmjs.org/rush-sort-package-json/-/rush-sort-package-json-0.1.1.tgz","fileCount":39,"unpackedSize":98330,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBh7duyoE/QzPq766FlGm8dLIcC+i6nWUmq+92qEmRdwIhALWtK68BLWRCt4x6sBpSmCDgE5M+ns2E1pAoGYGwqg6m"}]},"_npmUser":{"name":"tiktok-service","email":"william.huang@tiktok.com"},"directories":{},"maintainers":[{"name":"chengcyber","email":"chengcyber@outlook.com"},{"name":"bohanzh","email":"bohan-zhang@foxmail.com"},{"name":"tiktok-service","email":"william.huang@tiktok.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rush-sort-package-json_0.1.1_1702966062630_0.39438312539727094"},"_hasShrinkwrap":false}},"time":{"created":"2022-03-22T03:26:59.805Z","0.0.2":"2022-03-22T03:27:00.052Z","modified":"2023-12-19T06:07:43.006Z","0.0.3":"2022-06-11T08:01:50.597Z","0.0.4":"2022-08-31T04:10:08.233Z","0.1.0":"2023-09-26T07:31:27.476Z","0.1.1":"2023-12-19T06:07:42.807Z"},"maintainers":[{"name":"chengcyber","email":"chengcyber@outlook.com"},{"name":"bohanzh","email":"bohan-zhang@foxmail.com"},{"name":"tiktok-service","email":"william.huang@tiktok.com"}],"description":"Rush plugin for sort package.json file in the project","homepage":"https://github.com/tiktok/rush-plugins#readme","keywords":["rush","plugin","command","sort","package.json"],"repository":{"type":"git","url":"git+https://github.com/tiktok/rush-plugins.git","directory":"rush-plugins/rush-sort-package-json"},"bugs":{"url":"https://github.com/tiktok/rush-plugins/issues"},"license":"MIT","readme":"# rush-sort-package-json\r\n\r\nRush plugin for sort package.json file in the project.\r\n\r\n# Quick Start\r\n\r\n1. Enabling this rush plugin\r\n\r\nPlease follow the [official doc](https://rushjs.io/pages/maintainer/using_rush_plugins/) to enable this plugin in your repo.\r\n\r\n2. Running `sort-package-json`\r\n\r\n```\r\nrush sort-package-json\r\n```\r\n\r\n# What is the plugin for?\r\n\r\nWe have noticed that:\r\n\r\n1. There is some feedback about the package.json file under the rush repository being out of order.\r\n2. `rush add` only puts the added dependencies at the end of the deps field.\r\n\r\nTherefore, this command will sort all package.json files in the rush repository.\r\n\r\n# Q: Why not modify the `rush add` command to keep it in order?\r\n\r\nA: Because many other commands may also change package.json, such as `rush version --bump` or manually modify dependencies.\r\n\r\n# Related issues\r\n\r\n\r\n[rushstack #2496](https://github.com/microsoft/rushstack/issues/2496)\r\n","readmeFilename":"README.md"}