Skip to content

Commit

Permalink
Merge branch 'main' into elasticsearch_workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
elvis kahoro authored Sep 5, 2023
2 parents 7096743 + 993d63e commit d74f112
Show file tree
Hide file tree
Showing 11 changed files with 85 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
args: -- -A warnings

- name: Run clippy on tests
uses: actions-rs/cargo@v1
with:
command: clippy
args: --tests -- -D warnings
args: --tests -- -A warnings
14 changes: 14 additions & 0 deletions specs/pnpm/find_version_of_an_installed_pnpm_package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Find version of an installed pnpm package
command: "pnpm list {{package_name}}"
tags:
- pnpm
description: "Lists the version name of an installed package. To see the versions of all installed packages, run `pnpm list` without passing a package name."
arguments:
- name: package_name
description: The name of the package
default_value: ~
source_url: "https://pnpm.io/6.x/cli/list"
author: Tim Smith
author_url: "https://timsmith.tech"
shells: []
11 changes: 11 additions & 0 deletions specs/pnpm/list_all_globally_installed_pnpm_packages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: List all globally installed PNPM packages
command: pnpm ls --depth 0
tags:
- pnpm
description: "Lists all globally installed PNPM packages, avoiding including any package's dependencies in the view."
arguments: []
source_url: "https://pnpm.io/6.x/cli/list#--depth-number"
author: Tim Smith
author_url: "https://timsmith.tech"
shells: []
11 changes: 11 additions & 0 deletions specs/pnpm/reinstall_all_pnpm_dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Reinstall all PNPM dependencies
command: rm -rf node_modules && pnpm install
tags:
- pnpm
description: Reinstalls all dependencies by removing the node_modules folder and then reinstalling.
arguments: []
source_url: "https://pnpm.io/cli/install"
author: Tim Smith
author_url: "https://timsmith.tech"
shells: []
11 changes: 11 additions & 0 deletions specs/pnpm/remove_all_global_pnpm_modules.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Remove all global pnpm modules
command: "rm -rf ~/.pnpm-store"
tags:
- pnpm
description: "Removes all global pnpm modules by removing the `~/.pnpm-store` folder."
arguments: []
source_url: "https://pnpm.io/6.x/uninstall"
author: Tim Smith
author_url: "https://timsmith.tech"
shells: []
14 changes: 14 additions & 0 deletions specs/pnpm/uninstall_a_local_pnpm_package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Uninstall a local PNPM package
command: "pnpm uninstall {{name}}"
tags:
- pnpm
description: "Removes a module from `node_modules` and from `package.json`."
arguments:
- name: name
description: The name of the package to uninstall
default_value: ~
source_url: "https://pnpm.io/cli/remove"
author: Tim Smith
author_url: "https://timsmith.tech"
shells: []
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Update each dependency in package.json to the latest version (PNPM)
command: "npm config --global set strict-peer-dependencies=false && pnpm update --latest"
tags:
- pnpm
description: "Sets strict-peer-dependencies to false globally and updates each dependency in package.json to the latest version."
arguments: []
source_url: "https://github.com/pnpm/pnpm/issues/4651"
author: Tim Smith
author_url: "https://timsmith.tech"
shells: []
11 changes: 11 additions & 0 deletions specs/pnpm/update_pnpm_to_the_latest_version.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Update PNPM to the latest version
command: pnpm update -g pnpm
tags:
- pnpm
description: Updates pnpm to the latest version.
arguments: []
source_url: "https://pnpm.io/cli/update"
author: Tim Smith
author_url: "https://timsmith.tech"
shells: []
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d74f112

Please sign in to comment.