UNPKG

@skybloxsystems/ticket-bot

Version:
172 lines 11.4 kB
{ "name": "pnpm", "description": "Fast, disk space efficient package manager", "version": "6.29.1", "bin": { "pnpm": "bin/pnpm.cjs", "pnpx": "bin/pnpx.cjs" }, "bugs": { "url": "https://github.com/pnpm/pnpm/issues" }, "main": "bin/pnpm.cjs", "unpkg": "dist/pnpm.cjs", "files": [ "dist", "bin" ], "__optionalDependencies": { "node-gyp": "^8.0.0" }, "__devDependencies": { "@pnpm/assert-project": "workspace:*", "@pnpm/byline": "^1.0.0", "@pnpm/cli-meta": "workspace:2.0.1", "@pnpm/cli-utils": "workspace:0.6.48", "@pnpm/client": "workspace:6.1.1", "@pnpm/command": "workspace:2.0.0", "@pnpm/common-cli-options-help": "workspace:0.8.0", "@pnpm/config": "workspace:13.13.0", "@pnpm/constants": "workspace:5.0.0", "@pnpm/core-loggers": "workspace:6.1.3", "@pnpm/default-reporter": "workspace:8.5.11", "@pnpm/file-reporter": "workspace:2.0.0", "@pnpm/filter-workspace-packages": "workspace:4.4.20", "@pnpm/find-workspace-dir": "workspace:3.0.1", "@pnpm/find-workspace-packages": "workspace:3.1.40", "@pnpm/lockfile-types": "workspace:3.1.5", "@pnpm/logger": "^4.0.0", "@pnpm/modules-yaml": "workspace:9.1.0", "@pnpm/nopt": "^0.2.1", "@pnpm/parse-cli-args": "workspace:4.4.0", "@pnpm/pick-registry-for-package": "workspace:2.0.10", "@pnpm/plugin-commands-audit": "workspace:5.1.40", "@pnpm/plugin-commands-env": "workspace:1.4.10", "@pnpm/plugin-commands-installation": "workspace:8.3.6", "@pnpm/plugin-commands-listing": "workspace:4.1.9", "@pnpm/plugin-commands-outdated": "workspace:5.1.8", "@pnpm/plugin-commands-publishing": "workspace:4.4.1", "@pnpm/plugin-commands-rebuild": "workspace:5.4.9", "@pnpm/plugin-commands-script-runners": "workspace:4.5.17", "@pnpm/plugin-commands-server": "workspace:3.0.66", "@pnpm/plugin-commands-setup": "workspace:1.1.33", "@pnpm/plugin-commands-store": "workspace:4.1.9", "@pnpm/prepare": "workspace:*", "@pnpm/read-package-json": "workspace:5.0.10", "@pnpm/read-project-manifest": "workspace:2.0.11", "@pnpm/registry-mock": "2.12.1", "@pnpm/run-npm": "workspace:3.1.0", "@pnpm/store-path": "^5.0.0", "@pnpm/tabtab": "^0.1.2", "@pnpm/ts-execution-runtime": "workspace:*", "@pnpm/types": "workspace:7.9.0", "@pnpm/write-project-manifest": "workspace:2.0.10", "@types/cross-spawn": "^6.0.2", "@types/is-ci": "^3.0.0", "@types/is-windows": "^1.0.0", "@types/pnpm__byline": "npm:@types/byline@^4.2.32", "@types/ramda": "0.27.39", "@types/semver": "^7.3.4", "@types/which": "^2.0.0", "@zkochan/libnpx": "^13.1.5", "@zkochan/retry": "^0.2.0", "@zkochan/rimraf": "^2.1.2", "chalk": "^4.1.0", "cross-spawn": "^7.0.3", "cross-var-no-babel": "^1.2.0", "deep-require-cwd": "1.0.0", "delay": "^5.0.0", "dir-is-case-sensitive": "^2.0.0", "esbuild": "^0.14.8", "execa": "npm:safe-execa@^0.1.1", "exists-link": "2.0.0", "is-ci": "^3.0.0", "is-windows": "^1.0.2", "load-json-file": "^6.2.0", "loud-rejection": "^2.2.0", "normalize-newline": "3.0.0", "npm-run-all": "^4.1.5", "p-any": "3.0.0", "p-defer": "^3.0.0", "path-exists": "^4.0.0", "path-name": "^1.0.0", "pkgs-graph": "workspace:6.1.3", "ps-list": "^7.2.0", "ramda": "^0.27.1", "read-yaml-file": "^2.1.0", "render-help": "^1.0.1", "semver": "^7.3.4", "split-cmd": "^1.0.1", "strip-ansi": "^6.0.0", "symlink-dir": "^5.0.0", "tempy": "^1.0.0", "tree-kill": "^1.2.2", "which": "^2.0.2", "write-json-file": "^4.3.0", "write-pkg": "4.0.0", "write-yaml-file": "^4.2.0" }, "directories": { "test": "test" }, "homepage": "https://pnpm.io", "keywords": [ "pnpm6", "dependency manager", "install", "installer", "uninstall", "remove", "link", "prune", "shrinkwrap", "lockfile", "fast", "rapid", "efficient", "package.json", "packages", "dependencies", "symlinks", "hardlinks", "modules", "npm", "package manager", "monorepo", "multi-package", "workspace" ], "license": "MIT", "preferGlobal": true, "engines": { "node": ">=12.17" }, "repository": { "type": "git", "url": "git+https://github.com/pnpm/pnpm.git" }, "publishConfig": { "tag": "next", "executableFiles": [ "./dist/node-gyp-bin/node-gyp", "./dist/node-gyp-bin/node-gyp.cmd", "./dist/node_modules/node-gyp/bin/node-gyp.js" ] }, "funding": "https://opencollective.com/pnpm", "scripts": { "bundle:pnpm": "cross-var esbuild lib/pnpm.js --bundle --platform=node --outfile=dist/pnpm.cjs --external:node-gyp --define:process.env.npm_package_name=\\\"$npm_package_name\\\" --define:process.env.npm_package_version=\\\"$npm_package_version\\\"", "bundle:pnpx": "esbuild lib/pnpx.js --bundle --platform=node --outfile=dist/pnpx.cjs", "bundle": "pnpm bundle:pnpm && pnpm bundle:pnpx", "start": "tsc --watch", "lint": "eslint src/**/*.ts test/**/*.ts", "registry-mock": "registry-mock", "test:jest": "jest", "pretest:e2e": "rimraf node_modules/.bin/pnpm", "test:e2e": "registry-mock prepare && run-p -r registry-mock test:jest", "_test": "cross-env PNPM_REGISTRY_MOCK_PORT=7780 pnpm run test:e2e", "test": "pnpm run compile && pnpm run _test", "compile": "tsc --build && pnpm run lint -- --fix && rimraf dist bin/nodes && pnpm run bundle && shx cp -r node-gyp-bin dist/node-gyp-bin && shx cp -r node_modules/@pnpm/tabtab/lib/scripts dist/scripts && shx cp -r node_modules/ps-list/vendor dist/vendor && shx cp pnpmrc dist/pnpmrc" }, "readme": "[中文](https://pnpm.io/zh/) |\n[日本語](https://pnpm.io/ja/) |\n[Italiano](https://pnpm.io/it/) |\n[Русский](https://pnpm.io/ru/) |\n[Français](https://pnpm.io/fr/)\n\n![](https://i.imgur.com/qlW1eEG.png)\n\nFast, disk space efficient package manager:\n\n* **Fast.** Up to 2x faster than the alternatives (see [benchmark](#benchmark)).\n* **Efficient.** Files inside `node_modules` are linked from a single content-addressable storage.\n* **[Great for monorepos](https://pnpm.io/workspaces).**\n* **Strict.** A package can access only dependencies that are specified in its `package.json`.\n* **Deterministic.** Has a lockfile called `pnpm-lock.yaml`.\n* **Works as a Node.js version manager.** See [pnpm env use](https://pnpm.io/cli/env).\n* **Works everywhere.** Supports Windows, Linux, and macOS.\n* **Battle-tested.** Used in production by teams of [all sizes](https://pnpm.io/users) since 2016.\n \nTo quote the [Rush](https://rushjs.io/) team:\n\n> Microsoft uses pnpm in Rush repos with hundreds of projects and hundreds of PRs per day, and we’ve found it to be very fast and reliable.\n\n[![npm version](https://img.shields.io/npm/v/pnpm.svg)](https://www.npmjs.com/package/pnpm)\n[![Join the chat at Discord](https://img.shields.io/discord/731599538665553971.svg)](https://r.pnpm.io/chat)\n[![OpenCollective](https://opencollective.com/pnpm/backers/badge.svg)](#backers)\n[![OpenCollective](https://opencollective.com/pnpm/sponsors/badge.svg)](#sponsors)\n[![Twitter Follow](https://img.shields.io/twitter/follow/pnpmjs.svg?style=social&label=Follow)](https://twitter.com/intent/follow?screen_name=pnpmjs&region=follow_link)\n\n## Sponsors\n\n<table>\n <tbody>\n <tr>\n <td align=\"center\" valign=\"middle\">\n <a href=\"https://bit.dev\" target=\"_blank\"><img src=\"https://raw.githubusercontent.com/pnpm/pnpm.github.io/main/static/img/users/bit.svg\" width=\"80\"></a>\n </td>\n <td align=\"center\" valign=\"middle\">\n <a href=\"https://prisma.io\" target=\"_blank\"><img src=\"https://raw.githubusercontent.com/pnpm/pnpm.github.io/main/static/img/users/prisma.svg\" width=\"180\"></a>\n </td>\n <td align=\"center\" valign=\"middle\">\n <a href=\"https://leniolabs.com\" target=\"_blank\"><img src=\"https://raw.githubusercontent.com/pnpm/pnpm.github.io/main/static/img/users/leniolabs.jpg\" width=\"80\"></a>\n </td>\n </tr>\n </tbody>\n</table>\n\nSupport this project by [becoming a sponsor](https://opencollective.com/pnpm#sponsor).\n\n## Background\n\npnpm uses a content-addressable filesystem to store all files from all module directories on a disk.\nWhen using npm or Yarn, if you have 100 projects using lodash, you will have 100 copies of lodash on disk.\nWith pnpm, lodash will be stored in a content-addressable storage, so:\n\n1. If you depend on different versions of lodash, only the files that differ are added to the store.\n If lodash has 100 files, and a new version has a change only in one of those files,\n `pnpm update` will only add 1 new file to the storage.\n1. All the files are saved in a single place on the disk. When packages are installed, their files are linked\n from that single place consuming no additional disk space. Linking is performed using either hard-links or reflinks (copy-on-write).\n\nAs a result, you save gigabytes of space on your disk and you have a lot faster installations!\nIf you'd like more details about the unique `node_modules` structure that pnpm creates and\nwhy it works fine with the Node.js ecosystem, read this small article: [Flat node_modules is not the only way](https://pnpm.io/blog/2020/05/27/flat-node-modules-is-not-the-only-way).\n\n💖 Like this project? Let people know with a [tweet](https://r.pnpm.io/tweet)\n\n## Installation\n\nOn macOS, Linux, or Windows Subsystem for Linux:\n\n```\ncurl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm\n```\n\nOn Windows (using PowerShell):\n\n```\n(Invoke-WebRequest 'https://get.pnpm.io/v6.16.js' -UseBasicParsing).Content | node - add --global pnpm\n```\n\nUsing npm:\n\n```\nnpx pnpm add -g pnpm\n```\n\nFor other installation options [visit our website](https://pnpm.io/installation).\n\nWe also ship a version of pnpm that may be used even with no Node.js installed on the system, see [@pnpm/exe](https://www.npmjs.com/package/@pnpm/exe).\n\n## Usage\n\nJust use pnpm in place of npm/Yarn. E.g., install dependencies via:\n\n```\npnpm install\n```\n\nAlso, `pnpm dlx` instead of npx:\n\n```\npnpm dlx create-react-app my-cool-new-app\n```\n\nFor more advanced usage, read [pnpm CLI](https://pnpm.io/pnpm-cli) on our website, or run `pnpm help`.\n\n## Benchmark\n\npnpm is up to 2x faster than npm and Yarn classic. See all benchmarks [here](https://r.pnpm.io/benchmarks).\n\nBenchmarks on an app with lots of dependencies:\n\n![](https://pnpm.io/img/benchmarks/alotta-files.svg)\n\n## Support\n\n- [Frequently Asked Questions](https://pnpm.io/faq)\n- [Chat](https://r.pnpm.io/chat)\n- [Twitter](https://twitter.com/pnpmjs)\n\n## Backers\n\nThank you to all our backers! [Become a backer](https://opencollective.com/pnpm#backer)\n\n<a href=\"https://opencollective.com/pnpm#backers\" target=\"_blank\"><img src=\"https://opencollective.com/pnpm/backers.svg?width=890\"></a>\n\n## Contributors\n\nThis project exists thanks to all the people who contribute. [Contribute](../../blob/main/CONTRIBUTING.md).\n\n<a href=\"../../graphs/contributors\"><img src=\"https://opencollective.com/pnpm/contributors.svg?width=890&button=false\" /></a>\n\n## License\n\n[MIT](https://github.com/pnpm/pnpm/blob/main/LICENSE)\n" }