BREAKING CHANGE:
The `installPkgDeps` API function is now called `install`.
The old `install` is renamed to `installPkgs`. Unlike the old `install`,
`installPkgs` does nothing, if the `pkgs` array contains no elements.
pnpm uninstall could not always link the dependency name to the
dependency ID (used in the store). To solve this issue, a dependency
name to ID map is added to the dependencies section of `store.json`.
PR #371
BREAKING CHANGE:
The structure of the `store.json` has been changed.
Previously the dependencies property contained just a list of
dependency IDs. E.g.:
```json
{
"dependencies": {
"math": [
"sum@1.0.0",
"@zkochan+max@2.1.0"
]
}
}
```
With this structure it was hard to link the dependencies to their IDs.
The new structure uses a map which links the dependency to its ID:
```json
{
"dependencies": {
"map": {
"sum": "sum@1.0.0",
"@zkochan/max": "@zkochan+max@2.1.0"
}
}
}
```
Unfortunately the stores created by older version of pnpm are not usable
after this breaking change. They have to be removed before using the new
version of pnpm.
If the link-local config key is true, local dependencies are
not copy-pasted into the store but linked to the node_modules
folder.
This option makes pnpm suitable for usage in monorepos.
Ref #349
GitHub API usage removed. The tarball is used from codeload.github.com
Close#361, PR #363
BREAKING CHANGE:
The folder names of packages fetched from GitHub changed to not contain
information that would require an API request to get.
Old folder name: is-negative@github+kevva+is-negative+HEAD
New folder name: github+kevva+is-negative+HEAD
Users are forced to redownload their stores to avoid orphan folders after
the naming change.
Use the retry package to support all the different
retry strategy configurations that can be used with npm:
fetch-retries
fetch-retry-factor
fetch-retry-mintimeout
fetch-retry-maxtimeout
More info about the configs: https://docs.npmjs.com/misc/config#fetch-retriesclose#317, PR #327
* Read package.json before updating
Using the cached version of package.json can cause ovewriting of changes
close#280
* Skip GitHub test on CI
The GitHub test fails frequently with 403 error with no good no reason