{"name":"supi","description":"Fast, disk space efficient installation engine","version":"0.35.0-5","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":"^2.1.0"},"dependencies":{"@pnpm/build-modules":"2.0.0-0","@pnpm/check-package":"3.0.1","@pnpm/constants":"2.0.0-1","@pnpm/core-loggers":"3.0.3","@pnpm/error":"1.0.0","@pnpm/filter-lockfile":"1.0.14","@pnpm/fs-locker":"3.0.1","@pnpm/headless":"8.0.0-4","@pnpm/hoist":"1.0.0-1","@pnpm/lifecycle":"6.2.3","@pnpm/link-bins":"4.4.0","@pnpm/lockfile-file":"2.0.0-0","@pnpm/lockfile-utils":"1.0.10","@pnpm/modules-cleaner":"5.0.0-2","@pnpm/modules-yaml":"4.0.0-1","@pnpm/package-requester":"8.0.0-0","@pnpm/pkgid-to-filename":"2.0.0","@pnpm/prune-lockfile":"1.1.2","@pnpm/read-importer-manifest":"1.0.9","@pnpm/read-importers-context":"2.0.0-2","@pnpm/read-modules-dir":"2.0.1","@pnpm/read-package-json":"2.0.3","@pnpm/resolve-dependencies":"10.0.0-0","@pnpm/resolver-base":"3.1.2","@pnpm/store-controller-types":"4.0.0-0","@pnpm/symlink-dependency":"2.0.6","@pnpm/types":"3.2.0","@pnpm/utils":"0.10.6","@zkochan/npm-package-arg":"1.0.2","@zkochan/rimraf":"1.0.0","common-tags":"1.8.0","dependency-path":"3.0.8","encode-registry":"2.0.1","get-npm-tarball-url":"2.0.1","graceful-fs":"4.2.1","graph-sequencer":"2.0.0","import-from":"3.0.0","is-ci":"2.0.0","is-inner-link":"2.0.2","is-subdir":"1.0.3","load-json-file":"6.2.0","make-dir":"3.0.0","mz":"2.7.0","normalize-path":"3.0.0","p-every":"2.0.0","p-filter":"2.1.0","p-limit":"2.2.1","path-absolute":"1.0.1","ramda":"0.26.1","run-groups":"2.0.1","semver":"6.3.0","validate-npm-package-name":"3.0.0","version-selector-type":"2.0.1"},"devDependencies":{"@pnpm/assert-project":"link:../../privatePackages/assert-project","@pnpm/assert-store":"link:../../privatePackages/assert-store","@pnpm/default-fetcher":"file:../default-fetcher","@pnpm/default-resolver":"file:../default-resolver","@pnpm/logger":"2.1.1","@pnpm/package-store":"file:../package-store","@pnpm/prepare":"0.0.0","@pnpm/registry-mock":"1.5.0","@pnpm/store-path":"2.1.0","@types/common-tags":"1.8.0","@types/fs-extra":"8.0.0","@types/is-windows":"0.2.0","@types/mkdirp":"0.5.2","@types/mz":"0.0.32","@types/ramda":"0.26.21","@types/semver":"6","@types/sinon":"^7.0.10","anonymous-npm-registry-client":"0.1.2","cross-spawn":"7.0.0","deep-require-cwd":"1.0.0","dir-is-case-sensitive":"1.0.2","execa":"2.0.4","exists-link":"2.0.0","fs-extra":"8.1.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":"1.1.0","resolve-link-target":"1.0.1","rimraf":"3.0.0","sinon":"7.5.0","supi":"link:","symlink-dir":"3.1.1","tape":"4.11.0","tape-promise":"4.0.0","write-json-file":"4.0.0","write-yaml-file":"3.0.1"},"directories":{"test":"test"},"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"],"license":"MIT","engines":{"node":">=8.15"},"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":"ts-node test","test:e2e":"run-p -r registry-mock test:tap","pretest":"rimraf ../../../.tmp/ && registry-mock prepare","test-with-preview":"pnpm run lint && preview && pnpm run test:e2e","test":"pnpm run lint && pnpm run tsc && pnpm run test:e2e","tsc":"rimraf lib && tsc","prepublishOnly":"pnpm run tsc"},"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","readmeFilename":"README.md","_id":"supi@0.35.0-5","_nodeVersion":"12.11.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-GStp2Jf9g9sWvMX7EgfrKJM7klZfkEML8cEZZd50tlt3mlBxtqP6UKR3PY9hVPYPInuhRx37JEMWoaibM3tnQA==","shasum":"aab9a3db3a103d9cf46b9e798eda1f5fde82f54a","tarball":"http://registry-npm.ywwl.com/supi/download/supi-0.35.0-5.tgz","fileCount":77,"unpackedSize":167342,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdlSmUCRA9TVsSAnZWagAAhO4P/2O8XtaD5hSW4eU++Mch\nsUbeoYL1oZ7fnlPvC+7W8W92YieZ9Umya+7t1xRpXOFbedDP6q8+Aj/irjuU\ncuY88mefpGunZKPtNgELgcK4vTGKTV/bgKma8/JN1YDOWPa5dUuR6EAXPu8D\nkPzBwTgErJNcBqq4OgXluQaNE4sgCAbZbjQapQxWPMMHbltENnAkYhW7fvFa\ne3r10vYr8CcAB8Z5EzvEycUmWxI36rs62wtSdr0oTh9iE0NGA9C4CguUtcig\n084QLcjB6/MelQTmaEZn8AlHHndpBvSgGQH+UooTnb//2FzmUE/JV7eTWrHz\n974DSmg5AEYC3JETSDq7Dpir2rek1JwbzMBIQIFzCjv/GER3WiRpR+h0re8O\n3qIV0Q5JnzGmFW9/cr3OBI5RYEs21QuG2fhk9hUqJBAtNXHwDdnvD/5/kOoQ\nxD1IM95kAr94x6zHKQc6t3QFDC73bh4u+LXTNEDCEBXDv03K2yuWg5FwlJ7Y\n03FvXWC//EjekT7xFS6OQbm2cGKHT+GJdXRC/ufai3N3sCu7+hvkkfVPfX8R\n7gS1X52k33a3aJbcS6JO3PlgVqICYhn6Y7RHBas//W05aUJ2ia37mUPfea2T\nIjZpYkJQhK9OQZ8FZ1Thqz6pCbDNjhF2ng5HXXsjnfrv9BFjsLxgGeatt+CY\nJ9SL\r\n=rUZb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFGBo8x9MeBhOlfFGBGA5WZpgT7jt3nEBf0leozx27X7AiAomfvwesLOz2k53dyJ0lim3278XJkLGaA1OKUG13PwGw=="}],"size":36186,"noattachment":false,"key":"/supi/-/supi-0.35.0-5.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.35.0-5_1570056595269_0.1464624614292116"},"_hasShrinkwrap":false,"deprecated":"This package was renamed to @pnpm/core","publish_time":1570056595430,"_cnpm_publish_time":1570056595430,"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"}}