{"bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"96564d26a1835a22badece9a70753bbafbb3c9a4","tarball":"https://registry.npmjs.org/supi/-/supi-0.35.0-2.tgz","fileCount":77,"integrity":"sha512-kwqjyrYOG6m3pFXQQXGeRPtI95UoOwXvR0LJXxqe//MASxc4OEF9j/0wQ5th6mqxaS2Vuj6rRNb9zlrC9GK0Ow==","signatures":[{"sig":"MEYCIQCbfcr1stwzJ56D5yRBMjtMgBRZH+zgN9IIT65s8TR+fAIhAJaeKKnm6hyhvmGJHZvL+iuGCOcT3Mq+IZVxCgdDt3UB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":164986,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgoQSCRA9TVsSAnZWagAAJF8P/RMEBqTzBVK7GvLLfBEc\nE0vCSn1+Yzgib/weZ29tahjR38H4V9uhhjZxngqvklwwXuJuxB3aegsR9xeT\nlmEj+sIigmvMKvkbDBcmsHsAfpieSeO4BEnwxOIfHpnizWs6RlDsmt32RDQj\nTvffOlVtg9lgCNLXh1oOozh+QVN9v+VRzfW9gM135BXNMyiD397nD5LXPtAb\ntfWn2EbjgISHpMK5L6DDAoCShaRhMJXW6yT4G02DIGJ0hVldH9nfwJ+OSoK6\nDmSSsVGfPSNe0J3ag5eCiJzJN8zsF0AbUVeLf1S6ThMdqALyjQyY3V3+4q9c\n0Kpt3oAPtYorgBbiB/WPIZ9kQ6AMTfu/cx+q8JpV7PW4Nh/gzJ1ZVeAmQUlk\nxTSR45iETREfdoCZ1LWJwHZHRb2FAjGPpkLa9b5a7u0CUv/srFg+SqA9saDs\nUa5iaA/HuO7UR1OeCaajIiO2+3FF87vCIDiQY2LaQEXiPX5F71BewJ+rYm+e\nh7TOimqOiUvp3k18c+mo+f+5fIvVf4Aaw6dCtkF/FjGDws7mMTIy4iFxfc7Z\nAzjJjdAaMS/+cv7Ewi4jB7WL7tNIlEUCwM0lfPDlRrGokyVbZzq7QktXWfd6\nEKtqBzMvUsEV004uCet/KHDImsc7AueYL4WAFE/jb0CjRRYI9hI6VD0C9mig\nBpa5\r\n=fHYx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","name":"supi","author":{"url":"https://www.kochan.io/","name":"Zoltan Kochan","email":"z@kochan.io"},"readme":"<p align=\"center\">\n  <img alt=\"supi - pnpm's installation engine\" src=\"https://cdn.rawgit.com/pnpm/supi/master/logo.svg\" width=\"200\">\n</p>\n\n# supi\n\n> Fast, disk space efficient installation engine. Used by [pnpm](https://github.com/pnpm/pnpm)\n\n## Install\n\nInstall it via npm.\n\n```\n<pnpm|yarn|npm> add supi\n```\n\nIt also depends on `@pnpm/logger` version `1`, so install it as well via:\n\n```\n<pnpm|yarn|npm> add @pnpm/logger@1\n```\n\n## API\n\n### `supi.mutateModules(importers, options)`\n\nTODO\n\n### `supi.link(linkFromPkgs, linkToNodeModules, [options])`\n\nCreate symbolic links from the linked packages to the target package's `node_modules` (and its `node_modules/.bin`).\n\n**Arguments:**\n\n* `linkFromPkgs` - *String[]* - paths to the packages that should be linked.\n* `linkToNodeModules` - *String* - path to the dependent package's `node_modules` directory.\n* `options.reporter` - *Function* - A function that listens for logs.\n\n### `supi.linkToGlobal(linkFrom, options)`\n\nCreate a symbolic link from the specified package to the global `node_modules`.\n\n**Arguments:**\n\n* `linkFrom` - *String* - path to the package that should be linked.\n* `globalPrefix` - *String* - path to the global directory.\n* `options.reporter` - *Function* - A function that listens for logs.\n\n### `supi.linkFromGlobal(pkgNames, linkTo, options)`\n\nCreate symbolic links from the global `pkgName`s to the `linkTo/node_modules` folder.\n\n**Arguments:**\n\n* `pkgNames` - *String[]* - packages to link.\n* `linkTo` - *String* - package to link to.\n* `globalPrefix` - *String* - path to the global directory.\n* `options.reporter` - *Function* - A function that listens for logs.\n\n### `supi.storeStatus([options])`\n\nReturn the list of modified dependencies.\n\n**Arguments:**\n\n* `options.reporter` - *Function* - A function that listens for logs.\n\n**Returns:** `Promise<string[]>` - the paths to the modified packages of the current project. The paths contain the location of packages in the store,\nnot in the projects `node_modules` folder.\n\n### `supi.storePrune([options])`\n\nRemove unreferenced packages from the store.\n\n## Hooks\n\nHooks are functions that can step into the installation process.\n\n### `readPackage(pkg)`\n\nThis hook is called with every dependency's manifest information.\nThe modified manifest returned by this hook is then used by supi during installation.\n\n**Example:**\n\n```js\nconst supi = require('supi')\n\nsupi.installPkgs({\n  hooks: {readPackage}\n})\n\nfunction readPackage (pkg) {\n  if (pkg.name === 'foo') {\n    pkg.dependencies = {\n      bar: '^2.0.0',\n    }\n  }\n  return pkg\n}\n```\n\n### `afterAllResolved(lockfile: Lockfile): Lockfile`\n\nThis hook is called after all dependencies are resolved. It recieves and returns the resolved lockfile object.\n\n## Acknowledgements\n\nThanks to [Valentina Kozlova](https://github.com/ValentinaKozlova) for the supi logo\n\n## License\n\n[MIT](LICENSE)\n","engines":{"node":">=8.15"},"license":"MIT","scripts":{"tsc":"rimraf lib && tsc","lint":"tslint -c tslint.json src/**/*.ts test/**/*.ts","test":"pnpm run lint && pnpm run tsc && pnpm run test:e2e","start":"pnpm run tsc -- --watch","commit":"commit","?commit":"echo 'Run Git commit wizard'","pretest":"rimraf ../../../.tmp/ && registry-mock prepare","test:e2e":"run-p -r registry-mock test:tap","test:tap":"ts-node test","commitmsg":"commitlint -e","registry-mock":"registry-mock","prepublishOnly":"pnpm run tsc","test-with-preview":"pnpm run lint && preview && pnpm run test:e2e"},"typings":"lib/index.d.ts","_npmUser":{"name":"zkochan","email":"z@kochan.io"},"homepage":"https://pnpm.js.org","keywords":["dependency manager","install","installer","uninstall","remove","link","prune","shrinkwrap","lockfile","fast","rapid","efficient","package.json","packages","dependencies","symlinks","hardlinks","modules","npm","package manager"],"deprecated":"This package was renamed to @pnpm/core","repository":{"url":"https://github.com/pnpm/pnpm/blob/master/packages/supi","type":"git"},"_npmVersion":"6.10.3","description":"Fast, disk space efficient installation engine","directories":{"test":"test"},"maintainers":[{"name":"etamponi","email":"emanuele.tamponi@gmail.com"},{"name":"zkochan","email":"z@kochan.io"}],"_nodeVersion":"12.10.0","dependencies":{"mz":"2.7.0","is-ci":"2.0.0","ramda":"0.26.1","semver":"6.3.0","p-every":"2.0.0","p-limit":"2.2.1","make-dir":"3.0.0","p-filter":"2.1.0","is-subdir":"1.0.3","run-groups":"2.0.1","@pnpm/error":"1.0.0","@pnpm/hoist":"1.0.0-1","@pnpm/types":"3.2.0","@pnpm/utils":"0.10.6","common-tags":"1.8.0","graceful-fs":"4.2.1","import-from":"3.0.0","is-inner-link":"2.0.2","path-absolute":"1.0.1","@pnpm/headless":"8.0.0-2","load-json-file":"6.2.0","normalize-path":"3.0.0","@pnpm/constants":"2.0.0-0","@pnpm/fs-locker":"3.0.1","@pnpm/lifecycle":"6.2.3","@pnpm/link-bins":"4.4.0","@zkochan/rimraf":"1.0.0","dependency-path":"3.0.8","encode-registry":"2.0.1","graph-sequencer":"2.0.0","@pnpm/core-loggers":"3.0.3","@pnpm/modules-yaml":"4.0.0-0","@pnpm/build-modules":"2.0.0-0","@pnpm/check-package":"3.0.1","@pnpm/lockfile-file":"1.1.3","@pnpm/resolver-base":"3.1.2","get-npm-tarball-url":"2.0.1","@pnpm/lockfile-utils":"1.0.10","@pnpm/prune-lockfile":"1.1.2","@pnpm/filter-lockfile":"1.0.14","@pnpm/modules-cleaner":"5.0.0-2","version-selector-type":"2.0.1","@pnpm/read-modules-dir":"2.0.1","@pnpm/package-requester":"8.0.0-0","@pnpm/pkgid-to-filename":"2.0.0","@pnpm/read-package-json":"2.0.3","@pnpm/symlink-dependency":"2.0.6","@zkochan/npm-package-arg":"1.0.2","validate-npm-package-name":"3.0.0","@pnpm/resolve-dependencies":"10.0.0-0","@pnpm/read-importer-manifest":"1.0.9","@pnpm/read-importers-context":"2.0.0-0","@pnpm/store-controller-types":"4.0.0-0","remove-all-except-outer-links":"2.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ncp":"2.0.0","supi":"link:","tape":"4.11.0","execa":"2.0.4","sinon":"7.4.2","rimraf":"3.0.0","fs-extra":"8.1.0","@types/mz":"0.0.32","path-name":"1.0.0","is-windows":"1.0.2","cross-spawn":"7.0.0","exists-link":"2.0.0","npm-run-all":"4.1.5","path-exists":"4.0.0","symlink-dir":"3.1.1","@pnpm/logger":"2.1.1","@types/ramda":"0.26.21","@types/sinon":"^7.0.10","tape-promise":"4.0.0","@pnpm/prepare":"0.0.0","@types/mkdirp":"0.5.2","@types/semver":"6","read-yaml-file":"1.1.0","@types/fs-extra":"8.0.0","write-json-file":"4.0.0","write-yaml-file":"3.0.1","@pnpm/store-path":"2.1.0","deep-require-cwd":"1.0.0","@types/is-windows":"0.2.0","@pnpm/assert-store":"link:../../privatePackages/assert-store","@types/common-tags":"1.8.0","@pnpm/package-store":"file:../package-store","@pnpm/registry-mock":"1.5.0","resolve-link-target":"1.0.1","@pnpm/assert-project":"link:../../privatePackages/assert-project","@pnpm/default-fetcher":"file:../default-fetcher","dir-is-case-sensitive":"1.0.2","@pnpm/default-resolver":"file:../default-resolver","anonymous-npm-registry-client":"0.1.2"},"peerDependencies":{"@pnpm/logger":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/supi_0.35.0-2_1568834577431_0.41669658145045907","host":"s3://npm-registry-packages"},"_id":"supi@0.35.0-2","version":"0.35.0-2"}