Skip to content

Releases: colinaaa/dprint-plugin-sort-package-json

Release list

0.2.1

Choose a tag to compare

@github-actions github-actions released this 04 Sep 10:21
0.2.1
3f40125

Changes

Install

Install and setup dprint.

npm (recommended)

Add the npm package to your project's dprint configuration file:

{
  "sortPackageJson": {
    // sortPackageJson config goes here
  },
  "plugins": [
    "npm:dprint-plugin-sort-package-json@0.2.1"
  ]
}

GitHub

Alternatively, use the plugin from GitHub Releases:

{
  "sortPackageJson": {
    // sortPackageJson config goes here
  },
  "plugins": [
    "https://github.com/colinaaa/dprint-plugin-sort-package-json/releases/download/0.2.1/plugin.wasm"
  ]
}

JS Formatting API

v0.2.0

Choose a tag to compare

@colinaaa colinaaa released this 04 Sep 09:09
5cc3470

Changes

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Add a "sortPackageJson" configuration property if desired.
    {
      // ...etc...
      "sortPackageJson": {
        // sortPackageJson config goes here
      },
      "plugins": [
        "https://plugins.dprint.dev/colinaaa/dprint-plugin-sort-package-json/0.2.0/plugin.wasm"
      ]
    }

JS Formatting API