{"id":19261602,"url":"https://github.com/ntnyq/omz-plugin-pnpm","last_synced_at":"2025-04-09T17:20:13.024Z","repository":{"id":37462510,"uuid":"341814060","full_name":"ntnyq/omz-plugin-pnpm","owner":"ntnyq","description":":gear: oh-my-zsh aliases for common pnpm commands.","archived":false,"fork":false,"pushed_at":"2025-02-15T12:51:33.000Z","size":14,"stargazers_count":76,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T12:03:54.976Z","etag":null,"topics":["alias","oh-my-zsh-alias","oh-my-zsh-plugin","omz-plugin","pnpm","pnpm-aliases","zsh-plugin"],"latest_commit_sha":null,"homepage":"https://ntnyq.github.io/omz-plugin-pnpm","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ntnyq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-24T07:22:07.000Z","updated_at":"2025-03-30T00:47:48.000Z","dependencies_parsed_at":"2024-07-15T00:25:08.101Z","dependency_job_id":"ec713dce-0d86-444a-b77a-6ed3d05e8cd2","html_url":"https://github.com/ntnyq/omz-plugin-pnpm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntnyq%2Fomz-plugin-pnpm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntnyq%2Fomz-plugin-pnpm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntnyq%2Fomz-plugin-pnpm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntnyq%2Fomz-plugin-pnpm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ntnyq","download_url":"https://codeload.github.com/ntnyq/omz-plugin-pnpm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248074922,"owners_count":21043490,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alias","oh-my-zsh-alias","oh-my-zsh-plugin","omz-plugin","pnpm","pnpm-aliases","zsh-plugin"],"created_at":"2024-11-09T19:27:43.071Z","updated_at":"2025-04-09T17:20:12.992Z","avatar_url":"https://github.com/ntnyq.png","language":"Shell","funding_links":[],"categories":["Plugins"],"sub_categories":["ZSH on Windows"],"readme":"# omz-plugin-pnpm\n\noh-my-zsh aliases for common [pnpm](https://pnpm.io) commands.\n\n## Installation\n\n- [Oh My Zsh](#oh-my-zsh)\n- [Zinit](#zinit)\n\n### Oh My Zsh\n\n1. Clone the repository:\n\n```zsh\ngit clone --depth=1 https://github.com/ntnyq/omz-plugin-pnpm.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/pnpm\n```\n\n2. Include it in your `~/.zshrc`:\n\n```zsh\nplugins=(... pnpm)\n```\n\n### Zinit\n\nAdd script bellow to your `~/.zshrc`\n\n```shell\nzinit light ntnyq/omz-plugin-pnpm\n```\n\n### Others\n\nPRs are always welcome!\n\n## Global scripts directory\n\n\u003e This feature is copied from [omz-plugin-yarn](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/yarn)\n\nAdding pnpm global scripts dir (commonly ~/Library/pnpm) to the `$PATH`.\n\nTo disable this feature, set the following style in your .zshrc:\n\n```\nzstyle ':omz:plugins:pnpm' global-path no\n```\n\n## Aliases\n\n| Alias | Command                              | Description                                                                             |\n| ----- | ------------------------------------ | --------------------------------------------------------------------------------------- |\n| p     | `pnpm`                               | The pnpm command                                                                        |\n| pex   | `pnpm exec`                          | Execute a shell command in scope of a project                                           |\n| pdx   | `pnpm dlx`                           | Fetch a package without installing, hotload and run it's command                        |\n| pa    | `pnpm add`                           | Install a package in dependencies (`package.json`)                                      |\n| pad   | `pnpm add --save-dev`                | Install a package in devDependencies (`package.json`)                                   |\n| prm   | `pnpm remove`                        | Remove installed packages                                                               |\n| pls   | `pnpm list`                          | List installed packages                                                                 |\n| pap   | `pnpm add --save-peer`               | Install a package in peerDependencies (`package.json`)                                  |\n| pga   | `pnpm add --global`                  | Install packages globally on your operating system                                      |\n| pgls  | `pnpm list --global`                 | List global installed packages                                                          |\n| pgrm  | `pnpm remove --global`               | Remove global installed packages from your OS                                           |\n| pgu   | `pnpm update --global`               | Upgrade packages installed globally to their latest version                             |\n| pi    | `pnpm init`                          | Interactively creates or updates a package.json file                                    |\n| pin   | `pnpm install`                       | Install dependencies defined in `package.json`                                          |\n| pinf  | `pnpm install --frozen-lockfile`     | Install dependencies defined in `package.json` without touching lockfile                |\n| pr    | `pnpm run`                           | Run a defined package script                                                            |\n| prun  | `pnpm run`                           | Run a defined package script                                                            |\n| pst   | `pnpm start`                         | Run the start script defined in `package.json`                                          |\n| pln   | `pnpm run lint`                      | Run the lint script defined in `package.json`                                           |\n| pdocs | `pnpm run docs`                      | Run the docs script defined in `package.json`                                           |\n| pfmt  | `pnpm run format`                    | Run the format script defined in `package.json`                                         |\n| pb    | `pnpm run build`                     | Run the build script defined in `package.json`                                          |\n| pd    | `pnpm run dev`                       | Run the dev script defined in `package.json`                                            |\n| psv   | `pnpm run serve`                     | Run the serve script defined in `package.json`                                          |\n| pt    | `pnpm test`                          | Run the test script defined in `package.json`                                           |\n| ptc   | `pnpm test --coverage`               | Run the test script defined in `package.json` with coverage                             |\n| pu    | `pnpm update`                        | Update packages to their latest version based on the specified range                    |\n| pui   | `pnpm update --interactive`          | Prompt for which outdated packages to their latest version based on the specified range |\n| puil  | `pnpm update --interactive --latest` | Prompt for which outdated packages to upgrade to the latest available version           |\n| pc    | `pnpm create`                        | Create a project from a create-\\* start kit                                             |\n| ppub  | `pnpm publish`                       | Publish a package to the registry                                                       |\n| pab   | `pnpm approve-builds`                | Approve dependencies for running scripts during installation                            |\n| pf    | `pnpm -r --filter`                   | Use filter in monorepo root directory                                                   |\n\n## CHANGELOG\n\n### 2025-02-15\n\n- New aliases\n  - `pab` for `pnpm approve-builds`\n\n### 2024-05-23\n\n- New aliases\n  - `pinf` for `pnpm install --frozen-lockfile`\n\n### 2024-04-13\n\n- Features\n  - Set `PNPM_HOME` environment variable to global bin dir\n\n### 2024-03-13\n\n- New aliases\n  - `pui` for `pnpm update --interactive`\n\n### 2023-08-14\n\n- New aliases\n  - `pfmt` for `pnpm run format`\n\n### 2023-03-15\n\n- Features\n  - Add pnpm global scripts dir to `$PATH`\n\n### 2022-12-16\n\n- New aliases\n  - `pr` for `pnpm run`\n\n### 2022-09-24\n\n- New aliases\n  - `pf` for `pnpm -r --filter`\n\n### 2022-07-15\n\n- Removed aliases\n  - `pun` for `pnpm uninstall`. Use `prm` instead.\n  - `px` for `pnpx`. It's deprecated. Use `pex` and `pdx` instead.\n  - `pui` for `pnpm update --interactive`. Use `pu` and `puil` instead.\n  - `pdoc` for `pnpm run doc`. Maybe rename your scripts to `docs` and use `pdocs` instead.\n  - `psv` for `pnpm server`.\n  - `ph` for `pnpm help`.\n  - `pout` for `pnpm outdated`.\n  - `pau` for `pnpm audit`.\n  - `pwhy` for `pnpm why`.\n- Changed aliases\n  - `pup` for `pnpm update` has been renamed to `pu`.\n  - `ps` for `pnpm run serve` has been renamed to `psv`. See [issue #6](https://github.com/ntnyq/omz-plugin-pnpm/issues/6)\n- New aliases\n  - `pex` for `pnpm exec`.\n  - `pdx` for `pnpm dlx`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntnyq%2Fomz-plugin-pnpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fntnyq%2Fomz-plugin-pnpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntnyq%2Fomz-plugin-pnpm/lists"}