Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-10 00:21:37 +00:00
parent 15848b0938
commit 9420175cb8
27 changed files with 159 additions and 74 deletions

View File

@@ -14,12 +14,12 @@ source: https://github.com/tldr-pages/tldr.git
- Log in to a private registry with a specific scope:
`npm login --scope {{@mycorp}} --registry {{https://registry.mycorp.com}}`
`npm login --scope {{@organization}} --registry {{https://registry.example.com}}`
- Log out from a specific scope and remove the auth token:
`npm logout --scope {{@mycorp}}`
`npm logout --scope {{@organization}}`
- Create a scoped package during initialization:
`npm init --scope {{@foo}} {{[-y|--yes]}}`
`npm init --scope {{@organization}} {{[-y|--yes]}}`