Skip to content

Commit 564072e

Browse files
webrune-timtimscodebaseelvis kahoro
authored
NPM Workflows (#114)
* NPM Workflows * github ssh * npm updates * npm fix * github * github --------- Co-authored-by: Tim Smith <69870077+timscodebase@users.noreply.github.com> Co-authored-by: elvis kahoro <elvis@warp.dev>
1 parent f6ce7a5 commit 564072e

4 files changed

Lines changed: 50 additions & 0 deletions
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: Find and delete node_modules in a folder
3+
command: find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' \;
4+
tags:
5+
- npm
6+
description: Finds and deletes all node_modules in a folder
7+
arguments: []
8+
source_url: "https://medium.com/@tomlarge/how-to-delete-all-node-modules-folders-from-your-mac-60b5ce9949cf"
9+
author: Tim Smith
10+
author_url: "https://timsmith.tech"
11+
shells: []
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: Finds all node_modules in a folder
3+
command: find . -name "node_modules" -type d -prune -print | xargs du -chs
4+
tags:
5+
- npm
6+
description: Finds and all node_modules in a folder and displays information about them
7+
arguments: []
8+
source_url: "https://medium.com/@tomlarge/how-to-delete-all-node-modules-folders-from-your-mac-60b5ce9949cf"
9+
author: Tim Smith
10+
author_url: "https://timsmith.tech"
11+
shells: []
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Copy SSH key for GitHub
3+
command: "pbcopy < ~/.ssh/id_ed25519.pub"
4+
tags:
5+
- github
6+
description: "Copies the SSH key for GitHub to the clipboard. This is useful for adding the SSH key to GitHub."
7+
arguments:
8+
- name: email
9+
description: "Your email address. This is used to identify the key."
10+
default_value: ~
11+
source_url: "https://docs.github.com/en/github/authenticating-to-github/adding-a-new-ssh-key-to-your-github-account"
12+
author: Tim Smith
13+
author_url: "https://timsmith.tech"
14+
shells: []
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Generate new SSH key for GitHub
3+
command: "ssh-keygen -t ed25519 -C \"{{email}}\""
4+
tags:
5+
- github
6+
description: "Generates a new SSH key for GitHub. The email address is optional. If you don't specify an email address, you'll be prompted to enter one."
7+
arguments:
8+
- name: email
9+
description: "Your email address. This is used to identify the key."
10+
default_value: ~
11+
source_url: "https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent"
12+
author: Tim Smith
13+
author_url: "https://timsmith.tech"
14+
shells: []

0 commit comments

Comments
 (0)