Skip to content

Commit

Permalink
feat: add pinf alias
Browse files Browse the repository at this point in the history
  • Loading branch information
dcop authored and ntnyq committed May 24, 2024
1 parent 5251038 commit ee9e70b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ zstyle ':omz:plugins:pnpm' global-path false
## Aliases

| Alias | Command | Description |
| ----- | ------------------------------------ | --------------------------------------------------------------------------------------- |
|-------|--------------------------------------|-----------------------------------------------------------------------------------------|
| p | `pnpm` | The pnpm command |
| pex | `pnpm exec` | Execute a shell command in scope of a project |
| pdx | `pnpm dlx` | Fetch a package without installing, hotload and run it's command |
Expand All @@ -63,6 +63,7 @@ zstyle ':omz:plugins:pnpm' global-path false
| pgu | `pnpm update --global` | Upgrade packages installed globally to their latest version |
| pi | `pnpm init` | Interactively creates or updates a package.json file |
| pin | `pnpm install` | Install dependencies defined in `package.json` |
| pinf | `pnpm install --frozen-lockfile` | Install dependencies defined in `package.json` without touching lockfile |
| pr | `pnpm run` | Run a defined package script |
| prun | `pnpm run` | Run a defined package script |
| pst | `pnpm start` | Run the start script defined in `package.json` |
Expand All @@ -83,6 +84,11 @@ zstyle ':omz:plugins:pnpm' global-path false

## CHANGELOG

### 2024-05-23

- New aliases
- `pinf` for `pnpm install --frozen-lockfile`

### 2024-04-13

- Features
Expand Down
1 change: 1 addition & 0 deletions pnpm.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ alias pad='pnpm add --save-dev'
alias pap='pnpm add --save-peer'
alias prm='pnpm remove'
alias pin='pnpm install'
alias pinf='pnpm install --frozen-lockfile'
alias pls='pnpm list'
alias pu='pnpm update'
alias pui='pnpm update --interactive'
Expand Down

0 comments on commit ee9e70b

Please sign in to comment.