diff --git a/README.md b/README.md index 519d7f8..8c09a5c 100644 --- a/README.md +++ b/README.md @@ -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 | @@ -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` | @@ -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 diff --git a/pnpm.plugin.zsh b/pnpm.plugin.zsh index 4c3ae78..172240e 100644 --- a/pnpm.plugin.zsh +++ b/pnpm.plugin.zsh @@ -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'