{"bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"1c28a03c3b68d84e94be0ec8303cfafedf495f5d","tarball":"https://registry.npmjs.org/supi/-/supi-0.39.2.tgz","fileCount":52,"integrity":"sha512-mQJeHNq3DP4udq9p/WY+IZQdbpUgMQwp9gSRfDc3c7RqkGQ+ol8NciA/+N6y81sP5pHEZteoVD9Khvw+uYxKEQ==","signatures":[{"sig":"MEQCIDfo9nnOsstZ3xyWxThXmLOdbXGyXReQWZ7HZ7wbvf22AiBA2goYDf7Y2Xj0xUlJzoxg91afg10SCw9uykRKxcU0dA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":144774,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezFoUCRA9TVsSAnZWagAAxeEP/04Ao3PN5S8r5A7vzgVG\ngzAh1b4Vd+2KoETpxdCjwgGYuLbwUtI0/URIZ3P/ur0lC5ygFfpBLYES+fl9\naeDYpQlwxbi2n51uJFv4XWoHjWVejGfx1tz72y02mj3gIHZO0u4AyChx/5ZL\n4R49RSMctbGN6+LkhnfZIWL6t4xafu46Tm4t0k3ELi8vAKiTufMKMdQRHhpw\n1w7dQUa9vSelQdGSf7tQuBPdb1wXvK3fjDSNlsRZ0iPe4RvtViEMnXNOB6Hb\ntx3F6nnPuI2lKWISWo/+wDyCEL2Rq4MoYXGx4s+HQ034Vcnepdv0qY0E/rRf\nFt4k56g2d2eXvvRBhtSNDWZb2TSUTiFO29F1Qp/UfswOWsQ8hf56GTBUfcsm\nqfBWXtL1iuZuVKXHRPvNRia66qWJ90YIC92timAnsnhN08ajhbX8FIpaSpbk\ncBGXzK2H0RcVt8AOyhESkYdTwfLbioCDcBId7oYA6+RgkkkFCtmEX5kKObYM\nCEnwCPsMtIzBIJMflNoH5HBJ/fDK5Kyp80c5JUxDmK/PZOPTZhhY8TL8ZKtV\nSAsRKvHnLBJ95rQJ+RJNm1A+yM/rsNQ8l8b3d/dFTZddouCDn+aNRReWHEMV\nSWnAORh2xFJWiwQRQ2h9AIQqntlhJqE73kuxkz7Y1DHdQ2MDG85K+YyqbhWj\nx82Q\r\n=XBFM\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, linkToModules, [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* `linkToModules` - *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* `globalDir` - *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* `globalDir` - *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":">=10.13"},"funding":"https://opencollective.com/pnpm","license":"MIT","scripts":{"lint":"tslint -c ../../tslint.json src/**/*.ts test/**/*.ts","test":"pnpm run compile && pnpm run _test","_test":"cross-env PNPM_REGISTRY_MOCK_PORT=4873 pnpm run test:e2e","start":"pnpm run tsc -- --watch","commit":"commit","?commit":"echo 'Run Git commit wizard'","compile":"rimraf lib tsconfig.tsbuildinfo && tsc --build","test:e2e":"registry-mock prepare && run-p -r registry-mock test:tap","test:tap":"cd ../.. && c8 --reporter lcov --reports-dir packages/supi/coverage ts-node packages/supi/test --type-check","commitmsg":"commitlint -e","registry-mock":"registry-mock","prepublishOnly":"pnpm run compile","test-with-preview":"preview && pnpm run test:e2e"},"typings":"lib/index.d.ts","_npmUser":{"name":"zkochan","email":"z@kochan.io"},"homepage":"https://github.com/pnpm/pnpm/blob/master/packages/supi#readme","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.14.5","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.16.3","dependencies":{"mz":"2.7.0","ramda":"0.27.0","semver":"^7.3.2","p-every":"2.0.0","p-limit":"2.3.0","p-filter":"2.1.0","is-subdir":"1.1.1","run-groups":"2.0.3","@pnpm/error":"1.2.0","@pnpm/hoist":"3.0.0","@pnpm/types":"6.0.0","common-tags":"1.8.0","graceful-fs":"4.2.1","import-from":"3.0.0","semver-utils":"1.1.4","@pnpm/matcher":"1.0.2","is-inner-link":"2.0.2","path-absolute":"1.0.1","@pnpm/headless":"13.0.0","load-json-file":"6.2.0","normalize-path":"3.0.0","@pnpm/constants":"4.0.0","@pnpm/lifecycle":"9.0.0","@pnpm/link-bins":"5.3.3","@zkochan/rimraf":"1.0.0","dependency-path":"4.0.7","encode-registry":"2.0.2","graph-sequencer":"2.0.0","@pnpm/get-context":"2.1.0","@pnpm/core-loggers":"4.0.2","@pnpm/modules-yaml":"7.0.0","@pnpm/build-modules":"5.0.0","@pnpm/check-package":"3.0.1","@pnpm/lockfile-file":"3.0.9","@pnpm/resolver-base":"7.0.1","get-npm-tarball-url":"2.0.1","@pnpm/lockfile-utils":"2.0.12","@pnpm/manifest-utils":"1.0.1","@pnpm/prune-lockfile":"2.0.8","@pnpm/filter-lockfile":"4.0.0","@pnpm/lockfile-walker":"3.0.0","@pnpm/modules-cleaner":"9.0.0","version-selector-type":"^3.0.0","@pnpm/read-modules-dir":"2.0.1","@pnpm/package-requester":"12.0.0","@pnpm/pkgid-to-filename":"3.0.0","@pnpm/read-package-json":"3.1.1","@pnpm/symlink-dependency":"3.0.5","@zkochan/npm-package-arg":"1.0.2","@pnpm/normalize-registries":"1.0.1","@pnpm/resolve-dependencies":"15.0.1","@pnpm/read-project-manifest":"1.0.6","@pnpm/store-controller-types":"8.0.0","@pnpm/parse-wanted-dependency":"1.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ncp":"2.0.0","supi":"link:","execa":"^4.0.2","is-ci":"2.0.0","sinon":"9.0.2","fs-extra":"9.0.0","@types/mz":"^2.7.1","path-name":"1.0.0","@types/ncp":"^2.0.4","is-windows":"1.0.2","cross-spawn":"7.0.2","exists-link":"2.0.0","npm-run-all":"4.1.5","path-exists":"4.0.0","symlink-dir":"^4.0.3","@pnpm/logger":"3.2.2","@types/is-ci":"^2.0.0","@types/ramda":"^0.27.6","@types/sinon":"^9.0.4","tape-promise":"4.0.0","@pnpm/prepare":"0.0.2","@types/semver":"^7.2.0","read-yaml-file":"2.0.0","@types/fs-extra":"^9.0.1","write-json-file":"4.0.0","write-yaml-file":"^4.1.0","@pnpm/store-path":"^4.0.0","deep-require-cwd":"1.0.0","@types/is-windows":"^1.0.0","@pnpm/assert-store":"1.0.1","@types/common-tags":"^1.8.0","@types/graceful-fs":"^4.1.3","@pnpm/package-store":"9.0.0","@pnpm/test-fixtures":"0.0.0","@types/tape-promise":"^4.0.1","resolve-link-target":"1.0.1","@pnpm/assert-project":"2.1.0","@pnpm/default-fetcher":"6.0.0","@types/normalize-path":"^3.0.0","dir-is-case-sensitive":"1.0.2","@pnpm/default-resolver":"8.0.0","anonymous-npm-registry-client":"0.1.2"},"peerDependencies":{"@pnpm/logger":"^3.1.0"},"_npmOperationalInternal":{"tmp":"tmp/supi_0.39.2_1590450708201_0.9915026136225655","host":"s3://npm-registry-packages"},"_id":"supi@0.39.2","version":"0.39.2"}