{"name":"supi","description":"Fast, disk space efficient installation engine","version":"0.39.0-alpha.7","author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io/"},"bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"main":"lib/index.js","typings":"lib/index.d.ts","peerDependencies":{"@pnpm/logger":"^3.1.0"},"dependencies":{"@pnpm/build-modules":"5.0.0-alpha.5","@pnpm/check-package":"3.0.1","@pnpm/constants":"4.0.0-alpha.1","@pnpm/core-loggers":"4.0.2-alpha.0","@pnpm/error":"1.2.0","@pnpm/filter-lockfile":"4.0.0-alpha.2","@pnpm/get-context":"2.0.0-alpha.2","@pnpm/headless":"13.0.0-alpha.5","@pnpm/hoist":"3.0.0-alpha.2","@pnpm/lifecycle":"9.0.0-alpha.1","@pnpm/link-bins":"5.3.3-alpha.0","@pnpm/lockfile-file":"3.0.9-alpha.2","@pnpm/lockfile-utils":"2.0.12-alpha.1","@pnpm/lockfile-walker":"2.0.3-alpha.1","@pnpm/manifest-utils":"1.0.1-alpha.0","@pnpm/matcher":"1.0.2","@pnpm/modules-cleaner":"9.0.0-alpha.5","@pnpm/modules-yaml":"7.0.0-alpha.0","@pnpm/normalize-registries":"1.0.1-alpha.0","@pnpm/package-requester":"12.0.0-alpha.5","@pnpm/parse-wanted-dependency":"1.0.0","@pnpm/pkgid-to-filename":"3.0.0","@pnpm/prune-lockfile":"2.0.8-alpha.2","@pnpm/read-modules-dir":"2.0.1","@pnpm/read-package-json":"3.1.1-alpha.0","@pnpm/read-project-manifest":"1.0.6-alpha.0","@pnpm/resolve-dependencies":"15.0.0-alpha.6","@pnpm/resolver-base":"7.0.1-alpha.0","@pnpm/store-controller-types":"8.0.0-alpha.4","@pnpm/symlink-dependency":"3.0.5-alpha.0","@pnpm/types":"6.0.0-alpha.0","@zkochan/npm-package-arg":"1.0.2","@zkochan/rimraf":"1.0.0","common-tags":"1.8.0","dependency-path":"4.0.7-alpha.0","encode-registry":"2.0.2","get-npm-tarball-url":"2.0.1","graceful-fs":"4.2.1","graph-sequencer":"2.0.0","import-from":"3.0.0","is-inner-link":"2.0.2","is-subdir":"1.1.1","load-json-file":"6.2.0","mz":"2.7.0","normalize-path":"3.0.0","p-every":"2.0.0","p-filter":"2.1.0","p-limit":"2.3.0","path-absolute":"1.0.1","ramda":"0.27.0","run-groups":"2.0.3","semver":"^7.3.2","semver-utils":"1.1.4","version-selector-type":"^3.0.0"},"devDependencies":{"@pnpm/assert-project":"2.1.0-alpha.2","@pnpm/assert-store":"1.0.1-alpha.2","@pnpm/default-fetcher":"6.0.0-alpha.5","@pnpm/default-resolver":"7.4.10-alpha.2","@pnpm/logger":"3.2.2","@pnpm/package-store":"9.0.0-alpha.5","@pnpm/prepare":"0.0.2-alpha.1","@pnpm/store-path":"^4.0.0","@pnpm/test-fixtures":"0.0.0","@types/common-tags":"^1.8.0","@types/fs-extra":"^9.0.1","@types/graceful-fs":"^4.1.3","@types/is-ci":"^2.0.0","@types/is-windows":"^1.0.0","@types/mz":"^2.7.1","@types/ncp":"^2.0.4","@types/normalize-path":"^3.0.0","@types/ramda":"^0.27.6","@types/semver":"^7.2.0","@types/sinon":"^9.0.3","@types/tape-promise":"^4.0.1","anonymous-npm-registry-client":"0.1.2","cross-spawn":"7.0.2","deep-require-cwd":"1.0.0","dir-is-case-sensitive":"1.0.2","execa":"^4.0.1","exists-link":"2.0.0","fs-extra":"9.0.0","is-ci":"2.0.0","is-windows":"1.0.2","ncp":"2.0.0","npm-run-all":"4.1.5","path-exists":"4.0.0","path-name":"1.0.0","read-yaml-file":"2.0.0","resolve-link-target":"1.0.1","sinon":"9.0.2","supi":"link:","symlink-dir":"^4.0.3","tape-promise":"4.0.0","write-json-file":"4.0.0","write-yaml-file":"^4.1.0"},"directories":{"test":"test"},"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"],"license":"MIT","engines":{"node":">=10.13"},"repository":{"type":"git","url":"https://github.com/pnpm/pnpm/blob/master/packages/supi"},"scripts":{"start":"pnpm run tsc -- --watch","?commit":"echo 'Run Git commit wizard'","commit":"commit","commitmsg":"commitlint -e","lint":"tslint -c ../../tslint.json src/**/*.ts test/**/*.ts","registry-mock":"registry-mock","test:tap":"cd ../.. && c8 --reporter lcov --reports-dir packages/supi/coverage ts-node packages/supi/test --type-check","test:e2e":"registry-mock prepare && run-p -r registry-mock test:tap","test-with-preview":"preview && pnpm run test:e2e","_test":"cross-env PNPM_REGISTRY_MOCK_PORT=4873 pnpm run test:e2e","test":"pnpm run compile && pnpm run _test","prepublishOnly":"pnpm run compile","compile":"rimraf lib tsconfig.tsbuildinfo && tsc --build"},"funding":"https://opencollective.com/pnpm","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","readmeFilename":"README.md","_id":"supi@0.39.0-alpha.7","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","dist":{"integrity":"sha512-ztgduvvaMtkLvBP6Tx+5IPXb2LwB2Yrcx2ogLQm6yH5VW1kaoaJ24gUqnD8uSWkBvZdqPGbXcgdRW/uxXVXyhA==","shasum":"7f6fc6bc98898b5ba9714fad2750b8f6b81510e5","tarball":"http://registry-npm.ywwl.com/supi/download/supi-0.39.0-alpha.7.tgz","fileCount":54,"unpackedSize":143188,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexXC6CRA9TVsSAnZWagAA52IP/jfN+cDQ6PqIUBZnyOHt\nMRQG0E4WdBNyl2t28f6KARG+2aTiMZd89BFLf78qFdw5S2TqxknnXDmbj8kI\nF6fEuI5NxvGwCT0qKiObAy38ockkoWk1IrXQRzYiPBCu3uorT2tZe46WOTiY\nm8jTwBT6QWR9m+9Z9bcDVuWj/p7r6mAYcX44x7Jg48YcxXDHL6Kkjn5/BZ0z\nt0PF1oA/daRbtVPu5ymONAzK27t4k0leYOXsPUpwwUODvDLAjYCgFfEUbnW0\n48Y1cbW/Ipn9F32TmpkPQtnnIlaN07GkSla4qMOGeDfBxTOScP6QHjjh0yoz\nib5+7zIRoSLH526xwKGvciEQCBQ9Sb1dNECbHbOBRtO266Rm6Hr40uRqJVDY\nNmy4YdLdvbHvJ0nbIxsUY1qjqnVXBoIPvVbouNr5wnFiunjBNeenC/iBw+92\nU6W1pRbFsF1Y6yIqv8z1J5B8gPOnzbT+yjk0yV8dokRpw+9aFiP58B0QPbCm\nwh4nsH0AH0Mp+icbmbfw8IAz10qg3PYVNWgFCP9N4dHoS0OHLsfJT+YsrDis\nx/AI5J4apLF63u27QvhsRHq/3imhc8ajw+z22w4oh+8CM2ou42rW2anWq5ac\n817qdcfMG5YU5CbsKQ5lNcP2Dqufb/2XKipmOxzLREV+8QV2VzZ8TZYRIs2N\nrGhM\r\n=IBxk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEbXxd7aGXsTDRnYNa1qOBl36IHTpjtY7seu1A6+cDEiAiAu27Bo9ftN43skPA3bX85wmV0wnRT7tVWYloUsAL4EnA=="}],"size":32641,"noattachment":false,"key":"/supi/-/supi-0.39.0-alpha.7.tgz"},"maintainers":[{"email":"emanuele.tamponi@gmail.com","name":"etamponi"},{"email":"z@kochan.io","name":"zkochan"}],"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/supi_0.39.0-alpha.7_1589997754078_0.1660205694347312"},"_hasShrinkwrap":false,"deprecated":"This package was renamed to @pnpm/core","publish_time":1589997754232,"_cnpm_publish_time":1589997754232,"dist-tags":{"dev":"0.0.0-20201060511","latest":"0.47.27","next":"0.38.28","next-major":"0.30.0-3","pnpm-temp":"0.41.19"}}