Skip to content

Commit

Permalink
feat: add hasInstallScript field to abbreviated
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 authored Nov 7, 2021
1 parent 9e368cf commit 3f1470f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/responses/package-metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ Each abbreviated version object contains the following fields:
* `dist`: a [dist object](#dist)
* `engines`: the node engines required for this version to run, if specified
* `_hasShrinkwrap`: `true` if this version is known to have a shrinkwrap that must be used to install it; `false` if this version is known not to have a shrinkwrap. If this field is undefined, the client must determine through other means if a shrinkwrap exists.
* `hasInstallScript`: `true` if this version has the `install` scripts.

The `name`, `version`, and `dist` fields will always be present. The others will be absent if they are irrelevant for this package version.

Expand Down

0 comments on commit 3f1470f

Please sign in to comment.