packspec

pkg.json format specification

Example

{
  "name" : "lspconfig", // OPTIONAL cosmetic name, not used for resolution nor filesystem locations.
  "description" : "Quickstart configurations for the Nvim-lsp client", // OPTIONAL
  "engines": {
      "nvim": "^0.10.0",
      "vim": "^9.1.0"
  },
  "repository": { // REQUIRED
      "type": "git", // reserved for future use
      "url": "https://github.com/neovim/nvim-lspconfig"
  },
  "dependencies" : { // OPTIONAL
    "https://github.com/neovim/neovim" : "0.6.1",
    "https://github.com/lewis6991/gitsigns.nvim" : "0.3"
  },
}

Semantic versioning

Packages SHOULD be semantically versioned. While other versioning schema have uses, semver allows for plugin managers to provide smart dependency resolution.

File location

Packages MUST have a single, top-level package metadata file named pkg.json. This may be relaxed in the future.

Fields

Changes

Closed questions

Open questions